Function at 0x1001084f
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.1004b147
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x1006fabb
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.100082a1
test eax, eax
je 0x10010a8e
push 8
call fcn.1004b147
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x1006f2f1
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.1000efe6
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.1004b14d
add esp, 4
mov ebx, dword [0x10081ac0]
mov ebx, dword [ebx]
call fcn.10001166
mov eax, 1
cmp eax, ecx
jl 0x1001090a
push 1
call fcn.1004b13b
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.10010acb
test eax, eax
je 0x10010a86
mov ebx, dword [ebp - 0xc]
call fcn.10001166
mov eax, 0
cmp eax, ecx
jl 0x1001094c
push 1
call fcn.1004b13b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
push 0x80000005
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10010967
mov eax, 0x1006f2f1
push eax
push 1
mov ebx, 0x194
call fcn.1004ca20
add esp, 0x10
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
call fcn.10001166
mov eax, 1
cmp eax, ecx
jl 0x1001099d
push 1
call fcn.1004b13b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 8]
push eax
call fcn.1000cc7d
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
call fcn.10001166
mov eax, 1
cmp eax, ecx
jl 0x100109d1
push 1
call fcn.1004b13b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0xc]
call fcn.10001166
mov eax, 0
cmp eax, ecx
jl 0x100109f7
push 1
call fcn.1004b13b
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.10010b09
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x10010a86
lea eax, [ebp - 0xc]
push eax
call fcn.1000c308
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 0x10010a72
push 6
call fcn.1004b13b
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10010a86
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x10]
call fcn.10012599
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
call fcn.10008373
mov eax, dword [ebp - 4]
jmp 0x10010aa7
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10010ab8
push ebx
call fcn.1004b14d
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.1004b14d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10