Function at 0x14000a790
Capabilities:
Check os version
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
xorps xmm0, xmm0
mov dword [rsp + 0x60], __WSAFDIsSet
lea rcx, [rsp + 0x60]
mov r12, r8
movups xmmword [rsp + 0x64], xmm0
mov r13, rdx
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x14000a807
cmp dword [rsp + 0x64], 5
jne 0x14000a818
cmp dword [rsp + 0x68], 2
jne 0x14000a818
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x118
pop r15
pop r13
pop r12
pop rbp
ret
mov edx, 0x4c
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rdx - 0xc]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r15, rax
test rax, rax
je 0x14000a807
mov edx, 0x7c
mov qword [rsp + 0x110], rsi
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rdx - 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x14000a876
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14000aa97
xor eax, eax
mov qword [rsp + 0x148], rbx
mov qword [rsp + 0x30], rax
xor ebx, ebx
mov byte [rsp + 0x38], al
movabs r9, 0x55b29728d566019d
mov qword [rsp + 0x108], rdi
mov rdi, r15
mov dword [rsp + 0x20], 0xf2b5e3d
mov dword [rsp + 0x24], 0x1c191f30
mov dword [rsp + 0x28], 0x1c1a193b
mov dword [rsp + 0x2c], 0xe7271810
mov qword [rbp + 0x58], rbx
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x100], r14
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x58]
add rcx, r9
movzx edx, byte [rsp + rax + 0x20]
mov rax, rcx
and rax, rdx
imul r8, rax, 0xfffffffffffffffe
mov rax, qword [rbp + 0x58]
add r8, rcx
add r8, rdx
sub r8b, 0x4b
mov byte [rsp + rax + 0x20], r8b
mov rax, qword [rbp + 0x58]
inc rax
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
cmp rax, 0x19
jb 0x14000a8d0
xor eax, eax
mov dword [rsp + 0x40], 0xe9f9e9ea
mov dword [rsp + 0x5b], eax
xorps xmm0, xmm0
mov byte [rsp + 0x5f], al
movabs r9, 0x6a31e662aaf38d4
movups xmmword [rsp + 0x4b], xmm0
mov dword [rsp + 0x44], 0xeb20d998
mov word [rsp + 0x48], 0xe5e4
mov byte [rsp + 0x4a], reloc.WS2_32.dll_select
mov qword [rbp + 0x58], rbx
mov rax, qword [rbp + 0x58]
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x58]
add rcx, r9
movzx edx, byte [rsp + rax + 0x40]
mov rax, rcx
and rax, rdx
imul r8, rax, 0xfffffffffffffffe
mov rax, qword [rbp + 0x58]
add r8, rcx
add r8, rdx
add r8b, 0x34
mov byte [rsp + rax + 0x40], r8b
mov rax, qword [rbp + 0x58]
inc rax
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
cmp rax, 0x20
jb 0x14000a960
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rax, [0x140000000]
nop word [rax + rax]
mov rcx, qword [rbx + rax + 0x4bdf8]
mov rdx, rdi
call r14
test eax, eax
jne 0x14000ab12
add rdi, 0x10
lea rax, [0x140000000]
add rbx, 8
cmp rbx, 8
jb 0x14000a9d0
mov rdi, rsi
xor ebx, ebx
lea rax, [0x140000000]
mov rdx, rdi
mov rcx, qword [rbx + rax + 0x4bd60]
call r14
test eax, eax
jne 0x14000ab12
add rdi, 0x10
add rbx, 8
cmp rbx, 8
jb 0x14000aa00
mov rax, qword [rbp + 0x40]
lea rdx, [rsi + 0x4c]
mov rcx, rsi
mov qword [rdx], rax
mov qword [rsi + 0x70], 0
mov qword [rsi + 0x58], r13
mov qword [rsi + 0x64], r12
call r15
test eax, eax
jne 0x14000aaae
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rdi, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x148]
mov r14, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x110]
add rsp, 0x118
pop r15
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rsi + 0x70]
test rcx, rcx
jne 0x14000aae0
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, 6
jmp 0x14000aa77
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
jmp 0x14000aa7f
mov eax, 0xffffffff
jmp 0x14000aa7f