Function at 0x438710
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9c85
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4cc
mov eax, dword [0x671330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x18]
call fcn.00417e30
push 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x1c]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00420f60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00418da0
test eax, eax
jne 0x4387ec
push 0x5e2d64
lea ecx, [ebp - 0x17c]
call fcn.0040bdb0
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x148], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x148]
push eax
lea ecx, [ebp - 0x15c]
call fcn.0040b380
push 0x638088
lea ecx, [ebp - 0x15c]
push ecx
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x17c]
call fcn.0040b3b0
push str._shutdown
lea ecx, [ebp - 0x4c]
call fcn.0040b2a0
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 3
push 0
push 0
push 6
call fcn.00543ad0
add esp, 0xc
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 1
jne 0x438826
mov byte [ebp - 0x5e], 1
jmp 0x43882a
mov byte [ebp - 0x5e], 0
mov dl, byte [ebp - 0x5e]
mov byte [ebp - 0x5d], dl
lea eax, [ebp - 0x4c]
push eax
movzx ecx, byte [ebp - 0x5d]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00418da0
push eax
lea edx, [ebp - 0x5c]
push edx
call fcn.00436f80
add esp, 0x10
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x4388a8
push str.__notelevated
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x194]
push edx
call fcn.004232d0
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x80]
push ecx
push 0
lea ecx, [ebp - 0x18]
call fcn.00418da0
push eax
lea edx, [ebp - 0x164]
push edx
call fcn.00436f80
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x194]
call fcn.0040a7f0
push 0xc
lea ecx, [ebp - 0x2c]
call fcn.004029d0
lea ecx, [ebp - 0x2c]
call fcn.00402ce0
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
push ecx
mov ecx, 0x6828e0
call fcn.004350c0
lea ecx, [ebp - 0x54]
call fcn.00431810
mov byte [ebp - 0x5f], al
movzx edx, byte [ebp - 0x5f]
test edx, edx
je 0x43891a
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x6828e0
call fcn.00436ad0
cmp dword [ebp - 0x54], 0
je 0x438903
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0048f870
cmp dword [ebp - 0x50], 0
je 0x438915
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0048f870
jmp 0x438a04
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0x84], eax
push 0xbb8
mov ecx, dword [ebp - 0x84]
call fcn.0040a130
mov byte [ebp - 0x60], al
movzx eax, byte [ebp - 0x60]
test eax, eax
jne 0x438946
jmp 0x438a04
call dword [sym.imp.Dbglog.dll_struct_boost::logging::logger_holder_struct_boost::logging::logger_format_write_struct_boost::logging::default___struct_boost::logging::default___struct_boost::logging::writer::threading::ts_write__struct_boost::logging::default___struct_boost::logging::lock_resource_finder::single_thread______cdecl_g_l_void_]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.004048b0
add esp, 4
mov dword [ebp - 0x8c], eax
lea edx, [ebp - 0x23c]
push edx
mov ecx, dword [ebp - 0x8c]
call fcn.00402ad0
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x94]
call fcn.00402a30
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
call fcn.00402d20
mov dword [ebp - 0x9c], eax
push 0x5e2e58
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xa0], eax
push str.Empty_AgentImpl_handles_for_session
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xa4]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x23c]
call fcn.00402a50
lea ecx, [ebp - 0x5c]
call fcn.00431810
mov byte [ebp - 0x61], al
movzx ecx, byte [ebp - 0x61]
test ecx, ecx
je 0x438a3b
cmp dword [ebp - 0x5c], 0
je 0x438a29
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0048f870
cmp dword [ebp - 0x58], 0
je 0x438a3b
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0048f870
lea ecx, [ebp - 0x2c]
call fcn.00482360
movzx ecx, al
test ecx, ecx
jne 0x438eba
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0xa8], eax
push 0x3e8
mov ecx, dword [ebp - 0xa8]
call fcn.0040a130
mov byte [ebp - 0x62], al
movzx edx, byte [ebp - 0x62]
test edx, edx
jne 0x438a7a
jmp 0x438b90
call dword [sym.imp.Dbglog.dll_struct_boost::logging::logger_holder_struct_boost::logging::logger_format_write_struct_boost::logging::default___struct_boost::logging::default___struct_boost::logging::writer::threading::ts_write__struct_boost::logging::default___struct_boost::logging::lock_resource_finder::single_thread______cdecl_g_l_void_]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
push eax
call fcn.004048b0
add esp, 4
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0x2e4]
push ecx
mov ecx, dword [ebp - 0xb0]
call fcn.00402ad0
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xb8]
call fcn.00402a30
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
call fcn.00402d20
mov dword [ebp - 0xc0], eax
push 0x5e2f40
mov eax, dword [ebp - 0xc0]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xc4], eax
push str.Waiting
mov ecx, dword [ebp - 0xc4]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 0x3e8
div ecx
push eax
mov ecx, dword [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov dword [ebp - 0xcc], eax
push str._sec._for
mov edx, dword [ebp - 0xcc]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0x2c]
call fcn.00403660
push eax
mov ecx, dword [ebp - 0xd0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_int_]
mov dword [ebp - 0xd4], eax
push str._impl_processes_to_finish...
mov eax, dword [ebp - 0xd4]
push eax
call fcn.00409d00
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2e4]
call fcn.00402a50
push 0
lea ecx, [ebp - 0x2c]
call fcn.00402b00
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
mov edx, dword [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00403660
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x102
jne 0x438d5e
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0xdc], eax
push 0xbb8
mov ecx, dword [ebp - 0xdc]
call fcn.0040a130
mov byte [ebp - 0x63], al
movzx eax, byte [ebp - 0x63]
test eax, eax
jne 0x438bf8
jmp 0x438cd9
call dword [sym.imp.Dbglog.dll_struct_boost::logging::logger_holder_struct_boost::logging::logger_format_write_struct_boost::logging::default___struct_boost::logging::default___struct_boost::logging::writer::threading::ts_write__struct_boost::logging::default___struct_boost::logging::lock_resource_finder::single_thread______cdecl_g_l_void_]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.004048b0
add esp, 4
mov dword [ebp - 0xe4], eax
lea edx, [ebp - 0x38c]
push edx
mov ecx, dword [ebp - 0xe4]
call fcn.00402ad0
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xec]
call fcn.00402a30
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00402d20
mov dword [ebp - 0xf4], eax
push 0x5e2ff4
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xf8], eax
push str.Some_AgentImpl_processes_did_not_finish_during_the_timeout_of
mov edx, dword [ebp - 0xf8]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 0x3e8
div ecx
push eax
mov ecx, dword [ebp - 0xfc]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov dword [ebp - 0x100], eax
push str._sec._Terminating_them...
mov edx, dword [ebp - 0x100]
push edx
call fcn.00409d00
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38c]
call fcn.00402a50
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x70], eax
push 4
lea ecx, [ebp - 0x1c]
call fcn.004029d0
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.0043d700
push 4
lea ecx, [ebp - 0x30]
call fcn.004029d0
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.0043ea80
jmp 0x438d15
lea ecx, [ebp - 0x1c]
call fcn.00431960
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040f610
mov byte [ebp - 0x64], al
movzx ecx, byte [ebp - 0x64]
test ecx, ecx
je 0x438d59
lea ecx, [ebp - 0x1c]
call fcn.0040e030
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov dword [ebp - 0x108], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x438d0d
jmp 0x438e3c
cmp dword [ebp - 0x74], 0xffffffff
je 0x438e3c
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0x10c], eax
push 0x3e8
mov ecx, dword [ebp - 0x10c]
call fcn.0040a130
mov byte [ebp - 0x65], al
movzx edx, byte [ebp - 0x65]
test edx, edx
jne 0x438d94
jmp 0x438e3c
call dword [sym.imp.Dbglog.dll_struct_boost::logging::logger_holder_struct_boost::logging::logger_format_write_struct_boost::logging::default___struct_boost::logging::default___struct_boost::logging::writer::threading::ts_write__struct_boost::logging::default___struct_boost::logging::lock_resource_finder::single_thread______cdecl_g_l_void_]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
push eax
call fcn.004048b0
add esp, 4
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x434]
push ecx
mov ecx, dword [ebp - 0x114]
call fcn.00402ad0
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x11c]
call fcn.00402a30
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
call fcn.00402d20
mov dword [ebp - 0x124], eax
push 0x5e3054
mov eax, dword [ebp - 0x124]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x128], eax
push str.All_AgentImpl_processes_have_finished
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.00409d00
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x434]
call fcn.00402a50
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x78], edx
push 4
lea ecx, [ebp - 0x20]
call fcn.004029d0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.0043d700
push 4
lea ecx, [ebp - 0x34]
call fcn.004029d0
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x78]
call fcn.0043ea80
jmp 0x438e78
lea ecx, [ebp - 0x20]
call fcn.00431960
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040f610
mov byte [ebp - 0x66], al
movzx eax, byte [ebp - 0x66]
test eax, eax
je 0x438eba
lea ecx, [ebp - 0x20]
call fcn.0040e030
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x438e70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00402b20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.0040a7f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00421b30
jmp 0x438fb0
mov dword [ebp - 4], 0xffffffff
jmp 0x438fc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00544286
mov esp, ebp
pop ebp
ret 8