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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 8], ebx
push edi
test esi, esi
jne 0x1000b99c
push 0x112
push str.C:UsersliuDesktopSimpleRemoter_1.0.0.5clientIOCPClient.cpp
push str.ulOriginalLength___0
call fcn.1001bad3
add esp, 0xc
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1003d300]
mulsd xmm0, qword [0x1003d290]
addsd xmm0, qword [0x1003d2a0]
call fcn.10030500
push eax
mov dword [ebp - 4], eax
call fcn.100118d3
add esp, 4
mov edi, eax
lea eax, [ebp - 4]
push esi
push dword [ebp + 8]
push eax
push edi
call fcn.10001210
test eax, eax
je 0x1000ba08
push str._ERROR__compress_failed__n
call fcn.100079f0
add esp, 4
push edi
call fcn.10011890
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x14]
add eax, 0xd
mov dword [ebp - 0xc], 0
push 5
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.10009630
mov ecx, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x1000ba49
mov eax, dword [ebx + 0x18]
mov dword [ecx], eax
mov al, byte [ebx + 0x1c]
mov byte [ecx + 4], al
add ecx, 5
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x14]
xor edx, edx
sub ecx, eax
test eax, eax
cmove ecx, edx
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.10009630
mov ecx, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x1000ba74
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x14]
xor edx, edx
sub ecx, eax
test eax, eax
cmove ecx, edx
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.10009630
mov ecx, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x1000ba9c
mov dword [ecx], esi
add ecx, 4
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ebx, dword [ebp - 4]
sub ecx, eax
test eax, eax
cmove ecx, edx
lea eax, [ebx + ecx]
push eax
lea ecx, [ebp - 0x14]
call fcn.10009630
mov esi, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x1000bacc
push ebx
push edi
push esi
call fcn.100132d0
add esp, 0xc
add esi, ebx
push edi
call fcn.10011890
mov eax, dword [ebp - 0x14]
add esp, 4
mov ecx, dword [sym.imp.WS2_32.dll_send]
test eax, eax
jne 0x1000baf4
xor edx, edx
mov dword [ebp + 8], 0
xor edi, edi
mov dword [ebp + 0xc], edx
xor ebx, ebx
jmp 0x1000bb66
sub esi, eax
mov dword [ebp + 8], esi
mov ebx, esi
jne 0x1000bb06
xor edi, edi
xor edx, edx
mov dword [ebp + 0xc], edx
jmp 0x1000bb66
xor edx, edx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edx
mov edi, eax
cmp ebx, 0x2000
jb 0x1000bb66
mov dword [ebp + 8], ebx
nop dword [eax + eax]
xor esi, esi
mov eax, dword [ebp - 8]
push 0
push 0x2000
push edi
push dword [eax + 4]
call ecx
test eax, eax
jg 0x1000bb44
mov ecx, dword [sym.imp.WS2_32.dll_send]
inc esi
cmp esi, 0xf
jl 0x1000bb22
je 0x1000bb8e
mov edx, dword [ebp + 0xc]
sub ebx, 0x2000
mov ecx, dword [sym.imp.WS2_32.dll_send]
add edx, eax
add edi, 0x2000
mov dword [ebp + 0xc], edx
cmp ebx, 0x2000
jae 0x1000bb20
test ebx, ebx
jle 0x1000bb97
xor esi, esi
nop dword [eax]
mov eax, dword [ebp - 8]
push 0
push ebx
push edi
push dword [eax + 4]
call ecx
test eax, eax
jg 0x1000bb92
mov ecx, dword [sym.imp.WS2_32.dll_send]
inc esi
cmp esi, 0xf
jl 0x1000bb70
jne 0x1000bb92
xor ebx, ebx
jmp 0x1000bb9f
mov edx, dword [ebp + 0xc]
add edx, eax
xor ebx, ebx
cmp edx, dword [ebp + 8]
sete bl
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1000bbb4
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8