Function at 0x445450
Capabilities:
Connect socket
Get local ipv4 addresses
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 0x4a733b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf10
mov eax, dword [0x4cbba0]
mov edx, dword [ebp + 0x20]
xor eax, ebp
push ebx
mov dword [esp + 0xf0c], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 0x2c]
push edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], edx
call dword [sym.imp.MSVCR71.dll_rand]
mov edx, eax
xor eax, eax
mov ecx, 0x180
lea edi, [esp + 0x310]
rep stosd dword es:[edi], eax
mov byte [esp + 0x311], al
mov byte [esp + 0x310], al
mov byte [esp + 0x31e], al
mov byte [esp + 0x31d], al
mov byte [esp + 0x31c], al
mov eax, edx
mov dword [esp + 0x4c], edx
cdq
mov cl, 8
mov byte [esp + 0x317], 0x60
mov byte [esp + 0x316], 0x39
mov byte [esp + 0x315], 0x20
mov byte [esp + 0x314], 0x54
mov byte [esp + 0x313], 0x34
mov byte [esp + 0x312], 8
mov byte [esp + 0x31f], 0x32
mov byte [esp + 0x323], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x322], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x321], al
call fcn.004a1b50
mov byte [esp + 0x320], al
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x14]
mov cl, 8
mov byte [esp + 0x32b], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x32a], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x329], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x328], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x327], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x326], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x325], al
call fcn.004a1b50
mov byte [esp + 0x324], al
lea eax, [esp + 0x32c]
mov dword [esp + 0x2c], edx
mov edi, esi
sub eax, esi
mov edi, edi
mov cl, byte [edi]
mov byte [eax + edi], cl
inc edi
test cl, cl
jne 0x4455e0
lea eax, [esi + 1]
lea ecx, [ecx]
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x4455f0
sub esi, eax
add esi, 0x1d
lea eax, [esi - 0xc]
push eax
lea ecx, [esp + 0x320]
push ecx
lea ecx, [ebx + 0x10c8]
mov dword [esp + 0x28], esi
call fcn.00402fa0
cdq
mov cl, 8
mov byte [esp + 0x31b], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x31a], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x319], al
call fcn.004a1b50
mov byte [esp + 0x318], al
mov eax, dword [ebx + 0x1bb8]
test eax, eax
mov dword [esp + 0x2c], edx
push esi
je 0x4456b3
lea edx, [esp + 0x314]
push edx
lea eax, [esp + 0x322]
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 + 0x310], edx
push esi
lea edx, [esp + 0x31e]
mov word [esp + 0x31c], cx
push edx
lea ecx, [ebx + 0x1bc8]
mov dword [esp + 0x31c], eax
call fcn.00487f10
add esi, 0xa
mov dword [esp + 0x20], esi
jmp 0x4456c6
lea eax, [esp + 0x314]
push eax
lea ecx, [ebx + 0x14cc]
call fcn.00487f10
push 2
mov ecx, ebx
call fcn.0043ef50
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x1c], edi
je 0x446b84
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [esp + 0x280], ecx
mov dword [esp + 0x284], ecx
mov dword [esp + 0x288], ecx
push edx
mov dword [esp + 0x290], ecx
mov word [esp + 0x284], 2
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x30]
push esi
mov word [esp + 0x286], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0x284], eax
jne 0x44574c
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x44583a
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esp + 0x284], edx
mov dword [esp + 0x10], 5
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
push 0x10
lea eax, [esp + 0x284]
push eax
mov eax, dword [esp + 0x24]
push 0
push ecx
lea edx, [esp + 0x320]
push edx
dec esi
push eax
mov dword [esp + 0x28], esi
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [esp + 0x28], 0x14
lea esp, [esp]
mov esi, dword [esp + 0x28]
dec esi
push 0x64
mov ecx, ebx
mov dword [esp + 0x2c], esi
call fcn.0043ee60
cmp eax, 0x42b
je 0x445959
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x2f4]
push edx
push 0
push 0x5fc
lea eax, [esp + 0x920]
push eax
push ecx
mov dword [esp + 0x68], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp edi, 0x14
mov dword [esp + 0x24], edi
jl 0x445892
mov eax, dword [ebx + 0x1bb8]
test eax, eax
je 0x445848
push 0xa
lea edx, [esp + 0x914]
lea esi, [ebx + 0x1be4]
push edx
mov ecx, esi
call fcn.00487de0
sub edi, 0xa
push edi
lea eax, [esp + 0x91e]
push eax
lea ecx, [esp + 0x918]
push ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
push edi
lea edx, [esp + 0x914]
push edx
mov ecx, esi
jmp 0x445857
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x446b05
push edi
lea eax, [esp + 0x914]
push eax
lea ecx, [ebx + 0x14cc]
call fcn.00487f40
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
push edi
lea ecx, [esp + 0x92c]
push ecx
mov ecx, ebx
call fcn.0043fcc0
test eax, eax
jne 0x44596b
mov eax, dword [esp + 0x28]
test eax, eax
jg 0x445790
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x445754
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
xor edi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0xf24], edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x290]
mov esi, 1
mov byte [esp + 0xf24], 1
call fcn.00421d90
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0xf3c], 2
mov dword [esp + 0x84], 0x10
call fcn.004474c0
mov eax, dword [ebx + 0x14e8]
add esp, 0x18
cmp eax, edi
jge 0x4459b4
cmp dword [esp + 0x68], edi
je 0x445980
lea ecx, [esp + 0x18]
mov dword [ebx + 0x14e8], edi
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 0x445943
mov ecx, dword [esp + 0x64]
mov dword [ebx + 0x1524], ecx
jmp 0x4459b4
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x446b05
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 1
jmp 0x446b05
cmp dword [esp + 0x58], edi
je 0x4459b4
lea ecx, [esp + 0x14]
mov dword [ebx + 0x14e8], esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [ebx + 0x14ec]
lea esp, [esp]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4459a0
mov edx, dword [esp + 0x54]
mov dword [ebx + 0x1524], edx
lea eax, [ebx + 0x14ec]
push eax
lea ecx, [esp + 0x298]
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 [ebx + 0x1524]
mov word [esp + 0x2b0], ax
lea eax, [ebx + 0x1528]
push eax
lea ecx, [esp + 0x2b8]
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 + 0x2d4]
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 eax, dword [esp + 0x1c]
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x304]
push edx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [esp + 0x302]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
cmp dword [ebx + 0x14e8], edi
movzx eax, ax
jne 0x445ee1
xor edi, edi
push eax
lea esi, [ebx + 4]
push edi
lea edx, [esp + 0x298]
push edx
mov ecx, esi
mov dword [ebx + 0x1bac], edi
mov dword [esp + 0x3c], esi
call fcn.00469d60
mov dword [ebx + 0x1bac], edi
mov edi, 0x64
nop
push 0x64
mov ecx, ebx
dec edi
call fcn.0043ee60
cmp eax, 0x42b
je 0x445bde
mov eax, dword [ebx + 0x1bac]
test eax, eax
jne 0x445a83
test edi, edi
jg 0x445a60
cmp dword [ebx + 0x1bac], 1
jne 0x445c6b
mov dword [esp + 0x10], 2
jmp 0x445aa0
mov ecx, dword [esp + 0x284]
mov dx, word [esp + 0x282]
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 + 0x310]
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 + 0x30]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [esp + 0x28], 0x14
mov dword [ebx + 0x1b98], 0
mov esi, dword [esp + 0x28]
dec esi
push 0x64
mov ecx, ebx
mov dword [esp + 0x2c], esi
call fcn.0043ee60
cmp eax, 0x42b
je 0x4460f4
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x2f4]
push edx
push 0
push 0x5fc
lea eax, [esp + 0x920]
push eax
push ecx
mov dword [esp + 0x68], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, eax
cmp esi, 0x1e
mov dword [esp + 0x24], esi
jl 0x445c4f
mov eax, dword [ebx + 0x1bb8]
test eax, eax
lea edx, [esp + 0x91a]
je 0x445c09
push 0xa
lea edi, [ebx + 0x1be4]
push edx
mov ecx, edi
call fcn.00487de0
sub esi, 0xa
push esi
lea eax, [esp + 0x928]
push eax
lea ecx, [esp + 0x922]
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
lea edx, [esi - 0xa]
push edx
lea eax, [esp + 0x91e]
push eax
mov ecx, edi
jmp 0x445c14
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, esi
call fcn.00469d30
lea ecx, [esp + 0x290]
mov byte [esp + 0xf24], 1
call fcn.004213d0
jmp 0x446b70
lea ecx, [esi - 0xa]
push ecx
push edx
lea ecx, [ebx + 0x14cc]
call fcn.00487f40
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
push esi
lea eax, [esp + 0x92c]
push eax
mov ecx, ebx
call fcn.0043fcc0
test eax, eax
jne 0x445d62
mov eax, dword [esp + 0x28]
test eax, eax
jg 0x445b31
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x445aa0
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.00469d30
xor edi, edi
push 2
mov ecx, esi
mov dword [ebx + 0x1bac], edi
call fcn.0046a300
mov eax, dword [esp + 0x284]
push 0x50
push eax
mov dword [ebx + 0x1b98], edi
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
lea ecx, [esp + 0x298]
push ecx
mov ecx, esi
call fcn.00469d60
mov edi, 0x64
mov edi, edi
push 0x64
mov ecx, ebx
dec edi
call fcn.0043ee60
cmp eax, 0x42b
je 0x445d99
mov eax, dword [ebx + 0x1bac]
test eax, eax
jne 0x445cd3
test edi, edi
jg 0x445cb0
cmp dword [ebx + 0x1bac], 1
jne 0x445ed3
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 0x445da3
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 [0x4b37e8]
mov dword [ecx + 4], eax
mov dx, word [0x4b37ec]
mov word [ecx + 8], dx
mov al, byte [0x4b37ee]
mov byte [ecx + 0xa], al
push 0x14
lea ecx, [ebx + 0x15a2]
push ecx
lea ecx, [ebx + 0x1bc8]
mov dword [esp + 0x18], 0xa
call fcn.00487f10
jmp 0x445dc6
mov edx, dword [esp + 0x1c]
push edx
mov dword [ebx + 0x1bb4], 1
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x30]
call fcn.00469d30
lea ecx, [esp + 0x290]
mov byte [esp + 0xf24], 1
call fcn.004213d0
jmp 0x446c1e
mov edx, dword [esp + 0x1c]
push edx
jmp 0x445be3
mov eax, dword [str.GET__QUERY]
mov dword [edx], eax
mov ecx, dword [0x4b37e8]
mov dword [edx + 4], ecx
mov ax, word [0x4b37ec]
mov word [edx + 8], ax
mov cl, byte [0x4b37ee]
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.004a1b50
mov cl, 8
mov byte [ebx + edi + 0x15ae], al
call fcn.004a1b50
mov cl, 8
mov byte [ebx + edi + 0x15ad], al
call fcn.004a1b50
mov byte [ebx + edi + 0x15ac], al
mov eax, dword [esp + 0x10]
mov ecx, esi
lea edi, [ebx + edi + 0x15b4]
mov dword [esp + 0x2c], 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 + 0x310]
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
dec esi
push 0x64
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.0043ee60
cmp eax, 0x42b
je 0x4460f4
mov eax, dword [ebx + 0x1b98]
mov edx, 4
cmp eax, edx
jl 0x445ecf
xor eax, eax
lea esi, [ebx + 0x1598]
xor ecx, ecx
mov dword [esp + 0x28], edx
jmp 0x445ea0
shld ecx, eax, 8
shl eax, 8
mov edi, eax
movzx eax, byte [esi]
cdq
or ecx, edx
mov edx, dword [esp + 0x28]
or edi, eax
inc esi
dec edx
mov eax, edi
mov dword [esp + 0x28], edx
jne 0x445ea0
cmp dword [ebx + 0x1b98], eax
jge 0x446108
mov esi, dword [esp + 0x10]
test esi, esi
jg 0x445e62
mov ecx, dword [esp + 0x30]
call fcn.00469d30
mov esi, 1
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x445f6f
lea ecx, [esp + 0x14]
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 0x445f10
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x1524], eax
lea eax, [ebx + 0x14ec]
push eax
lea ecx, [esp + 0x298]
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 + 0x2b0], cx
push eax
lea ecx, [esp + 0x2b8]
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 + 0x2d4]
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 0x4463bc
mov eax, dword [esp + 0x282]
lea edx, [esp + 0x290]
push edx
xor edi, edi
lea esi, [ebx + 0x5c]
push eax
mov dword [ebx + 0x1bb0], edi
mov dword [esp + 0x30], esi
call dword [sym.imp.WS2_32.dll_ntohs]
mov edx, dword [esp + 0x288]
movzx ecx, ax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, esi
call fcn.0046a3e0
mov dword [ebx + 0x1bac], edi
mov edi, 0x64
push 0x64
mov ecx, ebx
dec edi
call fcn.0043ee60
cmp eax, 0x42b
je 0x446522
mov eax, dword [ebx + 0x1bac]
test eax, eax
jne 0x445fe8
test edi, edi
jg 0x445fc5
cmp dword [ebx + 0x1bac], 1
je 0x446061
mov ecx, esi
mov dword [ebx + 0x1bb0], 1
call fcn.0046a540
mov ecx, dword [esp + 0x284]
lea eax, [esp + 0x290]
push eax
push 0x50
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, esi
call fcn.0046a3e0
mov dword [ebx + 0x1bac], 0
mov esi, 0x64
push 0x64
mov ecx, ebx
dec esi
call fcn.0043ee60
cmp eax, 0x42b
je 0x446522
mov eax, dword [ebx + 0x1bac]
test eax, eax
jne 0x446054
test esi, esi
jg 0x446031
cmp dword [ebx + 0x1bac], 1
jne 0x4463b3
mov eax, dword [ebx + 0x1bb0]
test eax, eax
je 0x4462b5
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 0x44620d
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 [0x4b37e8]
mov dword [ecx + 4], eax
mov dx, word [0x4b37ec]
mov word [ecx + 8], dx
mov al, byte [0x4b37ee]
mov byte [ecx + 0xa], al
push 0x14
lea ecx, [ebx + 0x15a2]
push ecx
lea ecx, [ebx + 0x1bc8]
mov dword [esp + 0x18], 0xa
call fcn.00487f10
jmp 0x446230
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x30]
jmp 0x445beb
mov eax, dword [ebx + 0x1bb8]
test eax, eax
je 0x446163
push 0xa
lea edx, [esp + 0x91c]
lea esi, [ebx + 0x1be4]
push edx
mov ecx, esi
call fcn.00487de0
mov edi, dword [esp + 0x24]
sub edi, 0xa
push edi
lea eax, [esp + 0x926]
push eax
lea ecx, [esp + 0x920]
push ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
lea edx, [edi - 8]
push edx
lea eax, [esp + 0x91c]
push eax
mov ecx, esi
call fcn.00487f40
jmp 0x446183
mov ecx, dword [ebx + 0x1b98]
sub ecx, 8
push ecx
lea edx, [ebx + 0x15a0]
push edx
lea ecx, [ebx + 0x14cc]
call fcn.00487f40
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
push edi
lea eax, [esp + 0x92c]
push eax
mov ecx, ebx
call fcn.0043fcc0
test eax, eax
je 0x445ed3
mov ecx, dword [esp + 0x1c]
mov esi, 1
push ecx
mov dword [ebx + 0x1bb4], esi
mov dword [ebx + 0x1bb0], esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x30]
call fcn.00469d30
lea ecx, [esp + 0x290]
mov byte [esp + 0xf24], 1
call fcn.004213d0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, esi
jmp 0x446b05
mov eax, dword [str.GET__QUERY]
mov dword [edx], eax
mov ecx, dword [0x4b37e8]
mov dword [edx + 4], ecx
mov ax, word [0x4b37ec]
mov word [edx + 8], ax
mov cl, byte [0x4b37ee]
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.004a1b50
mov cl, 8
mov byte [ebx + edi + 0x15ae], al
call fcn.004a1b50
mov cl, 8
mov byte [ebx + edi + 0x15ad], al
call fcn.004a1b50
mov byte [ebx + edi + 0x15ac], al
mov eax, dword [esp + 0x10]
mov ecx, esi
lea edi, [ebx + edi + 0x15b4]
mov dword [esp + 0x34], 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 + 0x310]
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 0x44632a
mov esi, dword [esp + 0x20]
lea eax, [esi + 8]
cdq
mov cl, 8
mov byte [ebx + 0x159b], al
call fcn.004a1b50
mov cl, 8
mov byte [ebx + 0x159a], al
call fcn.004a1b50
mov cl, 8
mov byte [ebx + 0x1599], al
call fcn.004a1b50
mov byte [ebx + 0x1598], al
mov ecx, esi
lea edi, [ebx + 0x15a0]
mov dword [esp + 0x34], 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 + 0x310]
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.0043ee60
cmp eax, 0x42b
je 0x446522
mov eax, dword [ebx + 0x1b98]
mov edx, 4
cmp eax, edx
jl 0x4463af
xor eax, eax
lea esi, [ebx + 0x1598]
xor ecx, ecx
mov dword [esp + 0x30], edx
lea esp, [esp]
shld ecx, eax, 8
shl eax, 8
mov edi, eax
movzx eax, byte [esi]
cdq
or ecx, edx
mov edx, dword [esp + 0x30]
or edi, eax
inc esi
dec edx
mov eax, edi
mov dword [esp + 0x30], edx
jne 0x446380
cmp dword [ebx + 0x1b98], eax
jge 0x446532
mov esi, dword [esp + 0x10]
test esi, esi
jg 0x446343
mov ecx, dword [esp + 0x28]
call fcn.0046a540
xor eax, eax
push 1
mov ecx, ebx
mov dword [ebx + 0x1bb4], eax
mov dword [ebx + 0x1bb0], eax
call fcn.0043ef50
push 0x10
lea ecx, [esp + 0x284]
mov esi, eax
push ecx
push esi
mov dword [esp + 0x28], esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4464a6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x446622
mov edi, 0x32
lea esp, [esp]
push 0x64
mov ecx, ebx
dec edi
call fcn.0043ee60
cmp eax, 0x42b
je 0x446622
mov eax, 1
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x17c], eax
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0
lea edx, [esi + 1]
push edx
mov dword [esp + 0x88], esi
mov dword [esp + 0x190], esi
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x2710
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x44660e
lea eax, [esp + 0x178]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x446616
lea ecx, [esp + 0x70]
push ecx
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x4464a6
test edi, edi
jg 0x446410
cmp esi, 0xffffffff
jne 0x4466ea
push 1
mov ecx, ebx
call fcn.0043ef50
mov esi, eax
push 0x50
mov dword [esp + 0x20], esi
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [esp + 0x284]
push edx
push esi
mov word [esp + 0x28e], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4466ea
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x446642
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2d0]
mov byte [esp + 0xf24], 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 + 0xf24], 3
jmp 0x446b4e
push 0
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [ebx + 4]
jmp 0x445beb
mov eax, dword [ebx + 0x1bb8]
test eax, eax
je 0x446584
push 0xa
lea esi, [ebx + 0x15a0]
lea edi, [ebx + 0x1be4]
push esi
mov ecx, edi
call fcn.00487de0
mov edx, dword [ebx + 0x1b98]
add edx, 0xfffffff6
mov eax, edx
push eax
lea ecx, [ebx + 0x15aa]
push ecx
push esi
mov dword [ebx + 0x1b98], edx
call dword [sym.imp.MSVCR71.dll_memmove]
mov edx, dword [ebx + 0x1b98]
add esp, 0xc
sub edx, 8
push edx
push esi
mov ecx, edi
jmp 0x44659b
mov eax, dword [ebx + 0x1b98]
sub eax, 8
lea ecx, [ebx + 0x15a0]
push eax
push ecx
lea ecx, [ebx + 0x14cc]
call fcn.00487f40
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
lea eax, [esp + 0x92c]
push eax
mov ecx, ebx
call fcn.0043fcc0
test eax, eax
je 0x4463b3
push 0
mov dword [ebx + 0x1bb4], 1
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x28]
call fcn.0046a540
lea ecx, [esp + 0x290]
mov byte [esp + 0xf24], 1
call fcn.004213d0
jmp 0x446c1e
test edi, edi
jg 0x446410
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4464af
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x290]
mov byte [esp + 0xf24], 1
call fcn.004213d0
jmp 0x446b70
push 0x64
mov ecx, ebx
mov dword [esp + 0x14], 0x31
call fcn.0043ee60
cmp eax, 0x42b
je 0x4467b4
lea edi, [esi + 1]
jmp 0x446670
mov eax, 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x178], eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x17c]
push ecx
lea edx, [esp + 0x78]
push edx
push 0
push edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x190], esi
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x2710
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x44678f
lea eax, [esp + 0x178]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x4467dd
lea ecx, [esp + 0x70]
push ecx
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x446797
push 0x50
call dword [sym.imp.WS2_32.dll_htons]
cmp word [esp + 0x282], ax
jne 0x4468eb
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 0x44682f
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 [0x4b37e8]
mov dword [ecx + 4], eax
mov dx, word [0x4b37ec]
mov word [ecx + 8], dx
mov al, byte [0x4b37ee]
mov byte [ecx + 0xa], al
push 0x14
lea ecx, [ebx + 0x15a2]
push ecx
lea ecx, [ebx + 0x1bc8]
mov dword [esp + 0x18], 0xa
call fcn.00487f10
jmp 0x446852
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x446806
mov eax, dword [esp + 0x10]
dec eax
push 0x64
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.0043ee60
cmp eax, 0x42b
jne 0x446670
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2d0]
mov byte [esp + 0xf24], 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 + 0xf24], 5
jmp 0x446b4e
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2d0]
mov byte [esp + 0xf24], 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 + 0xf24], 7
jmp 0x446b4e
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2d0]
mov byte [esp + 0xf24], 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 + 0xf24], 9
jmp 0x446b4e
mov eax, dword [str.GET__QUERY]
mov dword [edx], eax
mov ecx, dword [0x4b37e8]
mov dword [edx + 4], ecx
mov ax, word [0x4b37ec]
mov word [edx + 8], ax
mov cl, byte [0x4b37ee]
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.004a1b50
mov cl, 8
mov byte [ebx + esi + 0x15ae], al
call fcn.004a1b50
mov cl, 8
mov byte [ebx + esi + 0x15ad], al
call fcn.004a1b50
mov byte [ebx + esi + 0x15ac], al
lea eax, [ebx + esi + 0x15b4]
mov ecx, edi
mov dword [esp + 0x34], 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 + 0x310]
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 + 0x28]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov esi, dword [esp + 0x1c]
jmp 0x446980
mov edi, dword [esp + 0x20]
push edi
lea ecx, [esp + 0x314]
push ecx
lea edx, [esp + 0x320]
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 + 0x313], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x312], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x311], al
call fcn.004a1b50
push 0
mov byte [esp + 0x314], al
push edi
lea eax, [esp + 0x318]
push eax
push esi
mov dword [esp + 0x44], edx
mov byte [esp + 0x327], 0
mov byte [esp + 0x326], 0
mov byte [esp + 0x325], 0
mov byte [esp + 0x324], 0
call dword [sym.imp.WS2_32.dll_send]
mov ecx, 0x180
xor eax, eax
lea edi, [esp + 0x910]
mov dword [esp + 0x24], 0
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x24]
mov dword [esp + 0x10], 0x50
mov eax, dword [esp + 0x10]
dec eax
push 0x64
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.0043ee60
cmp eax, 0x42b
je 0x446b2a
push 0
mov ecx, 0x5fc
sub ecx, edi
push ecx
lea edx, [esp + edi + 0x918]
push edx
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
mov dword [esp + 0x50], eax
jle 0x446a8d
add edi, eax
lea eax, [esp + 0x910]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x24], edi
xor ecx, ecx
mov dword [esp + 0x28], 4
mov edx, dword [esp + 0x30]
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 + 0x28]
mov eax, edi
mov edi, dword [esp + 0x30]
inc edi
dec edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edx
jne 0x446a03
mov edi, dword [esp + 0x24]
cmp edi, eax
jl 0x446a9c
mov eax, dword [ebx + 0x1bb8]
test eax, eax
je 0x446b8b
push 0xa
lea eax, [esp + 0x91c]
lea ecx, [ebx + 0x1be4]
push eax
call fcn.00487de0
sub edi, 0xa
push edi
lea ecx, [esp + 0x926]
push ecx
lea edx, [esp + 0x920]
push edx
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
add edi, 0xfffffff8
push edi
lea eax, [esp + 0x91c]
push eax
lea ecx, [ebx + 0x1be4]
jmp 0x446b9d
jge 0x446a9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x446aa8
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4469a4
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2d0]
mov byte [esp + 0xf24], 0x10
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 + 0x2b4]
mov byte [esp + 0xf24], 0xf
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 + 0x294]
mov byte [esp + 0xf24], 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 + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
or eax, 0xffffffff
mov ecx, dword [esp + 0xf1c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xf14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a17d1
mov esp, ebp
pop ebp
ret 0x28
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2d0]
mov byte [esp + 0xf24], 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 + 0xf24], 0xb
lea ecx, [esp + 0x2b4]
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 + 0x294]
mov byte [esp + 0xf24], 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 + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x446b05
add edi, 0xfffffff8
lea ecx, [esp + 0x918]
push edi
push ecx
lea ecx, [ebx + 0x14cc]
call fcn.00487f40
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
push ecx
push edi
lea edx, [esp + 0x934]
push edx
mov ecx, ebx
call fcn.0043fcc0
test eax, eax
je 0x446aa8
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x2d0]
mov byte [esp + 0xf24], 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 + 0x2b4]
mov byte [esp + 0xf24], 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 + 0x294]
mov byte [esp + 0xf24], 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 + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
jmp 0x446b05