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

Disassembly:
push 0xffffffffffffffff
push 0x42c7dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x64]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
cmp dword [esp + 0x3c], 0x10
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x6c], 0
jae 0x40dee4
lea ebp, [esp + 0x28]
push 0x2e
push ebp
call dword [sym.imp.MSVCR71.dll_strchr]
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x74], edi
je 0x40e02f
jmp 0x40df04
mov edi, dword [esp + 0x74]
lea ecx, [esi + 0x3c]
push ebp
mov byte [edi], 0
mov dword [esp + 0x14], ecx
call fcn.0041d3f0
test eax, eax
jne 0x40dff5
push 0x146c
call fcn.0042abe2
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x6c], 1
je 0x40df41
mov ecx, eax
call fcn.0041fc00
mov ebx, eax
jmp 0x40df43
xor ebx, ebx
sub esp, 8
mov eax, esp
mov dword [esp + 0x1c], esp
lea ecx, [esp + 0x20]
push ebp
push ecx
mov byte [esp + 0x7c], 0
mov byte [eax + 1], 0x2c
mov dword [eax + 4], ebx
mov byte [eax], 0
call fcn.00403cc0
add esp, 0x10
mov edi, eax
mov edx, dword [edi]
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov al, byte [edi + 4]
mov byte [esp + 0x5c], al
mov cl, byte [edi + 5]
mov byte [esp + 0x5d], cl
mov edx, dword [edi + 8]
mov dword [esp + 0x60], edx
and byte [edi + 5], 0xdf
lea eax, [esp + 0x40]
push eax
lea ecx, [esi + 0x2c]
mov byte [esp + 0x70], 3
call fcn.00404b10
lea ecx, [esp + 0x5c]
mov byte [esp + 0x6c], 4
call fcn.00403800
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0
call fcn.00403800
mov edx, dword [esi + 0x1464]
mov ecx, dword [esp + 0x10]
inc edx
mov dword [esi + 0x1464], edx
mov esi, edx
push esi
push ebp
call fcn.0041d2f0
mov edi, dword [esp + 0x74]
mov esi, ebx
jmp 0x40e014
mov esi, dword [esi + 0x30]
lea ecx, [eax + eax*8]
mov al, byte [esi + ecx*4 - 7]
lea ecx, [esi + ecx*4 - 0x24]
and al, 0xcf
cmp al, 0xb
je 0x40e011
cmp al, 0xc
jne 0x40e105
mov esi, dword [ecx + 0x20]
lea ebp, [edi + 1]
push 0x2e
push ebp
call dword [sym.imp.MSVCR71.dll_strchr]
add esp, 8
test eax, eax
mov dword [esp + 0x74], eax
jne 0x40df00
lea ebx, [esi + 0x3c]
push ebp
mov ecx, ebx
call fcn.0041d3f0
test eax, eax
jne 0x40e105
mov edx, dword [esp + 0x78]
mov cl, byte [edx]
sub esp, 8
mov eax, esp
mov dword [esp + 0x7c], esp
mov byte [eax + 1], 3
mov byte [eax + 4], cl
mov byte [eax], 0
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.00403cc0
add esp, 0x10
mov edi, eax
mov ecx, dword [edi]
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dl, byte [edi + 4]
mov byte [esp + 0x5c], dl
mov al, byte [edi + 5]
mov byte [esp + 0x5d], al
mov ecx, dword [edi + 8]
mov dword [esp + 0x60], ecx
and byte [edi + 5], 0xdf
lea edx, [esp + 0x40]
push edx
lea ecx, [esi + 0x2c]
mov byte [esp + 0x70], 6
call fcn.00404b10
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 5
call fcn.004039c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0
call fcn.00403800
mov edx, dword [esi + 0x1464]
inc edx
mov dword [esi + 0x1464], edx
mov esi, edx
push esi
push ebp
mov ecx, ebx
call fcn.0041d2f0
lea ecx, [esp + 0x24]
mov dword [esp + 0x6c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8
lea ecx, [esp + 0x24]
mov dword [esp + 0x6c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 8