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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x18004a010]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rbx, rcx
mov dword [rsp + 0x50], 0x11c
lea rcx, [rsp + 0x54]
xor edx, edx
mov r8d, pe_nt_image_headers64
call fcn.180023140
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x30]
call fcn.180023140
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rax, str.Unknown
mov qword [rbx], rax
mov eax, dword [rsp + 0x54]
sub eax, 3
je 0x180010cae
sub eax, 1
je 0x180010c5c
sub eax, 1
je 0x180010bd5
sub eax, 1
je 0x180010b3a
cmp eax, 4
jne 0x180010cc6
cmp dword [rsp + 0x60], 2
jne 0x180010cc6
cmp dword [rsp + 0x58], 0
jne 0x180010cc6
cmp byte [rbp + 0x6a], 1
je 0x180010b2e
lea rax, str.Windows_Server_2016
jmp 0x180010cc3
lea rax, str.Windows_10
jmp 0x180010cc3
cmp dword [rsp + 0x60], 2
jne 0x180010cc6
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x180010bb7
sub eax, 1
je 0x180010b9a
sub eax, 1
je 0x180010b7d
cmp eax, 1
jne 0x180010cc6
cmp byte [rbp + 0x6a], al
je 0x180010b71
lea rax, str.Windows_Server_2012_R2
jmp 0x180010cc3
lea rax, str.Windows_8.1
jmp 0x180010cc3
cmp byte [rbp + 0x6a], 1
lea rax, str.Windows_Server_2012
jne 0x180010cc3
lea rax, str.Windows_8
jmp 0x180010cc3
cmp byte [rbp + 0x6a], 1
lea rax, str.Windows_Server_2008_R2
jne 0x180010cc3
lea rax, str.Windows_7
jmp 0x180010cc3
cmp byte [rbp + 0x6a], 1
je 0x180010bc9
lea rax, str.Windows_Server_2008
jmp 0x180010cc3
lea rax, str.Windows_Vista
jmp 0x180010cc3
cmp dword [rsp + 0x60], 2
jne 0x180010cc6
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x180010c53
sub eax, 1
je 0x180010c4a
cmp eax, 1
jne 0x180010cc6
cmp byte [rbp + 0x6a], al
jne 0x180010c0f
cmp word [rsp + 0x20], 9
jne 0x180010c0f
lea rax, str.Windows_XP_Professional_x64_Edition
jmp 0x180010cc3
mov eax, 0x8000
test word [rbp + 0x68], ax
je 0x180010c26
lea rax, str.Windows_Home_Server
jmp 0x180010cc3
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
lea rcx, str.Windows_Server_2003
lea rdx, str.Windows_Server_2003_R2
cmovne rcx, rdx
mov qword [rbx], rcx
jmp 0x180010cc6
lea rax, str.Windows_XP
jmp 0x180010cc3
lea rax, str.Windows_2000
jmp 0x180010cc3
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x180010c8e
cmp eax, 0xa
je 0x180010c7e
cmp eax, 0x5a
jne 0x180010cc6
cmp dword [rsp + 0x60], 1
jne 0x180010cc6
lea rax, str.Windows_Me
jmp 0x180010cc3
cmp dword [rsp + 0x60], 1
jne 0x180010cc6
lea rax, str.Windows_98
jmp 0x180010cc3
cmp dword [rsp + 0x60], 2
jne 0x180010c9e
lea rax, str.Windows_NT_4.0
jmp 0x180010cc3
cmp dword [rsp + 0x60], 1
jne 0x180010cc6
lea rax, str.Windows_95
jmp 0x180010cc3
cmp dword [rsp + 0x58], 0x33
jne 0x180010cc6
cmp dword [rsp + 0x60], 2
jne 0x180010cc6
lea rax, str.Windows_NT_3.51
mov qword [rbx], rax
lea rcx, [rbx + 8]
mov edx, 0x80
lea r8, [rsp + 0x64]
call fcn.180029998
mov ecx, dword [rsp + 0x5c]
lea rdx, [rbx + 0x108]
mov r9d, 0xa
lea r8d, [r9 + 6]
call fcn.1800261dc
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.180021cb0
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rbp
ret