Function at 0x140002a30
Capabilities:
Initialize winsock library

Disassembly:
push rsi
sub rsp, 0x210
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
movzx eax, word [0x1400079a8]
movzx esi, cx
test ax, ax
jne 0x140002c14
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, eax
cmp eax, 0x276c
jne 0x140002a81
movzx ecx, word [rsp + 0x52]
call fcn.140002a30
jmp 0x140002c14
test edx, edx
jne 0x140002c72
mov qword [rsp + 0x228], rbx
xor edx, edx
mov qword [rsp + 0x230], rbp
xor r9d, r9d
mov qword [rsp + 0x208], rdi
xor r8d, r8d
mov qword [rsp + 0x200], r14
lea rcx, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov qword [0x1400079b0], rax
mov word [0x1400079a8], si
call qword [sym.imp.MSVCP140.dll__Thrd_hardware_concurrency]
mov ebx, eax
add ebx, ebx
je 0x140002be5
xor ebp, ebp
lea r14, [0x140002960]
mov rdi, qword [0x1400079b0]
lea rcx, [0x140007910]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140002c43
cmp dword [0x14000795c], 0x7fffffff
je 0x140002c2d
inc qword [0x1400078f8]
lea ecx, [rax + 0x18]
cmp qword [0x1400078e8], rbp
jne 0x140002b59
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [0x1400078e8], rax
test rax, rax
je 0x140002c96
mov qword [rax + 8], rbp
mov rax, qword [0x1400078e8]
mov qword [rax], rbp
mov rax, qword [0x1400078e8]
mov qword [rax + 0x10], rbp
mov rax, qword [0x1400078e8]
jmp 0x140002bb4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
mov rax, qword [0x1400078f0]
mov qword [rax + 0x10], rcx
mov rax, qword [0x1400078f0]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140002c4f
mov qword [rcx + 8], rbp
mov rax, qword [0x1400078f0]
mov rcx, qword [rax + 0x10]
mov qword [rcx], rbp
mov rax, qword [0x1400078f0]
mov rcx, qword [rax + 0x10]
mov qword [rcx + 0x10], rbp
mov rax, qword [0x1400078f0]
mov rax, qword [rax + 0x10]
inc qword [0x1400078f8]
mov qword [0x1400078f0], rax
lea rcx, [0x140007910]
mov qword [rax], r14
mov qword [rax + 8], rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rcx, [0x140007960]
call qword [sym.imp.MSVCP140.dll__Cnd_signal]
add ebx, 0xffffffff
jne 0x140002ae2
lea rcx, [0x140002910]
call fcn.140003028
mov rdi, qword [rsp + 0x208]
movzx eax, si
mov rbp, qword [rsp + 0x230]
mov rbx, qword [rsp + 0x228]
mov r14, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140002d70
add rsp, 0x210
pop rsi
ret
mov ecx, 6
mov dword [0x14000795c], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
lea rdx, str.Unable_to_allocate_memory_for_the_next_task.
lea rcx, [rsp + 0x20]
call fcn.1400020c0
lea rdx, [0x140005ae0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140001ee0
mov r8, rax
lea rcx, [rsp + 0x20]
call fcn.140001b80
lea rdx, [0x1400058d8]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.Unable_to_allocate_memory_for_the_next_task.
lea rcx, [rsp + 0x20]
call fcn.1400020c0
lea rdx, [0x140005ae0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3