Function at 0x14000bca0
Capabilities:
Initialize winsock library

Disassembly:
push r15
sub rsp, 0x240
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x210], rax
lea rcx, [rsp + 0x50]
call fcn.14003da48
test eax, eax
jne 0x14000c074
mov rcx, qword [rsp + 0x50]
call fcn.14003da80
mov qword [0x140082c68], rax
test rax, rax
je 0x14000c167
mov rcx, rax
call fcn.14000e210
mov qword [0x140082c70], rax
test rax, rax
je 0x14000c167
mov edx, 0x5c
mov qword [rsp + 0x250], rbx
mov rcx, rax
call fcn.140032230
mov rcx, qword [0x140082c70]
inc rax
mov edx, 0x5c
mov qword [0x140082c60], rax
call fcn.140032230
mov rcx, qword [0x140082c68]
mov edx, 0x5c
mov byte [rax], 0
call fcn.140032554
mov rcx, qword [0x140082c60]
xor r15d, r15d
mov rbx, 0xffffffffffffffff
mov word [rax], r15w
mov rax, rbx
nop dword [rax + rax]
cmp byte [rcx + rax + 1], r15b
lea rax, [rax + 1]
jne 0x14000bd60
mov byte [rax + rcx - 4], r15b
lea r8, str.ProgramData
lea rcx, [0x140082c50]
mov qword [rsp + 0x58], r15
lea rdx, [rsp + 0x58]
call fcn.14003d32c
mov rcx, qword [0x140082c50]
test rcx, rcx
je 0x14000c0ad
call fcn.14000e170
mov qword [0x140082c58], rax
test rax, rax
je 0x14000c0e3
mov qword [rsp + 0x258], rbp
xor edx, edx
mov qword [rsp + 0x260], rsi
mov r8d, 0x820
mov qword [rsp + 0x238], rdi
mov edi, 0xfffffff6
mov qword [rsp + 0x230], r12
mov qword [rsp + 0x228], r13
lea r13, [0x140094360]
mov rcx, r13
mov qword [rsp + 0x220], r14
mov dword [0x140084338], 1
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x5c], 0xfffffff5
mov dword [rsp + 0x60], 0xfffffff4
call fcn.14004f880
mov esi, r15d
lea r12, [0x140094380]
lea r14, [rsp + 0x58]
nop dword [rax + rax]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbp, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000bea5
mov ecx, 0xc0
call fcn.14003d014
mov rdi, rax
test rax, rax
je 0x14000bebc
xor edx, edx
mov r8d, 0xc0
mov rcx, rax
call fcn.14004f880
movsxd rdx, esi
mov ecx, esi
sar rdx, 3
mov dword [rdi + 0x84], 3
mov qword [rdi + 0x90], rbp
mov qword [r12], rdi
mov dword [rdi + 0x80], esi
and ecx, 0x80000007
jge 0x14000be9a
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, 0x80
sar eax, cl
or byte [rdx + r13], al
inc esi
add r14, 4
add r12, 8
cmp esi, 2
jg 0x14000becc
mov edi, dword [r14]
jmp 0x14000be30
call fcn.14003d440
mov dword [rax], 0xc
jmp 0x14000bf72
lea r8, str.c28fc6f98a2c44abbbd89d6a3037d0d9_POSIX_FD_STATE
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14003d32c
test eax, eax
jne 0x14000bf0f
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000bf0f
call fcn.14000daf0
mov rcx, qword [rsp + 0x50]
call fcn.14003d000
lea rdx, [0x14005c1e4]
lea rcx, str.c28fc6f98a2c44abbbd89d6a3037d0d9_POSIX_FD_STATE
call fcn.14003de28
lea r8, str.c28fc6f98a2c44abbbd89d6a3037d0d9_POSIX_CHROOT
xor edx, edx
lea rcx, [0x1400841e0]
call fcn.14003d34c
mov rcx, qword [0x1400841e0]
test rcx, rcx
je 0x14000bf50
call fcn.14000e210
mov qword [0x1400841d8], rax
test rax, rax
je 0x14000bf72
inc rbx
cmp byte [rax + rbx], r15b
jne 0x14000bf41
mov dword [0x1400841e8], ebx
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x198
call fcn.14004f880
mov ecx, 0x202
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov ecx, 0x100010
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov r14, qword [rsp + 0x220]
mov r13, qword [rsp + 0x228]
mov r12, qword [rsp + 0x230]
mov rdi, qword [rsp + 0x238]
mov rsi, qword [rsp + 0x260]
mov rbp, qword [rsp + 0x258]
mov qword [0x1400a6708], rax
test rax, rax
je 0x14000c131
xor edx, edx
lea rcx, [0x1400a4f00]
mov r8d, 0x1808
call fcn.14004f880
mov edx, 1
lea rcx, [0x140013860]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
xorps xmm0, xmm0
mov dword [0x1400a4ee0], r15d
xor eax, eax
xor r8d, r8d
mov edx, 1
mov qword [0x1400a4e70], rax
xor ecx, ecx
movups xmmword [0x1400a4e80], xmm0
movups xmmword [0x1400a4e90], xmm0
movups xmmword [0x1400a4ea0], xmm0
movups xmmword [0x1400a4eb0], xmm0
movups xmmword [0x1400a4ec0], xmm0
movups xmmword [0x1400a4ed0], xmm0
movups xmmword [0x1400a4e60], xmm0
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov qword [0x1400a4e60], rax
test rax, rax
je 0x14000c126
mov rbx, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1400313f0
add rsp, 0x240
pop r15
ret
lea rax, str.unable_to_retrieve_wpgmptr
xor r15d, r15d
mov qword [rsp + 0x30], rax
lea rdx, str.init_prog_paths
mov qword [rsp + 0x28], r15
lea rcx, str.C:__w1_scontribwin32win32compatw32fd.c
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8d, 0xc6
call fcn.14001aa60
int3
lea rax, str.couldnt_find_ProgramData_environment_variable
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rdx, str.init_prog_paths
mov qword [rsp + 0x28], r15
lea rcx, str.C:__w1_scontribwin32win32compatw32fd.c
mov r8d, 0xd9
mov dword [rsp + 0x20], 1
call fcn.14001aa60
int3
mov dword [rsp + 0x40], 0xdc
lea rdx, str.init_prog_paths
mov qword [rsp + 0x38], rdx
lea rax, str._s_out_of_memory
mov qword [rsp + 0x30], rax
lea rcx, str.C:__w1_scontribwin32win32compatw32fd.c
mov qword [rsp + 0x28], r15
xor r9d, r9d
mov r8d, 0xdc
mov dword [rsp + 0x20], 1
call fcn.14001aa60
int3
call fcn.14003d440
mov dword [rax], 0xc
lea rax, str.failed_to_initialize_w32posix_wrapper
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rdx, str.w32posix_initialize
mov qword [rsp + 0x28], r15
lea rcx, str.C:__w1_scontribwin32win32compatw32fd.c
mov r8d, 0xeb
mov dword [rsp + 0x20], 1
call fcn.14001aa60
int3
lea rdx, str.init_prog_paths
xor r15d, r15d
mov qword [rsp + 0x38], rdx
lea rax, str._s_out_of_memory
mov qword [rsp + 0x30], rax
lea rcx, str.C:__w1_scontribwin32win32compatw32fd.c
mov qword [rsp + 0x28], r15
xor r9d, r9d
mov r8d, 0xca
mov dword [rsp + 0x20], 1
call fcn.14001aa60
int3