Function at 0x14016e190
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rdi, rcx
lea rbx, [rcx + 0x38]
mov qword [rbp + 0x148], rbx
xor r14d, r14d
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x20], r14
lea ecx, [r14 + 0x10]
call fcn.14018967c
mov qword [rax + 8], r14
mov qword [rbx], rax
mov qword [rax], rbx
lea rbx, [rdi + 0x88]
mov qword [rbp + 0x148], rbx
mov qword [rbx], r14
mov qword [rbx + 8], r14
lea ecx, [r14 + 0x30]
call fcn.14018967c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
lea rbx, [rdi + 0x98]
mov qword [rbx], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x68], r14
mov qword [rbx + 0xa8], r14
mov edx, 0xfa0
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], r14b
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ConvertThreadToFiberEx]
test rax, rax
jne 0x14016e2b0
lea rcx, [rsp + 0x60]
call fcn.140172620
nop
mov r8, rax
lea rdx, str.ConvertThreadToFiberEx_failed_
lea rcx, [rsp + 0x20]
call fcn.140010e60
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400088c0
lea rcx, [rsp + 0x20]
call fcn.140008440
nop
lea rcx, [rsp + 0x60]
call fcn.140008440
jmp 0x14016e40c
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 0x14016e310
lea rcx, [rsp + 0x20]
call fcn.140172620
nop
mov r8, rax
lea rdx, str.CreateIoCompletionPort_failed_
lea rcx, [rsp + 0x60]
call fcn.140010e60
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400088c0
lea rcx, [rsp + 0x60]
call fcn.140008440
nop
lea rcx, [rsp + 0x20]
call fcn.140008440
jmp 0x14016e406
mov ecx, 0x202
lea rdx, [rbp - 0x80]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14016e3ba
mov byte [rdi + 0x30], al
mov qword [rdi + 0x78], r14
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], r14
mov qword [rdi + 0xc0], r14
mov qword [rax], r14
mov qword [rdi + 0x150], r14
mov qword [rdi + 0x158], r14
mov qword [rdi + 0x160], r14
mov qword [rdi + 0x168], rbx
mov qword [rdi + 0x170], r14
mov qword [rdi + 0x180], r14
mov qword [rdi + 0x188], r14
mov rax, rdi
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140172250
nop
mov r8, rax
lea rdx, str.WSAStartup_failed_
lea rcx, [rsp + 0x60]
call fcn.140010e60
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400088c0
lea rcx, [rsp + 0x60]
call fcn.140008440
nop
lea rcx, [rsp + 0x20]
call fcn.140008440
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 + 0x40]
lea rdx, str.Dispatcher::Dispatcher_
lea rcx, [rsp + 0x60]
call fcn.140052590
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400ba200
lea rdx, [0x140227e18]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3