Function at 0x1001089c
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.10026bb6
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x1003f2f1
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.10002609
test eax, eax
je 0x10010adb
push 8
call fcn.10026bb6
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x1003f2c9
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.10008aee
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.10026bb0
add esp, 4
mov ebx, dword [0x10046f33]
mov ebx, dword [ebx]
call fcn.1000100e
mov eax, 1
cmp eax, ecx
jl 0x10010957
push 1
call fcn.10026bbc
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.10010b18
test eax, eax
je 0x10010ad3
mov ebx, dword [ebp - 0xc]
call fcn.1000100e
mov eax, 0
cmp eax, ecx
jl 0x10010999
push 1
call fcn.10026bbc
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 0x100109b4
mov eax, 0x1003f2c9
push eax
push 1
mov ebx, 0x194
call fcn.10027140
add esp, 0x10
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
call fcn.1000100e
mov eax, 1
cmp eax, ecx
jl 0x100109ea
push 1
call fcn.10026bbc
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 8]
push eax
call fcn.100070df
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
call fcn.1000100e
mov eax, 1
cmp eax, ecx
jl 0x10010a1e
push 1
call fcn.10026bbc
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0xc]
call fcn.1000100e
mov eax, 0
cmp eax, ecx
jl 0x10010a44
push 1
call fcn.10026bbc
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.10010b30
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x10010ad3
lea eax, [ebp - 0xc]
push eax
call fcn.1000391c
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 0x10010abf
push 6
call fcn.10026bbc
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10010ad3
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x10]
call fcn.10010cdb
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
call fcn.100026db
mov eax, dword [ebp - 4]
jmp 0x10010af4
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10010b05
push ebx
call fcn.10026bb0
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.10026bb0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10