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

Disassembly:
push rdi
sub rsp, 0x1e0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x200], rbx
mov rax, qword [0x1800f0938]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x11c
lea rcx, [rsp + 0xb0]
call fcn.180099ff0
mov dword [rsp + 0xb0], 0x11c
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18001510f
mov r8d, dword [rsp + 0xb4]
mov eax, r8d
sub eax, 4
je 0x180015084
sub eax, 1
je 0x180014fb5
sub eax, 1
je 0x180014ee7
cmp eax, 4
je 0x180014e56
mov r9d, dword [rsp + 0xb8]
lea rdx, str.Windows__d._d
lea rcx, [rsp + 0x50]
call fcn.180002620
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.1800030f0
nop
cmp qword [rsp + 0x70], 8
jb 0x1800150fe
mov rcx, qword [rsp + 0x58]
call fcn.180098980
jmp 0x1800150fe
mov r9d, dword [rsp + 0xb8]
test r9d, r9d
je 0x180014ea9
mov r8d, 0xa
lea rdx, str.Windows__d._d
lea rcx, [rsp + 0x28]
call fcn.180002620
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.1800030f0
nop
cmp qword [rsp + 0x48], 8
jb 0x1800150fe
mov rcx, qword [rsp + 0x30]
call fcn.180098980
jmp 0x1800150fe
cmp byte [rsp + 0x1ca], 1
jne 0x180014ecd
mov r8d, 0x14
lea rdx, str.Microsoft_Windows_10
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
mov r8d, 0x1d
lea rdx, str.Microsoft_Windows_Server_2016
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
mov eax, dword [rsp + 0xb8]
test eax, eax
je 0x180014f77
cmp eax, 1
je 0x180014f39
cmp byte [rsp + 0x1ca], 1
jne 0x180014f1f
mov r8d, 0x13
lea rdx, str.Microsoft_Windows_8
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
mov r8d, 0x13
lea rdx, str.Windows_Server_2012
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
cmp byte [rsp + 0x1ca], 1
jne 0x180014f5d
mov r8d, 0x13
lea rdx, str.Microsoft_Windows_7
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
mov r8d, 0x20
lea rdx, str.Microsoft_Windows_Server_2008_R2
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
cmp byte [rsp + 0x1ca], 1
jne 0x180014f9b
mov r8d, 0x17
lea rdx, str.Microsoft_Windows_Vista
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
mov r8d, 0x1d
lea rdx, str.Microsoft_Windows_Server_2008
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
mov eax, dword [rsp + 0xb8]
test eax, eax
je 0x18001506d
sub eax, 1
je 0x180015053
cmp eax, 1
jne 0x1800150fe
cmp byte [rsp + 0x1ca], al
jne 0x180014fff
cmp word [rsp + 0x78], 9
jne 0x180014fff
lea r8d, [rax + 0x2c]
lea rdx, str.Microsoft_Windows_XP_Professional_x64_Edition
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x180015026
lea r8d, [rax + 0x1d]
lea rdx, str.Microsoft_Windows_Server_2003
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1800150fe
mov r8d, 0x20
lea rdx, str.Microsoft_Windows_Server_2003_R2
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
mov r8d, 0x14
lea rdx, str.Microsoft_Windows_XP
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
mov r8d, 0x16
lea rdx, str.Microsoft_Windows_2000
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
mov eax, dword [rsp + 0xb8]
test eax, eax
je 0x1800150c5
cmp eax, 0xa
je 0x1800150ae
cmp eax, 0x5a
jne 0x1800150fe
lea r8d, [rax - 0x46]
lea rdx, str.Microsoft_Windows_Me
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
mov r8d, 0x14
lea rdx, str.Microsoft_Windows_98
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
mov eax, dword [rsp + 0xc0]
cmp eax, 2
jne 0x1800150e6
lea r8d, [rax + 0x16]
lea rdx, [0x1800cb9d0]
mov rcx, rbx
call fcn.180003980
jmp 0x1800150fe
cmp eax, 1
jne 0x1800150fe
lea r8d, [rax + 0x13]
lea rdx, str.Microsoft_Windows_95
mov rcx, rbx
call fcn.180003980
mov eax, dword [rsp + 0xb4]
mov dword [rdi], eax
cmp qword [rbx + 0x18], 0
setne al
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.180099050
mov rbx, qword [rsp + 0x200]
add rsp, 0x1e0
pop rdi
ret