Function at 0x40e025
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x188
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
cmp byte [edi + 0x88], 0
jne 0x40e049
xor al, al
jmp 0x40ed1e
mov ecx, dword [edi + 0x80]
test ecx, ecx
jne 0x40e061
push 0x10002
call dword [sym.imp.system.dll_public:_static_void___cdecl_Error::set_unsigned_int_]
pop ecx
jmp 0x40e042
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.svc.nbd.dll_public:_bool___thiscall_Services::NBD::Client::Service::importList_class_std::vector_enum_Services::NBD::Client::Types::ImportID__class_std::allocator_enum_Services::NBD::Client::Types::ImportID____]
test al, al
jne 0x40e168
call dword [sym.imp.system.dll_public:_static_unsigned_int___cdecl_Error::get_void_]
mov dword [esp + 0x20], eax
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x40e157
push dword [0x43ece0]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x40e157
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 4
lea edx, [esp + 0xc]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ece0]
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call dword [edi + 4]
push dword [esp + 0x20]
lea edx, [esp + 0x10]
push str.Failed_to_retrieve_imports__error:
mov ecx, dword [eax]
push edx
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.00401473
pop ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [esp + 0x1c]
call fcn.00405291
lea ecx, [esp + 0x18]
call fcn.00405291
lea ecx, [esp + 0xc]
call fcn.00405291
lea ecx, [esp + 0x10]
call fcn.00405291
lea ecx, [esp + 8]
call fcn.00405291
lea ecx, [esp + 0x40]
call fcn.00405291
push 0x8443
call dword [sym.imp.system.dll_public:_static_void___cdecl_Error::set_unsigned_int_]
pop ecx
jmp 0x40ed11
and dword [esp + 0x38], 0
push 0x58
call fcn.0042f8f4
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x40e938
push dword [esi]
mov ecx, dword [edi + 0x80]
lea eax, [esp + 0xf4]
push eax
call dword [sym.imp.svc.nbd.dll_public:_class_std::optional_struct_Services::NBD::Client::Types::ImportInfo____thiscall_Services::NBD::Client::Service::importInfo_enum_Services::NBD::Client::Types::ImportID_]
cmp byte [esp + 0x130], 0
jne 0x40e369
call dword [sym.imp.system.dll_public:_static_unsigned_int___cdecl_Error::get_void_]
mov dword [esp + 0x44], eax
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 3
ja 0x40e287
push dword [0x43ece0]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x40e287
lea eax, [esp + 0xdc]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 3
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ece0]
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call dword [edi + 4]
mov esi, dword [esp + 8]
lea edx, [esp + 0x20]
mov ecx, dword [eax]
push dword [esi]
push str.Failed_to_retrieve_information_about_import
mov eax, dword [ecx + 4]
push edx
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, eax
lea ecx, [esp + 0x44]
call fcn.00401473
pop ecx
lea ecx, [esp + 0x40]
call fcn.00405291
lea ecx, [esp + 0x20]
call fcn.00405291
lea ecx, [esp + 0x1c]
call fcn.00405291
lea ecx, [esp + 0x18]
call fcn.00405291
lea ecx, [esp + 0xdc]
call fcn.00405291
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 3
ja 0x40e916
push dword [0x43ece0]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x40e916
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 3
lea edx, [esp + 0x88]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ece0]
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [esp + 0x84]
mov ecx, esi
push eax
call dword [edi + 4]
push dword [esp + 0x44]
lea edx, [esp + 0x80]
push str.__error:
mov ecx, dword [eax]
push edx
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, eax
lea ecx, [esp + 0x7c]
call fcn.00401473
pop ecx
lea edx, [esp + 0xe0]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [esp + 0xe0]
call fcn.00405291
lea ecx, [esp + 0x78]
call fcn.00405291
lea ecx, [esp + 0x7c]
call fcn.00405291
lea ecx, [esp + 0x80]
call fcn.00405291
lea ecx, [esp + 0x84]
call fcn.00405291
lea ecx, [esp + 0x88]
jmp 0x40e90d
cmp dword [esp + 0x118], 5
je 0x40e46e
cmp dword [esp + 0x118], 7
je 0x40e46e
mov eax, dword [esi]
lea ecx, [esp + 0x140]
mov dword [esp + 0x138], eax
lea eax, [esp + 0xf0]
push eax
call fcn.00413084
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x188]
push eax
lea ecx, [esp + 0x3c]
call fcn.00413cbd
mov esi, eax
lea edi, [esp + 0xe4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xec]
cmp byte [ecx + 0xd], 0
jne 0x40e3e0
mov eax, dword [esp + 0x138]
cmp eax, dword [ecx + 0x10]
jae 0x40e451
cmp dword [esp + 0x38], 0x2e8ba2e
je 0x40ed24
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x34]
push 0x58
mov dword [esp + 0x5c], eax
call fcn.0042f8f4
mov edi, eax
mov eax, dword [esp + 0x13c]
pop ecx
mov dword [edi + 0x10], eax
lea ecx, [edi + 0x18]
lea eax, [esp + 0x140]
push eax
call fcn.00413084
mov dword [edi], esi
lea ecx, [esp + 0x58]
mov dword [edi + 4], esi
xor eax, eax
mov dword [edi + 8], esi
mov word [edi + 0xc], ax
mov dword [esp + 0x5c], eax
call fcn.00414259
push edi
push dword [esp + 0xec]
lea ecx, [esp + 0x3c]
push dword [esp + 0xec]
call fcn.00414305
lea ecx, [esp + 0x178]
call fcn.00405291
lea ecx, [esp + 0x144]
call fcn.00405291
jmp 0x40e912
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 1
ja 0x40e54c
push dword [0x43ece0]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x40e54c
lea eax, [esp + 0xc8]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 1
lea edx, [esp + 0xd0]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ece0]
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [esp + 0xd4]
mov ecx, esi
push eax
call dword [edi + 4]
push str.Removing_no_longer_available_import
lea edx, [esp + 0xd8]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
push ecx
mov ecx, esp
mov esi, dword [eax]
lea eax, [esp + 0xf8]
push eax
call fcn.0040533a
lea eax, [esp + 0x90]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0x1c]
lea ecx, [esp + 0x8c]
call fcn.00405291
lea ecx, [esp + 0xd4]
call fcn.00405291
lea ecx, [esp + 0xd0]
call fcn.00405291
lea ecx, [esp + 0xcc]
call fcn.00405291
lea ecx, [esp + 0xc8]
call fcn.00405291
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 1
ja 0x40e65a
push dword [0x43ece0]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x40e65a
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 1
lea edx, [esp + 0xb8]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ece0]
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [esp + 0xbc]
mov ecx, esi
push eax
call dword [edi + 4]
lea ecx, [esp + 0xf8]
mov esi, dword [eax]
lea eax, [esp + 0xbc]
push eax
call fcn.00405bc6
mov edi, eax
lea ecx, [esi + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0xc0]
push str._on
push edx
add ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0x14]
push ecx
mov ecx, esp
push edi
mov esi, dword [eax]
call fcn.0040533a
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0x1c]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0xc4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [esp + 0xc4]
call fcn.00405291
lea ecx, [esp + 0xc]
call fcn.00405291
lea ecx, [esp + 0xc0]
call fcn.00405291
lea ecx, [esp + 0xbc]
call fcn.00405291
lea ecx, [esp + 0xb8]
call fcn.00405291
lea ecx, [esp + 0xb4]
call fcn.00405291
lea ecx, [esp + 0xd8]
call fcn.00405291
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
push dword [eax]
mov ecx, dword [ecx + 0x80]
call dword [sym.imp.svc.nbd.dll_public:_bool___thiscall_Services::NBD::Client::Service::importRemove_enum_Services::NBD::Client::Types::ImportID_]
test al, al
jne 0x40e912
call dword [sym.imp.system.dll_public:_static_unsigned_int___cdecl_Error::get_void_]
mov dword [esp + 0x44], eax
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 3
ja 0x40e760
push dword [0x43ece0]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x40e760
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 3
lea edx, [esp + 0xa0]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ece0]
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [esp + 0x9c]
mov ecx, esi
push eax
call dword [edi + 4]
push str.Failed_to_remove_no_longer_availabl_import
lea edx, [esp + 0x98]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
push ecx
mov ecx, esp
mov esi, dword [eax]
lea eax, [esp + 0xf8]
push eax
call fcn.0040533a
lea eax, [esp + 0x94]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0x1c]
lea ecx, [esp + 0x90]
call fcn.00405291
lea ecx, [esp + 0x94]
call fcn.00405291
lea ecx, [esp + 0x98]
call fcn.00405291
lea ecx, [esp + 0x9c]
call fcn.00405291
lea ecx, [esp + 0xa0]
call fcn.00405291
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 3
ja 0x40e84b
push dword [0x43ece0]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x40e84b
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 3
lea edx, [esp + 0x54]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ece0]
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [esp + 0xb4]
mov ecx, esi
push eax
call dword [edi + 4]
lea ecx, [esp + 0xf8]
mov esi, dword [eax]
lea eax, [esp + 0xac]
push eax
call fcn.00405bc6
mov edi, eax
lea ecx, [esi + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0xa8]
push str._on
push edx
add ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0x14]
push ecx
mov ecx, esp
push edi
mov esi, dword [eax]
call fcn.0040533a
lea eax, [esp + 0xa8]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0x1c]
lea ecx, [esp + 0xa4]
call fcn.00405291
lea ecx, [esp + 0xa8]
call fcn.00405291
lea ecx, [esp + 0xac]
call fcn.00405291
lea ecx, [esp + 0xb0]
call fcn.00405291
lea ecx, [esp + 0x50]
call fcn.00405291
lea ecx, [esp + 0x4c]
call fcn.00405291
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 3
ja 0x40e912
push dword [0x43ece0]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x40e912
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 3
lea edx, [esp + 0x2c]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ece0]
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call dword [edi + 4]
push dword [esp + 0x44]
lea edx, [esp + 0x34]
push str.__error:
mov ecx, dword [eax]
push edx
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.00401473
pop ecx
lea edx, [esp + 0x48]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [esp + 0x48]
call fcn.00405291
lea ecx, [esp + 0x3c]
call fcn.00405291
lea ecx, [esp + 0x30]
call fcn.00405291
lea ecx, [esp + 0x2c]
call fcn.00405291
lea ecx, [esp + 0x28]
call fcn.00405291
lea ecx, [esp + 0x24]
call fcn.00405291
mov esi, dword [esp + 8]
lea ecx, [esp + 0xf0]
call fcn.00412cfc
add esi, 4
mov dword [esp + 8], esi
cmp esi, dword [esp + 0x14]
je 0x40e938
mov edi, dword [esp + 0x10]
jmp 0x40e19f
push 0x4c
call fcn.0042f8f4
mov dword [esp + 0x18], eax
pop ecx
test eax, eax
je 0x40e9c3
mov eax, dword [esp + 0x10]
sub esp, 0x2c
mov edi, esp
mov dword [esp + 0x84], eax
lea eax, [esp + 0x60]
push ecx
push eax
lea ecx, [esp + 0x90]
call fcn.0041334f
and dword [edi + 0x24], 0
push 0x10
call fcn.0042f8f4
mov esi, eax
pop ecx
mov dword [esi], vtable.std::_Func_impl_no_alloc_class__lambda_30a1aedea3dc67c8e31d3b6018767943___void___.0
lea ecx, [esi + 8]
mov eax, dword [esp + 0x84]
mov dword [esi + 4], eax
lea eax, [esp + 0x88]
push eax
call fcn.00412b52
lea ecx, [esp + 0x88]
mov dword [edi + 0x24], esi
call fcn.00412b93
mov ecx, dword [esp + 0x40]
call fcn.00405cd8
mov ecx, eax
test ecx, ecx
je 0x40e9c3
mov eax, dword [ecx + 4]
mov esi, dword [eax + 8]
add esi, 4
add esi, ecx
jmp 0x40e9c5
xor esi, esi
push ecx
mov eax, esp
push 0xffffffffffffffff
push 0
push str.NetDiskDiscover
push eax
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_char_const___unsigned_int__unsigned_int_]
add esp, 0x10
push 0x1000
push 0x2000
push 0xffffffffffffffff
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x40ea00
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.system.dll_public:_static_class_Ref_class_Thd____cdecl_Thd::create_class_Ref_class_Exec___unsigned_int__unsigned_int__unsigned_int__class_Ref_class_String__]
mov ecx, dword [esp + 0x24]
add esp, 0x18
test ecx, ecx
je 0x40ea20
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40eace
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x40eace
push dword [0x43ece0]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x40eace
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 4
lea edx, [esp + 0x30]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ece0]
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call dword [edi + 4]
push str.Failed_to_create_NetDisk_discovery_thread
lea edx, [esp + 0x28]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
lea edx, [esp + 0x14]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [esp + 0x14]
call fcn.00405291
lea ecx, [esp + 0x24]
call fcn.00405291
lea ecx, [esp + 0x28]
call fcn.00405291
lea ecx, [esp + 0x2c]
call fcn.00405291
lea ecx, [esp + 0x30]
call fcn.00405291
lea ecx, [esp + 0xc]
call fcn.00405291
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x64]
mov dword [esp + 0x20], ecx
jmp 0x40ecf7
mov eax, dword [eax]
cmp byte [eax + 0x41], 0
jne 0x40ecf0
push 0x4c
call fcn.0042f8f4
mov dword [esp + 0x18], eax
pop ecx
test eax, eax
je 0x40eb53
sub esp, 0x2c
mov edi, esp
sub esp, 0x10
mov esi, esp
mov ecx, esi
push dword [esp + 0x44]
call fcn.0040533a
lea ecx, [esi + 4]
push ecx
lea eax, [esp + 0x74]
push eax
call fcn.0041334f
mov eax, dword [esp + 0x4c]
mov ecx, edi
mov dword [esi + 0xc], eax
call fcn.0041325d
mov ecx, dword [esp + 0x40]
call fcn.00405cd8
mov ecx, eax
test ecx, ecx
je 0x40eb53
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add eax, ecx
jmp 0x40eb55
xor eax, eax
push 0xffffffffffffffff
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x30]
push str.Update
push eax
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_char_const___unsigned_int__unsigned_int_]
add esp, 0xc
mov esi, esp
mov edi, dword [eax]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
add ecx, 0x10
call fcn.00405adc
push eax
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x5c]
push 0x1000
push 0x2000
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x2c]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x40ebb7
mov eax, dword [ecx + 4]
add ecx, 4
add ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.system.dll_public:_static_class_Ref_class_Thd____cdecl_Thd::create_class_Ref_class_Exec___unsigned_int__unsigned_int__unsigned_int__class_Ref_class_String__]
add esp, 0x18
lea ecx, [esp + 0x24]
call fcn.00405291
lea ecx, [esp + 0x28]
call fcn.00405291
cmp dword [esp + 0xc], 0
jne 0x40ecd0
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 3
ja 0x40ece3
push dword [0x43ece0]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x40ece3
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 3
lea edx, [esp + 0x50]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ece0]
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call dword [edi + 4]
mov esi, dword [eax]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
add ecx, 0x10
call fcn.00405adc
mov edi, eax
lea ecx, [esi + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x30]
push str.Failed_to_create_thread_to_update_host
push edx
add ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0x14]
push ecx
mov ecx, esp
push edi
mov esi, dword [eax]
call fcn.0040533a
lea eax, [esp + 0x20]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0x1c]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [esp + 0x2c]
call fcn.00405291
lea ecx, [esp + 0x1c]
call fcn.00405291
lea ecx, [esp + 0x30]
call fcn.00405291
lea ecx, [esp + 0x3c]
call fcn.00405291
lea ecx, [esp + 0x48]
call fcn.00405291
lea ecx, [esp + 0x4c]
call fcn.00405291
lea ecx, [esp + 0x50]
call fcn.00405291
jmp 0x40ece3
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov byte [eax + 0x41], 1
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0xc]
call fcn.00405291
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 8]
add eax, 4
mov dword [esp + 8], eax
cmp eax, ecx
jne 0x40eaea
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 1
call fcn.00412b93
lea ecx, [esp + 0x6c]
call fcn.00412d36
mov al, byte [esp + 0x54]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0040578b
int3