Function at 0x14000c3d0
Capabilities:
Send data
Send data on socket
Terminate thread

Disassembly:
push rbp
sub rsp, 0xd0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x40], rsi
mov rsi, rcx
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], rdi
lea rcx, [rsi + 0x30]
mov qword [rbp + 0x48], rbx
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rbp + 0x70], rcx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rcx, qword [rbp + 0x70]
mov al, 1
mov byte [rbp + 0x78], al
mov byte [rsi + 0x1a8], al
mov byte [rsi + 0x198], al
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [rbp + 0x78], 0
cmp qword [rsi + 0x1a0], 0
jne 0x14000c43f
xor ebx, ebx
jmp 0x14000c56f
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 rdi, qword [rsi + 0x60]
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rax, rsp
mov rcx, rdi
mov r8d, 1
lea rdx, [rbp]
mov dword [rbp + 0x20], ebx
lea r9, [rbp + 0x20]
mov dword [rax + 0x20], ebx
xor ebx, ebx
mov qword [rax + 0x28], rbx
mov qword [rax + 0x30], rbx
call qword [sym.imp.WS2_32.dll_WSASend]
mov edi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r12d, eax
call fcn.1400cc560
mov dword [rbp + 0x10], r12d
mov qword [rbp + 0x18], rax
mov eax, dword [rbp + 0x10]
cmp eax, 0x40
je 0x14000c6bf
cmp eax, 0x4d2
je 0x14000c6bf
test edi, edi
je 0x14000c6b5
mov r12, qword [rsi + 0x1a0]
mov ecx, 2
xor r8d, r8d
lea rdx, [rbp + 0x10]
mov r9d, 0xffffffff
mov rax, qword [r12 + 0x10]
mov rdi, qword [r12 + 8]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [r12 + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x1401a7200]
xor eax, eax
lock xadd dword [rdx], eax
test eax, eax
je 0x14000c521
mov rcx, qword [r12 + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x14000c546
mov rdx, qword [r12 + 8]
lea rcx, [fcn.140004870]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [r12 + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rsi + 0x1a0]
test rdi, rdi
je 0x14000c564
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1401100d8
mov qword [rsi + 0x1a0], 0
mov r15, rbx
mov qword [rbp + 0x80], rbx
mov r14, r15
mov qword [rbp + 0x88], rbx
lea rdi, [r14 + rsi + 0x68]
mov rax, qword [rdi + 8]
mov r12, qword [rax]
cmp r12, rax
je 0x14000c5e6
mov r8, r12
mov qword [rbp + 0x60], r12
mov r12, qword [r12]
mov rdx, qword [r8 + 0x18]
test rdx, rdx
je 0x14000c5d4
mov rax, qword [rbp + 0x88]
test rax, rax
je 0x14000c5ba
mov qword [rax + 0x20], rdx
jmp 0x14000c5c1
mov qword [rbp + 0x80], rdx
mov rax, qword [r8 + 0x20]
mov qword [rbp + 0x88], rax
mov qword [r8 + 0x18], rbx
mov qword [r8 + 0x20], rbx
mov rcx, rdi
mov rdx, qword [rbp + 0x60]
call fcn.14000c200
cmp r12, qword [rdi + 8]
jne 0x14000c594
inc r15
add r14, 0x38
cmp r15, 4
jl 0x14000c583
mov rbx, qword [rsi + 0x190]
test rbx, rbx
je 0x14000c618
mov rax, qword [rbx]
mov rcx, rbx
lea rdx, [rbp + 0x80]
call qword [rax + 0x28]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14000c5ff
mov rbx, qword [rsi + 0x28]
mov rsi, qword [rbp + 0x80]
test rsi, rsi
je 0x14000c684
add rbx, 0x30
mov rax, qword [rsi + 0x20]
mov qword [rbp + 0x80], rax
test rax, rax
jne 0x14000c647
mov qword [rbp + 0x88], 0
mov rdx, rbx
mov qword [rsi + 0x20], 0
or eax, 0xffffffff
lock xadd dword [rdx], eax
mov dword [rbp + 0x60], 0
call fcn.1400cc560
xor ecx, ecx
mov rdx, rsi
xor r9d, r9d
lea r8, [rbp + 0x60]
mov qword [rbp + 0x68], rax
call qword [rsi + 0x28]
mov rsi, qword [rbp + 0x80]
test rsi, rsi
jne 0x14000c62c
cmp byte [rbp + 0x78], 0
je 0x14000c694
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rbp + 0x48]
mov rsi, qword [rbp + 0x40]
mov rdi, qword [rbp + 0x38]
mov r12, qword [rbp + 0x30]
mov r14, qword [rbp + 0x58]
mov r15, qword [rbp + 0x50]
lea rsp, [rbp + 0x90]
pop rbp
ret
call fcn.1400cc560
jmp 0x14000c4c5
call fcn.1400cc560
jmp 0x14000c4bd