Function at 0x10006eb8
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
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x9d
push 0
push 0
dec ecx
jne 0x10006ec0
push ecx
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x1c0]
mov ecx, 0x68
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
lea eax, [ebp - 0x1c0]
mov edx, dword [0x10005b4c]
call fcn.10002c60
mov eax, dword [ebp - 4]
call fcn.10002908
xor eax, eax
push ebp
push 0x10007410
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 2
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x10006e78]
call fcn.10003180
add esp, 4
mov eax, pe_nt_image_headers32
call fcn.100011b4
mov dword [ebp - 0xc], eax
mov eax, pe_nt_image_headers32
call fcn.100011b4
mov dword [ebp - 0x10], eax
mov eax, pe_nt_image_headers32
call fcn.100011b4
mov edi, eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.10003830
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.10003830
mov edx, dword [ebp - 0x24]
mov eax, edi
call fcn.10003830
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100073b0
mov word [ebp - 0x1d0], 2
push 0x19
call sub.wsock32.dll_htons
mov word [ebp - 0x1ce], ax
lea eax, [ebp - 0x4c0]
mov edx, dword [ebp - 0x2c]
call fcn.100026cc
mov eax, dword [ebp - 0x4c0]
call fcn.10006db4
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x1cc], eax
push 0x10
lea eax, [ebp - 0x1d0]
push eax
push ebx
call sub.wsock32.dll_connect
test eax, eax
jne 0x100073a0
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x4bc]
call fcn.10001800
mov eax, dword [ebp - 4]
call fcn.10002918
mov edx, eax
lea eax, [ebp - 0x4c4]
call fcn.100026cc
mov eax, dword [ebp - 0x4c4]
call fcn.10003a58
test al, al
je 0x100073b0
mov edx, 1
lea eax, [ebp - 0x4bc]
call fcn.10001d7c
call fcn.10001298
lea eax, [ebp - 0x4bc]
call fcn.10001a28
call fcn.10001298
mov esi, eax
push esi
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x10006e98]
call fcn.10003180
add esp, 4
push 0
mov edx, dword [ebp - 0x18]
mov ecx, esi
lea eax, [ebp - 0x4bc]
call fcn.10001958
call fcn.10001298
lea eax, [ebp - 0x4bc]
call fcn.10001998
call fcn.10001298
push 0
push pe_nt_image_headers32
lea eax, [ebp - 0x370]
push eax
push ebx
call sub.wsock32.dll_recv
lea eax, [ebp - 0x270]
mov edx, 0x10007428
call fcn.100037d8
push 0
push 6
lea eax, [ebp - 0x270]
push eax
push ebx
call sub.wsock32.dll_send
push 0
push 0x50
lea eax, [ebp - 0x220]
push eax
push ebx
call sub.wsock32.dll_recv
test edi, edi
je 0x10007200
lea eax, [ebp - 0x270]
mov edx, 0x10007438
call fcn.100037d8
push 0
lea eax, [ebp - 0x4c8]
lea edx, [ebp - 0x270]
mov ecx, 0x50
call fcn.10002708
mov eax, dword [ebp - 0x4c8]
call fcn.100064b4
push eax
lea eax, [ebp - 0x270]
push eax
push ebx
call sub.wsock32.dll_send
push 0
push 0x50
lea eax, [ebp - 0x220]
push eax
push ebx
call sub.wsock32.dll_recv
lea eax, [ebp - 0x4cc]
mov edx, dword [ebp - 0x10]
call fcn.100026cc
mov edx, dword [ebp - 0x4cc]
mov eax, dword [ebp - 0x1c]
call fcn.10006518
lea eax, [ebp - 0x1c]
mov edx, 0x10007450
call fcn.10002728
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 0x1c]
call fcn.100037d8
push 0
lea eax, [ebp - 0x4d0]
lea edx, [ebp - 0x270]
mov ecx, 0x50
call fcn.10002708
mov eax, dword [ebp - 0x4d0]
call fcn.100064b4
push eax
lea eax, [ebp - 0x270]
push eax
push ebx
call sub.wsock32.dll_send
push 0
push 0x50
lea eax, [ebp - 0x220]
push eax
push ebx
call sub.wsock32.dll_recv
lea eax, [ebp - 0x4d4]
mov edx, edi
call fcn.100026cc
mov edx, dword [ebp - 0x4d4]
mov eax, dword [ebp - 0x20]
call fcn.10006518
lea eax, [ebp - 0x20]
mov edx, 0x10007450
call fcn.10002728
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 0x20]
call fcn.100037d8
push 0
lea eax, [ebp - 0x4d8]
lea edx, [ebp - 0x270]
mov ecx, 0x50
call fcn.10002708
mov eax, dword [ebp - 0x4d8]
call fcn.100064b4
push eax
lea eax, [ebp - 0x270]
push eax
push ebx
call sub.wsock32.dll_send
push 0
push 0x50
lea eax, [ebp - 0x220]
push eax
push ebx
call sub.wsock32.dll_recv
lea eax, [ebp - 0x4e0]
mov edx, dword [ebp - 0x10]
call fcn.100026cc
mov ecx, dword [ebp - 0x4e0]
lea eax, [ebp - 0x4dc]
mov edx, 0x1000745c
call fcn.1000276c
mov edx, dword [ebp - 0x4dc]
lea eax, [ebp - 0x270]
call fcn.100037d8
push 0
lea eax, [ebp - 0x4e4]
lea edx, [ebp - 0x270]
mov ecx, 0x50
call fcn.10002708
mov eax, dword [ebp - 0x4e4]
call fcn.100064b4
push eax
lea eax, [ebp - 0x270]
push eax
push ebx
call sub.wsock32.dll_send
push 0
push 0x50
lea eax, [ebp - 0x220]
push eax
push ebx
call sub.wsock32.dll_recv
mov edi, dword [ebp - 8]
dec edi
test edi, edi
jl 0x100072ef
inc edi
xor esi, esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + esi*4]
lea eax, [ebp - 0x4e8]
mov edx, 0x10007474
call fcn.1000276c
mov edx, dword [ebp - 0x4e8]
lea eax, [ebp - 0x270]
call fcn.100037d8
push 0
lea eax, [ebp - 0x4ec]
lea edx, [ebp - 0x270]
mov ecx, 0x50
call fcn.10002708
mov eax, dword [ebp - 0x4ec]
call fcn.100064b4
push eax
lea eax, [ebp - 0x270]
push eax
push ebx
call sub.wsock32.dll_send
push 0
push 0x50
lea eax, [ebp - 0x220]
push eax
push ebx
call sub.wsock32.dll_recv
inc esi
dec edi
jne 0x10007282
lea eax, [ebp - 0x270]
mov edx, 0x10007488
call fcn.100037d8
push 0
push 6
lea eax, [ebp - 0x270]
push eax
push ebx
call sub.wsock32.dll_send
push 0
push 0x50
lea eax, [ebp - 0x220]
push eax
push ebx
call sub.wsock32.dll_recv
push 0
mov eax, dword [ebp - 0x18]
call fcn.10002fcc
push eax
mov eax, dword [ebp - 0x18]
push eax
push ebx
call sub.wsock32.dll_send
lea eax, [ebp - 0x270]
mov edx, 0x10007498
call fcn.100037d8
push 0
push 5
lea eax, [ebp - 0x270]
push eax
push ebx
call sub.wsock32.dll_send
push 0
push 0x50
lea eax, [ebp - 0x220]
push eax
push ebx
call sub.wsock32.dll_recv
lea eax, [ebp - 0x270]
mov edx, 0x100074a8
call fcn.100037d8
push 0
push 6
lea eax, [ebp - 0x270]
push eax
push ebx
call sub.wsock32.dll_send
push 0
push 0x50
lea eax, [ebp - 0x220]
push eax
push ebx
call sub.wsock32.dll_recv
push ebx
call sub.wsock32.dll_closesocket
mov eax, dword [ebp - 0xc]
call fcn.100011cc
mov eax, dword [ebp - 0x10]
call fcn.100011cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10007417
lea eax, [ebp - 0x4ec]
mov edx, 0xc
call fcn.100025c4
lea eax, [ebp - 0x1c0]
mov edx, dword [0x10005b4c]
call fcn.10002b40
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.100025c4
lea eax, [ebp - 0x18]
mov edx, dword [0x10006e98]
call fcn.1000318c
lea eax, [ebp - 0x14]
mov edx, dword [0x10006e78]
call fcn.1000318c
lea eax, [ebp - 4]
call fcn.100025a0
ret