Function at 0x14000c280
Capabilities:
Create thread
Send data
Send data on socket

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x248], rbx
mov rax, qword [0x14005c018]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rax, rdx
mov r13, rcx
xor sil, sil
movzx edx, r8w
mov rcx, rax
call fcn.140003d80
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000c736
mov dword [rbp - 0x48], 1
mov dword [rbp - 0x44], 0x493e0
mov dword [rbp - 0x40], 0x1388
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 0xc]
lea r8, [rbp - 0x48]
mov edx, 0x98000004
mov rcx, r14
call qword [sym.imp.WS2_32.dll_WSAIoctl]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 8
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x30], 0xbe03882a
mov word [rbp - 0x2c], r15w
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp - 0x2a]
call fcn.14002f8c0
lea r9, [r13 + 0x28]
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.140001130
test al, al
je 0x14000c706
cmp byte [rbp - 0x2c], r15b
jne 0x14000c706
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
lea r9, [r13 + 0x28]
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.14000dce0
mov eax, dword [rbp - 0x68]
mov dword [rbp - 0x78], eax
xor r9d, r9d
lea r8d, [r15 + 4]
lea rdx, [rbp - 0x78]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
mov rdi, qword [rbp - 0x70]
cmp eax, 4
jne 0x14000c6ee
mov ebx, dword [rbp - 0x78]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
cmp eax, ebx
jne 0x14000c6ee
test rdi, rdi
je 0x14000c40c
mov r8, rdi
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x14000c425
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov sil, 1
mov byte [rsp + 0x50], sil
lea rcx, [r13 + 0x118]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov qword [r13 + 0x110], r14
lea rcx, [r13 + 0x118]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea rcx, [r13 + 0x108]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov byte [r13 + 0x100], sil
lea rcx, [r13 + 0x108]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400111ec
mov rdi, rax
mov qword [rbp - 0x78], rax
mov ecx, 0x18
call fcn.1400111ec
mov qword [rax], r14
mov qword [rax + 8], r13
lea rcx, [0x14000ab30]
mov qword [rax + 0x10], rcx
mov qword [rbp - 0x48], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x1400098b0]
xor edx, edx
xor ecx, ecx
call fcn.140033b4c
mov qword [rdi], rax
test rax, rax
je 0x14000c764
mov qword [r13 + 0x260], rdi
mov dword [rbp - 0x30], 0xbe03882a
mov word [rbp - 0x2c], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp - 0x2a]
call fcn.14002f8c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 8
mov qword [rbp - 0x80], rbx
lea r9, [r13 + 0x28]
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.140001130
test al, al
je 0x14000c6cb
lea rdi, [r13 + 0xa0]
movzx eax, byte [rbp - 0x2c]
mov byte [rbp - 0x70], al
mov qword [rbp - 0x6f], rbx
mov qword [rbp - 0x67], rbx
mov qword [rbp - 0x5f], rbx
mov dword [rbp - 0x57], 8
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x14000c5a3
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14000c5a3
mov rdx, rbx
lea rcx, [rbp - 0x6f]
call fcn.140004390
test eax, eax
je 0x14000c5a3
xor eax, eax
test rbx, rbx
je 0x14000c59f
mov rdx, qword [rbp - 0x6f]
nop dword [rax]
movzx ecx, byte [rsi + rax]
mov byte [rdx + rax], cl
inc rax
cmp rax, rbx
jb 0x14000c590
mov qword [rbp - 0x67], rbx
lea rcx, [r13 + 0xc8]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x20]
inc rax
cmp rcx, rax
ja 0x14000c5cc
mov rcx, rdi
call fcn.14000d010
mov rcx, qword [rdi + 0x10]
lea rax, [rcx - 1]
and qword [rdi + 0x18], rax
mov rdx, qword [rdi + 0x18]
add rdx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x10]
dec rax
and rax, rdx
lea rbx, [rax*8]
mov rcx, qword [rdi + 8]
cmp qword [rbx + rcx], 0
jne 0x14000c612
mov ecx, 0x21
call fcn.1400111ec
mov rcx, rax
mov rax, qword [rdi + 8]
mov qword [rbx + rax], rcx
mov rcx, qword [rdi + 8]
lea rdx, [rbp - 0x70]
mov rcx, qword [rbx + rcx]
call fcn.14000cb50
inc qword [rdi + 0x20]
lea rcx, [r13 + 0xc8]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
nop
mov r8, qword [rbp - 0x6f]
test r8, r8
je 0x14000c64a
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
test rsi, rsi
je 0x14000c661
mov r8, rsi
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [rbp - 0x30], 0xbe03882a
mov word [rbp - 0x2c], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp - 0x2a]
call fcn.14002f8c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 8
mov qword [rbp - 0x80], rbx
lea r9, [r13 + 0x28]
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.140001130
test al, al
jne 0x14000c540
movzx esi, byte [rsp + 0x50]
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x14000c6e4
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, r13
call fcn.14000c780
jmp 0x14000c736
test rdi, rdi
je 0x14000c706
mov r8, rdi
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x14000c71f
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, 2
mov rcx, r14
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
movzx eax, sil
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400111c0
mov rbx, qword [rsp + 0x248]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rbx], r15d
mov ecx, 6
call fcn.14000fe90
int3