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

Disassembly:
push rbp
sub rsp, 0x100
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x70], r14
mov r14, rcx
mov qword [rbp + 0x68], r15
mov r15, r8
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], rbx
mov rbx, r9
mov qword [rbp + 0x60], 0xfffffffffffffffe
lea rcx, [r14 + 0x30]
mov qword [rbp + 0x38], rcx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov byte [rbp + 0x40], 1
cmp byte [r14 + 0x1a8], 0
jne 0x1400b7754
lea rcx, [r14 + 0x110]
xor esi, esi
lea rdx, [rbp + 0x28]
mov qword [rbp + 0xa8], rsi
lea r8, [rbp + 0x48]
mov qword [rbp + 0xb0], rsi
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], rsi
call fcn.1400110a0
nop
mov r15, qword [rbp + 0x50]
test r15, r15
je 0x1400b7802
mov rax, qword [r15 + 0x20]
mov qword [rbp + 0x50], rax
test rax, rax
jne 0x1400b7715
mov qword [rbp + 0x58], 0
mov qword [r15 + 0x20], 0
mov dword [rbp + 0x88], 0
call fcn.1400cc560
xor ecx, ecx
mov rdx, r15
xor r9d, r9d
lea r8, [rbp + 0x88]
mov qword [rbp + 0x90], rax
call qword [r15 + 0x28]
mov r15, qword [rbp + 0x50]
test r15, r15
jne 0x1400b7700
jmp 0x1400b7802
mov rsi, qword [r14 + 0x28]
lea rdx, [rsi + 0x30]
mov eax, 1
lock xadd dword [rdx], eax
mov rcx, qword [rsi + 0x28]
xor edx, edx
xor r8d, r8d
mov r9, rbx
mov dword [rbx + 0x30], 1
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x1400b77d6
lea r14, [rsi + 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsi + 0x98]
mov qword [rbx + 0x20], 0
test rax, rax
je 0x1400b77b0
mov qword [rax + 0x20], rbx
mov qword [rsi + 0x98], rbx
jmp 0x1400b77be
mov qword [rsi + 0x98], rbx
mov qword [rsi + 0x90], rbx
add rsi, 0x58
mov eax, 1
mov rdx, rsi
xchg dword [rdx], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp byte [rbp + 0x40], 0
je 0x1400b77e6
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rbp + 0x80]
mov rsi, qword [rbp + 0x78]
mov r14, qword [rbp + 0x70]
mov r15, qword [rbp + 0x68]
lea rsp, [rbp + 0xc0]
pop rbp
ret
mov r15, qword [rbp + 0xa8]
test r15, r15
je 0x1400b7866
mov rax, qword [r15 + 0x20]
mov qword [rbp + 0xa8], rax
test rax, rax
jne 0x1400b7829
mov qword [rbp + 0xb0], 0
mov qword [r15 + 0x20], 0
mov dword [rbp + 0x98], 0
call fcn.1400cc560
xor ecx, ecx
mov rdx, r15
xor r9d, r9d
lea r8, [rbp + 0x98]
mov qword [rbp + 0xa0], rax
call qword [r15 + 0x28]
mov r15, qword [rbp + 0xa8]
test r15, r15
jne 0x1400b780e
mov rdx, qword [rbp + 0x28]
mov qword [rbx + 0x20], 0
mov rax, qword [rdx + 0x20]
test rax, rax
je 0x1400b7885
mov qword [rax + 0x20], rbx
mov qword [rdx + 0x20], rbx
jmp 0x1400b788d
mov qword [rdx + 0x20], rbx
mov qword [rdx + 0x18], rbx
mov rdx, qword [r14 + 0x28]
add rdx, 0x30
mov cl, byte [rbp + 0x30]
mov eax, 1
lock xadd dword [rdx], eax
test cl, cl
jne 0x1400b78d1
cmp byte [rbp + 0x40], 0
je 0x1400b78b5
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rbp + 0x80]
mov rsi, qword [rbp + 0x78]
mov r14, qword [rbp + 0x70]
mov r15, qword [rbp + 0x68]
lea rsp, [rbp + 0xc0]
pop rbp
ret
lea rax, [rbp + 0x24]
xor ebx, ebx
mov byte [rbp + 0x24], bl
mov qword [rbp + 8], rax
mov dword [rbp], 1
call fcn.1400cc560
xor ecx, ecx
mov r14, qword [r14 + 0x60]
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rax, rsp
mov rcx, r14
mov r8d, 1
lea rdx, [rbp]
mov dword [rbp + 0x20], ebx
lea r9, [rbp + 0x20]
mov dword [rax + 0x20], ebx
mov qword [rax + 0x28], rsi
mov qword [rax + 0x30], rsi
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.1400cc560
mov dword [rbp + 0x10], esi
mov qword [rbp + 0x18], rax
mov eax, dword [rbp + 0x10]
cmp eax, 0x40
je 0x1400b7955
cmp eax, 0x4d2
je 0x1400b7955
test ebx, ebx
jne 0x1400b78a5
call fcn.1400cc560
jmp 0x1400b78a5
call fcn.1400cc560
jmp 0x1400b7943