Function at 0x140054980
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.140064fcc
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.140054fd0
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 [0x1400b2c10]
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 0x140054a8b
lea rcx, [rsp + 0x80]
call fcn.1400568c0
nop
mov r8, rax
lea rdx, str.ConvertThreadToFiberEx_failed_
lea rcx, [rsp + 0x60]
call fcn.14000c560
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140051f40
lea rcx, [rsp + 0x60]
call fcn.1400095d0
nop
lea rcx, [rsp + 0x80]
call fcn.1400095d0
jmp 0x140054bfe
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 0x140054af7
lea rcx, [rsp + 0xc0]
call fcn.1400568c0
nop
mov r8, rax
lea rdx, str.CreateIoCompletionPort_failed_
lea rcx, [rsp + 0xa0]
call fcn.14000c560
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140051f40
lea rcx, [rsp + 0xa0]
call fcn.1400095d0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400095d0
jmp 0x140054bf8
mov ecx, 0x202
lea rdx, [rsp + 0x140]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140054ba0
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.1400564f0
nop
mov r8, rax
lea rdx, str.WSAStartup_failed_
lea rcx, [rsp + 0xe0]
call fcn.14000c560
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140051f40
lea rcx, [rsp + 0xe0]
call fcn.1400095d0
nop
lea rcx, [rsp + 0x100]
call fcn.1400095d0
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.14000c5c0
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140034210
lea rdx, [0x140100ee8]
lea rcx, [rsp + 0x48]
call fcn.1400827e4
int3