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

Disassembly:
sub esp, 0xb4
mov eax, dword [0x4595b8]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
mov ebp, dword [esp + 0xc0]
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x78]
mov dword [esp + 0x2c], ebp
call fcn.0043cf50
xor ebx, ebx
lea ecx, [esp + 0xa4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
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], bl
je 0x426c4a
lea eax, [esp + 0xa4]
push eax
mov eax, esi
lea esi, [esp + 0x28]
lea edi, [esp + 0x7c]
call fcn.00423470
add esp, 4
test al, al
je 0x426c4a
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_]
cmp dword [ebp + 0x2c4], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
jne 0x426bbb
lea ecx, [esp + 0x88]
push ecx
push 0x44bb2c
mov ecx, esi
mov byte [esp + 0x1b], bl
call fcn.0043c300
lea edx, [esp + 0x20]
push edx
push str.size
mov ecx, esi
call fcn.0043c440
cmp dword [esp + 0x9c], ebx
jbe 0x426c34
cmp dword [esp + 0x20], ebx
je 0x426c34
lea ecx, [esp + 0x14]
call fcn.00414b10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push 0x44bb20
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.0043c730
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
push ebx
push ecx
mov dword [esp + 0x5c], esi
call fcn.0043d570
add esp, 8
cmp eax, esi
jne 0x426b9f
push esi
lea ecx, [esp + 0x5c]
call fcn.00426570
mov edx, dword [esp + 0x18]
mov edi, dword [edx]
lea esi, [esp + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
lea esp, [esp]
cmp esi, ebx
mov ebp, dword [esp + 0x18]
je 0x426aa0
lea eax, [esp + 0x14]
cmp esi, eax
je 0x426aa6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, ebp
je 0x426b9b
cmp esi, ebx
mov byte [esp + 0x13], bl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
jne 0x426ac8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esi + 4]
jne 0x426ad3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, 0x10
cmp dword [edi + 0x20], esi
jb 0x426ae2
mov eax, dword [edi + 0xc]
jmp 0x426ae5
lea eax, [edi + 0xc]
push ebx
push 0x44bb1c
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00428540
mov eax, dword [esp + 0x4c]
add esp, 0x10
cmp eax, ebx
je 0x426b92
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 0x426b92
push ebx
lea ecx, [esp + 0x3c]
call fcn.00420de0
cmp dword [eax + 0x18], esi
jb 0x426b37
mov eax, dword [eax + 4]
jmp 0x426b3a
add eax, 4
push eax
call dword [sym.imp.MSVCR80.dll_atol]
mov esi, eax
add esp, 4
cmp esi, ebx
jl 0x426b92
cmp esi, dword [esp + 0x54]
jge 0x426b92
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 byte [esp + 0x13], 1
call fcn.004158d0
lea ecx, [esp + 0x30]
call fcn.00414a80
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
jmp 0x426a90
lea ecx, [esp + 0x38]
call fcn.004158d0
mov ebp, dword [esp + 0x2c]
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
cmp byte [esp + 0x13], bl
je 0x426c34
lea ecx, [esp + 0x14]
call fcn.00414b10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push str.peer
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebx
call fcn.0043c730
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x90]
push eax
push ecx
push 1
mov ecx, ebp
call fcn.00414750
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 + 0x58]
mov dword [esp + 0x18], ebx
call fcn.004158d0
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_]
jmp 0x426cc4
lea ecx, [esp + 0x58]
call fcn.004158d0
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], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.00414b10
push 0x44a5b5
lea ecx, [esp + 0x8c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
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 + 0x48]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x90]
push edx
push ebx
push ebx
mov ecx, ebp
call fcn.00414750
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 eax, dword [esp + 0x4c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x68]
mov dword [esp + 0x4c], ebx
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