; assembly | /* r2dec pseudo code output */ | /* balm_publicationscheduler.t/none @ 0x406430 */ | #include | ; (fcn) sym.operator___std::__1::basic_ostream_char__std::__1::char_traits_char_____Action_const_ () | uint64_t operator_std::_1::basic_ostream_char_std::_1::char_traits_char_Action_const_ (int64_t arg2, int64_t arg1) { | rsi = arg2; | rdi = arg1; | /* operator<<(std::__1::basic_ostream >&, Action const&) */ 0x00406430 push r15 | 0x00406432 push r14 | 0x00406434 push r12 | 0x00406436 push rbx | 0x00406437 push rax | 0x00406438 mov r15, rsi | r15 = rsi; 0x0040643b mov r14, rdi | r14 = rdi; 0x0040643e mov esi, 0x466e79 | 0x00406443 mov edx, 2 | 0x00406448 call 0x418280 | rax = std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (rdi, 0x466e79, 2); 0x0040644d mov r12, rax | r12 = rax; 0x00406450 mov eax, dword [r15] | eax = *(r15); 0x00406453 cmp eax, 1 | 0x00406456 mov ecx, 0x463527 | ecx = "SCHEDULE_DEFAULT"; 0x0040645b mov edx, 0x463538 | edx = "Invalid Action Type"; | if (eax == 1) { 0x00406460 cmove rdx, rcx | rdx = rcx; | } 0x00406464 test eax, eax | 0x00406466 mov ebx, 0x463515 | ebx = "SCHEDULE_CATEGORY"; | if (eax != 0) { 0x0040646b cmovne rbx, rdx | rbx = rdx; | } 0x0040646f mov rdi, rbx | 0x00406472 call 0x404f40 | rax = strlen (rbx); 0x00406477 mov rdi, r12 | 0x0040647a mov rsi, rbx | 0x0040647d mov rdx, rax | 0x00406480 call 0x418280 | rax = std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (r12, rbx, rax); 0x00406485 mov esi, 0x47efc2 | 0x0040648a mov edx, 1 | 0x0040648f mov rdi, rax | 0x00406492 call 0x418280 | rax = std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (rax, 0x47efc2, 1); 0x00406497 mov r12, rax | r12 = rax; 0x0040649a mov rax, qword [r15 + 8] | rax = *((r15 + 8)); 0x0040649e test rax, rax | | if (rax != 0) { 0x004064a1 je 0x4064a8 | 0x004064a3 mov rbx, qword [rax] | rbx = *(rax); 0x004064a6 jmp 0x4064ad | | } else { 0x004064a8 mov ebx, 0x47f134 | ebx = 0x47f134; | } 0x004064ad mov rdi, rbx | 0x004064b0 call 0x404f40 | rax = strlen (rbx); 0x004064b5 mov rdi, r12 | 0x004064b8 mov rsi, rbx | 0x004064bb mov rdx, rax | 0x004064be call 0x418280 | rax = std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (r12, rbx, rax); 0x004064c3 mov esi, 0x47efc2 | 0x004064c8 mov edx, 1 | 0x004064cd mov rdi, rax | 0x004064d0 call 0x418280 | rax = std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (rax, 0x47efc2, 1); 0x004064d5 mov esi, dword [r15 + 0x10] | esi = *((r15 + 0x10)); 0x004064d9 mov rdi, rax | rdi = rax; 0x004064dc call 0x4051e0 | rax = std::_1::basic_ostream>::operator << (int) (); 0x004064e1 mov esi, 0x467171 | 0x004064e6 mov edx, 2 | 0x004064eb mov rdi, rax | 0x004064ee call 0x418280 | std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (rax, 0x467171, 2); 0x004064f3 mov rax, r14 | rax = r14; 0x004064f6 add rsp, 8 | 0x004064fa pop rbx | 0x004064fb pop r12 | 0x004064fd pop r14 | 0x004064ff pop r15 | 0x00406501 ret | return rax; | }