Function at 0x100164b0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100352b1
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x1003e280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], ecx
push 0x69e4c68e
lea ecx, [ebp - 0x274]
call fcn.10016100
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x228]
call fcn.10002200
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x274]
call fcn.100162a0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x228]
call fcn.10015670
mov eax, 0x90a12a88
push eax
lea ecx, [ebp - 0x288]
call fcn.10016200
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x24c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24c]
push edx
lea ecx, [ebp - 0x228]
call fcn.10015670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x288]
call fcn.10002630
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x228]
call fcn.10015670
push 0x3ee48373
lea ecx, [ebp - 0x26c]
call fcn.10016180
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x254], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x254]
push eax
lea ecx, [ebp - 0x228]
call fcn.10015670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call fcn.10015610
lea ecx, [ebp - 0x228]
call fcn.1000c7d0
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
add ecx, 1
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp - 0x234]
mov al, byte [edx]
mov byte [ebp - 0x22d], al
add dword [ebp - 0x234], 1
cmp byte [ebp - 0x22d], 0
jne 0x100165fe
mov ecx, dword [ebp - 0x234]
sub ecx, dword [ebp - 0x258]
mov dword [ebp - 0x25c], ecx
lea ecx, [ebp - 0x228]
call fcn.1000c7d0
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x238]
mov eax, dword [edx]
mov dword [ebp - 0x264], eax
push 0
mov ecx, dword [ebp - 0x25c]
push ecx
mov edx, dword [ebp - 0x260]
push edx
mov eax, dword [ebp - 0x264]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x10016680
mov ecx, dword [ebp - 0x238]
call fcn.10016440
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 0x23c], 0
push 0
push 0x200
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x238]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10014500
cmp dword [ebp - 0x23c], 0
jg 0x1001668a
mov dword [ebp - 0x22c], 0
jmp 0x100166e7
mov eax, dword [ebp - 0x22c]
add eax, 1
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp + 0xc]
call fcn.10009270
cmp dword [ebp - 0x22c], eax
jae 0x10016775
mov ecx, dword [ebp - 0x22c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.100162d0
movsx edx, byte [eax]
cmp edx, 0xd
jne 0x10016770
mov eax, dword [ebp - 0x22c]
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.100162d0
movsx ecx, byte [eax]
cmp ecx, 0xa
jne 0x10016770
mov edx, dword [ebp - 0x22c]
add edx, 2
push edx
mov ecx, dword [ebp + 0xc]
call fcn.100162d0
movsx eax, byte [eax]
cmp eax, 0xd
jne 0x10016770
mov ecx, dword [ebp - 0x22c]
add ecx, 3
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.100162d0
movsx edx, byte [eax]
cmp edx, 0xa
jne 0x10016770
mov eax, dword [ebp - 0x22c]
add eax, 4
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.10016890
jmp 0x100166d8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.10002820
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003321e
mov esp, ebp
pop ebp
ret 8