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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1c8
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1800f8370]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov dword [rsp + 0x30], 0
lea rdx, [0x1800cab3b]
lea rcx, [rsp + 0x70]
call fcn.1800067b0
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [rsp + 0x90], 0x11c
lea rdx, str.unknown_OperatingSystem.
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18002c265
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 4
je 0x18002c07b
cmp dword [rsp + 0x28], 5
je 0x18002c100
cmp dword [rsp + 0x28], 6
je 0x18002c1bc
jmp 0x18002c265
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x18002c09d
cmp dword [rsp + 0x20], 0xa
je 0x18002c0d7
cmp dword [rsp + 0x20], 0x5a
je 0x18002c0ea
jmp 0x18002c0fb
cmp dword [rsp + 0xa0], 2
jne 0x18002c0ba
lea rdx, str.Microsoft_Windows_NT_4.0
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
jmp 0x18002c0d5
cmp dword [rsp + 0xa0], 1
jne 0x18002c0d5
lea rdx, str.Microsoft_Windows_95
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
jmp 0x18002c0fb
lea rdx, str.Microsoft_Windows_98
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
jmp 0x18002c0fb
lea rdx, str.Microsoft_Windows_Me
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
jmp 0x18002c265
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x18002c125
cmp dword [rsp + 0x24], 1
je 0x18002c138
cmp dword [rsp + 0x24], 2
je 0x18002c14b
jmp 0x18002c1b7
lea rdx, str.Microsoft_Windows_2000
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
jmp 0x18002c1b7
lea rdx, str.Microsoft_Windows_XP
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
jmp 0x18002c1b7
movzx eax, byte [rsp + 0x1aa]
cmp eax, 1
jne 0x18002c175
movzx eax, word [rsp + 0x40]
cmp eax, 9
jne 0x18002c175
lea rdx, str.Microsoft_Windows_XP_Professional_x64_Edition
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
jmp 0x18002c1b7
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x18002c197
lea rdx, str.Microsoft_Windows_Server_2003
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
jmp 0x18002c1b7
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x18002c1b7
lea rdx, str.Microsoft_Windows_Server_2003_R2
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
jmp 0x18002c265
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x18002c1e1
cmp dword [rsp + 0x2c], 1
je 0x18002c214
cmp dword [rsp + 0x2c], 2
je 0x18002c247
jmp 0x18002c265
movzx eax, byte [rsp + 0x1aa]
cmp eax, 1
jne 0x18002c201
lea rdx, str.Microsoft_Windows_Vista
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
jmp 0x18002c212
lea rdx, str.Microsoft_Windows_Server_2008
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
jmp 0x18002c265
movzx eax, byte [rsp + 0x1aa]
cmp eax, 1
jne 0x18002c234
lea rdx, str.Microsoft_Windows_7
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
jmp 0x18002c245
lea rdx, str.Microsoft_Windows_Server_2008_R2
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
jmp 0x18002c265
movzx eax, byte [rsp + 0x1aa]
cmp eax, 1
jne 0x18002c265
lea rdx, str.Microsoft_Windows_10
lea rcx, [rsp + 0x70]
call fcn.18000e3f0
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x1d0]
call fcn.1800066e0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x70]
call fcn.180007220
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.18007e510
add rsp, 0x1c8
ret