Function at 0x1001086a
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.10027390
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.100025d7
test eax, eax
je 0x10010aa9
push 8
call fcn.10027390
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.10008abc
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.1002738a
add esp, 4
mov ebx, dword [0x10046f73]
mov ebx, dword [ebx]
call fcn.1000100e
mov eax, 1
cmp eax, ecx
jl 0x10010925
push 1
call fcn.10027396
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.10010ae6
test eax, eax
je 0x10010aa1
mov ebx, dword [ebp - 0xc]
call fcn.1000100e
mov eax, 0
cmp eax, ecx
jl 0x10010967
push 1
call fcn.10027396
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 0x10010982
mov eax, 0x1003f2c9
push eax
push 1
mov ebx, 0x194
call fcn.10027920
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 0x100109b8
push 1
call fcn.10027396
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 8]
push eax
call fcn.100070ad
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
call fcn.1000100e
mov eax, 1
cmp eax, ecx
jl 0x100109ec
push 1
call fcn.10027396
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 0x10010a12
push 1
call fcn.10027396
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.10010afe
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x10010aa1
lea eax, [ebp - 0xc]
push eax
call fcn.100038ea
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 0x10010a8d
push 6
call fcn.10027396
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10010aa1
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x10]
call fcn.10010ca9
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
call fcn.100026a9
mov eax, dword [ebp - 4]
jmp 0x10010ac2
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10010ad3
push ebx
call fcn.1002738a
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.1002738a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10