Function at 0x14003c560
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x140065738]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
lea rbx, [rcx + 0x38]
mov qword [rsp + 0x20], 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.140043ba0
mov qword [rax + 8], r14
mov qword [rbx], rax
mov qword [rax], rbx
lea rbx, [rdi + 0x88]
mov qword [rsp + 0x20], rbx
mov qword [rbx], r14
mov qword [rbx + 8], r14
lea ecx, [r14 + 0x30]
call fcn.140043ba0
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 + 0x68], r14
mov qword [rbx + 0xa8], r14
mov edx, 0xfa0
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], setsockopt
mov byte [rsp + 0x50], r14b
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ConvertThreadToFiberEx]
test rax, rax
jne 0x14003c686
lea rcx, [rsp + 0x70]
call fcn.14003f5f0
nop
mov r8, rax
lea rdx, str.ConvertThreadToFiberEx_failed_
lea rcx, [rsp + 0x30]
call fcn.14001db90
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140013fb0
lea rcx, [rsp + 0x30]
call fcn.140007d60
nop
lea rcx, [rsp + 0x70]
call fcn.140007d60
jmp 0x14003c7f1
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 0x14003c6e6
lea rcx, [rsp + 0x30]
call fcn.14003f5f0
nop
mov r8, rax
lea rdx, str.CreateIoCompletionPort_failed_
lea rcx, [rsp + 0x70]
call fcn.14001db90
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140013fb0
lea rcx, [rsp + 0x70]
call fcn.140007d60
nop
lea rcx, [rsp + 0x30]
call fcn.140007d60
jmp 0x14003c7eb
mov ecx, 0x202
lea rdx, [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14003c79f
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
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400441e0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.14003f200
nop
mov r8, rax
lea rdx, str.WSAStartup_failed_
lea rcx, [rsp + 0x70]
call fcn.14001db90
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140013fb0
lea rcx, [rsp + 0x70]
call fcn.140007d60
nop
lea rcx, [rsp + 0x30]
call fcn.140007d60
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 + 0x50]
lea rdx, str.Dispatcher::Dispatcher_
lea rcx, [rsp + 0x70]
call fcn.140011b20
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14003af60
lea rdx, [0x140060e00]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3