Function at 0x140171650
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x2e0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x310], rbx
mov rdi, rcx
lea rbx, [rcx + 0x38]
mov qword [rsp + 0x308], rbx
xor ebp, ebp
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
lea ecx, [rbp + 0x10]
call fcn.1401d6e64
mov qword [rbx], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rbx]
mov qword [rax], rbx
lea rbx, [rdi + 0x88]
mov qword [rsp + 0x308], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov rcx, rbx
call fcn.140171ca0
mov qword [rbx], rax
lea rbx, [rdi + 0x98]
mov qword [rbx + 0x68], rbp
mov qword [rbx + 0xa8], rbp
mov edx, 0xfa0
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
movdqa xmm0, xmmword [0x1402563b0]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], bpl
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ConvertThreadToFiberEx]
test rax, rax
jne 0x14017175b
lea rcx, [rsp + 0x80]
call fcn.140175dc0
nop
mov r8, rax
lea rdx, str.ConvertThreadToFiberEx_failed_
lea rcx, [rsp + 0x60]
call fcn.140019b00
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140097b90
lea rcx, [rsp + 0x60]
call fcn.14002c3b0
nop
lea rcx, [rsp + 0x80]
call fcn.14002c3b0
jmp 0x1401718ce
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov qword [rdi], rax
test rax, rax
jne 0x1401717c7
lea rcx, [rsp + 0xc0]
call fcn.140175dc0
nop
mov r8, rax
lea rdx, str.CreateIoCompletionPort_failed_
lea rcx, [rsp + 0xa0]
call fcn.140019b00
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140097b90
lea rcx, [rsp + 0xa0]
call fcn.14002c3b0
nop
lea rcx, [rsp + 0xc0]
call fcn.14002c3b0
jmp 0x1401718c8
mov ecx, 0x202
lea rdx, [rsp + 0x140]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140171870
mov byte [rdi + 0x30], al
mov qword [rdi + 0x78], rbp
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rdi + 0x80], eax
mov rax, qword gs:[0x20]
mov qword [rbx], rax
mov word [rdi + 0xa0], 0
lea rax, [rdi + 0x148]
mov qword [rdi + 0xb0], rax
mov qword [rdi + 0xb8], rbp
mov qword [rdi + 0xc0], rbp
mov qword [rax], rbp
mov qword [rdi + 0x150], rbp
mov qword [rdi + 0x158], rbp
mov qword [rdi + 0x160], rbp
mov qword [rdi + 0x168], rbx
mov qword [rdi + 0x170], rbp
mov qword [rdi + 0x180], rbp
mov qword [rdi + 0x188], rbp
mov rax, rdi
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop rdi
pop rsi
pop rbp
ret
mov edx, eax
lea rcx, [rsp + 0x100]
call fcn.1401759f0
nop
mov r8, rax
lea rdx, str.WSAStartup_failed_
lea rcx, [rsp + 0xe0]
call fcn.140019b00
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140097b90
lea rcx, [rsp + 0xe0]
call fcn.14002c3b0
nop
lea rcx, [rsp + 0x100]
call fcn.14002c3b0
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea r8, [rsp + 0x20]
lea rdx, str.Dispatcher::Dispatcher_
lea rcx, [rsp + 0x120]
call fcn.140019b60
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400b5400
lea rdx, [0x14032e2a0]
lea rcx, [rsp + 0x48]
call fcn.1401f4780
int3