Function at 0x4263b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get socket status
Receive data
Receive data on socket
Reference http user-agent string
Resolve dns
Resolve function by parsing pe exports
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x496213
mov eax, dword fs:[0]
push eax
mov eax, 0x131c
call fcn.00466340
mov eax, dword [0x4b8a40]
xor eax, esp
mov dword [esp + 0x1318], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8a40]
xor eax, esp
push eax
lea eax, [esp + 0x1330]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1340]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x1338], ebx
xor edx, edx
mov eax, ecx
mov dword [esp + 0x2a0], 7
mov dword [esp + 0x29c], ebx
mov word [esp + 0x28c], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x426424
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x290]
call fcn.004055f0
mov byte [esp + 0x1338], 1
lea esp, [esp]
mov edi, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x290]
lea esi, [edi + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x28], ebx
mov dword [edi + 0x7c], 0xffffffff
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
call fcn.00405810
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x134c]
push ecx
lea ebp, [edi + 0x30]
mov ecx, ebp
call fcn.00405810
cmp dword [edi + 0x44], ebx
jne 0x426546
mov ebx, 1
mov eax, esi
call fcn.00428a80
mov edi, eax
cmp edi, 0xffffffff
je 0x426540
lea edx, [edi + 1]
mov ecx, esi
lea eax, [esp + 0x250]
call fcn.00432040
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebp
mov byte [esp + 0x1344], 2
call fcn.00405810
mov byte [esp + 0x1338], bl
mov ebx, 8
cmp dword [esp + 0x268], ebx
jb 0x4264fb
mov edx, dword [esp + 0x254]
push edx
call fcn.00442e6d
add esp, 4
mov ecx, edi
mov edx, esi
lea eax, [esp + 0x250]
call fcn.00431fe0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [esp + 0x1344], 3
call fcn.00405810
mov byte [esp + 0x1338], 1
cmp dword [esp + 0x268], ebx
jb 0x426540
mov eax, dword [esp + 0x254]
push eax
call fcn.00442e6d
add esp, 4
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov ecx, dword [edi + 0xc]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x426562
mov dword [esp + 0x1c], 1
jmp 0x427448
mov eax, 7
xor edx, edx
mov dword [esp + 0x24c], eax
mov dword [esp + 0x248], ebx
mov word [esp + 0x238], dx
xor ecx, ecx
mov dword [esp + 0x188], eax
mov dword [esp + 0x184], ebx
mov word [esp + 0x174], cx
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a0], ebx
mov word [esp + 0x190], dx
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x174]
push ecx
lea edx, [esp + 0x23c]
push edx
lea edx, [esp + 0x58]
lea edi, [esp + 0x4c]
mov ecx, esi
mov byte [esp + 0x1344], 6
call fcn.00426260
mov dword [esp + 0x2c4], 0xffffffff
cmp byte [0x4bdf98], bl
jne 0x4265ff
call fcn.004327c0
test al, al
je 0x4265ff
mov byte [0x4bdf98], 1
mov eax, dword [esp + 0x14]
mov byte [esp + 0x1338], 7
mov ecx, dword [eax + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push ecx
call edi
test eax, eax
jne 0x4266be
mov esi, 8
mov dword [esp + 0x1c], 1
cmp dword [esp + 0x1a4], esi
jb 0x426646
mov edx, dword [esp + 0x190]
push edx
call fcn.00442e6d
add esp, 4
xor eax, eax
mov edi, 7
mov dword [esp + 0x1a4], edi
mov dword [esp + 0x1a0], ebx
mov word [esp + 0x190], ax
cmp dword [esp + 0x188], esi
jb 0x42667c
mov ecx, dword [esp + 0x174]
push ecx
call fcn.00442e6d
add esp, 4
xor edx, edx
mov byte [esp + 0x1338], 1
mov dword [esp + 0x188], edi
mov dword [esp + 0x184], ebx
mov word [esp + 0x174], dx
cmp dword [esp + 0x24c], esi
jb 0x427448
mov eax, dword [esp + 0x238]
push eax
call fcn.00442e6d
add esp, 4
jmp 0x427448
push 6
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
jne 0x4266ea
call sub.WS2_32.dll_WSAGetLastError
push eax
push str._connectAndSendData_:_socket_error__d.__r_n
call fcn.004634a7
add esp, 8
jmp 0x427394
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
push ebx
push ecx
call edi
test eax, eax
jne 0x426793
mov dword [esp + 0x1c], 1
mov esi, 8
cmp dword [esp + 0x1a4], esi
jb 0x426723
mov edx, dword [esp + 0x190]
push edx
call fcn.00442e6d
add esp, 4
xor eax, eax
mov edi, 7
mov word [esp + 0x190], ax
mov dword [esp + 0x1a0], ebx
mov dword [esp + 0x1a4], edi
cmp dword [esp + 0x188], esi
jb 0x426759
mov ecx, dword [esp + 0x174]
push ecx
call fcn.00442e6d
add esp, 4
xor edx, edx
mov byte [esp + 0x1338], 1
mov dword [esp + 0x188], edi
mov dword [esp + 0x184], ebx
mov word [esp + 0x174], dx
cmp dword [esp + 0x24c], esi
jb 0x427421
mov eax, dword [esp + 0x238]
push eax
jmp 0x427419
mov ecx, esi
lea esi, [esp + 0x1fc]
call fcn.00425250
lea ecx, [esp + 0x234]
lea esi, [esp + 0x1a8]
mov byte [esp + 0x1338], 8
call fcn.00425250
mov ecx, ebp
lea esi, [esp + 0x1e0]
mov byte [esp + 0x1338], 9
call fcn.00425250
mov eax, dword [esp + 0x1ac]
mov edi, 0x10
cmp dword [esp + 0x1c0], edi
jae 0x4267ee
lea eax, [esp + 0x1ac]
push eax
call sub.WS2_32.dll_gethostbyname
mov esi, eax
cmp esi, ebx
jne 0x426830
call sub.WS2_32.dll_WSAGetLastError
push eax
push str._gethostbyname_:_socket_error__d.__r_n
call fcn.004634a7
add esp, 8
cmp dword [esp + 0x1f8], edi
jb 0x426826
mov ecx, dword [esp + 0x1e4]
push ecx
call fcn.00442e6d
add esp, 4
mov esi, 0xf
jmp 0x427323
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4268e3
mov dword [esp + 0x1c], 1
cmp dword [esp + 0x1f8], edi
jb 0x426868
mov edx, dword [esp + 0x1e4]
push edx
call fcn.00442e6d
add esp, 4
mov esi, 0xf
mov byte [esp + 0x1e4], bl
mov dword [esp + 0x1f4], ebx
mov dword [esp + 0x1f8], esi
cmp dword [esp + 0x1c0], edi
jb 0x42689b
mov eax, dword [esp + 0x1ac]
push eax
call fcn.00442e6d
add esp, 4
mov dword [esp + 0x1c0], esi
mov dword [esp + 0x1bc], ebx
mov byte [esp + 0x1ac], bl
cmp dword [esp + 0x214], edi
jb 0x4268c9
mov ecx, dword [esp + 0x200]
push ecx
call fcn.00442e6d
add esp, 4
mov dword [esp + 0x214], esi
mov dword [esp + 0x210], ebx
mov byte [esp + 0x200], bl
jmp 0x426705
mov ecx, 2
mov word [esp + 0x2a4], cx
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov esi, dword [esp + 0x40]
push esi
mov dword [esp + 0x2ac], ecx
mov dword [esp + 0x2b0], ebx
mov dword [esp + 0x2b4], ebx
call sub.WS2_32.dll_htons
mov ebp, dword [esp + 0x2c]
push edi
lea edx, [esp + 0x2a8]
push edx
push ebp
mov word [esp + 0x2b2], ax
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x426989
mov ebp, dword [esp + 0x1ac]
cmp dword [esp + 0x1c0], edi
jae 0x42694d
lea ebp, [esp + 0x1ac]
call sub.WS2_32.dll_WSAGetLastError
push eax
movzx eax, si
push eax
push ebp
push str._connectAndSendData_:_connect__s:_d_error__d.__r_n
call fcn.004634a7
add esp, 0x10
cmp dword [esp + 0x1f8], edi
jb 0x426826
mov ecx, dword [esp + 0x1e4]
push ecx
call fcn.00442e6d
mov esi, 0xf
jmp 0x427320
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4269c8
mov dword [esp + 0x1c], 1
cmp dword [esp + 0x1f8], edi
jb 0x426826
mov ecx, dword [esp + 0x1e4]
push ecx
call fcn.00442e6d
mov esi, 0xf
jmp 0x427320
mov dword [esp + 0x230], 0xf
mov dword [esp + 0x22c], ebx
mov byte [esp + 0x21c], bl
mov byte [esp + 0x1338], 0xb
lea ecx, [esp + 0x218]
cmp dword [esp + 0x1f4], ebx
jne 0x426a02
push 4
push str.GET
jmp 0x426a09
push 5
push str.POST
call fcn.004023d0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x204]
push eax
lea ecx, [esp + 0x224]
call fcn.004027e0
push 0xb
push str._HTTP_1.1_r_n
lea ecx, [esp + 0x220]
call fcn.004023d0
push 6
push str.Host:
lea ecx, [esp + 0x220]
call fcn.004023d0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1b0]
push ecx
lea ecx, [esp + 0x224]
call fcn.004027e0
push 2
push 0x4a7400
lea ecx, [esp + 0x220]
call fcn.004023d0
push 0xd
push str.Accept:___r_n
lea ecx, [esp + 0x220]
call fcn.004023d0
push 0x73
push str.User_Agent:_Mozilla_5.0__Windows_NT_5.1__AppleWebKit_537.31__KHTML__like_Gecko__Chrome_26.0.1410.64_Safari_537.31_r_n
lea ecx, [esp + 0x220]
call fcn.004023d0
push 0x18
push str.Connection:_Keep_Alive_r_n
lea ecx, [esp + 0x220]
call fcn.004023d0
push 0x31
push 0x4a74a8
lea ecx, [esp + 0x220]
call fcn.004023d0
mov eax, dword [esp + 0x1f4]
cmp eax, ebx
je 0x426b0e
push eax
lea edx, [esp + 0x2cc]
push str.Content_Length:__d_r_n
push edx
call fcn.00462777
lea eax, [esp + 0x2d4]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x426af0
sub eax, edx
push eax
lea eax, [esp + 0x2cc]
push eax
lea ecx, [esp + 0x220]
call fcn.004023d0
push 2
push 0x4a7400
lea ecx, [esp + 0x220]
call fcn.004023d0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1e8]
push ecx
lea ecx, [esp + 0x224]
call fcn.004027e0
mov eax, dword [esp + 0x21c]
cmp dword [esp + 0x230], edi
jae 0x426b4f
lea eax, [esp + 0x21c]
mov edx, dword [esp + 0x22c]
push ebx
push edx
push eax
push ebp
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
jne 0x426b9a
call sub.WS2_32.dll_WSAGetLastError
push eax
push str._connectAndSendData_:_send_error__d.__r_n
call fcn.004634a7
add esp, 8
cmp dword [esp + 0x230], edi
jb 0x426b90
mov eax, dword [esp + 0x21c]
push eax
call fcn.00442e6d
add esp, 4
mov esi, 0xf
jmp 0x4272f5
mov eax, dword [esi + 0xc]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x426c06
mov dword [esp + 0x1c], 1
cmp dword [esp + 0x230], edi
jb 0x426bca
mov ecx, dword [esp + 0x21c]
push ecx
call fcn.00442e6d
add esp, 4
mov esi, 0xf
mov dword [esp + 0x230], esi
mov dword [esp + 0x22c], ebx
mov byte [esp + 0x21c], bl
cmp dword [esp + 0x1f8], edi
jb 0x42686d
mov edx, dword [esp + 0x1e4]
push edx
call fcn.00442e6d
add esp, 4
jmp 0x42686d
mov dword [esp + 0x284], 0xf
mov dword [esp + 0x280], ebx
mov byte [esp + 0x270], bl
add esi, 0x64
mov byte [esp + 0x1338], 0xc
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x426c3d
push eax
call fcn.00442e6d
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x5c]
add esi, 0x54
cmp eax, ebx
je 0x426c5a
push eax
call fcn.00442e6d
add esp, 4
mov dword [esi + 8], ebx
push 0xfff
lea ecx, [esp + 0x331]
push ebx
push ecx
mov dword [esi + 4], ebx
mov byte [esp + 0x338], bl
call fcn.00466ac0
add esp, 0xc
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x30], ebx
lea ebx, [ebx]
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x44]
push edx
push ebx
push ebx
lea eax, [esp + 0x78]
push eax
lea eax, [esi + 1]
push eax
mov dword [esp + 0x58], 0xa
mov dword [esp + 0x5c], 0x3e8
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], 1
call sub.WS2_32.dll_select
cmp eax, ebx
jle 0x4272a4
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add edi, 0xc
push ebx
push ecx
call ebp
test eax, eax
je 0x4274e5
lea edx, [esp + 0x6c]
push edx
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4272a4
mov eax, dword [edi]
push ebx
push eax
call ebp
test eax, eax
je 0x4274e5
push 0x1000
lea ecx, [esp + 0x330]
push ebx
push ecx
call fcn.00466ac0
add esp, 0xc
push ebx
push 0x1000
lea edx, [esp + 0x334]
push edx
mov eax, esi
push eax
call sub.WS2_32.dll_recv
mov ebp, eax
cmp ebp, ebx
jle 0x4272a4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
add eax, 0xc
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4274e5
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
lea edi, [edx + ebp]
add esi, 0x64
call fcn.00428e60
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x6c]
mov edx, dword [esp + 0x34]
push ebp
lea ecx, [esp + 0x330]
push ecx
add eax, edx
push eax
call fcn.0046b0a0
mov ecx, dword [esi + 0x10]
add esp, 0xc
mov dword [esp + 0x34], edi
mov edi, esi
cmp ecx, ebx
je 0x426db0
fldz
mov eax, dword [ecx]
mov edx, dword [eax + 4]
sub esp, 8
fstp qword [esp]
push ebx
push edi
call edx
mov eax, dword [edi + 0x6c]
mov ecx, dword [esp + 0x34]
lea esi, [eax + ecx]
push str._r_n_r_n
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], esi
call fcn.00463400
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x42723f
cmp ebp, esi
jae 0x42723f
add ebp, 4
cmp dword [edi + 0x7c], 0xffffffff
mov dword [esp + 0x30], ebp
jne 0x426e9b
mov edx, dword [esp + 0x28]
push str.HTTP_1.1
push edx
call fcn.00463400
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x426e9b
cmp esi, dword [esp + 0x20]
jae 0x426e9b
add esi, 9
push 0x4a7530
push esi
call fcn.00463400
add esp, 8
cmp eax, ebx
je 0x426e9b
cmp eax, dword [esp + 0x20]
jae 0x426e9b
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1e4], 0xf
mov dword [esp + 0x1e0], ebx
mov byte [esp + 0x1d0], bl
call fcn.004024e0
cmp dword [esp + 0x1dc], 0x10
mov eax, dword [esp + 0x1c8]
jae 0x426e75
lea eax, [esp + 0x1c8]
push eax
call fcn.0046349c
add esp, 4
cmp dword [esp + 0x1dc], 0x10
mov dword [edi + 0x7c], eax
jb 0x426e9b
mov eax, dword [esp + 0x1c8]
push eax
call fcn.00442e6d
add esp, 4
mov eax, dword [edi + 0x7c]
cmp eax, 0x12e
je 0x426eb0
cmp eax, 0x12d
jne 0x426f68
cmp dword [esp + 0x280], ebx
jne 0x4274f2
mov ecx, dword [esp + 0x28]
push str.Location:
push ecx
call fcn.00463400
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x426f68
cmp esi, dword [esp + 0x20]
jae 0x426f68
add esi, 0xa
push 0x4a7400
push esi
call fcn.00463400
add esp, 8
cmp eax, ebx
je 0x426f68
cmp eax, dword [esp + 0x20]
jae 0x426f68
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1e4], 0xf
mov dword [esp + 0x1e0], ebx
mov byte [esp + 0x1d0], bl
call fcn.004024e0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1cc]
push edx
lea ecx, [esp + 0x278]
mov byte [esp + 0x1344], 0xd
call fcn.004020c0
mov byte [esp + 0x1338], 0xc
cmp dword [esp + 0x1dc], 0x10
jb 0x426f68
mov eax, dword [esp + 0x1c8]
push eax
call fcn.00442e6d
add esp, 4
cmp dword [esp + 0x280], ebx
jne 0x4274f2
cmp dword [esp + 0x18], 0xffffffff
jne 0x42723f
mov ecx, dword [esp + 0x28]
push str.Content_Length:
push ecx
call fcn.00463400
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x42702c
mov edi, dword [esp + 0x20]
cmp esi, edi
jae 0x42702c
add esi, 0x10
push 0x4a7400
push esi
call fcn.00463400
add esp, 8
cmp eax, ebx
je 0x42702c
cmp eax, edi
jae 0x42702c
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1e4], 0xf
mov dword [esp + 0x1e0], ebx
mov byte [esp + 0x1d0], bl
call fcn.004024e0
mov eax, dword [esp + 0x1c8]
mov esi, 0x10
cmp dword [esp + 0x1dc], esi
jae 0x427006
lea eax, [esp + 0x1c8]
push eax
call fcn.0046349c
add esp, 4
mov dword [esp + 0x18], eax
cmp dword [esp + 0x1dc], esi
jb 0x42702c
mov edx, dword [esp + 0x1c8]
push edx
call fcn.00442e6d
add esp, 4
cmp dword [esp + 0x18], 0xffffffff
jne 0x42723f
push 0x4a7400
push ebp
call fcn.00463400
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4270db
cmp esi, dword [esp + 0x20]
jae 0x4270db
sub eax, ebp
push eax
push ebp
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1e4], 0xf
mov dword [esp + 0x1e0], ebx
mov byte [esp + 0x1d0], bl
call fcn.004024e0
mov eax, dword [esp + 0x1c8]
mov edi, 0x10
cmp dword [esp + 0x1dc], edi
jae 0x42709e
lea eax, [esp + 0x1c8]
lea ecx, [esp + 0x18]
push ecx
push 0x4a7554
push eax
call fcn.0046306d
add esp, 0xc
cmp eax, 1
jne 0x4270c2
add dword [esp + 0x18], 7
add esi, 2
mov dword [esp + 0x30], esi
cmp dword [esp + 0x1dc], edi
jb 0x4270db
mov edx, dword [esp + 0x1c8]
push edx
call fcn.00442e6d
add esp, 4
cmp dword [esp + 0x18], 0xffffffff
jne 0x42723f
mov eax, dword [esp + 0x28]
push str.Connection:
push eax
call fcn.00463400
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x42723f
cmp esi, dword [esp + 0x20]
jae 0x42723f
add esi, 0xc
push 0x4a7400
push esi
call fcn.00463400
add esp, 8
cmp eax, ebx
je 0x42723f
cmp eax, dword [esp + 0x20]
jae 0x42723f
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1e4], 0xf
mov dword [esp + 0x1e0], ebx
mov byte [esp + 0x1d0], bl
call fcn.004024e0
mov byte [esp + 0x1338], 0xf
mov eax, dword [esp + 0x1c8]
mov edi, 0x10
cmp dword [esp + 0x1dc], edi
jae 0x42717c
lea eax, [esp + 0x1c8]
lea ecx, [esp + 0x250]
call fcn.00425210
mov byte [esp + 0x1338], 0x10
xor ecx, ecx
push 5
mov word [esp + 0x58], cx
mov ebp, 7
push str.CLOSE
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
call fcn.004055f0
lea eax, [esp + 0x50]
lea esi, [esp + 0x250]
call fcn.00431f10
test eax, eax
mov esi, 8
sete byte [esp + 0x27]
cmp dword [esp + 0x68], esi
jb 0x4271e3
mov edx, dword [esp + 0x54]
push edx
call fcn.00442e6d
add esp, 4
cmp byte [esp + 0x27], bl
je 0x4271ed
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x268], esi
jb 0x427206
mov eax, dword [esp + 0x254]
push eax
call fcn.00442e6d
add esp, 4
xor ecx, ecx
mov byte [esp + 0x1338], 0xc
mov dword [esp + 0x268], ebp
mov dword [esp + 0x264], ebx
mov word [esp + 0x254], cx
cmp dword [esp + 0x1dc], edi
jb 0x42723f
mov edx, dword [esp + 0x1c8]
push edx
call fcn.00442e6d
add esp, 4
cmp dword [esp + 0x30], ebx
je 0x426c90
mov edi, dword [esp + 0x18]
cmp edi, ebx
jle 0x426c90
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, ebp
sub eax, edx
sub ecx, edx
add eax, edi
cmp ecx, eax
jl 0x426c90
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x7c], 0xc8
jne 0x427286
mov dword [esp + 0x3c], 1
lea esi, [eax + 0x54]
call fcn.00428e60
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x5c]
push ecx
push ebp
push eax
call fcn.0046b0a0
add esp, 0xc
mov edi, 0x10
cmp dword [esp + 0x284], edi
jb 0x4272c2
mov edx, dword [esp + 0x270]
push edx
call fcn.00442e6d
add esp, 4
mov esi, 0xf
mov dword [esp + 0x284], esi
mov dword [esp + 0x280], ebx
mov byte [esp + 0x270], bl
cmp dword [esp + 0x230], edi
jb 0x4272f5
mov eax, dword [esp + 0x21c]
push eax
call fcn.00442e6d
add esp, 4
mov byte [esp + 0x21c], bl
mov dword [esp + 0x22c], ebx
mov dword [esp + 0x230], esi
cmp dword [esp + 0x1f8], edi
jb 0x427323
mov ecx, dword [esp + 0x1e4]
push ecx
call fcn.00442e6d
add esp, 4
mov dword [esp + 0x1f8], esi
mov dword [esp + 0x1f4], ebx
mov byte [esp + 0x1e4], bl
cmp dword [esp + 0x1c0], edi
jb 0x427351
mov edx, dword [esp + 0x1ac]
push edx
call fcn.00442e6d
add esp, 4
mov dword [esp + 0x1c0], esi
mov dword [esp + 0x1bc], ebx
mov byte [esp + 0x1ac], bl
cmp dword [esp + 0x214], edi
jb 0x42737f
mov eax, dword [esp + 0x200]
push eax
call fcn.00442e6d
add esp, 4
mov dword [esp + 0x214], esi
mov dword [esp + 0x210], ebx
mov byte [esp + 0x200], bl
mov esi, 8
cmp dword [esp + 0x1a4], esi
jb 0x4273b2
mov ecx, dword [esp + 0x190]
push ecx
call fcn.00442e6d
add esp, 4
xor edx, edx
mov edi, 7
mov word [esp + 0x190], dx
mov dword [esp + 0x1a0], ebx
mov dword [esp + 0x1a4], edi
cmp dword [esp + 0x188], esi
jb 0x4273e8
mov eax, dword [esp + 0x174]
push eax
call fcn.00442e6d
add esp, 4
mov byte [esp + 0x1338], 1
xor ecx, ecx
mov word [esp + 0x174], cx
mov dword [esp + 0x184], ebx
mov dword [esp + 0x188], edi
cmp dword [esp + 0x24c], esi
jb 0x427421
mov edx, dword [esp + 0x238]
push edx
call fcn.00442e6d
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x427448
push eax
call sub.WS2_32.dll_closesocket
cmp eax, 0xffffffff
jne 0x427448
call sub.WS2_32.dll_WSAGetLastError
push eax
push str._connectAndSendData_:_closesocket_error__d.__r_n
call fcn.004634a7
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
cmp ecx, ebx
je 0x427565
cmp dword [esp + 0x1c], ebx
jne 0x427565
cmp dword [esp + 0x38], ebx
jne 0x426450
mov edi, dword [esp + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx]
mov esi, eax
lea eax, [esi + 0xc]
push eax
cmp edi, ebx
sete al
movzx eax, al
push eax
push esi
lea eax, [esp + 0x25c]
push eax
call edx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x294]
mov byte [esp + 0x1344], 0x11
call fcn.00405810
mov ebp, 8
mov byte [esp + 0x1338], 1
cmp dword [esp + 0x268], ebp
jb 0x4274cb
mov eax, dword [esp + 0x254]
push eax
call fcn.00442e6d
add esp, 4
cmp dword [esp + 0x29c], ebx
je 0x427578
add esi, 0x30
call fcn.00428770
jmp 0x426450
mov dword [esp + 0x1c], 1
jmp 0x4272a4
cmp dword [esp + 0x284], 0x10
mov eax, dword [esp + 0x270]
jae 0x42750a
lea eax, [esp + 0x270]
lea ecx, [esp + 0x250]
call fcn.00425210
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x294]
mov byte [esp + 0x1344], 0xe
call fcn.00405810
mov byte [esp + 0x1338], 0xc
cmp dword [esp + 0x268], 8
jb 0x427550
mov ecx, dword [esp + 0x254]
push ecx
call fcn.00442e6d
add esp, 4
lea esi, [edi + 0x30]
call fcn.00428770
mov dword [esp + 0x38], 1
jmp 0x4272a4
cmp dword [esp + 0x38], ebx
jne 0x426450
mov edi, dword [esp + 0x3c]
mov ebp, 8
cmp dword [esp + 0x2a0], ebp
jb 0x427591
mov ecx, dword [esp + 0x28c]
push ecx
call fcn.00442e6d
add esp, 4
xor edx, edx
mov dword [esp + 0x2a0], 7
mov dword [esp + 0x29c], ebx
mov word [esp + 0x28c], dx
cmp dword [esp + 0x135c], ebp
jb 0x4275c6
mov eax, dword [esp + 0x1348]
push eax
call fcn.00442e6d
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x1330]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1318]
xor ecx, esp
call fcn.00461a99
add esp, 0x1328
ret 0x20