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

Disassembly:
push 0xffffffffffffffff
push 0x4a7d9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4bc
mov eax, dword [0x4cbba0]
xor eax, esp
push ebp
push esi
mov esi, dword [esp + 0x4dc]
xor ebp, ebp
push edi
mov edi, ecx
mov dword [esp + 0x4c4], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x58]
mov dword [esp + 0x4d0], ebp
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 ecx, [esp + 0x3c]
mov byte [esp + 0x4d0], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x2c
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push eax
push esi
mov byte [esp + 0x4e0], 2
call fcn.0049c640
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, ebp
je 0x4642ea
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 2
cmp ecx, 6
jae 0x464328
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4d0], 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_]
lea ecx, [esp + 0x58]
mov byte [esp + 0x4d0], 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_]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4649b7
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
jmp 0x4649b7
mov ecx, dword [eax]
mov esi, dword [sym.imp.MSVCR71.dll_atoi]
push ebx
push ecx
call esi
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 4]
push eax
call esi
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 8]
push edx
mov dword [esp + 0x20], eax
call esi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
push ecx
call esi
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x10]
push eax
call esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 0x14]
add esp, 0x14
cmp eax, ebp
mov dword [esp + 0x34], ebx
je 0x464395
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 2
cmp ecx, 7
jb 0x464395
mov esi, dword [eax + 0x18]
jmp 0x464397
xor esi, esi
mov ebp, dword [esp + 0x4dc]
push ebx
push ebp
mov ecx, edi
call fcn.00462d00
test eax, eax
jne 0x46442a
test esi, esi
lea ecx, [esp + 0x40]
je 0x4643b6
push esi
jmp 0x4643bb
push 0x4acbb2
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__::operator_char_const__]
mov edx, dword [edi]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x44]
push ecx
push ebp
mov ecx, edi
call dword [edx + 0x1c]
test eax, eax
je 0x464468
push 0xa
lea edx, [esp + 0xcc]
push edx
push eax
call dword [sym.imp.MSVCR71.dll__itoa]
lea eax, [esp + 0xd4]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x464400
mov ecx, dword [esp + 0x4e0]
push 0
sub eax, edx
push eax
lea eax, [esp + 0xd0]
push eax
push ecx
mov ecx, dword [0x4ccb50]
push ebp
push 0x68
call fcn.00467a50
lea ecx, [esp + 0x40]
mov byte [esp + 0x4d4], 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_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4d4], 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_]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4649b6
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
jmp 0x4649b6
mov eax, dword [0x4ccb50]
mov edx, dword [eax + 0x4f4]
mov ecx, 2
cmp edx, ecx
jle 0x464493
cmp dword [esp + 0x30], ecx
jle 0x464493
mov edx, dword [esp + 0x14]
cmp dword [eax + 0x4f8], edx
mov edi, 5
jne 0x464498
mov edi, 4
push 0x3198
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x4d4], 3
je 0x4644cc
mov ecx, dword [esp + 0x4e0]
push 0
push ecx
push ebp
push edi
mov ecx, eax
call fcn.0047b4e0
mov ebp, eax
jmp 0x4644ce
xor ebp, ebp
test ebp, ebp
mov byte [esp + 0x4d4], 2
je 0x464989
push 0x2c
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x4d4], 4
je 0x464504
push ebp
mov ecx, eax
call fcn.004802c0
mov esi, eax
jmp 0x464506
xor esi, esi
test esi, esi
mov byte [esp + 0x4d4], 2
jne 0x464522
mov edx, dword [ebp + 4]
lea ecx, [ebp + 4]
push 1
call dword [edx + 0x10]
jmp 0x464989
mov cx, word [esp + 0x38]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov word [ebp + 0x78], cx
mov ecx, dword [esp + 0x30]
mov dword [ebp + 0x70], eax
mov ax, word [esp + 0x2c]
mov dword [ebp + 0x6c], ecx
lea ecx, [ebp + 0x18]
mov word [ebp + 0x7a], ax
mov byte [ebp + 0x4a], 1
mov dword [ebp + 0x74], edx
mov eax, ebx
sub ecx, ebx
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x464554
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [esi + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
lea edx, [esp + 0x40]
push edx
lea ecx, [esi + 8]
call dword [0x4ab944]
push esi
mov ecx, ebp
call fcn.0047ab30
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x1c]
mov dword [esp + 0x2c], ebp
call fcn.0042b910
cmp di, 4
jne 0x464912
mov ebx, dword [sym.imp.MSVCR71.dll__itoa]
push 0xa
lea ecx, [esp + 0xcc]
push ecx
push 0
call ebx
lea edi, [esp + 0xd4]
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4645c6
mov dx, word [0x4b0f1c]
mov ecx, dword [0x4ccb50]
push 0xa
lea eax, [esp + 0x98]
mov word [edi], dx
mov edx, dword [ecx + 0x4f4]
push eax
push edx
call ebx
lea eax, [esp + 0xa0]
add esp, 0xc
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x464600
lea edi, [esp + 0xc8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x464611
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x464631
mov ax, word [0x4b0f1c]
mov edx, dword [0x4ccb50]
push 0xa
lea ecx, [esp + 0x98]
mov word [edi], ax
mov eax, dword [edx + 0x4f8]
push ecx
push eax
call ebx
lea eax, [esp + 0xa0]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x464667
lea edi, [esp + 0xc8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x464678
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x464698
mov cx, word [0x4b0f1c]
mov eax, dword [0x4ccb50]
mov word [edi], cx
movzx ecx, word [eax + 0x502]
push 0xa
lea edx, [esp + 0x98]
push edx
push ecx
call ebx
lea eax, [esp + 0xa0]
add esp, 0xc
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4646d0
lea edi, [esp + 0xc8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4646e1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x464701
mov dx, word [0x4b0f1c]
mov ecx, dword [0x4ccb50]
push 0xa
lea eax, [esp + 0x98]
mov word [edi], dx
mov edx, dword [ecx + 0x4fc]
push eax
push edx
call ebx
lea eax, [esp + 0xa0]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x464738
lea edi, [esp + 0xc8]
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x464750
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x464770
mov ax, word [0x4b0f1c]
mov edx, dword [0x4ccb50]
mov word [edi], ax
movzx eax, word [edx + 0x500]
push 0xa
lea ecx, [esp + 0x98]
push ecx
push eax
call ebx
lea eax, [esp + 0xa0]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4647a7
lea edi, [esp + 0xc8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4647b8
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4647d8
mov bx, word [0x4b0f1c]
mov eax, dword [esp + 0x34]
mov word [edi], bx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4647f0
lea edi, [esp + 0xc8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x464801
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x464821
lea ecx, [esp + 0x40]
mov word [edi], bx
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x464838
lea edi, [esp + 0xc8]
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x464850
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0xc8]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x464872
push 0
sub eax, edx
mov edx, dword [esp + 0x4e4]
push eax
mov eax, dword [esp + 0x4e4]
lea ecx, [esp + 0xd0]
push ecx
mov ecx, dword [0x4ccb50]
push edx
push eax
push 0x68
call fcn.00467a50
mov edx, dword [esp + 0x30]
cmp edx, 2
mov eax, dword [0x4ccb50]
mov ecx, dword [esp + 0x14]
jle 0x4648c1
cmp dword [eax + 0x4f8], ecx
jne 0x464989
cmp dword [eax + 0x4f8], ecx
jne 0x4648e4
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
push 1
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ebp
call fcn.00462a00
jmp 0x464989
cmp edx, 2
push 0
jne 0x464900
mov eax, dword [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ebp
call fcn.00462a00
jmp 0x464989
mov edx, dword [esp + 0x3c]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
push ebp
call fcn.00462a00
jmp 0x464989
lea ecx, [esp + 0x78]
mov word [ebp + 0x82], 1
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 + 0x7c]
push ecx
mov ecx, dword [0x4ccb50]
mov byte [esp + 0x4dc], 5
call fcn.00466530
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esp + 0x34]
push 0
push ecx
push eax
mov word [ebp + 0x90], cx
push ebp
mov ecx, esi
mov dword [ebp + 0x8c], eax
call fcn.00462a00
lea ecx, [esp + 0x78]
mov byte [esp + 0x4d4], 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 + 0x40]
mov byte [esp + 0x4d4], 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_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4d4], 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_]
lea ecx, [esp + 0x18]
call fcn.0047b130
pop ebx
mov ecx, dword [esp + 0x4c8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4bc]
pop ebp
xor ecx, esp
call fcn.004a17d1
add esp, 0x4c8
ret 0xc