Function at 0x14001dec0
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1401f05f0]
xor rax, rsp
mov qword [rbp + 0x90], rax
and dword [rsp + 0x30], 0
and dword [rcx], 0
mov rbx, rcx
mov dword [rcx + 0x1c], 3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.14001e1d0
lea rcx, [rsp + 0x74]
xor edx, edx
mov dword [rbx + 0x30], eax
and qword [rbx + 0x48], 0
mov qword [rbx + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x38], 0
mov r8d, 0x118
mov dword [rsp + 0x70], 0x11c
call fcn.140099550
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x78]
mov eax, dword [rsp + 0x7c]
mov dword [rbx + 4], edx
mov dword [rbx + 8], ecx
mov dword [rbx + 0xc], eax
cmp edx, 5
jne 0x14001df6b
test ecx, ecx
jle 0x14001dfb0
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [rbx], eax
jmp 0x14001dfb0
cmp edx, 6
jne 0x14001df98
test ecx, ecx
je 0x14001df90
dec ecx
je 0x14001df88
dec ecx
je 0x14001df80
mov dword [rbx], edx
jmp 0x14001dfb0
mov dword [rbx], 5
jmp 0x14001dfb0
mov dword [rbx], 4
jmp 0x14001dfb0
mov dword [rbx], 3
jmp 0x14001dfb0
cmp edx, 0xa
jne 0x14001dfa5
mov dword [rbx], 7
jmp 0x14001dfb0
cmp edx, 6
jle 0x14001dfb0
mov dword [rbx], 8
movzx eax, word [rbp + 0x84]
and dword [rsp + 0x38], 0
xor edx, edx
mov dword [rbx + 0x14], eax
movzx eax, word [rbp + 0x86]
lea r8d, [rdx + 0x2c]
lea rcx, [rsp + 0x3c]
mov dword [rbx + 0x18], eax
call fcn.140099550
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x38]
mov edx, 9
test eax, eax
je 0x14001e00d
cmp eax, 6
je 0x14001e004
cmp eax, edx
jne 0x14001e011
mov dword [rbx + 0x1c], 1
jmp 0x14001e011
mov dword [rbx + 0x1c], 2
jmp 0x14001e011
and dword [rbx + 0x1c], 0
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x74]
mov dword [rbx + 0x20], eax
mov eax, dword [rsp + 0x60]
mov qword [rbx + 0x28], rax
lea eax, [rcx - 6]
test eax, 0xfffffffb
je 0x14001e086
cmp ecx, 5
jne 0x14001e0e2
cmp dword [rsp + 0x78], 2
jne 0x14001e06a
cmp byte [rbp + 0x8a], 1
jne 0x14001e052
cmp word [rsp + 0x38], dx
je 0x14001e11d
movzx eax, word [rbp + 0x88]
not ax
movzx ecx, ax
shr ecx, 0xe
and ecx, 2
mov dword [rbx + 0x10], ecx
jmp 0x14001e0e6
cmp dword [rsp + 0x78], 1
jne 0x14001e0e2
movzx eax, word [rbp + 0x88]
not ax
movzx ecx, ax
shr ecx, 9
and ecx, 1
jmp 0x14001e065
lea rcx, [0x1400c6978]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1400c6968]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [rsp + 0x78]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x74]
xor r9d, r9d
xor r8d, r8d
call rax
mov eax, dword [rsp + 0x30]
cmp eax, 0xf
ja 0x14001e109
cmp eax, 0xc
jae 0x14001e126
cmp eax, 6
ja 0x14001e0da
mov ecx, 0x52
bt ecx, eax
jb 0x14001e11d
add eax, 0xfffffff9
cmp eax, 3
jbe 0x14001e126
and dword [rbx + 0x10], 0
mov rax, rbx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400991d0
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x1a0
pop rbp
ret
cmp eax, 0x11
jb 0x14001e0e2
cmp eax, 0x12
jbe 0x14001e126
cmp eax, 0x19
je 0x14001e126
cmp eax, 0x30
jne 0x14001e0e2
mov dword [rbx + 0x10], 1
jmp 0x14001e0e6
mov dword [rbx + 0x10], 2
jmp 0x14001e0e6