Function at 0x439ef0
Capabilities:
Access peb ldr_data
Connect socket
Get local ipv4 addresses
Get number of processors
Get socket information
Get socket status
Receive data
Receive data on socket
Resolve dns
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49b953
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf18
mov eax, dword [0x4bc410]
xor eax, ebp
mov dword [esp + 0xf10], eax
push ebx
push esi
push edi
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x34]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 0x38]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebp + 0x40]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], ecx
call dword [sym.imp.MSVCR71.dll_rand]
mov edx, eax
xor eax, eax
mov ecx, 0x180
lea edi, [esp + 0x318]
rep stosd dword es:[edi], eax
mov byte [esp + 0x319], al
mov byte [esp + 0x318], al
mov byte [esp + 0x326], al
mov byte [esp + 0x325], al
mov byte [esp + 0x324], al
mov eax, edx
mov dword [esp + 0x38], edx
cdq
mov cl, 8
mov dword [esp + 0x20], 0x3c
mov byte [esp + 0x31f], 0x60
mov byte [esp + 0x31e], 0x39
mov byte [esp + 0x31d], 0x20
mov byte [esp + 0x31c], 0x54
mov byte [esp + 0x31b], 0x34
mov byte [esp + 0x31a], 8
mov byte [esp + 0x327], 0x68
mov byte [esp + 0x32b], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x32a], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x329], al
call fcn.00496e10
mov ecx, dword [esi + 8]
mov byte [esp + 0x328], al
mov eax, dword [esi + 4]
mov dword [esp + 0x28], edx
mov edx, dword [esi]
mov dword [esp + 0x330], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x32c], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x33c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x338], edx
cdq
mov dword [esp + 0x334], ecx
mov cl, 8
mov byte [esp + 0x343], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x342], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x341], al
call fcn.00496e10
mov byte [esp + 0x340], al
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x28], edx
cdq
mov cl, 8
mov byte [esp + 0x347], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x346], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x345], al
call fcn.00496e10
mov byte [esp + 0x344], al
movzx eax, word [ebp + 0x1c]
mov dword [esp + 0x28], edx
cdq
mov cl, 8
mov byte [esp + 0x34d], al
call fcn.00496e10
mov byte [esp + 0x34c], al
movzx eax, word [ebp + 0x20]
mov dword [esp + 0x28], edx
cdq
mov cl, 8
mov byte [esp + 0x34f], al
call fcn.00496e10
mov byte [esp + 0x34e], al
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x28], edx
cdq
mov cl, 8
mov byte [esp + 0x353], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x352], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x351], al
call fcn.00496e10
push 0x30
lea ecx, [esp + 0x328]
push ecx
lea ecx, [ebx + 0x10c8]
mov dword [esp + 0x30], edx
mov byte [esp + 0x358], al
call fcn.00402fc0
cdq
mov cl, 8
mov byte [esp + 0x323], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x322], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x321], al
call fcn.00496e10
mov byte [esp + 0x320], al
mov eax, dword [ebx + 0x1bb8]
test eax, eax
mov dword [esp + 0x28], edx
push 0x3c
je 0x43a1e2
lea edx, [esp + 0x31c]
push edx
lea eax, [esp + 0x32a]
push eax
call dword [sym.imp.MSVCR71.dll_memmove]
lea ecx, [ebx + 0x1bbc]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov cx, word [ecx + 8]
add esp, 0xc
mov dword [esp + 0x318], edx
push 0x3c
lea edx, [esp + 0x326]
mov word [esp + 0x324], cx
push edx
lea ecx, [ebx + 0x1bc8]
mov dword [esp + 0x324], eax
call fcn.0047cfa0
mov dword [esp + 0x20], 0x46
jmp 0x43a1f5
lea eax, [esp + 0x31c]
push eax
lea ecx, [ebx + 0x14cc]
call fcn.0047cfa0
push 2
mov ecx, ebx
call fcn.00435510
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
je 0x43b537
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [esp + 0x288], ecx
mov dword [esp + 0x28c], ecx
mov dword [esp + 0x290], ecx
push edx
mov dword [esp + 0x298], ecx
mov word [esp + 0x28c], 2
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x2c]
push esi
mov word [esp + 0x28e], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0x28c], eax
jne 0x43a27b
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x43a361
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esp + 0x28c], edx
mov dword [esp + 0x10], 5
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
push 0x10
lea eax, [esp + 0x28c]
push eax
mov eax, dword [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x328]
push edx
dec esi
push eax
mov dword [esp + 0x28], esi
call dword [sym.imp.WS2_32.dll_sendto]
mov esi, 0x14
dec esi
push 0x64
mov ecx, ebx
mov dword [esp + 0x28], esi
call fcn.00435430
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2fc]
push edx
push 0
push 0x5fc
lea eax, [esp + 0x928]
push eax
push ecx
mov dword [esp + 0x70], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp edi, 0x14
mov dword [esp + 0x34], edi
jl 0x43a3c1
mov eax, dword [ebx + 0x1bb8]
test eax, eax
je 0x43a36d
push 0xa
lea edx, [esp + 0x91c]
lea esi, [ebx + 0x1be4]
push edx
mov ecx, esi
call fcn.0047ce70
sub edi, 0xa
push edi
lea eax, [esp + 0x926]
push eax
lea ecx, [esp + 0x920]
push ecx
mov dword [esp + 0x40], edi
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
push edi
lea edx, [esp + 0x91c]
push edx
mov ecx, esi
call fcn.0047cff0
mov esi, dword [esp + 0x24]
mov byte [esp + edi + 0x918], 0
jmp 0x43a381
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x43b537
push edi
lea eax, [esp + 0x91c]
push eax
lea ecx, [ebx + 0x14cc]
call fcn.0047cff0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
push edi
lea eax, [esp + 0x93c]
push eax
mov ecx, ebx
call fcn.00435fd0
test eax, eax
jne 0x43a486
test esi, esi
jg 0x43a2b5
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x43a283
lea ecx, [esp + 0x1c]
call dword [0x49f754]
xor edi, edi
lea ecx, [esp + 0x18]
mov dword [esp + 0xf2c], edi
call dword [0x49f754]
lea ecx, [esp + 0x298]
mov esi, 1
mov byte [esp + 0xf2c], 1
call fcn.0041b340
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x80]
push ecx
mov byte [esp + 0xf44], 2
mov dword [esp + 0x8c], 0x10
call fcn.0043bee0
mov eax, dword [ebx + 0x14e8]
add esp, 0x18
cmp eax, edi
jge 0x43a4cb
cmp dword [esp + 0x6c], edi
je 0x43a49b
lea ecx, [esp + 0x1c]
mov dword [ebx + 0x14e8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [ebx + 0x14ec]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x43a470
mov edx, dword [esp + 0x70]
mov dword [ebx + 0x1524], edx
jmp 0x43a4cb
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 1
jmp 0x43b539
cmp dword [esp + 0x68], edi
je 0x43a4cb
lea ecx, [esp + 0x18]
mov dword [ebx + 0x14e8], esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [ebx + 0x14ec]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x43a4b7
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x1524], eax
lea eax, [ebx + 0x14ec]
push eax
lea ecx, [esp + 0x2a0]
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 [ebx + 0x1524]
lea eax, [ebx + 0x1528]
mov word [esp + 0x2b8], cx
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__]
lea eax, [ebx + 0x1560]
push eax
lea ecx, [esp + 0x2dc]
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 + 0x14]
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x30c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_getsockname]
mov edx, dword [esp + 0x30a]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
cmp dword [ebx + 0x14e8], edi
movzx eax, ax
jne 0x43a9b1
push eax
xor edi, edi
lea esi, [ebx + 4]
push edi
lea eax, [esp + 0x2a0]
push eax
mov ecx, esi
mov dword [ebx + 0x1bac], edi
mov dword [esp + 0x38], esi
call fcn.0045da90
mov dword [ebx + 0x1bac], edi
mov edi, 0xc8
push 0x64
mov ecx, ebx
dec edi
call fcn.00435430
mov eax, dword [ebx + 0x1bac]
test eax, eax
jne 0x43a58e
test edi, edi
jg 0x43a576
cmp dword [ebx + 0x1bac], 1
jne 0x43a756
mov dword [esp + 0x10], 2
jmp 0x43a5b0
mov ecx, dword [esp + 0x28c]
mov dx, word [esp + 0x28a]
mov esi, dword [esp + 0x10]
mov dword [ebx + 0x159c], ecx
mov ecx, dword [esp + 0x20]
dec esi
mov word [ebx + 0x15a0], dx
mov edx, ecx
shr ecx, 2
mov dword [esp + 0x10], esi
lea eax, [ebx + 0x1598]
mov byte [eax], 0
mov byte [ebx + 0x1599], 0
mov byte [ebx + 0x159a], 0
mov byte [ebx + 0x159b], 1
lea esi, [esp + 0x318]
lea edi, [ebx + 0x15a2]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 0x10
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + 0x1b9c]
push ecx
push 0
mov ecx, edx
add ecx, 0xa
push ecx
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [esp + 0x24], 0x14
mov dword [ebx + 0x1b98], 0
mov edi, dword [esp + 0x24]
dec edi
push 0x64
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00435430
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2fc]
push edx
push 0
push 0x5fc
lea eax, [esp + 0x928]
push eax
push ecx
mov dword [esp + 0x70], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, eax
cmp esi, 0x1e
mov dword [esp + 0x34], esi
jl 0x43a73a
mov eax, dword [ebx + 0x1bb8]
test eax, eax
je 0x43a6e3
push 0xa
lea edx, [esp + 0x926]
lea edi, [ebx + 0x1be4]
push edx
mov ecx, edi
call fcn.0047ce70
sub esi, 0xa
push esi
lea eax, [esp + 0x930]
push eax
lea ecx, [esp + 0x92a]
push ecx
mov dword [esp + 0x40], esi
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
add esi, 0xfffffff6
push esi
lea edx, [esp + 0x926]
push edx
mov ecx, edi
jmp 0x43a6f5
add esi, 0xfffffff6
push esi
lea eax, [esp + 0x926]
push eax
lea ecx, [ebx + 0x14cc]
call fcn.0047cff0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
push esi
lea eax, [esp + 0x946]
push eax
mov ecx, ebx
call fcn.00435fd0
test eax, eax
jne 0x43a845
mov eax, dword [esp + 0x24]
test eax, eax
jg 0x43a641
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x43a5b0
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.0045da60
xor edi, edi
push 2
mov ecx, esi
mov dword [ebx + 0x1bac], edi
call fcn.0045e030
mov edx, dword [esp + 0x28c]
push 0x50
push edx
mov dword [ebx + 0x1b98], edi
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
lea eax, [esp + 0x2a0]
push eax
mov ecx, esi
call fcn.0045da90
mov esi, 0xc8
lea esp, [esp]
push 0x64
mov ecx, ebx
dec esi
call fcn.00435430
cmp dword [ebx + 0x1bac], edi
jne 0x43a7b6
cmp esi, edi
jg 0x43a7a0
cmp dword [ebx + 0x1bac], 1
jne 0x43a9a3
xor eax, eax
lea edx, [ebx + 0x1598]
mov ecx, 0x180
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1bb8]
test eax, eax
je 0x43a87c
lea ecx, [ebx + 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__QUERY]
lea edx, [ebx + 0x15a2]
mov dword [edx], eax
mov ecx, dword [0x4a646c]
mov dword [edx + 4], ecx
mov ax, word [0x4a6470]
mov word [edx + 8], ax
mov cl, byte [0x4a6472]
mov byte [edx + 0xa], cl
push 0x14
lea edx, [ebx + 0x15a2]
push edx
lea ecx, [ebx + 0x1bc8]
mov dword [esp + 0x18], 0xa
call fcn.0047cfa0
jmp 0x43a89f
mov ecx, dword [esp + 0x14]
push ecx
mov dword [ebx + 0x1bb4], 1
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x2c]
call fcn.0045da60
lea ecx, [esp + 0x298]
mov byte [esp + 0xf2c], 1
call fcn.0041a980
jmp 0x43b64b
mov eax, dword [str.GET__QUERY]
mov dword [edx], eax
mov ecx, dword [0x4a646c]
mov dword [edx + 4], ecx
mov ax, word [0x4a6470]
mov word [edx + 8], ax
mov cl, byte [0x4a6472]
mov byte [edx + 0xa], cl
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
lea eax, [esi + 8]
cdq
mov cl, 8
mov byte [ebx + edi + 0x15af], al
call fcn.00496e10
mov cl, 8
mov byte [ebx + edi + 0x15ae], al
call fcn.00496e10
mov cl, 8
mov byte [ebx + edi + 0x15ad], al
call fcn.00496e10
mov byte [ebx + edi + 0x15ac], al
mov eax, dword [esp + 0x10]
mov ecx, esi
lea edi, [ebx + edi + 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 + 0x318]
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, [ebx + 0x1598]
push eax
mov eax, dword [ebx + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov esi, 0x64
mov dword [ebx + 0x1b98], 0
jmp 0x43a940
dec esi
push 0x64
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.00435430
mov eax, dword [ebx + 0x1b98]
mov edx, 4
cmp eax, edx
jl 0x43a99f
xor eax, eax
lea esi, [ebx + 0x1598]
xor ecx, ecx
mov dword [esp + 0x24], edx
jmp 0x43a970
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 0x43a970
cmp dword [ebx + 0x1b98], eax
jge 0x43abae
mov esi, dword [esp + 0x10]
test esi, esi
jg 0x43a940
mov ecx, dword [esp + 0x2c]
call fcn.0045da60
mov esi, 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x43aa3f
lea ecx, [esp + 0x18]
mov dword [ebx + 0x14e8], esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [ebx + 0x14ec]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x43a9e0
mov ecx, dword [esp + 0x64]
lea eax, [ebx + 0x14ec]
mov dword [ebx + 0x1524], ecx
push eax
lea ecx, [esp + 0x2a0]
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 dx, word [ebx + 0x1524]
lea eax, [ebx + 0x1528]
push eax
lea ecx, [esp + 0x2c0]
mov word [esp + 0x2bc], dx
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, [ebx + 0x1560]
push eax
lea ecx, [esp + 0x2dc]
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 [ebx + 0x14e8], esi
jne 0x43ae6a
mov ecx, dword [esp + 0x28a]
lea eax, [esp + 0x298]
push eax
xor edi, edi
lea esi, [ebx + 0x5c]
push ecx
mov dword [ebx + 0x1bb0], edi
mov dword [esp + 0x2c], esi
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
mov eax, dword [esp + 0x290]
push edx
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, esi
call fcn.0045e110
mov dword [ebx + 0x1bac], edi
mov edi, 0xc8
push 0x64
mov ecx, ebx
dec edi
call fcn.00435430
mov eax, dword [ebx + 0x1bac]
test eax, eax
jne 0x43aaad
test edi, edi
jg 0x43aa95
cmp dword [ebx + 0x1bac], 1
je 0x43ab1b
mov ecx, esi
mov dword [ebx + 0x1bb0], 1
call fcn.0045e270
mov edx, dword [esp + 0x28c]
lea ecx, [esp + 0x298]
push ecx
push 0x50
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, esi
call fcn.0045e110
mov dword [ebx + 0x1bac], 0
mov esi, 0xc8
push 0x64
mov ecx, ebx
dec esi
call fcn.00435430
mov eax, dword [ebx + 0x1bac]
test eax, eax
jne 0x43ab0e
test esi, esi
jg 0x43aaf6
cmp dword [ebx + 0x1bac], 1
jne 0x43ae61
mov eax, dword [ebx + 0x1bb0]
test eax, eax
je 0x43ad79
xor eax, eax
lea edx, [ebx + 0x1598]
mov ecx, 0x180
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1bb8]
test eax, eax
je 0x43acd1
lea eax, [ebx + 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__QUERY]
lea ecx, [ebx + 0x15a2]
mov dword [ecx], edx
mov eax, dword [0x4a646c]
mov dword [ecx + 4], eax
mov dx, word [0x4a6470]
mov word [ecx + 8], dx
mov al, byte [0x4a6472]
mov byte [ecx + 0xa], al
push 0x14
lea ecx, [ebx + 0x15a2]
push ecx
lea ecx, [ebx + 0x1bc8]
mov dword [esp + 0x18], 0xa
call fcn.0047cfa0
jmp 0x43acf4
mov eax, dword [ebx + 0x1b98]
cmp eax, 0x1c
jne 0x43abcd
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x2c]
jmp 0x43aeeb
mov ecx, dword [ebx + 0x1bb8]
test ecx, ecx
je 0x43ac1f
push 0xa
lea edx, [esp + 0x924]
lea esi, [ebx + 0x1be4]
push edx
mov ecx, esi
call fcn.0047ce70
mov edi, dword [esp + 0x34]
sub edi, 0xa
push edi
lea eax, [esp + 0x92e]
push eax
lea ecx, [esp + 0x928]
push ecx
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
add edi, 0xfffffff8
push edi
lea edx, [esp + 0x924]
push edx
mov ecx, esi
jmp 0x43ac30
add eax, 0xfffffff8
push eax
lea eax, [ebx + 0x15a0]
push eax
lea ecx, [ebx + 0x14cc]
call fcn.0047cff0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [ebx + 0x1b98]
push ecx
push edx
sub eax, 8
push eax
lea ecx, [ebx + 0x15a0]
push ecx
mov ecx, ebx
call fcn.00435fd0
test eax, eax
je 0x43a9a3
mov edx, dword [esp + 0x14]
mov esi, 1
push edx
mov dword [ebx + 0x1bb4], esi
mov dword [ebx + 0x1bb0], esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x2c]
call fcn.0045da60
lea ecx, [esp + 0x298]
mov byte [esp + 0xf2c], 1
call fcn.0041a980
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, esi
jmp 0x43b539
mov eax, dword [str.GET__QUERY]
mov dword [edx], eax
mov ecx, dword [0x4a646c]
mov dword [edx + 4], ecx
mov ax, word [0x4a6470]
mov word [edx + 8], ax
mov cl, byte [0x4a6472]
mov byte [edx + 0xa], cl
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
lea eax, [esi + 8]
cdq
mov cl, 8
mov byte [ebx + edi + 0x15af], al
call fcn.00496e10
mov cl, 8
mov byte [ebx + edi + 0x15ae], al
call fcn.00496e10
mov cl, 8
mov byte [ebx + edi + 0x15ad], al
call fcn.00496e10
mov byte [ebx + edi + 0x15ac], al
mov eax, dword [esp + 0x10]
mov ecx, esi
lea edi, [ebx + edi + 0x15b4]
mov dword [esp + 0x30], 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 + 0x318]
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, [ebx + 0x1598]
push eax
jmp 0x43adee
mov esi, dword [esp + 0x20]
lea eax, [esi + 8]
cdq
mov cl, 8
mov byte [ebx + 0x159b], al
call fcn.00496e10
mov cl, 8
mov byte [ebx + 0x159a], al
call fcn.00496e10
mov cl, 8
mov byte [ebx + 0x1599], al
call fcn.00496e10
mov byte [ebx + 0x1598], al
mov ecx, esi
lea edi, [ebx + 0x15a0]
mov dword [esp + 0x30], 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 + 0x318]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
mov eax, edx
push 0
add eax, 8
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + 0x1598]
push eax
push ecx
mov eax, dword [ebx + 0x60]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov esi, 0x64
mov dword [ebx + 0x1b98], 0
dec esi
push 0x64
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.00435430
mov eax, dword [ebx + 0x1b98]
mov edx, 4
cmp eax, edx
jl 0x43ae5d
xor eax, eax
lea esi, [ebx + 0x1598]
xor ecx, ecx
mov dword [esp + 0x2c], edx
shld ecx, eax, 8
shl eax, 8
mov edi, eax
movzx eax, byte [esi]
cdq
or ecx, edx
mov edx, dword [esp + 0x2c]
or edi, eax
inc esi
dec edx
mov eax, edi
mov dword [esp + 0x2c], edx
jne 0x43ae32
cmp dword [ebx + 0x1b98], eax
jge 0x43aed2
mov esi, dword [esp + 0x10]
test esi, esi
jg 0x43ae07
mov ecx, dword [esp + 0x24]
call fcn.0045e270
xor eax, eax
push 1
mov ecx, ebx
mov dword [ebx + 0x1bb4], eax
mov dword [ebx + 0x1bb0], eax
call fcn.00435510
push 0x10
lea edx, [esp + 0x28c]
mov esi, eax
push edx
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x43b071
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x43afe2
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x298]
mov byte [esp + 0xf2c], 1
call fcn.0041a980
jmp 0x43b523
mov eax, dword [ebx + 0x1b98]
cmp eax, 0x1c
jne 0x43af09
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [ebx + 4]
call fcn.0045da60
lea ecx, [esp + 0x298]
mov byte [esp + 0xf2c], 1
call fcn.0041a980
jmp 0x43b523
mov ecx, dword [ebx + 0x1bb8]
test ecx, ecx
lea esi, [ebx + 0x15a0]
je 0x43af59
push 0xa
lea edi, [ebx + 0x1be4]
push esi
mov ecx, edi
call fcn.0047ce70
mov edx, dword [ebx + 0x1b98]
add edx, 0xfffffff6
mov eax, edx
mov dword [ebx + 0x1b98], edx
push eax
lea edx, [ebx + 0x15aa]
push edx
push esi
call dword [sym.imp.MSVCR71.dll_memmove]
mov eax, dword [ebx + 0x1b98]
add esp, 0xc
sub eax, 8
mov ecx, edi
jmp 0x43af62
add eax, 0xfffffff8
lea ecx, [ebx + 0x14cc]
push eax
push esi
call fcn.0047cff0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [ebx + 0x1b98]
push ecx
push edx
sub eax, 8
push eax
push esi
mov ecx, ebx
call fcn.00435fd0
test eax, eax
je 0x43ae61
mov ecx, dword [esp + 0x14]
push ecx
mov dword [ebx + 0x1bb4], 1
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x24]
call fcn.0045e270
lea ecx, [esp + 0x298]
mov byte [esp + 0xf2c], 1
call fcn.0041a980
jmp 0x43b64b
mov edi, 0x1f4
push 0x64
mov ecx, ebx
dec edi
call fcn.00435430
mov eax, 1
mov dword [esp + 0x78], eax
mov dword [esp + 0x180], eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x184]
push ecx
lea edx, [esp + 0x80]
push edx
push 0
lea eax, [esi + 1]
push eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x198], esi
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x2710
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x43b0e9
lea eax, [esp + 0x180]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x43b0f1
lea ecx, [esp + 0x78]
push ecx
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43afe7
cmp esi, 0xffffffff
jne 0x43b18a
push 1
mov ecx, ebx
call fcn.00435510
mov esi, eax
push 0x50
mov dword [esp + 0x18], esi
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [esp + 0x28c]
push edx
push esi
mov word [esp + 0x296], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x43b18a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x43b0fa
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2d8]
mov byte [esp + 0xf2c], 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 + 0xf2c], 3
jmp 0x43b501
test edi, edi
jge 0x43afe7
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x43b07a
mov edi, 0x1f4
nop
push 0x64
mov ecx, ebx
dec edi
call fcn.00435430
mov eax, 1
mov dword [esp + 0x78], eax
mov dword [esp + 0x180], eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x184]
push ecx
lea edx, [esp + 0x80]
push edx
push 0
lea eax, [esi + 1]
push eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x198], esi
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x2710
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x43b22c
lea eax, [esp + 0x180]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x43b25d
lea ecx, [esp + 0x78]
push ecx
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43b100
push 0x50
call dword [sym.imp.WS2_32.dll_htons]
cmp word [esp + 0x28a], ax
jne 0x43b342
xor eax, eax
lea edx, [ebx + 0x1598]
mov ecx, 0x180
mov edi, edx
mov dword [ebx + 0x1bb0], 1
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1bb8]
test eax, eax
je 0x43b286
lea eax, [ebx + 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__QUERY]
lea ecx, [ebx + 0x15a2]
mov dword [ecx], edx
mov eax, dword [0x4a646c]
mov dword [ecx + 4], eax
mov dx, word [0x4a6470]
mov word [ecx + 8], dx
mov al, byte [0x4a6472]
mov byte [ecx + 0xa], al
push 0x14
lea ecx, [ebx + 0x15a2]
push ecx
lea ecx, [ebx + 0x1bc8]
mov dword [esp + 0x18], 0xa
call fcn.0047cfa0
jmp 0x43b2a9
test edi, edi
jg 0x43b100
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2d8]
mov byte [esp + 0xf2c], 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 + 0xf2c], 7
jmp 0x43b501
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2d8]
mov byte [esp + 0xf2c], 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 + 0xf2c], 5
jmp 0x43b501
mov eax, dword [str.GET__QUERY]
mov dword [edx], eax
mov ecx, dword [0x4a646c]
mov dword [edx + 4], ecx
mov ax, word [0x4a6470]
mov word [edx + 8], ax
mov cl, byte [0x4a6472]
mov byte [edx + 0xa], cl
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
lea eax, [edi + 8]
cdq
mov cl, 8
mov byte [ebx + esi + 0x15af], al
call fcn.00496e10
mov cl, 8
mov byte [ebx + esi + 0x15ae], al
call fcn.00496e10
mov cl, 8
mov byte [ebx + esi + 0x15ad], al
call fcn.00496e10
mov byte [ebx + esi + 0x15ac], al
lea eax, [ebx + esi + 0x15b4]
mov ecx, edi
mov dword [esp + 0x30], edx
mov edx, ecx
shr ecx, 2
mov byte [eax - 1], 0
mov byte [eax - 2], 0
mov byte [eax - 3], 0
mov byte [eax - 4], 0
mov edi, eax
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x318]
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, [ebx + 0x1598]
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov esi, dword [esp + 0x14]
jmp 0x43b3d7
mov edi, dword [esp + 0x20]
push edi
lea ecx, [esp + 0x31c]
push ecx
lea edx, [esp + 0x328]
push edx
mov dword [ebx + 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 + 0x31b], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x31a], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x319], al
call fcn.00496e10
push 0
mov byte [esp + 0x31c], al
push edi
lea eax, [esp + 0x320]
push eax
push esi
mov dword [esp + 0x40], edx
mov byte [esp + 0x32f], 0
mov byte [esp + 0x32e], 0
mov byte [esp + 0x32d], 0
mov byte [esp + 0x32c], 0
call dword [sym.imp.WS2_32.dll_send]
mov ecx, 0x180
xor eax, eax
lea edi, [esp + 0x918]
mov dword [esp + 0x34], 0
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x34]
mov dword [esp + 0x10], 0x320
jmp 0x43b400
mov eax, dword [esp + 0x10]
dec eax
push 0xa
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.00435430
push 0
mov ecx, 0x5fc
sub ecx, edi
push ecx
lea edx, [esp + edi + 0x920]
push edx
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
mov dword [esp + 0x58], eax
jle 0x43b4c2
add edi, eax
lea eax, [esp + 0x918]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x34], edi
xor ecx, ecx
mov dword [esp + 0x24], 4
mov edx, dword [esp + 0x2c]
shld ecx, eax, 8
shl eax, 8
mov edi, eax
movzx eax, byte [edx]
cdq
or edi, eax
or ecx, edx
mov edx, dword [esp + 0x24]
mov eax, edi
mov edi, dword [esp + 0x2c]
inc edi
dec edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edx
jne 0x43b454
mov edi, dword [esp + 0x34]
cmp edi, eax
jl 0x43b4d1
cmp dword [ebx + 0x1b98], 0x1c
jne 0x43b55e
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [ebx + 4]
call fcn.0045da60
lea ecx, [esp + 0x2d8]
mov byte [esp + 0xf2c], 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 + 0xf2c], 9
jmp 0x43b501
jge 0x43b4d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x43b4dd
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x43b400
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2d8]
mov byte [esp + 0xf2c], 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_]
mov byte [esp + 0xf2c], 0xd
lea ecx, [esp + 0x2bc]
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 + 0x29c]
mov byte [esp + 0xf2c], 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 + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
mov ecx, dword [esp + 0xf24]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xf1c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00496ace
mov esp, ebp
pop ebp
ret 0x3c
mov eax, dword [ebx + 0x1bb8]
test eax, eax
je 0x43b5ae
push 0xa
lea eax, [esp + 0x924]
lea ecx, [ebx + 0x1be4]
push eax
call fcn.0047ce70
sub edi, 0xa
push edi
lea ecx, [esp + 0x92e]
push ecx
lea edx, [esp + 0x928]
push edx
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
add edi, 0xfffffff8
push edi
lea eax, [esp + 0x924]
push eax
lea ecx, [ebx + 0x1be4]
jmp 0x43b5c0
add edi, 0xfffffff8
lea ecx, [esp + 0x920]
push edi
push ecx
lea ecx, [ebx + 0x14cc]
call fcn.0047cff0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
push edi
lea ecx, [esp + 0x944]
push ecx
mov ecx, ebx
call fcn.00435fd0
test eax, eax
je 0x43b4dd
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2d8]
mov byte [esp + 0xf2c], 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_]
lea ecx, [esp + 0x2bc]
mov byte [esp + 0xf2c], 0xb
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 + 0x29c]
mov byte [esp + 0xf2c], 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 + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
jmp 0x43b539