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

Disassembly:
push rbp
push rdi
sub rsp, 0x38
mov qword [rsp + 0x50], rbx
mov rdi, rcx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
xor r12d, r12d
mov qword [rsp + 0x28], r14
mov esi, r12d
mov r14d, dword [rcx + 0x18c]
mov ebp, r12d
shr r14d, 2
add rcx, 0x128
and r14b, 1
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [rdi + 0x173], sil
je 0x140014cf5
mov rsi, qword [rdi + 0x28]
mov byte [rdi + 0x173], bpl
mov rbx, rsi
test rsi, rsi
je 0x140014eb0
mov qword [rsp + 0x30], r13
movabs r13, 0x624dd2f1a9fbe77
nop word [rax + rax]
lea rcx, [rsi + 8]
mov rdx, qword [rsi + 0x168]
mov rsi, qword [rcx]
cmp byte [rbx + 0x178], r12b
je 0x140014e99
test rdx, rdx
je 0x140014d56
movzx eax, byte [rdx + 8]
test al, al
je 0x140014e99
cmp byte [rdx + 9], r12b
je 0x140014e99
mov r8, qword [rcx]
mov ebp, 1
mov rax, qword [rbx]
test r8, r8
jne 0x140014d6c
mov qword [rdi + 0x20], rax
jmp 0x140014d6f
mov qword [r8], rax
mov r8, qword [rbx]
mov rax, qword [rcx]
test r8, r8
jne 0x140014d80
mov qword [rdi + 0x28], rax
jmp 0x140014d84
mov qword [r8 + 8], rax
mov qword [rbx], r12
mov qword [rcx], r12
mov byte [rbx + 0x170], r12b
test rdx, rdx
jne 0x140014e70
mov rax, qword [rdi + 0x10]
mov qword [rbx], rax
mov qword [rcx], r12
cmp qword [rdi + 0x18], r12
jne 0x140014db0
mov qword [rdi + 0x18], rbx
jmp 0x140014db8
mov rax, qword [rdi + 0x10]
mov qword [rax + 8], rbx
mov qword [rdi + 0x10], rbx
test r14b, r14b
jne 0x140014e92
cmp qword [rbx + 0x100], r12
je 0x140014df8
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
mov rax, r13
sub rcx, qword [0x1400b93d0]
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 9
mov qword [rbx + 0xf8], rcx
mov rax, qword [rdi + 0x180]
cmp qword [rbx + 0x100], rax
jne 0x140014e40
mov rax, qword [rdi + 0x40]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], r12
cmp qword [rdi + 0x48], r12
jne 0x140014e24
mov qword [rdi + 0x48], rbx
mov qword [rdi + 0x40], rbx
jmp 0x140014e92
mov rax, qword [rdi + 0x40]
mov qword [rax + 0x18], rbx
mov qword [rdi + 0x40], rbx
jmp 0x140014e92
mov rax, qword [rdi + 0x50]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], r12
cmp qword [rdi + 0x58], r12
jne 0x140014e5c
mov qword [rdi + 0x58], rbx
mov qword [rdi + 0x50], rbx
jmp 0x140014e92
mov rax, qword [rdi + 0x50]
mov qword [rax + 0x18], rbx
mov qword [rdi + 0x50], rbx
jmp 0x140014e92
mov rax, qword [rdi + 0x30]
mov qword [rbx], rax
mov qword [rcx], r12
cmp qword [rdi + 0x38], r12
jne 0x140014e86
mov qword [rdi + 0x38], rbx
jmp 0x140014e8e
mov rax, qword [rdi + 0x30]
mov qword [rax + 8], rbx
mov qword [rdi + 0x30], rbx
mov byte [rbx + 0x178], r12b
mov rbx, rsi
test rsi, rsi
jne 0x140014d20
mov r13, qword [rsp + 0x30]
nop word [rax + rax]
lea rcx, [rdi + 0x128]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r15, qword [rsp + 0x20]
test r14b, r14b
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
je 0x140014f1a
test ebp, ebp
je 0x140014f1a
mov rcx, qword [rdi + 0x168]
lea rdx, [0x1400aff04]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x140014f1a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140014f1a
lea rdx, str.Failed_to_signal_resume_of_connection_via_inter_thread_communication_channel.
mov rcx, rdi
call fcn.14001d140
mov eax, ebp
add rsp, 0x38
pop rdi
pop rbp
ret