Function at 0x1400b0ca0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x1403c3d98]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r14, r9
mov qword [rbp - 0x70], r9
mov r12, r8
mov rsi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x68], rdx
mov rdi, qword [rbp + 0xa0]
xor r15d, r15d
mov qword [rsp + 0x60], r15
mov rax, r9
shr rax, 1
mov qword [rsp + 0x30], rax
mov r13, r9
sub r13, rax
lea ecx, [r15 + 0x38]
call fcn.1402958e0
mov rbx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1400b0d38
mov rdx, rdi
mov rcx, rax
call fcn.14007e350
mov qword [rbx + 0x20], r14
lea rax, [rsp + 0x60]
mov qword [rbx + 0x28], rax
lea rax, [0x1400af940]
mov qword [rbx + 0x30], rax
jmp 0x1400b0d3b
mov rbx, r15
mov qword [rbp - 0x60], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbx
lea r8, [0x1400af0d0]
xor edx, edx
xor ecx, ecx
call fcn.14029ec88
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400b1194
lea rax, [rsp + 0x68]
mov qword [rbp], rax
lea rax, [rsp + 0x60]
mov qword [rbp + 8], rax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x10], rax
mov ecx, pe_nt_image_headers64
call fcn.1402958e0
mov rdi, rax
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1400b0e2d
lea rax, vtable.std::_Associated_state_char____ptr64_.0
mov qword [rdi], rax
mov dword [rdi + 8], 1
lea rcx, [rdi + 0x18]
call fcn.140294e88
lea rcx, [rdi + 0x28]
mov edx, 2
call fcn.140294258
lea rcx, [rdi + 0x78]
call fcn.140295130
mov byte [rdi + 0xc0], 0
mov dword [rdi + 0xc4], r15d
mov word [rdi + 0xc8], 0
mov byte [rdi + 0xca], 0
mov qword [rdi + 0xd0], r15
lea rax, vtable.std::_Packaged_state_char____ptr64____cdecl___void__.0
mov qword [rdi], rax
lea rax, [rdi + 0xd8]
lea rcx, vtable.std::_Func_impl_no_alloc_class__lambda_1de8a9608863b18a1c8f7161b341c123___char____ptr64___.0
mov qword [rax], rcx
movups xmm0, xmmword [rbp]
movups xmmword [rax + 8], xmm0
movsd xmm1, qword [rbp + 0x10]
movsd qword [rax + 0x18], xmm1
mov qword [rax + 0x38], rax
jmp 0x1400b0e30
mov rdi, r15
mov qword [rsp + 0x70], rdi
mov byte [rsp + 0x78], 0
mov byte [rbp - 0x80], 0
test rdi, rdi
je 0x1400b11a4
mov byte [rbp - 0x80], 1
lock inc dword [rdi + 8]
mov qword [rbp - 0x48], rdi
mov byte [rbp - 0x40], 1
mov ecx, 0x18
call fcn.1402958e0
test rax, rax
je 0x1400b0e89
mov qword [rax], r15
lea rdx, [rsp + 0x70]
cmp rax, rdx
je 0x1400b0e7f
mov qword [rax], rdi
mov qword [rsp + 0x70], r15
mov byte [rax + 8], 0
mov byte [rax + 8], 0
mov byte [rax + 0x10], 1
jmp 0x1400b0e8c
mov rax, r15
mov qword [rbp - 0x50], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x1400af160]
xor edx, edx
xor ecx, ecx
call fcn.14029ec88
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400b117e
cmp dword [rsp + 0x58], 0
je 0x1400b11e9
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call fcn.140293ae8
test eax, eax
jne 0x1400b11af
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov r8, r13
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400b43e0
mov r15, rax
test rax, rax
jne 0x1400b0f7d
mov rbx, qword [rsp + 0x68]
mov rcx, r12
call fcn.14008e0c0
mov rcx, rbx
call fcn.14008e0c0
mov byte [0x1403c66d1], 1
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
xor eax, eax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
cmp dword [rsp + 0x58], eax
jne 0x1400b11e3
mov eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400b0f78
mov rcx, qword [rdi + 0xd0]
test rcx, rcx
je 0x1400b0f6a
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax]
jmp 0x1400b0f78
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
jmp 0x1400b1031
cmp byte [rdi + 0xc0], 0
jne 0x1400b11b7
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x48], 0
mov byte [rbp - 0x18], 1
cmp byte [rdi + 0xc0], 0
jne 0x1400b11c2
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov r14, qword [rax]
mov eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400b0ff2
mov rcx, qword [rdi + 0xd0]
test rcx, rcx
je 0x1400b0fe4
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax]
jmp 0x1400b0ff2
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
test r14, r14
jne 0x1400b106a
mov rbx, qword [rsp + 0x68]
mov rcx, r12
call fcn.14008e0c0
mov rcx, rbx
call fcn.14008e0c0
mov byte [0x1403c66d1], 1
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
xor eax, eax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
cmp dword [rsp + 0x58], eax
jne 0x1400b11e3
lea rcx, [rsp + 0x70]
call fcn.1400af4e0
nop
cmp dword [rsp + 0x48], 0
jne 0x1400b118e
mov rax, rsi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1402959c0
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, dword [rsp + 0x48]
test eax, eax
setne cl
test eax, eax
je 0x1400b10b4
test cl, cl
je 0x1400b11e9
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsp + 0x48], eax
je 0x1400b11cd
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x60], xmm0
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140293b0c
test eax, eax
jne 0x1400b11d8
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
xor r8d, r8d
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp]
call fcn.14007b1c0
lea rcx, [rbp]
mov rbx, qword [rbp]
mov rdi, qword [rbp + 0x18]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x1400b1109
test rcx, rcx
jne 0x1400b10f9
call fcn.14029cb50
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14029c9e4
jmp 0x1400b1109
mov rdx, r14
call fcn.140296c90
mov rdi, qword [rbp + 0x18]
mov rbx, qword [rbp]
mov rcx, r14
call fcn.14029591c
lea rcx, [rbp]
cmp rdi, 0x10
cmovae rcx, rbx
add rcx, qword [rsp + 0x30]
test r13, r13
je 0x1400b1149
test rcx, rcx
jne 0x1400b113e
call fcn.14029cb50
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14029c9e4
jmp 0x1400b1149
mov r8, r13
mov rdx, r15
call fcn.140296c90
mov rcx, r15
call fcn.14029591c
movups xmm0, xmmword [rbp]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x10]
movups xmmword [rsi + 0x10], xmm1
cmp dword [rsp + 0x58], 0
jne 0x1400b11e3
lea rcx, [rsp + 0x70]
call fcn.1400af4e0
nop
cmp dword [rsp + 0x48], 0
jne 0x1400b118e
jmp 0x1400b1047
mov dword [rsp + 0x58], r15d
mov ecx, 6
call fcn.140293eec
nop
call fcn.14029eb24
nop
mov dword [rsp + 0x48], r15d
mov ecx, 6
call fcn.140293eec
nop
mov ecx, 4
call fcn.1400b4ef0
nop
mov ecx, eax
call fcn.140293eb0
int3
mov ecx, 4
call fcn.1400b4ef0
nop
mov ecx, 4
call fcn.1400b4ef0
nop
mov ecx, 5
call fcn.140293eec
int3
mov ecx, 2
call fcn.140293eec
nop
call fcn.14029eb24
nop
mov ecx, 1
call fcn.140293eec
int3