Function at 0x140128c20
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.14014f704
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.140129270
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 [0x1401b6b30]
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 0x140128d2b
lea rcx, [rsp + 0x80]
call fcn.14012e6a0
nop
mov r8, rax
lea rdx, str.ConvertThreadToFiberEx_failed_
lea rcx, [rsp + 0x60]
call fcn.14001af10
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140037ca0
lea rcx, [rsp + 0x60]
call fcn.14001d000
nop
lea rcx, [rsp + 0x80]
call fcn.14001d000
jmp 0x140128e9e
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 0x140128d97
lea rcx, [rsp + 0xc0]
call fcn.14012e6a0
nop
mov r8, rax
lea rdx, str.CreateIoCompletionPort_failed_
lea rcx, [rsp + 0xa0]
call fcn.14001af10
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140037ca0
lea rcx, [rsp + 0xa0]
call fcn.14001d000
nop
lea rcx, [rsp + 0xc0]
call fcn.14001d000
jmp 0x140128e98
mov ecx, 0x202
lea rdx, [rsp + 0x140]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140128e40
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.14012e2d0
nop
mov r8, rax
lea rdx, str.WSAStartup_failed_
lea rcx, [rsp + 0xe0]
call fcn.14001af10
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140037ca0
lea rcx, [rsp + 0xe0]
call fcn.14001d000
nop
lea rcx, [rsp + 0x100]
call fcn.14001d000
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.14001af70
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001cb20
lea rdx, [0x140275160]
lea rcx, [rsp + 0x48]
call fcn.14016cf20
int3