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

Disassembly:
sub esp, 0xb4
mov eax, dword [0x4595b8]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb8]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x78]
mov dword [esp + 0x34], eax
call fcn.0043cf50
xor ebp, ebp
lea ecx, [esp + 0xa4]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp byte [esp + 0xcc], 0
je 0x426804
lea ecx, [esp + 0xa4]
mov eax, esi
push ecx
lea esi, [esp + 0x30]
lea edi, [esp + 0x7c]
call fcn.00423470
add esp, 4
test al, al
je 0x426804
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea edx, [esp + 0x88]
push edx
push 0x44bb2c
mov ecx, esi
mov dword [esp + 0x18], ebp
call fcn.0043c300
lea eax, [esp + 0x10]
push eax
push str.size
mov ecx, esi
call fcn.0043c440
cmp dword [esp + 0x9c], ebp
jbe 0x4267f7
cmp dword [esp + 0x10], ebp
je 0x4267f7
lea ecx, [esp + 0x14]
call fcn.00414b10
lea ecx, [esp + 0x14]
push ecx
push 0x44bb20
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
call fcn.0043c730
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
push ebp
push edx
mov dword [esp + 0x5c], esi
call fcn.0043d570
add esp, 8
cmp eax, esi
jne 0x4267e1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push esi
lea ecx, [esp + 0x78]
call fcn.00426460
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
lea ecx, [esp + 0x14]
xor bl, bl
mov dword [esp + 0x20], ecx
mov edi, eax
cmp ecx, ebp
mov esi, dword [esp + 0x18]
je 0x4266d8
lea edx, [esp + 0x14]
cmp ecx, edx
je 0x4266e2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
cmp edi, esi
je 0x4268af
cmp ecx, ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
jne 0x426704
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
cmp edi, dword [ecx + 4]
jne 0x42670f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, 0x10
cmp dword [edi + 0x20], esi
jb 0x42671e
mov eax, dword [edi + 0xc]
jmp 0x426721
lea eax, [edi + 0xc]
push ebp
push 0x44bb1c
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00428540
mov eax, dword [esp + 0x4c]
add esp, 0x10
cmp eax, ebp
je 0x4267cf
mov ecx, dword [esp + 0x40]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x4267cf
push ebp
lea ecx, [esp + 0x3c]
call fcn.00420de0
cmp dword [eax + 0x18], esi
jb 0x426773
mov eax, dword [eax + 4]
jmp 0x426776
add eax, 4
push eax
call dword [sym.imp.MSVCR80.dll_atol]
mov esi, eax
add esp, 4
cmp esi, ebp
jl 0x4267cf
cmp esi, dword [esp + 0x54]
jge 0x4267cf
push 1
lea ecx, [esp + 0x3c]
call fcn.00420de0
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.00420de0
mov ecx, eax
call dword [0x44929c]
lea ecx, [esp + 0x38]
mov bl, 1
call fcn.004158d0
mov ecx, dword [esp + 0x20]
cmp edi, dword [ecx + 4]
jne 0x4267c4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [edi]
mov ecx, dword [esp + 0x20]
jmp 0x4266c8
lea ecx, [esp + 0x38]
call fcn.004158d0
lea ecx, [esp + 0x58]
call fcn.004158d0
lea ecx, [esp + 0x14]
call fcn.004155d0
mov eax, dword [esp + 0x18]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x48]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
call fcn.00414b10
push 0x44a5b5
lea ecx, [esp + 0x8c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebp
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 ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x90]
push eax
push ebp
push ebp
call fcn.004174a0
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x48]
call fcn.004155d0
mov ecx, dword [esp + 0x4c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x68]
mov dword [esp + 0x4c], ebp
call fcn.004158d0
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x78]
call fcn.0043d4a0
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004451f4
add esp, 0xb4
ret
test bl, bl
je 0x4267d8
lea ecx, [esp + 0x20]
call fcn.00414b10
lea edx, [esp + 0x20]
push edx
push str.peer
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
call fcn.0043c730
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x90]
push edx
push eax
push 1
call fcn.004174a0
lea ecx, [esp + 0x20]
call fcn.004155d0
mov ecx, dword [esp + 0x24]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], ebp
call fcn.004158d0
lea ecx, [esp + 0x14]
call fcn.004155d0
mov edx, dword [esp + 0x18]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x88]
mov dword [esp + 0x18], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x426880