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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x580
mov rax, qword [0x140035030]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov rdi, rcx
mov rsi, rdx
lea rcx, [rsp + 0x20]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400024f3
xor edx, edx
lea rcx, [rsp + 0x170]
mov r8d, 0x400
call fcn.14000e080
mov r9d, dword [rsp + 0x58]
lea rdx, str.MajorVersion:_d__MinorVersion:_d
mov r8d, dword [rsp + 0x54]
lea rcx, [rsp + 0x170]
call fcn.140009490
lea rax, [rsp + 0x170]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x140002214
lea rdx, [rsp + 0x170]
mov rcx, rsi
call fcn.140001ae0
mov eax, dword [rsp + 0x54]
sub eax, 4
je 0x14000247d
sub eax, 1
je 0x140002365
sub eax, 1
je 0x140002288
mov rcx, rdi
cmp eax, 4
je 0x14000226a
mov r8d, 0xe
lea rdx, str.Windows_UnKnow
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
mov ebx, 6
lea rdx, str.Windows_10
mov r8d, 0xa
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
mov eax, dword [rsp + 0x58]
mov ebx, 3
test eax, eax
je 0x140002323
sub eax, 1
je 0x1400022de
cmp eax, 1
je 0x1400022bf
xor ebx, ebx
lea rdx, str.Windows_unknow
mov rcx, rdi
lea r8d, [rbx + 0xe]
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
mov ebx, 5
lea rdx, str.Windows_8
mov rcx, rdi
lea r8d, [rbx + 4]
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
cmp byte [rsp + 0x16a], 1
jne 0x140002307
mov ebx, 4
lea rdx, [0x14002f1a8]
mov rcx, rdi
lea r8d, [rbx + 5]
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
lea rdx, str.Windows_Server_2008_R2
mov r8d, 0x16
mov rcx, rdi
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
cmp byte [rsp + 0x16a], 1
jne 0x140002349
lea rdx, str.Windows_Vista
mov r8d, 0xd
mov rcx, rdi
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
lea rdx, str.Windows_Server_2008
mov r8d, 0x13
mov rcx, rdi
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14000245c
sub eax, 1
je 0x14000244a
cmp eax, 1
je 0x14000239b
mov r8d, 0xe
lea rdx, str.Windows_unknow
mov rcx, rdi
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
cmp byte [rsp + 0x16a], 1
jne 0x1400023dd
cmp word [rsp + 0x20], 9
jne 0x1400023dd
mov r8d, 0x23
lea rdx, str.Windows_XP_Professional_x64_Edition
mov rcx, rdi
call fcn.140001ae0
cmp word [rsp + 0x164], 3
jb 0x1400024ef
mov ebx, 3
mov eax, ebx
jmp 0x14000250a
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x140002406
lea r8d, [rax + 0x13]
mov rcx, rdi
lea rdx, str.Windows_Server_2003
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, rdi
test eax, eax
je 0x140002431
mov r8d, 0x16
lea rdx, str.Windows_Server_2003_R2
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
mov r8d, 0xe
lea rdx, str.Windows_Server
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
mov r8d, 0xa
lea rdx, str.Windows_XP
jmp 0x1400023ba
mov r8d, 0xc
lea rdx, str.Windows_2000
mov rcx, rdi
call fcn.140001ae0
mov ebx, 2
mov eax, ebx
jmp 0x14000250a
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1400024b5
cmp eax, 0xa
je 0x1400024ac
mov rcx, rdi
cmp eax, 0x5a
jne 0x140002251
lea rdx, str.Windows_Me
mov r8d, 0xa
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
lea rdx, str.Windows_98
jmp 0x1400024e1
mov eax, dword [rsp + 0x60]
cmp eax, 2
jne 0x1400024d5
lea r8d, [rax + 0xc]
mov rcx, rdi
lea rdx, str.Windows_NT_4.0
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
cmp eax, 1
jne 0x1400024ef
lea rdx, str.Windows_95
mov rcx, rdi
mov r8d, 0xa
call fcn.140001ae0
mov eax, ebx
jmp 0x14000250a
mov r8d, 0xe
lea rdx, str.Windows_UnKnow
mov rcx, rdi
call fcn.140001ae0
xor eax, eax
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.14000b8a0
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret