Function at 0x436620
Capabilities:
Connect socket
Get local ipv4 addresses
Get number of processors
Get socket information
Get socket status
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x49b7b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xef0
mov eax, dword [0x4bc410]
xor eax, esp
push ebx
mov ebx, dword [esp + 0xf04]
push ebp
mov dword [esp + 0xef4], eax
mov eax, dword [esp + 0xf1c]
push esi
mov esi, dword [esp + 0xf14]
mov ebp, ecx
mov ecx, dword [esp + 0xf24]
push edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.MSVCR71.dll_rand]
mov edx, eax
xor eax, eax
mov ecx, 0x180
lea edi, [esp + 0x2fc]
rep stosd dword es:[edi], eax
mov byte [esp + 0x2fd], al
mov byte [esp + 0x2fc], al
mov byte [esp + 0x30a], al
mov byte [esp + 0x309], al
mov byte [esp + 0x308], al
mov eax, edx
mov dword [esp + 0x30], edx
cdq
mov cl, 8
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x20], 0
mov byte [esp + 0x303], 0x60
mov byte [esp + 0x302], 0x39
mov byte [esp + 0x301], 0x20
mov byte [esp + 0x300], 0x54
mov byte [esp + 0x2ff], 0x34
mov byte [esp + 0x2fe], 8
mov byte [esp + 0x30b], 0x64
mov byte [esp + 0x30f], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x30e], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x30d], al
call fcn.00496e10
mov byte [esp + 0x30c], al
mov eax, dword [esp + 0xf1c]
mov dword [esp + 0x28], edx
mov ecx, 8
lea edi, [esp + 0x310]
rep movsd dword es:[edi], dword [esi]
cdq
mov cl, 8
mov byte [esp + 0x333], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x332], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x331], al
call fcn.00496e10
mov byte [esp + 0x330], al
mov eax, dword [esp + 0xf20]
mov dword [esp + 0x28], edx
cdq
mov cl, 8
mov byte [esp + 0x337], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x336], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x335], al
call fcn.00496e10
mov dword [esp + 0x28], edx
push 0x30
lea edx, [esp + 0x30c]
mov byte [esp + 0x338], al
push edx
lea ecx, [ebp + 0x10c8]
call fcn.00402fc0
cdq
mov cl, 8
mov byte [esp + 0x307], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x306], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x305], al
call fcn.00496e10
mov byte [esp + 0x304], al
mov eax, dword [ebp + 0x1bb8]
test eax, eax
mov dword [esp + 0x28], edx
push 0x3c
je 0x43686e
lea eax, [esp + 0x300]
push eax
lea ecx, [esp + 0x30e]
push ecx
call dword [sym.imp.MSVCR71.dll_memmove]
lea edx, [ebp + 0x1bbc]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dx, word [edx + 8]
add esp, 0xc
mov dword [esp + 0x2fc], eax
push 0x3c
lea eax, [esp + 0x30a]
mov dword [esp + 0x304], ecx
push eax
lea ecx, [ebp + 0x1bc8]
mov word [esp + 0x30c], dx
call fcn.0047cfa0
mov dword [esp + 0x1c], 0x46
jmp 0x436881
lea ecx, [esp + 0x300]
push ecx
lea ecx, [ebp + 0x14cc]
call fcn.0047cfa0
push 2
mov ecx, ebp
call fcn.00435510
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x2c], esi
je 0x437b0f
mov eax, dword [esp + 0xf14]
xor edx, edx
mov dword [esp + 0x26c], edx
mov dword [esp + 0x270], edx
mov dword [esp + 0x274], edx
push eax
mov dword [esp + 0x27c], edx
mov word [esp + 0x270], 2
call dword [sym.imp.WS2_32.dll_htons]
push ebx
mov word [esp + 0x272], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0x270], eax
jne 0x436907
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4369da
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x270], eax
mov eax, 5
lea esp, [esp]
mov edx, dword [esp + 0x1c]
push 0x10
lea ecx, [esp + 0x270]
push ecx
mov ecx, dword [esp + 0x34]
dec eax
push 0
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x30c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov edi, 0x14
mov edi, edi
push 0x64
mov ecx, ebp
dec edi
call fcn.00435430
cmp eax, 0x42b
je 0x437b0f
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x2f0]
push eax
push 0
push 0x5fc
lea ecx, [esp + 0x90c]
push ecx
push edx
mov dword [esp + 0x5c], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0x1e
jl 0x436a28
mov eax, dword [ebp + 0x1bb8]
test eax, eax
je 0x4369e8
push 0xa
lea eax, [esp + 0x900]
lea esi, [ebp + 0x1be4]
push eax
mov ecx, esi
call fcn.0047ce70
sub ebx, 0xa
push ebx
lea ecx, [esp + 0x90a]
push ecx
lea edx, [esp + 0x904]
push edx
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
push ebx
lea eax, [esp + 0x900]
push eax
mov ecx, esi
jmp 0x4369f7
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x437bfd
lea ecx, [esp + 0x8fc]
push ebx
push ecx
lea ecx, [ebp + 0x14cc]
call fcn.0047cff0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
push ebx
lea eax, [esp + 0x910]
push eax
mov ecx, ebp
call fcn.004355e0
test eax, eax
jne 0x436ae6
test edi, edi
jg 0x436940
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x436910
lea ecx, [esp + 0x14]
call dword [0x49f754]
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0xf08], esi
call dword [0x49f754]
lea ecx, [esp + 0x27c]
mov byte [esp + 0xf08], 1
call fcn.0041b340
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0xf20], 2
mov dword [esp + 0x74], 0x10
call fcn.0043bee0
mov eax, dword [ebp + 0x14e8]
add esp, 0x18
cmp eax, esi
jge 0x436b2a
cmp dword [esp + 0x60], esi
je 0x436af6
lea ecx, [esp + 0x14]
mov dword [ebp + 0x14e8], esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [ebp + 0x14ec]
lea esp, [esp]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x436ad0
mov edx, dword [esp + 0x58]
mov dword [ebp + 0x1524], edx
jmp 0x436b2a
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x437bf9
cmp dword [esp + 0x48], esi
je 0x436b2a
lea ecx, [esp + 0x10]
mov dword [ebp + 0x14e8], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [ebp + 0x14ec]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x436b16
mov eax, dword [esp + 0x54]
mov dword [ebp + 0x1524], eax
lea eax, [ebp + 0x14ec]
push eax
lea ecx, [esp + 0x284]
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 cx, word [ebp + 0x1524]
lea eax, [ebp + 0x1528]
mov word [esp + 0x29c], cx
push eax
lea ecx, [esp + 0x2a4]
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__]
lea eax, [ebp + 0x1560]
push eax
lea ecx, [esp + 0x2c0]
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 ecx, dword [esp + 0x2c]
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x2e0]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_getsockname]
mov edx, dword [esp + 0x2de]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
cmp dword [ebp + 0x14e8], esi
movzx eax, ax
jne 0x43708e
push eax
xor edi, edi
lea esi, [ebp + 4]
push edi
lea eax, [esp + 0x284]
push eax
mov ecx, esi
mov dword [ebp + 0x1bac], edi
mov dword [esp + 0x48], esi
call fcn.0045da90
mov dword [ebp + 0x1bac], edi
mov edi, 0xc8
push 0x64
mov ecx, ebp
dec edi
call fcn.00435430
cmp eax, 0x42b
je 0x4376d4
mov eax, dword [ebp + 0x1bac]
test eax, eax
jne 0x436bf8
test edi, edi
jg 0x436bd5
cmp dword [ebp + 0x1bac], 1
jne 0x436da5
mov dword [esp + 0x18], 2
lea ecx, [ecx]
mov dx, word [esp + 0x26e]
mov ecx, dword [esp + 0x270]
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x159c], ecx
mov word [ebp + 0x15a0], dx
mov edx, dword [esp + 0x1c]
dec eax
mov ecx, edx
mov ebx, ecx
shr ecx, 2
mov dword [esp + 0x18], eax
lea eax, [ebp + 0x1598]
mov byte [eax], 0
mov byte [ebp + 0x1599], 0
mov byte [ebp + 0x159a], 0
mov byte [ebp + 0x159b], 1
lea esi, [esp + 0x2fc]
lea edi, [ebp + 0x15a2]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0x10
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0x1b9c]
push ecx
push 0
lea ecx, [edx + 0xa]
push ecx
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [esp + 0x24], 0x14
mov dword [ebp + 0x1b98], 0
mov esi, dword [esp + 0x24]
dec esi
push 0x64
mov ecx, ebp
mov dword [esp + 0x28], esi
call fcn.00435430
cmp eax, 0x42b
je 0x4376d4
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x2f0]
push edx
push 0
push 0x5fc
lea eax, [esp + 0x90c]
push eax
push ecx
mov dword [esp + 0x5c], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0x28
jl 0x436d89
mov eax, dword [ebp + 0x1bb8]
test eax, eax
je 0x436d46
push 0xa
lea edx, [esp + 0x90a]
lea edi, [ebp + 0x1be4]
push edx
mov ecx, edi
call fcn.0047ce70
sub ebx, 0xa
push ebx
lea eax, [esp + 0x914]
push eax
lea ecx, [esp + 0x90e]
push ecx
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
lea esi, [ebx - 0xa]
push esi
lea edx, [esp + 0x90a]
push edx
mov ecx, edi
jmp 0x436d58
lea esi, [ebx - 0xa]
push esi
lea eax, [esp + 0x90a]
push eax
lea ecx, [ebp + 0x14cc]
call fcn.0047cff0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push edx
lea eax, [esp + 0x28]
push eax
push ecx
push esi
lea edx, [esp + 0x91a]
push edx
mov ecx, ebp
call fcn.004355e0
test eax, eax
jne 0x436e96
mov eax, dword [esp + 0x24]
test eax, eax
jg 0x436ca1
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x436c10
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.0045da60
xor edi, edi
push 2
mov ecx, esi
mov dword [ebp + 0x1bac], edi
call fcn.0045e030
mov ecx, dword [esp + 0x270]
push 0x50
push ecx
mov dword [ebp + 0x1b98], edi
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
lea edx, [esp + 0x284]
push edx
mov ecx, esi
call fcn.0045da90
mov edi, 0xc8
push 0x64
mov ecx, ebp
dec edi
call fcn.00435430
cmp eax, 0x42b
je 0x4376d4
mov eax, dword [ebp + 0x1bac]
test eax, eax
jne 0x436e0b
test edi, edi
jg 0x436de8
cmp dword [ebp + 0x1bac], 1
jne 0x437085
xor eax, eax
lea edx, [ebp + 0x1598]
mov ecx, 0x180
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1bb8]
test eax, eax
je 0x436eb0
lea eax, [ebp + 0x1bbc]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov ax, word [eax + 8]
mov dword [edx + 4], ecx
mov word [edx + 8], ax
mov edx, dword [str.GET__REGISTER]
lea ecx, [ebp + 0x15a2]
mov dword [ecx], edx
mov eax, dword [0x4a645c]
mov dword [ecx + 4], eax
mov edx, dword [0x4a6460]
mov dword [ecx + 8], edx
mov ax, word [0x4a6464]
mov word [ecx + 0xc], ax
push 0x14
lea ecx, [ebp + 0x15a2]
push ecx
lea ecx, [ebp + 0x1bc8]
mov dword [esp + 0x20], 0xa
call fcn.0047cfa0
jmp 0x436ed3
mov eax, dword [esp + 0x2c]
push eax
mov dword [ebp + 0x1bb4], 1
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4372ac
mov eax, dword [str.GET__REGISTER]
mov dword [edx], eax
mov ecx, dword [0x4a645c]
mov dword [edx + 4], ecx
mov eax, dword [0x4a6460]
mov dword [edx + 8], eax
mov cx, word [0x4a6464]
mov word [edx + 0xc], cx
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
lea eax, [esi + 8]
cdq
mov cl, 8
mov byte [edi + ebp + 0x15af], al
call fcn.00496e10
mov cl, 8
mov byte [edi + ebp + 0x15ae], al
call fcn.00496e10
mov cl, 8
mov byte [edi + ebp + 0x15ad], al
call fcn.00496e10
mov byte [edi + ebp + 0x15ac], al
mov eax, dword [esp + 0x18]
mov ecx, esi
lea edi, [edi + ebp + 0x15b4]
mov dword [esp + 0x28], edx
mov edx, ecx
shr ecx, 2
mov byte [edi - 1], 0
mov byte [edi - 2], 0
mov byte [edi - 3], 0
mov byte [edi - 4], 0
lea esi, [esp + 0x2fc]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
mov ecx, edx
lea edx, [eax + ecx + 0x1c]
push edx
lea eax, [ebp + 0x1598]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov eax, 0x64
mov dword [ebp + 0x1b98], 0
nop
dec eax
push 0x64
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.00435430
cmp eax, 0x42b
je 0x4376d4
mov eax, dword [ebp + 0x1b98]
mov edx, 4
cmp eax, edx
jl 0x437075
xor eax, eax
lea esi, [ebp + 0x1598]
xor ecx, ecx
mov dword [esp + 0x24], edx
lea ebx, [ebx]
shld ecx, eax, 8
shl eax, 8
mov edi, eax
movzx eax, byte [esi]
cdq
or ecx, edx
mov edx, dword [esp + 0x24]
or edi, eax
inc esi
dec edx
mov eax, edi
mov dword [esp + 0x24], edx
jne 0x436fb0
mov ecx, dword [ebp + 0x1b98]
cmp ecx, eax
jl 0x437075
mov eax, dword [ebp + 0x1bb8]
test eax, eax
je 0x43702b
push 0xa
lea ecx, [esp + 0x908]
lea esi, [ebp + 0x1be4]
push ecx
mov ecx, esi
call fcn.0047ce70
sub ebx, 0xa
push ebx
lea edx, [esp + 0x912]
push edx
lea eax, [esp + 0x90c]
push eax
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
lea ecx, [ebx - 8]
push ecx
lea edx, [esp + 0x908]
push edx
mov ecx, esi
jmp 0x43703c
add ecx, 0xfffffff8
push ecx
lea eax, [ebp + 0x15a0]
push eax
lea ecx, [ebp + 0x14cc]
call fcn.0047cff0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ebp + 0x1b98]
lea eax, [esp + 0x28]
push eax
push ecx
sub edx, 8
push edx
lea eax, [ebp + 0x15a0]
push eax
mov ecx, ebp
call fcn.004355e0
test eax, eax
jne 0x43729b
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x436f70
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.0045da60
xor esi, esi
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esp + 0x48], esi
je 0x43711f
lea ecx, [esp + 0x10]
mov dword [ebp + 0x14e8], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [ebp + 0x14ec]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4370c0
mov edx, dword [esp + 0x54]
lea eax, [ebp + 0x14ec]
push eax
lea ecx, [esp + 0x284]
mov dword [ebp + 0x1524], edx
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 ax, word [ebp + 0x1524]
mov word [esp + 0x29c], ax
lea eax, [ebp + 0x1528]
push eax
lea ecx, [esp + 0x2a4]
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__]
lea eax, [ebp + 0x1560]
push eax
lea ecx, [esp + 0x2c0]
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__]
cmp dword [ebp + 0x14e8], 1
jne 0x437464
mov edx, dword [esp + 0x26e]
lea ecx, [esp + 0x27c]
push ecx
xor ebx, ebx
lea edi, [ebp + 0x5c]
push edx
mov dword [ebp + 0x1bb0], ebx
mov dword [esp + 0x2c], edi
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x274]
mov esi, dword [sym.imp.WS2_32.dll_inet_ntoa]
movzx eax, ax
push eax
push ecx
call esi
push eax
mov ecx, edi
call fcn.0045e110
mov dword [ebp + 0x1bac], ebx
mov ebx, 0xc8
push 0x64
mov ecx, ebp
dec ebx
call fcn.00435430
cmp eax, 0x42b
je 0x4376d4
mov eax, dword [ebp + 0x1bac]
test eax, eax
jne 0x43719b
test ebx, ebx
jg 0x437178
cmp dword [ebp + 0x1bac], 1
je 0x437210
mov ecx, edi
mov dword [ebp + 0x1bb0], 1
call fcn.0045e270
mov eax, dword [esp + 0x270]
lea edx, [esp + 0x27c]
push edx
push 0x50
push eax
call esi
push eax
mov ecx, edi
call fcn.0045e110
mov dword [ebp + 0x1bac], 0
mov edi, 0xc8
push 0x64
mov ecx, ebp
dec edi
call fcn.00435430
cmp eax, 0x42b
je 0x4376d4
mov eax, dword [ebp + 0x1bac]
test eax, eax
jne 0x437203
test edi, edi
jg 0x4371e0
cmp dword [ebp + 0x1bac], 1
jne 0x437459
mov eax, dword [ebp + 0x1bb0]
test eax, eax
je 0x437372
lea edx, [ebp + 0x1598]
xor eax, eax
mov ecx, 0x180
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x1bb8]
xor ebx, ebx
test eax, eax
je 0x4372ce
lea ecx, [ebp + 0x1bbc]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov cx, word [ecx + 8]
mov dword [edx + 4], eax
mov word [edx + 8], cx
mov eax, dword [str.GET__REGISTER]
lea edx, [ebp + 0x15a2]
mov dword [edx], eax
mov ecx, dword [0x4a645c]
mov dword [edx + 4], ecx
mov eax, dword [0x4a6460]
mov dword [edx + 8], eax
mov cx, word [0x4a6464]
mov word [edx + 0xc], cx
push 0x14
lea edx, [ebp + 0x15a2]
push edx
lea ecx, [ebp + 0x1bc8]
mov ebx, 0xa
call fcn.0047cfa0
jmp 0x4372f1
mov eax, 1
mov dword [ebp + 0x1bb4], eax
mov dword [ebp + 0x1bb0], eax
mov ecx, dword [esp + 0x3c]
call fcn.0045da60
lea ecx, [esp + 0x27c]
mov byte [esp + 0xf08], 1
call fcn.0041a980
jmp 0x437be5
mov eax, dword [str.GET__REGISTER]
mov dword [edx], eax
mov ecx, dword [0x4a645c]
mov dword [edx + 4], ecx
mov eax, dword [0x4a6460]
mov dword [edx + 8], eax
mov cx, word [0x4a6464]
mov word [edx + 0xc], cx
mov esi, dword [esp + 0x1c]
lea eax, [esi + 8]
cdq
mov cl, 8
mov byte [ebx + ebp + 0x15af], al
call fcn.00496e10
mov cl, 8
mov byte [ebx + ebp + 0x15ae], al
call fcn.00496e10
mov cl, 8
mov byte [ebx + ebp + 0x15ad], al
call fcn.00496e10
mov byte [ebx + ebp + 0x15ac], al
mov ecx, esi
lea edi, [ebx + ebp + 0x15b4]
mov dword [esp + 0x40], edx
mov edx, ecx
shr ecx, 2
mov byte [edi - 1], 0
mov byte [edi - 2], 0
mov byte [edi - 3], 0
mov byte [edi - 4], 0
lea esi, [esp + 0x2fc]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
mov eax, edx
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 0x60]
push 0
lea ecx, [ebx + eax + 0x1c]
push ecx
lea eax, [ebp + 0x1598]
push eax
push edx
jmp 0x4373e8
mov esi, dword [esp + 0x1c]
lea ebx, [esi + 8]
mov eax, ebx
cdq
mov cl, 8
mov byte [ebp + 0x159b], al
call fcn.00496e10
mov cl, 8
mov byte [ebp + 0x159a], al
call fcn.00496e10
mov cl, 8
mov byte [ebp + 0x1599], al
call fcn.00496e10
mov byte [ebp + 0x1598], al
mov ecx, esi
mov eax, ecx
lea edi, [ebp + 0x15a0]
shr ecx, 2
mov byte [edi - 1], 0
mov byte [edi - 2], 0
mov byte [edi - 3], 0
mov byte [edi - 4], 0
lea esi, [esp + 0x2fc]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push ebx
lea eax, [ebp + 0x1598]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x60]
push eax
mov dword [esp + 0x4c], edx
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov esi, 0x64
mov dword [ebp + 0x1b98], 0
lea ecx, [ecx]
dec esi
push 0x64
mov ecx, ebp
mov dword [esp + 0x1c], esi
call fcn.00435430
cmp eax, 0x42b
je 0x4376d4
mov eax, dword [ebp + 0x1b98]
mov edi, 4
cmp eax, edi
jl 0x437455
xor eax, eax
lea esi, [ebp + 0x1598]
xor ecx, ecx
shld ecx, eax, 8
shl eax, 8
mov ebx, eax
movzx eax, byte [esi]
cdq
or ebx, eax
or ecx, edx
inc esi
dec edi
mov eax, ebx
jne 0x437432
cmp dword [ebp + 0x1b98], eax
jge 0x4374c6
mov esi, dword [esp + 0x18]
test esi, esi
jg 0x437400
mov ecx, dword [esp + 0x24]
call fcn.0045e270
xor esi, esi
push 1
mov ecx, ebp
mov dword [ebp + 0x1bb4], esi
mov dword [ebp + 0x1bb0], esi
call fcn.00435510
push 0x10
lea edx, [esp + 0x270]
mov ebx, eax
push edx
push ebx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x437647
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4375ab
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x27c]
mov byte [esp + 0xf08], 1
call fcn.0041a980
jmp 0x437be5
mov eax, dword [ebp + 0x1bb8]
test eax, eax
lea esi, [ebp + 0x15a0]
je 0x437517
push 0xa
lea edi, [ebp + 0x1be4]
push esi
mov ecx, edi
call fcn.0047ce70
mov ebx, dword [ebp + 0x1b98]
add ebx, 0xfffffff6
mov eax, ebx
push eax
lea edx, [ebp + 0x15aa]
push edx
push esi
mov dword [ebp + 0x1b98], ebx
call dword [sym.imp.MSVCR71.dll_memmove]
mov eax, dword [ebp + 0x1b98]
add esp, 0xc
sub eax, 8
push eax
mov ecx, edi
jmp 0x437527
mov ecx, dword [ebp + 0x1b98]
sub ecx, 8
push ecx
lea ecx, [ebp + 0x14cc]
push esi
call fcn.0047cff0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [ebp + 0x1b98]
lea ecx, [esp + 0x28]
push ecx
push edx
sub eax, 8
push eax
push esi
mov ecx, ebp
call fcn.004355e0
test eax, eax
je 0x437459
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [ebp + 0x1bb4], 1
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x24]
call fcn.0045e270
lea ecx, [esp + 0x27c]
mov byte [esp + 0xf08], 1
call fcn.0041a980
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
jmp 0x437bfd
push 0xa
mov ecx, ebp
mov esi, 0x1f3
call fcn.00435430
cmp eax, 0x42b
je 0x4376d4
lea edi, [ebx + 1]
jmp 0x4375d0
mov eax, 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x168], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x16c]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0
push edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x180], ebx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x2710
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x4376bb
lea eax, [esp + 0x168]
push eax
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x4376ed
lea ecx, [esp + 0x64]
push ecx
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4376bf
cmp ebx, 0xffffffff
jne 0x437797
push 1
mov ecx, ebp
call fcn.00435510
push 0x50
mov ebx, eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [esp + 0x270]
push edx
push ebx
mov word [esp + 0x27a], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x437797
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4376f9
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2bc]
mov byte [esp + 0xf08], 4
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 byte [esp + 0xf08], 3
jmp 0x437ad9
test esi, esi
jle 0x4376ed
push 0xa
mov ecx, ebp
dec esi
call fcn.00435430
cmp eax, 0x42b
jne 0x4375d0
lea ecx, [esp + 0x27c]
mov byte [esp + 0xf08], 1
call fcn.0041a980
jmp 0x437afb
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x437650
push 0xa
mov ecx, ebp
mov esi, 0x1f3
call fcn.00435430
cmp eax, 0x42b
je 0x437855
lea edi, [ebx + 1]
jmp 0x437720
mov eax, 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x168], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x16c]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0
push edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x180], ebx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x2710
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x43783c
lea eax, [esp + 0x168]
push eax
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x437877
lea ecx, [esp + 0x64]
push ecx
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x437840
push 0x50
call dword [sym.imp.WS2_32.dll_htons]
cmp word [esp + 0x26e], ax
jne 0x437974
xor eax, eax
lea edx, [ebp + 0x1598]
mov ecx, 0x180
mov edi, edx
mov dword [ebp + 0x1bb0], 1
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1bb8]
test eax, eax
je 0x4378c9
lea eax, [ebp + 0x1bbc]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov ax, word [eax + 8]
mov dword [edx + 4], ecx
mov word [edx + 8], ax
mov edx, dword [str.GET__REGISTER]
lea ecx, [ebp + 0x15a2]
mov dword [ecx], edx
mov eax, dword [0x4a645c]
mov dword [ecx + 4], eax
mov edx, dword [0x4a6460]
mov dword [ecx + 8], edx
mov ax, word [0x4a6464]
mov word [ecx + 0xc], ax
push 0x14
lea ecx, [ebp + 0x15a2]
push ecx
lea ecx, [ebp + 0x1bc8]
mov dword [esp + 0x20], 0xa
call fcn.0047cfa0
jmp 0x4378ec
test esi, esi
jle 0x4378a0
push 0xa
mov ecx, ebp
dec esi
call fcn.00435430
cmp eax, 0x42b
jne 0x437720
lea ecx, [esp + 0x2bc]
mov byte [esp + 0xf08], 6
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 byte [esp + 0xf08], 5
jmp 0x437ad9
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2bc]
mov byte [esp + 0xf08], 8
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 byte [esp + 0xf08], 7
jmp 0x437ad9
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2bc]
mov byte [esp + 0xf08], 0xa
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 byte [esp + 0xf08], 9
jmp 0x437ad9
mov eax, dword [str.GET__REGISTER]
mov dword [edx], eax
mov ecx, dword [0x4a645c]
mov dword [edx + 4], ecx
mov eax, dword [0x4a6460]
mov dword [edx + 8], eax
mov cx, word [0x4a6464]
mov word [edx + 0xc], cx
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
lea eax, [esi + 8]
cdq
mov cl, 8
mov byte [edi + ebp + 0x15af], al
call fcn.00496e10
mov cl, 8
mov byte [edi + ebp + 0x15ae], al
call fcn.00496e10
mov cl, 8
mov byte [edi + ebp + 0x15ad], al
call fcn.00496e10
mov byte [edi + ebp + 0x15ac], al
mov eax, dword [esp + 0x18]
mov ecx, esi
lea edi, [edi + ebp + 0x15b4]
mov dword [esp + 0x28], edx
mov edx, ecx
shr ecx, 2
mov byte [edi - 1], 0
mov byte [edi - 2], 0
mov byte [edi - 3], 0
mov byte [edi - 4], 0
lea esi, [esp + 0x2fc]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
push 0
lea edx, [eax + ecx + 0x1c]
push edx
lea eax, [ebp + 0x1598]
push eax
jmp 0x437a02
mov edi, dword [esp + 0x1c]
push edi
lea eax, [esp + 0x300]
push eax
lea ecx, [esp + 0x30c]
push ecx
mov dword [ebp + 0x1bb0], 0
call dword [sym.imp.MSVCR71.dll_memmove]
add edi, 8
mov eax, edi
cdq
add esp, 0xc
mov cl, 8
mov byte [esp + 0x2ff], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x2fe], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x2fd], al
call fcn.00496e10
push 0
mov dword [esp + 0x2c], edx
push edi
lea edx, [esp + 0x304]
mov byte [esp + 0x304], al
mov byte [esp + 0x30b], 0
mov byte [esp + 0x30a], 0
mov byte [esp + 0x309], 0
mov byte [esp + 0x308], 0
push edx
push ebx
call dword [sym.imp.WS2_32.dll_send]
mov edi, 0x320
xor esi, esi
dec edi
push 0xa
mov ecx, ebp
mov dword [esp + 0x1c], edi
call fcn.00435430
cmp eax, 0x42b
je 0x437abc
push 0
mov eax, 0x5fc
sub eax, esi
push eax
lea ecx, [esp + esi + 0x904]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
mov dword [esp + 0x44], eax
jle 0x437a9c
add esi, eax
lea edx, [esp + 0x8fc]
xor eax, eax
mov dword [esp + 0x24], edx
xor ecx, ecx
mov dword [esp + 0x3c], 4
shld ecx, eax, 8
shl eax, 8
mov edi, eax
mov eax, dword [esp + 0x24]
movzx eax, byte [eax]
cdq
or edi, eax
or ecx, edx
mov edx, dword [esp + 0x3c]
mov eax, edi
mov edi, dword [esp + 0x24]
inc edi
dec edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x3c], edx
jne 0x437a63
cmp esi, eax
jge 0x437b16
mov edi, dword [esp + 0x18]
jmp 0x437aaf
jge 0x437aaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x437b9f
test edi, edi
jg 0x437a10
jmp 0x437b9f
lea ecx, [esp + 0x2bc]
mov byte [esp + 0xf08], 0xc
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 byte [esp + 0xf08], 0xb
lea ecx, [esp + 0x2a0]
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 + 0x280]
mov byte [esp + 0xf08], 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 + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x437bfd
mov eax, dword [ebp + 0x1bb8]
test eax, eax
je 0x437b64
push 0xa
lea ecx, [esp + 0x908]
lea edi, [ebp + 0x1be4]
push ecx
mov ecx, edi
call fcn.0047ce70
sub esi, 0xa
push esi
lea edx, [esp + 0x912]
push edx
lea eax, [esp + 0x90c]
push eax
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
add esi, 0xfffffff8
lea ecx, [esp + 0x904]
push esi
push ecx
mov ecx, edi
jmp 0x437b76
add esi, 0xfffffff8
push esi
lea edx, [esp + 0x908]
push edx
lea ecx, [ebp + 0x14cc]
call fcn.0047cff0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
push esi
lea ecx, [esp + 0x918]
push ecx
mov ecx, ebp
call fcn.004355e0
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2bc]
mov byte [esp + 0xf08], 0xe
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 + 0x2a0]
mov byte [esp + 0xf08], 0xd
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 + 0x280]
mov byte [esp + 0xf08], 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 + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xf00]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xef0]
pop ebx
xor ecx, esp
call fcn.00496ace
add esp, 0xefc
ret 0x1c