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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x10
call fcn.10026462
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x1003f2ff
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
call fcn.100028aa
test eax, eax
je 0x10010e41
push 8
call fcn.10026462
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x1003f2d7
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call fcn.10008d8f
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.1002645c
add esp, 4
mov ebx, dword [0x1004206a]
mov ebx, dword [ebx]
call fcn.10001254
mov eax, 1
cmp eax, ecx
jl 0x10010cbd
push 1
call fcn.10026468
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call fcn.10010e7e
test eax, eax
je 0x10010e39
mov ebx, dword [ebp - 0xc]
call fcn.10001254
mov eax, 0
cmp eax, ecx
jl 0x10010cff
push 1
call fcn.10026468
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10010d1a
mov eax, 0x1003f2d7
push eax
push 1
mov ebx, 0x194
call fcn.100269c0
add esp, 0x10
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
call fcn.10001254
mov eax, 1
cmp eax, ecx
jl 0x10010d50
push 1
call fcn.10026468
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 8]
push eax
call fcn.10007380
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
call fcn.10001254
mov eax, 1
cmp eax, ecx
jl 0x10010d84
push 1
call fcn.10026468
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0xc]
call fcn.10001254
mov eax, 0
cmp eax, ecx
jl 0x10010daa
push 1
call fcn.10026468
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push dword [ebp + 0x14]
mov ebx, dword [ebp - 0x18]
push dword [ebx]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push dword [ebp + 8]
call fcn.10010e96
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x10010e39
lea eax, [ebp - 0xc]
push eax
call fcn.10003bbd
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSASend]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10010e25
push 6
call fcn.10026468
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10010e39
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x10]
call fcn.10011041
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
call fcn.1000297c
mov eax, dword [ebp - 4]
jmp 0x10010e5a
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10010e6b
push ebx
call fcn.1002645c
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.1002645c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10