Function at 0x1400f09a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rbx, rcx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], shutdown
mov byte [rsp + 0x60], r14b
mov r15d, 0x48
nop word [rax + rax]
movzx eax, byte [rbx + 0x50]
nop
test al, al
jne 0x1400f0441
cmp qword [rbx + 0x28], 0
je 0x1400f01a9
movzx ecx, byte [rbx + 0x38]
test cl, cl
je 0x1400f0171
call fcn.1400f9930
lea rdx, [rbx + 0x18]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400f0183
mov rdx, qword [rdx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005740
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
cmp byte [rbx + 0x38], 0
je 0x1400f01a9
xor ecx, ecx
call fcn.1400f9930
lea rcx, [rbx + 0xa0]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400f0490
cmp qword [rbx + 0x90], 0
jne 0x1400f0201
cmp byte [rbx + 0x98], 0
jne 0x1400f01ef
lea rcx, [rbx + 0xf0]
lea rdx, [rbx + 0xa0]
call sub.MSVCP140.dll__Cnd_wait
cmp qword [rbx + 0x90], 0
je 0x1400f01c7
jmp 0x1400f0201
lea rcx, [rbx + 0xa0]
call fcn.140116152
nop
jmp 0x1400f0441
mov rcx, qword [rbx + 0x80]
dec rcx
and rcx, qword [rbx + 0x88]
mov rax, qword [rbx + 0x78]
mov rsi, qword [rax + rcx*8]
lea rax, [rsp + 0x60]
cmp rax, rsi
je 0x1400f0294
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400f0261
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f025c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f0305
call fcn.140116250
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], shutdown
mov byte [rsp + 0x60], 0
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], shutdown
mov byte [rsi], 0
mov rcx, qword [rbx + 0x80]
dec rcx
and rcx, qword [rbx + 0x88]
mov rax, qword [rbx + 0x78]
mov rsi, qword [rax + rcx*8]
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400f02e3
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400f02de
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400f0305
mov rcx, r8
call fcn.140116250
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], shutdown
mov byte [rsi], 0
sub qword [rbx + 0x90], 1
jne 0x1400f030c
mov qword [rbx + 0x88], r14
jmp 0x1400f0313
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
inc qword [rbx + 0x88]
cmp byte [rbx + 0x98], 0
je 0x1400f0334
cmp qword [rbx + 0x90], 0
jne 0x1400f0334
lea rcx, [rbx + 0x138]
call sub.MSVCP140.dll__Cnd_broadcast
jmp 0x1400f0340
lea rcx, [rbx + 0x138]
call sub.MSVCP140.dll__Cnd_signal
lea rcx, [rbx + 0xa0]
call fcn.140116152
nop
mov cl, 1
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_
mov rdi, rax
mov qword [rsp + 0x28], rax
mov word [rsp + 0x30], r15w
mov qword [rsp + 0x40], rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.WS2_32.dll_htonl]
lea rax, [rsp + 0x30]
mov qword [rsp + 0xb8], rax
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x48], ax
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x58], rcx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.14002b690
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x48], ax
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x58], rcx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.14002b560
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400f03f7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1400f03f7
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1400f0416
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
cmp qword [rsp + 0x70], 0
je 0x1400f042c
mov rax, qword [rbx]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [rax]
nop
jmp 0x1400f0150
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400f0481
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f047c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f047c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140116250
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movzx edi, r9b
mov rax, r8
movzx esi, dl
mov rbx, rcx
add rcx, 0x18
cmp rcx, r8
je 0x1400f09db
mov r8, qword [r8 + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1400f09d3
mov rax, qword [rax]
mov rdx, rax
call fcn.14000d350
mov byte [rbx + 0x38], dil
lea rcx, [rbx + 0x50]
call fcn.1400f0910
test sil, sil
je 0x1400f0a68
mov ecx, reloc.WS2_32.dll_recv
call fcn.140116214
xor edi, edi
test rax, rax
je 0x1400f0a0e
lea rcx, [0x1400f0110]
mov qword [rax], rcx
mov qword [rax + 8], rbx
jmp 0x1400f0a11
mov rax, rdi
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1400ef250]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400f0a7f
cmp dword [rbx + 0x10], 0
jne 0x1400f0a61
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 8], xmm0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
jmp 0x1400f0110
mov dword [rsp + 0x38], edi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3