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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rsi, rcx
lea rax, [rcx + 0xa8]
mov qword [rsp + 0x20], rax
xor ebp, ebp
nop dword [rax + rax]
mov rdi, rbp
lea rbx, [rsi + 0x188]
mov eax, dword [rsi + 0x1e8]
test eax, eax
jle 0x14007398d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [rsi + 0x1b8]
cmp rdi, qword [rsi + 0x1c0]
je 0x140073963
mov rax, qword [rdi + 8]
mov qword [rsi + 0x1b8], rax
mov qword [rax + 0x10], rbp
test rdi, rdi
je 0x140073984
jmp 0x140073976
test rdi, rdi
je 0x140073984
mov qword [rsi + 0x1b8], rbp
mov qword [rsi + 0x1c0], rbp
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
dec dword [rsi + 0x1b0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x28], rdi
test rdi, rdi
je 0x140073b93
mov r8d, dword [rdi + 0x30]
sub r8d, dword [rdi + 0x28]
xor r9d, r9d
mov rdx, qword [rdi + 0x28]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.WS2_32.dll_send]
mov r14d, eax
test eax, eax
jle 0x1400739f9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [rsi + 0x1e8]
sub eax, r14d
mov dword [rsi + 0x1e8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov r8d, r14d
mov rdx, qword [rdi + 0x28]
mov rcx, rsi
call qword [rax + 0x118]
jmp 0x140073a03
cmp r14d, 0xffffffff
je 0x140073a92
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x18], 0
je 0x140073a84
mov r11d, ebp
mov r10d, ebp
cmp dword [rcx + 0x10], ebp
jbe 0x140073a7f
nop word [rax + rax]
mov r9d, dword [rcx + 0x58]
mov eax, dword [rcx + 0x98]
mov edx, r9d
sub edx, eax
mov r8d, dword [rcx + 0x10]
cmp edx, r8d
jge 0x140073a7f
xor edx, edx
mov eax, r9d
div r8d
mov rax, qword [rcx + 0x18]
lea rdx, [rax + rdx*8]
cmp qword [rdx], r11
jne 0x140073a56
xor eax, eax
lock cmpxchg qword [rdx], rdi
je 0x140073a6d
lea edx, [r9 + 1]
mov eax, r9d
lock cmpxchg dword [rcx + 0x58], edx
inc r10d
cmp r10d, dword [rcx + 0x10]
jb 0x140073a20
jmp 0x140073a7f
lea edx, [r9 + 1]
mov eax, r9d
lock cmpxchg dword [rcx + 0x58], edx
mov r11d, 1
test r11d, r11d
jne 0x140073a8d
mov rcx, rdi
call fcn.14006f750
nop
jmp 0x140073920
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140073af0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsi + 0x1b8]
test rax, rax
je 0x140073ac5
mov qword [rax + 0x10], rdi
mov rax, qword [rsi + 0x1b8]
mov qword [rdi + 8], rax
jmp 0x140073ad4
mov qword [rdi + 0x10], rbp
mov qword [rdi + 8], rbp
mov qword [rsi + 0x1c0], rdi
mov qword [rsi + 0x1b8], rdi
inc dword [rsi + 0x1b0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
jmp 0x140073b93
mov dword [rsi + 0x18], 1
mov dword [rsi + 0x1c], 3
mov dword [rsi + 0x20], eax
mov dword [rsi + 0x24], 1
mov r8, qword [rsp + 0x20]
cmp qword [r8 + 0x18], 0
je 0x140073b86
mov r10d, ebp
cmp dword [r8 + 0x10], ebp
jbe 0x140073b82
nop dword [rax]
mov r9d, dword [r8 + 0x58]
mov eax, dword [r8 + 0x98]
mov ecx, r9d
sub ecx, eax
mov r11d, dword [r8 + 0x10]
cmp ecx, r11d
jge 0x140073b82
xor edx, edx
mov eax, r9d
div r11d
mov rax, qword [r8 + 0x18]
lea rdx, [rax + rdx*8]
cmp qword [rdx], 0
jne 0x140073b58
xor eax, eax
lock cmpxchg qword [rdx], rdi
je 0x140073b70
lea ecx, [r9 + 1]
mov eax, r9d
lock cmpxchg dword [r8 + 0x58], ecx
inc r10d
cmp r10d, dword [r8 + 0x10]
jb 0x140073b20
jmp 0x140073b82
lea ecx, [r9 + 1]
mov eax, r9d
lock cmpxchg dword [r8 + 0x58], ecx
mov ebp, 1
test ebp, ebp
jne 0x140073b8f
mov rcx, rdi
call fcn.14006f750
nop
xor eax, eax
jmp 0x140073b98
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret