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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x438193
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x447724]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x80], 0
mov eax, dword [esi + 0x50]
mov ebx, dword [eax + 4]
cmp byte [ebx + 0x2d], 0
mov dword [esp + 0x14], eax
jne 0x40cad9
lea edx, [esp + 0x1c]
lea ecx, [ebx + 0xc]
push edx
call fcn.0040be70
test al, al
je 0x40cad0
mov dword [esp + 0x14], ebx
mov ebx, dword [ebx]
jmp 0x40cad3
mov ebx, dword [ebx + 8]
cmp byte [ebx + 0x2d], 0
je 0x40cab7
lea edi, [esi + 0x4c]
lea ebx, [esp + 0x1c]
mov eax, edi
call fcn.0040f870
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
push ecx
push edx
push edi
push eax
push edi
lea edi, [esp + 0x2c]
call fcn.004104f0
add esp, 0x14
cmp dword [esp + 0x18], 0
lea ecx, [esp + 0x1c]
seta bl
mov dword [esp + 0x80], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x40cb41
or eax, 0xffffffff
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
add dword [esi + 0x58], 1
mov ebx, dword [esi + 0x58]
push edi
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x70], ebx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ebx, [esi + 0x4c]
mov dword [esp + 0x88], 1
call fcn.0040dd40
lea ecx, [esp + 0x54]
mov dword [esp + 0x80], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [esi + 0x58]
push edi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x58], edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ebx, [esi + 0x40]
mov dword [esp + 0x88], 2
call fcn.0040da50
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor ebx, ebx
push 0x40
xor edi, edi
push ebx
mov dword [esp + 0x24], vtable.Pickle.0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.MSVCR80.dll_realloc]
add esp, 8
cmp eax, ebx
je 0x40cc0e
mov edi, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], 0x40
mov dword [edi], ebx
mov ebx, 3
push 4
lea edi, [esp + 0x20]
mov dword [esp + 0x84], ebx
call fcn.00415560
test eax, eax
je 0x40cc32
mov ecx, 0x15
mov dword [eax], ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 4
call fcn.00415680
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 5
call fcn.00415680
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
add eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
push edi
call edx
cmp dword [esp + 0x28], 0xffffffff
mov esi, dword [esi + 0x58]
je 0x40ccc3
push edi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8