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

Disassembly:
push 0xffffffffffffffff
push 0x403bcf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.00402320
mov dword [esp + 0x14], eax
mov byte [eax + 0x45], 1
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax + 8], eax
mov dword [esp + 0x18], ecx
cmp dword [ebx + 0xc], ecx
mov dword [esp + 0xec], ecx
mov dword [esp + 0x20], ecx
jbe 0x402e00
mov dword [esp + 0x1c], ecx
jmp 0x402be0
xor ecx, ecx
jmp 0x402be0
mov eax, dword [ebx + 0x2c]
mov edx, dword [esp + 0x1c]
lea edi, [edx + eax]
mov eax, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [eax]
push edx
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_int__unsigned_int_]
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x20]
mov ebp, dword [eax + ecx*4]
push 0x7c
push ebp
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x402dd8
lea edx, [esi + 1]
push 0x7c
push edx
call dword [sym.imp.MSVCR71.dll_strchr]
add esp, 8
test eax, eax
mov dword [esp + 0x30], eax
je 0x402dd8
sub eax, esi
inc eax
push eax
push esi
lea ecx, [esp + 0x58]
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___unsigned_int_]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xf0], 1
call fcn.00401fd0
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
je 0x402c81
add eax, 0xc
push eax
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator__char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
test al, al
jne 0x402c81
lea eax, [esp + 0x24]
jmp 0x402c8d
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
mov esi, dword [eax]
cmp esi, dword [esp + 0x14]
jne 0x402db5
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0xf4], 2
call fcn.004034f0
add esp, 8
test al, al
je 0x402d97
mov ecx, dword [esp + 0x48]
test ecx, ecx
jbe 0x402cf8
cmp dword [esp + 0x4c], 0x10
mov eax, dword [esp + 0x38]
jae 0x402cdc
lea eax, [esp + 0x38]
cmp byte [ecx + eax - 1], 0x5c
jne 0x402cf8
mov edx, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
dec ecx
push eax
push ecx
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_int__unsigned_int_]
sub esp, 0x1c
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call dword [sym.imp.MSVCP71.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__]
sub esp, 0x1c
lea eax, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
mov byte [esp + 0x128], 3
call dword [sym.imp.MSVCP71.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__]
lea ecx, [esp + 0xe4]
push ecx
mov byte [esp + 0x128], 2
call fcn.00402140
add esp, 0x3c
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 4
call fcn.00401be0
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xf4], 5
call fcn.004025f0
mov esi, dword [eax]
lea ecx, [esp + 0x74]
mov byte [esp + 0xec], 4
call fcn.00401b90
lea ecx, [esp + 0xac]
mov byte [esp + 0xec], 2
call fcn.00401b90
lea ecx, [esp + 0x34]
mov byte [esp + 0xec], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp esi, dword [esp + 0x14]
jne 0x402db5
mov byte [edi + 0x1c], 1
jmp 0x402dc6
add esi, 0x28
push esi
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ebp, dword [esp + 0x30]
inc ebp
lea ecx, [esp + 0x50]
mov byte [esp + 0xec], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push ebp
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0xc]
inc eax
add edx, 0x44
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
jb 0x402bd6
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0xf8], 0xffffffff
call fcn.00402a80
mov edx, dword [esp + 0x14]
push edx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0xe8]
add esp, 4
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe0
ret