Function at 0x10067f60
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x28], ecx
lea ebx, [ebp - 0xc]
xor ecx, ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], eax
movdqu xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
push edi
mov edi, eax
test eax, eax
jle 0x1006815f
cmp word [edx], 0
jne 0x10067fb2
mov esi, 0x100c0632
jmp 0x10068129
mov edi, edx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10067fb7
sub edi, ecx
mov ecx, edx
sar edi, 1
lea esi, [ecx + 2]
jmp 0x10067fd0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10067fd0
sub ecx, esi
sar ecx, 1
lea ecx, [ecx*4 + 4]
lea eax, [ecx + 8]
cmp eax, ecx
jbe 0x1006809b
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10067ff6
sub eax, esi
mov ecx, edx
sar eax, 1
lea edx, [ecx + 2]
lea eax, [eax*4 + 0xc]
cmp eax, 0x400
ja 0x10068055
jmp 0x10068020
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10068020
sub ecx, edx
sar ecx, 1
lea eax, [ecx*4 + 0xc]
call fcn.100990e0
mov esi, esp
test esi, esi
je 0x1006809d
mov dword [esi], 0xcccc
add esi, 8
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
jmp 0x1006809d
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10068055
sub ecx, edx
xor eax, eax
sar ecx, 1
lea ecx, [ecx*4 + 4]
add ecx, 8
setb al
neg eax
or eax, ecx
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x1006809d
mov dword [esi], 0xdddd
add esi, 8
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
jmp 0x1006809d
xor esi, esi
mov eax, dword [ebp - 0x1c]
lea edi, [edi*4 + 4]
cmp eax, 2
jl 0x100680f5
xor ecx, ecx
inc eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.MSVCR120.dll_malloc]
mov ecx, dword [ebp - 0x1c]
shl ecx, 2
push ecx
push ebx
push eax
mov dword [ebp - 0x18], eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0x10
cmp eax, 2
jle 0x100680ef
push dword [ebp - 0x10]
call dword [sym.imp.MSVCR120.dll_free]
mov eax, dword [ebp - 0x14]
add esp, 4
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x100680ff
mov dword [ebx + eax*4], esi
inc dword [ebp - 0x14]
xor eax, eax
cmp edi, 1
jle 0x10068122
mov dword [ebp - 0x18], eax
xor edx, edx
lea eax, [ebp - 0x18]
xor ecx, ecx
push eax
push 0
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x20]
call fcn.10035400
add esp, 0x18
mov edi, dword [ebp - 0x24]
mov byte [esi + eax], 0
mov eax, dword [ebp - 0x28]
push 0
push edi
push esi
push dword [eax]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x10068167
mov edx, dword [ebp - 0x20]
sub edi, eax
mov dword [ebp - 0x24], edi
lea edx, [edx + eax*2]
mov dword [ebp - 0x20], edx
test edi, edi
jle 0x1006815c
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
jmp 0x10067fa2
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, edi
cmp esi, eax
je 0x1006816c
mov esi, 0x2c0
lea ecx, [ebp - 0x14]
call fcn.10010900
mov eax, esi
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 8