Function at 0x441c70
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Reference http user-agent string
Send data
Send data on socket
Send http request
Send http request with host header
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8b71
mov eax, dword fs:[0]
push eax
mov eax, 0x7c48
call fcn.0058daa0
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7988], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00410520
mov byte [ebp - 4], 2
xorpd xmm0, xmm0
movlpd qword [ebp - 0x7994], xmm0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x79a0], xmm0
mov eax, 0x50
mov word [ebp - 0x78dc], ax
lea ecx, [ebp - 0x78dc]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7a48], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00406610
mov dword [ebp - 0x7a44], eax
lea eax, [ebp - 0x7840]
push eax
call fcn.004432f0
add esp, 0x20
mov dword [ebp - 0x7a4c], eax
mov byte [ebp - 4], 3
push 0x614efa
lea ecx, [ebp - 0x78a0]
call fcn.004066a0
mov byte [ebp - 4], 4
push 0x614efb
lea ecx, [ebp - 0x7840]
push ecx
call fcn.0040a1b0
add esp, 8
movzx edx, al
test edx, edx
jne 0x441d5b
movzx eax, word [ebp - 0x78dc]
test eax, eax
jne 0x441de0
mov byte [ebp - 0x7888], 0
push 0x615df4
lea ecx, [ebp - 0x7884]
call fcn.00408bc0
lea ecx, [ebp - 0x7888]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov edx, dword [ebp - 0x7988]
or edx, 1
mov dword [ebp - 0x7988], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78a0]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7840]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x4432d1
lea ecx, [ebp - 0x7840]
call fcn.004067b0
push eax
call fcn.00443850
add esp, 4
movzx eax, al
test eax, eax
je 0x441e12
lea ecx, [ebp - 0x7840]
push ecx
lea ecx, [ebp - 0x78a0]
call fcn.00407150
jmp 0x441e93
push 0xc
lea ecx, [ebp - 0x78d8]
call fcn.00408390
lea ecx, [ebp - 0x78d8]
call fcn.00409f60
mov byte [ebp - 4], 5
lea edx, [ebp - 0x78d8]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7a54], esp
lea eax, [ebp - 0x7840]
push eax
call fcn.00406610
mov dword [ebp - 0x7a5c], eax
call fcn.00443720
add esp, 0x1c
mov byte [ebp - 0x79a1], al
movzx ecx, byte [ebp - 0x79a1]
test ecx, ecx
je 0x441e84
push 0
lea ecx, [ebp - 0x78d8]
call fcn.00409fb0
push eax
lea ecx, [ebp - 0x78a0]
call fcn.00407150
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78d8]
call fcn.00409f90
push 0x614f42
lea edx, [ebp - 0x78a0]
push edx
call fcn.0040a1b0
add esp, 8
movzx eax, al
test eax, eax
je 0x441f65
mov byte [ebp - 0x7888], 0
push 0x615dfc
lea ecx, [ebp - 0x7840]
push ecx
lea edx, [ebp - 0x7a74]
push edx
call fcn.0040f8e0
add esp, 0xc
mov dword [ebp - 0x7a30], eax
mov eax, dword [ebp - 0x7a30]
push eax
lea ecx, [ebp - 0x7884]
call fcn.0040f660
lea ecx, [ebp - 0x7a74]
call fcn.00406730
lea ecx, [ebp - 0x7888]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov edx, dword [ebp - 0x7988]
or edx, 1
mov dword [ebp - 0x7988], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78a0]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7840]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x4432d1
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x798c], eax
mov dword [ebp - 0x78a4], 0x1388
push 4
lea eax, [ebp - 0x78a4]
push eax
push 0x1005
push 0xffff
mov ecx, dword [ebp - 0x798c]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea edx, [ebp - 0x78a4]
push edx
push 0x1006
push 0xffff
mov eax, dword [ebp - 0x798c]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
xor ecx, ecx
mov word [ebp - 0x78cc], cx
xor edx, edx
mov dword [ebp - 0x78ca], edx
mov dword [ebp - 0x78c6], edx
mov dword [ebp - 0x78c2], edx
mov word [ebp - 0x78be], dx
mov eax, 2
mov word [ebp - 0x78cc], ax
movzx ecx, word [ebp - 0x78dc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x78ca], ax
lea ecx, [ebp - 0x78a0]
call fcn.004067b0
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x78c8], eax
push 0x10
lea edx, [ebp - 0x78cc]
push edx
mov eax, dword [ebp - 0x798c]
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x7998], eax
cmp dword [ebp - 0x7998], 0
je 0x442142
mov byte [ebp - 0x7888], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x7c24]
push ecx
call fcn.00422520
add esp, 8
mov dword [ebp - 0x79f8], eax
mov edx, dword [ebp - 0x79f8]
mov dword [ebp - 0x79c0], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x79c0]
push eax
push 0x615e0c
lea ecx, [ebp - 0x7bf4]
push ecx
call fcn.00408be0
add esp, 0xc
mov dword [ebp - 0x79c8], eax
mov edx, dword [ebp - 0x79c8]
push edx
lea ecx, [ebp - 0x7884]
call fcn.0040f660
lea ecx, [ebp - 0x7bf4]
call fcn.00406730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c24]
call fcn.00406730
mov eax, dword [ebp - 0x798c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [ebp - 0x7888]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov edx, dword [ebp - 0x7988]
or edx, 1
mov dword [ebp - 0x7988], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78a0]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7840]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x4432d1
lea eax, [ebp - 0x7840]
push eax
lea ecx, [ebp - 0x78bc]
call fcn.00406610
mov byte [ebp - 4], 7
movzx ecx, word [ebp - 0x78dc]
cmp ecx, 0x50
je 0x44220c
movzx edx, word [ebp - 0x78dc]
push edx
lea eax, [ebp - 0x7abc]
push eax
call fcn.00408800
add esp, 8
mov dword [ebp - 0x79d0], eax
mov ecx, dword [ebp - 0x79d0]
mov dword [ebp - 0x79e0], ecx
mov byte [ebp - 4], 8
push 0x615e20
lea edx, [ebp - 0x78bc]
push edx
lea eax, [ebp - 0x7b7c]
push eax
call fcn.0040f8e0
add esp, 0xc
mov dword [ebp - 0x79d8], eax
mov ecx, dword [ebp - 0x79d8]
mov dword [ebp - 0x79e8], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x79e0]
push edx
mov eax, dword [ebp - 0x79e8]
push eax
lea ecx, [ebp - 0x7c54]
push ecx
call fcn.00408c60
add esp, 0xc
lea ecx, [ebp - 0x7c54]
call fcn.00406730
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7b7c]
call fcn.00406730
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7abc]
call fcn.00406730
push 0x614f43
lea ecx, [ebp - 0x7828]
call fcn.004066a0
mov byte [ebp - 4], 0xa
push 0x615e24
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7a40], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00406610
mov dword [ebp - 0x7a58], eax
lea eax, [ebp - 0x7bac]
push eax
call fcn.00441b10
add esp, 0x1c
mov dword [ebp - 0x79f0], eax
mov ecx, dword [ebp - 0x79f0]
mov dword [ebp - 0x7a3c], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x7a3c]
push edx
push str.GET
lea eax, [ebp - 0x7aec]
push eax
call fcn.00408be0
add esp, 0xc
mov dword [ebp - 0x7a38], eax
mov ecx, dword [ebp - 0x7a38]
mov dword [ebp - 0x7a18], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x7a18]
push edx
lea eax, [ebp - 0x7c3c]
push eax
call fcn.00408c20
add esp, 0xc
mov dword [ebp - 0x79c4], eax
mov ecx, dword [ebp - 0x79c4]
mov dword [ebp - 0x79fc], ecx
mov edx, dword [ebp - 0x79fc]
push edx
lea ecx, [ebp - 0x7828]
call fcn.0040f660
lea ecx, [ebp - 0x7c3c]
call fcn.00406730
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x7aec]
call fcn.00406730
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7bac]
call fcn.00406730
lea eax, [ebp - 0x78bc]
push eax
push 0x615e3c
lea ecx, [ebp - 0x7c0c]
push ecx
call fcn.0040de70
add esp, 0xc
mov dword [ebp - 0x79cc], eax
mov edx, dword [ebp - 0x79cc]
mov dword [ebp - 0x7a04], edx
mov byte [ebp - 4], 0xd
push 0x615e38
mov eax, dword [ebp - 0x7a04]
push eax
lea ecx, [ebp - 0x7b1c]
push ecx
call fcn.00408c20
add esp, 0xc
mov dword [ebp - 0x79d4], eax
mov edx, dword [ebp - 0x79d4]
mov dword [ebp - 0x7a0c], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x7a0c]
push eax
lea ecx, [ebp - 0x7828]
call fcn.0040df30
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x7b1c]
call fcn.00406730
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7c0c]
call fcn.00406730
push 0x615e44
lea ecx, [ebp - 0x7828]
call fcn.0040df50
push 0x615e58
lea ecx, [ebp - 0x7828]
call fcn.0040df50
push 0x615e90
lea ecx, [ebp - 0x7828]
call fcn.0040df50
push 0x615ee8
lea ecx, [ebp - 0x7828]
call fcn.0040df50
push 0x615e74
lea ecx, [ebp - 0x7828]
call fcn.0040df50
push 0x615f64
lea ecx, [ebp - 0x7828]
call fcn.0040df50
push 0x615f88
lea ecx, [ebp - 0x7828]
call fcn.0040df50
push 0
lea ecx, [ebp - 0x7828]
call fcn.00406bd0
push eax
lea ecx, [ebp - 0x7828]
call fcn.004067b0
push eax
mov ecx, dword [ebp - 0x798c]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x7998], eax
cmp dword [ebp - 0x7998], 0
jne 0x44254d
mov byte [ebp - 0x7888], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x7bdc]
push edx
call fcn.00422520
add esp, 8
mov dword [ebp - 0x79dc], eax
mov eax, dword [ebp - 0x79dc]
mov dword [ebp - 0x7a14], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x7a14]
push ecx
push 0x615f8c
lea edx, [ebp - 0x7b4c]
push edx
call fcn.00408be0
add esp, 0xc
mov dword [ebp - 0x79e4], eax
mov eax, dword [ebp - 0x79e4]
push eax
lea ecx, [ebp - 0x7884]
call fcn.0040f660
lea ecx, [ebp - 0x7b4c]
call fcn.00406730
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7bdc]
call fcn.00406730
mov ecx, dword [ebp - 0x798c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea edx, [ebp - 0x7888]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov eax, dword [ebp - 0x7988]
or eax, 1
mov dword [ebp - 0x7988], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7828]
call fcn.00406730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78bc]
call fcn.00406730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78a0]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7840]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x4432d1
mov dword [ebp - 0x7a50], 0x7800
push 0x7800
push 0
lea ecx, [ebp - 0x7810]
push ecx
call fcn.0058ca30
add esp, 0xc
mov dword [ebp - 0x79a8], 0
mov dword [ebp - 0x79ac], 0
push 0xa8
lea ecx, [ebp - 0x7984]
call fcn.00408390
push 1
lea ecx, [ebp - 0x7984]
call fcn.00440230
mov byte [ebp - 4], 0x10
push 0
mov edx, 0x7800
sub edx, dword [ebp - 0x79a8]
push edx
mov eax, dword [ebp - 0x79a8]
lea ecx, [ebp + eax - 0x7810]
push ecx
mov edx, dword [ebp - 0x798c]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x7998], eax
cmp dword [ebp - 0x7998], 0
jle 0x442d28
mov eax, dword [ebp - 0x79a8]
add eax, dword [ebp - 0x7998]
mov dword [ebp - 0x79a8], eax
push str._r_n_r_n
lea ecx, [ebp - 0x7810]
push ecx
call fcn.004434b0
add esp, 8
mov dword [ebp - 0x79ac], eax
cmp dword [ebp - 0x79ac], 0
je 0x442c54
push 0x615fb4
lea edx, [ebp - 0x7810]
push edx
call fcn.004434b0
add esp, 8
mov dword [ebp - 0x79b0], eax
cmp dword [ebp - 0x79b0], 0
je 0x442b90
mov eax, dword [ebp - 0x79b0]
cmp eax, dword [ebp - 0x79ac]
jbe 0x44270f
mov byte [ebp - 0x7888], 0
push 0x615fc4
lea ecx, [ebp - 0x7884]
call fcn.00408bc0
mov ecx, dword [ebp - 0x798c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea edx, [ebp - 0x7888]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov eax, dword [ebp - 0x7988]
or eax, 1
mov dword [ebp - 0x7988], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7984]
call fcn.0043de10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7828]
call fcn.00406730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78bc]
call fcn.00406730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78a0]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7840]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x4432d1
mov ecx, dword [ebp - 0x79b0]
add ecx, 0xf
push ecx
call fcn.0058ba70
add esp, 4
mov dword [ebp - 0x79a0], eax
mov dword [ebp - 0x799c], edx
cmp dword [ebp - 0x799c], 0
jg 0x442808
jl 0x442749
cmp dword [ebp - 0x79a0], 0
ja 0x442808
mov byte [ebp - 0x7888], 0
push 0x615fec
lea ecx, [ebp - 0x7884]
call fcn.00408bc0
mov edx, dword [ebp - 0x798c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [ebp - 0x7888]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov ecx, dword [ebp - 0x7988]
or ecx, 1
mov dword [ebp - 0x7988], ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7984]
call fcn.0043de10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7828]
call fcn.00406730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78bc]
call fcn.00406730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78a0]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7840]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x4432d1
cmp dword [ebp + 0x3c], 0
je 0x442830
mov edx, dword [ebp - 0x7990]
push edx
mov eax, dword [ebp - 0x7994]
push eax
mov ecx, dword [ebp - 0x799c]
push ecx
mov edx, dword [ebp - 0x79a0]
push edx
call dword [ebp + 0x3c]
add esp, 0x10
mov eax, dword [ebp - 0x79ac]
add eax, 4
lea ecx, [ebp - 0x7810]
sub eax, ecx
mov dword [ebp - 0x79b8], eax
mov edx, dword [ebp - 0x79a8]
cmp edx, dword [ebp - 0x79b8]
jle 0x442b8b
mov eax, dword [ebp - 0x79a8]
sub eax, dword [ebp - 0x79b8]
mov dword [ebp - 0x79b4], eax
mov eax, dword [ebp - 0x79b4]
cdq
mov dword [ebp - 0x7994], eax
mov dword [ebp - 0x7990], edx
push 0x40
push 0x22
lea ecx, [ebp + 0x24]
call fcn.004067b0
push eax
lea ecx, [ebp - 0x7984]
call fcn.00440360
mov ecx, dword [ebp - 0x7984]
mov edx, dword [ecx + 4]
lea ecx, [ebp + edx - 0x7984]
call fcn.0043ce00
movzx eax, al
test eax, eax
je 0x4429eb
mov byte [ebp - 0x7888], 0
lea ecx, [ebp + 0x24]
push ecx
push 0x61601c
lea edx, [ebp - 0x7aa4]
push edx
call fcn.0040de70
add esp, 0xc
mov dword [ebp - 0x7a1c], eax
mov eax, dword [ebp - 0x7a1c]
mov dword [ebp - 0x79ec], eax
mov byte [ebp - 4], 0x11
push 0x616014
mov ecx, dword [ebp - 0x79ec]
push ecx
lea edx, [ebp - 0x7a8c]
push edx
call fcn.00408c20
add esp, 0xc
mov dword [ebp - 0x7a24], eax
mov eax, dword [ebp - 0x7a24]
push eax
lea ecx, [ebp - 0x7884]
call fcn.0040f660
lea ecx, [ebp - 0x7a8c]
call fcn.00406730
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x7aa4]
call fcn.00406730
lea ecx, [ebp - 0x7984]
call fcn.004403c0
mov ecx, dword [ebp - 0x798c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea edx, [ebp - 0x7888]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov eax, dword [ebp - 0x7988]
or eax, 1
mov dword [ebp - 0x7988], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7984]
call fcn.0043de10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7828]
call fcn.00406730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78bc]
call fcn.00406730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78a0]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7840]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x4432d1
mov eax, dword [ebp - 0x79b4]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x79ac]
add ecx, 4
push ecx
lea ecx, [ebp - 0x7984]
call fcn.0043f290
mov edx, dword [ebp - 0x7984]
mov eax, dword [edx + 4]
lea ecx, [ebp + eax - 0x7984]
call fcn.0043ce00
movzx ecx, al
test ecx, ecx
je 0x442b5e
mov byte [ebp - 0x7888], 0
lea edx, [ebp + 0x24]
push edx
push 0x616030
lea eax, [ebp - 0x7b04]
push eax
call fcn.0040de70
add esp, 0xc
mov dword [ebp - 0x79f4], eax
mov ecx, dword [ebp - 0x79f4]
mov dword [ebp - 0x7a2c], ecx
mov byte [ebp - 4], 0x12
push 0x616028
mov edx, dword [ebp - 0x7a2c]
push edx
lea eax, [ebp - 0x7ad4]
push eax
call fcn.00408c20
add esp, 0xc
mov dword [ebp - 0x7a34], eax
mov ecx, dword [ebp - 0x7a34]
push ecx
lea ecx, [ebp - 0x7884]
call fcn.0040f660
lea ecx, [ebp - 0x7ad4]
call fcn.00406730
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x7b04]
call fcn.00406730
lea ecx, [ebp - 0x7984]
call fcn.004403c0
mov edx, dword [ebp - 0x798c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [ebp - 0x7888]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov ecx, dword [ebp - 0x7988]
or ecx, 1
mov dword [ebp - 0x7988], ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7984]
call fcn.0043de10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7828]
call fcn.00406730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78bc]
call fcn.00406730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78a0]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7840]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x4432d1
cmp dword [ebp + 0x3c], 0
je 0x442b86
mov edx, dword [ebp - 0x7990]
push edx
mov eax, dword [ebp - 0x7994]
push eax
mov ecx, dword [ebp - 0x799c]
push ecx
mov edx, dword [ebp - 0x79a0]
push edx
call dword [ebp + 0x3c]
add esp, 0x10
jmp 0x442d28
jmp 0x442c4f
mov byte [ebp - 0x7888], 0
push 0x616038
lea ecx, [ebp - 0x7884]
call fcn.00408bc0
mov eax, dword [ebp - 0x798c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [ebp - 0x7888]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov edx, dword [ebp - 0x7988]
or edx, 1
mov dword [ebp - 0x7988], edx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7984]
call fcn.0043de10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7828]
call fcn.00406730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78bc]
call fcn.00406730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78a0]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7840]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x4432d1
jmp 0x442d23
cmp dword [ebp - 0x79a8], 0x7800
jl 0x442d23
mov byte [ebp - 0x7888], 0
push 0x616058
lea ecx, [ebp - 0x7884]
call fcn.00408bc0
mov eax, dword [ebp - 0x798c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [ebp - 0x7888]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov edx, dword [ebp - 0x7988]
or edx, 1
mov dword [ebp - 0x7988], edx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7984]
call fcn.0043de10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7828]
call fcn.00406730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78bc]
call fcn.00406730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78a0]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7840]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x4432d1
jmp 0x4425a2
cmp dword [ebp - 0x79ac], 0
jne 0x442df4
mov byte [ebp - 0x7888], 0
push 0x616084
lea ecx, [ebp - 0x7884]
call fcn.00408bc0
mov eax, dword [ebp - 0x798c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [ebp - 0x7888]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov edx, dword [ebp - 0x7988]
or edx, 1
mov dword [ebp - 0x7988], edx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7984]
call fcn.0043de10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7828]
call fcn.00406730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78bc]
call fcn.00406730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78a0]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7840]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x4432d1
mov eax, dword [ebp - 0x7994]
or eax, dword [ebp - 0x7990]
jne 0x442f73
push 0x40
push 0x22
lea ecx, [ebp + 0x24]
call fcn.004067b0
push eax
lea ecx, [ebp - 0x7984]
call fcn.00440360
mov ecx, dword [ebp - 0x7984]
mov edx, dword [ecx + 4]
lea ecx, [ebp + edx - 0x7984]
call fcn.0043ce00
movzx eax, al
test eax, eax
je 0x442f73
mov byte [ebp - 0x7888], 0
lea ecx, [ebp + 0x24]
push ecx
push 0x6160b8
lea edx, [ebp - 0x7b64]
push edx
call fcn.0040de70
add esp, 0xc
mov dword [ebp - 0x7a00], eax
mov eax, dword [ebp - 0x7a00]
mov dword [ebp - 0x7a20], eax
mov byte [ebp - 4], 0x13
push 0x6160b0
mov ecx, dword [ebp - 0x7a20]
push ecx
lea edx, [ebp - 0x7b34]
push edx
call fcn.00408c20
add esp, 0xc
mov dword [ebp - 0x7a08], eax
mov eax, dword [ebp - 0x7a08]
push eax
lea ecx, [ebp - 0x7884]
call fcn.0040f660
lea ecx, [ebp - 0x7b34]
call fcn.00406730
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x7b64]
call fcn.00406730
lea ecx, [ebp - 0x7984]
call fcn.004403c0
mov ecx, dword [ebp - 0x798c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea edx, [ebp - 0x7888]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov eax, dword [ebp - 0x7988]
or eax, 1
mov dword [ebp - 0x7988], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7984]
call fcn.0043de10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7828]
call fcn.00406730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78bc]
call fcn.00406730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78a0]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7840]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x4432d1
push 0
push 0x7800
lea ecx, [ebp - 0x7810]
push ecx
mov edx, dword [ebp - 0x798c]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x7998], eax
cmp dword [ebp - 0x7998], 0
jle 0x44319e
mov eax, dword [ebp - 0x7998]
cdq
add eax, dword [ebp - 0x7994]
adc edx, dword [ebp - 0x7990]
mov dword [ebp - 0x7994], eax
mov dword [ebp - 0x7990], edx
mov eax, dword [ebp - 0x7990]
cmp eax, dword [ebp - 0x799c]
jl 0x442fe3
jg 0x442fde
mov ecx, dword [ebp - 0x7994]
cmp ecx, dword [ebp - 0x79a0]
jbe 0x442fe3
jmp 0x44319e
mov eax, dword [ebp - 0x7998]
cdq
push edx
push eax
lea edx, [ebp - 0x7810]
push edx
lea ecx, [ebp - 0x7984]
call fcn.0043f290
mov eax, dword [ebp - 0x7984]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0x7984]
call fcn.0043ce00
movzx edx, al
test edx, edx
je 0x443153
mov byte [ebp - 0x7888], 0
lea eax, [ebp + 0x24]
push eax
push 0x6160cc
lea ecx, [ebp - 0x7bc4]
push ecx
call fcn.0040de70
add esp, 0xc
mov dword [ebp - 0x79bc], eax
mov edx, dword [ebp - 0x79bc]
mov dword [ebp - 0x7a10], edx
mov byte [ebp - 4], 0x14
push 0x6160c4
mov eax, dword [ebp - 0x7a10]
push eax
lea ecx, [ebp - 0x7b94]
push ecx
call fcn.00408c20
add esp, 0xc
mov dword [ebp - 0x7a28], eax
mov edx, dword [ebp - 0x7a28]
push edx
lea ecx, [ebp - 0x7884]
call fcn.0040f660
lea ecx, [ebp - 0x7b94]
call fcn.00406730
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x7bc4]
call fcn.00406730
lea ecx, [ebp - 0x7984]
call fcn.004403c0
mov eax, dword [ebp - 0x798c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [ebp - 0x7888]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov edx, dword [ebp - 0x7988]
or edx, 1
mov dword [ebp - 0x7988], edx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7984]
call fcn.0043de10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7828]
call fcn.00406730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78bc]
call fcn.00406730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78a0]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7840]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x4432d1
cmp dword [ebp + 0x3c], 0
je 0x44317b
mov eax, dword [ebp - 0x7990]
push eax
mov ecx, dword [ebp - 0x7994]
push ecx
mov edx, dword [ebp - 0x799c]
push edx
mov eax, dword [ebp - 0x79a0]
push eax
call dword [ebp + 0x3c]
add esp, 0x10
mov ecx, dword [ebp - 0x7994]
cmp ecx, dword [ebp - 0x79a0]
jne 0x443199
mov edx, dword [ebp - 0x7990]
cmp edx, dword [ebp - 0x799c]
jne 0x443199
jmp 0x44319e
jmp 0x442f73
mov eax, dword [ebp - 0x799c]
cmp eax, dword [ebp - 0x7990]
jl 0x4431d5
jg 0x4431bc
mov ecx, dword [ebp - 0x79a0]
cmp ecx, dword [ebp - 0x7994]
jbe 0x4431d5
mov byte [ebp - 0x7888], 0
push 0x6160d4
lea ecx, [ebp - 0x7884]
call fcn.00408bc0
jmp 0x443223
mov edx, dword [ebp - 0x7990]
cmp edx, dword [ebp - 0x799c]
jl 0x44320c
jg 0x4431f3
mov eax, dword [ebp - 0x7994]
cmp eax, dword [ebp - 0x79a0]
jbe 0x44320c
mov byte [ebp - 0x7888], 0
push 0x6160fc
lea ecx, [ebp - 0x7884]
call fcn.00408bc0
jmp 0x443223
mov byte [ebp - 0x7888], 1
push 0x616124
lea ecx, [ebp - 0x7884]
call fcn.00408bc0
mov ecx, dword [ebp - 0x798c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [ebp - 0x7984]
call fcn.004403c0
lea edx, [ebp - 0x7888]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov eax, dword [ebp - 0x7988]
or eax, 1
mov dword [ebp - 0x7988], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7984]
call fcn.0043de10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7828]
call fcn.00406730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78bc]
call fcn.00406730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78a0]
call fcn.00406730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7840]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7888]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00588661
mov esp, ebp
pop ebp
ret