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

Disassembly:
push 0xffffffffffffffff
push 0x458357
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x44], esi
mov al, byte [esp + 0x23]
xor ebx, ebx
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x2c], al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x2c]
push 0xa
lea edx, [esp + 0xb4]
push ecx
push edx
mov byte [esp + 0xb4], 1
call fcn.0040bf30
add esp, 0xc
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp eax, ebx
je 0x403ff2
mov edi, dword [esp + 0x28]
mov edx, ecx
sub edx, eax
sar edx, 4
cmp edi, edx
jae 0x403ff2
mov cl, byte [esp + 0x23]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x10], cl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x10]
push 9
add ecx, eax
push edx
push ecx
mov byte [esp + 0xb4], 2
call fcn.0040bf30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp eax, ebx
je 0x403fa9
mov edx, ecx
sub edx, eax
sar edx, 4
cmp edx, 4
jb 0x403fa9
cmp dword [eax + 8], ebx
je 0x403fa9
add eax, 0x10
push 0x462268
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
test al, al
je 0x403d54
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
mov byte [esp + 0xac], 1
push ecx
jmp 0x403ede
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x48]
lea edi, [esi + 0xcd4]
push eax
push ecx
mov ecx, edi
call fcn.004058f0
mov eax, dword [eax]
mov ecx, dword [esi + 0xcd8]
cmp eax, ecx
jne 0x403e81
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add edx, 0x20
push 0x462264
push edx
call ebp
add esp, 8
test al, al
je 0x403dae
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
mov byte [esp + 0xac], 1
push ecx
jmp 0x403ede
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x84]
push ecx
push edx
call fcn.004063b0
add esp, 0xc
mov esi, eax
push esi
lea ecx, [esp + 0x54]
mov byte [esp + 0xac], 3
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esi, 0x10
lea ecx, [esp + 0x60]
push esi
mov byte [esp + 0xac], 4
call fcn.00406a50
lea eax, [esp + 0x50]
lea ecx, [esp + 0x78]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0xb0], 5
call fcn.00405660
mov edx, dword [eax]
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x3c]
mov eax, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x48], eax
call fcn.00414af0
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 6
call fcn.00405190
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xac], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0x90]
mov byte [esp + 0xa8], 7
call fcn.00405190
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xac], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0x14]
jmp 0x403ec7
mov ecx, dword [eax + 0x20]
lea esi, [eax + 0x1c]
mov eax, dword [eax + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.00405490
xor ebp, ebp
xor edi, edi
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x403ec1
mov ecx, dword [esp + 0x18]
sub ecx, eax
sar ecx, 4
cmp ebp, ecx
jae 0x403ec1
lea edx, [edi + eax]
mov eax, dword [esi + 8]
push edx
push eax
mov ecx, esi
call fcn.004052e0
inc ebp
add edi, 0x10
jmp 0x403e97
mov ebp, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
cmp byte [esp + 0xc0], bl
je 0x403ef1
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xa8], 1
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00405610
mov edx, dword [esp + 0x14]
push edx
jmp 0x403fc1
push 0x462238
push eax
call ebp
add esp, 8
test al, al
je 0x403f65
mov eax, dword [esp + 0x14]
push 0x462264
add eax, 0x20
push eax
call ebp
add esp, 8
test al, al
je 0x403f1d
call fcn.004248a0
jmp 0x403f7f
mov ecx, dword [esp + 0x14]
push 0x462268
add ecx, 0x20
push ecx
call ebp
add esp, 8
test al, al
je 0x403f7f
call fcn.00433cb0
mov ecx, eax
call fcn.00437210
push eax
push 3
lea ecx, [esp + 0x18]
call fcn.0042f100
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.004248b0
add esp, 0x14
jmp 0x403f7f
mov edx, dword [esp + 0x14]
push 0x462260
push edx
call ebp
add esp, 8
test al, al
je 0x403f7f
mov byte [0x46688c], 1
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp esi, edi
mov byte [esp + 0xa8], 1
je 0x403fa6
push ebx
mov ecx, esi
call fcn.004069d0
add esi, 0x10
cmp esi, edi
jne 0x403f93
mov esi, dword [esp + 0x14]
push esi
jmp 0x403fc1
push ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb0], 1
call fcn.00405610
mov eax, dword [esp + 0x14]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x48]
add esp, 4
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
jmp 0x403ca9
push ecx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], bl
call fcn.00405610
mov ecx, dword [esp + 0x30]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xb0]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xac], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x9c
ret 0x14