Function at 0x140002110
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 [0x140032030]
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 0x140002483
xor edx, edx
lea rcx, [rsp + 0x170]
mov r8d, 0x400
call fcn.14000d090
mov r9d, dword [rsp + 0x58]
lea rdx, str.MajorVersion:_d__MinorVersion:_d
mov r8d, dword [rsp + 0x54]
lea rcx, [rsp + 0x170]
call fcn.140007d80
lea rax, [rsp + 0x170]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x1400021a4
lea rdx, [rsp + 0x170]
mov rcx, rsi
call fcn.140001b10
mov eax, dword [rsp + 0x54]
sub eax, 4
je 0x14000240d
sub eax, 1
je 0x1400022f5
sub eax, 1
je 0x140002218
mov rcx, rdi
cmp eax, 4
je 0x1400021fa
mov r8d, 0xe
lea rdx, str.Windows_UnKnow
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov ebx, 6
lea rdx, str.Windows_10
mov r8d, 0xa
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov eax, dword [rsp + 0x58]
mov ebx, 3
test eax, eax
je 0x1400022b3
sub eax, 1
je 0x14000226e
cmp eax, 1
je 0x14000224f
xor ebx, ebx
lea rdx, str.Windows_unknow
mov rcx, rdi
lea r8d, [rbx + 0xe]
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov ebx, 5
lea rdx, str.Windows_8
mov rcx, rdi
lea r8d, [rbx + 4]
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
cmp byte [rsp + 0x16a], 1
jne 0x140002297
mov ebx, 4
lea rdx, [0x14002d058]
mov rcx, rdi
lea r8d, [rbx + 5]
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
lea rdx, str.Windows_Server_2008_R2
mov r8d, 0x16
mov rcx, rdi
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
cmp byte [rsp + 0x16a], 1
jne 0x1400022d9
lea rdx, str.Windows_Vista
mov r8d, 0xd
mov rcx, rdi
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
lea rdx, str.Windows_Server_2008
mov r8d, 0x13
mov rcx, rdi
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1400023ec
sub eax, 1
je 0x1400023da
cmp eax, 1
je 0x14000232b
mov r8d, 0xe
lea rdx, str.Windows_unknow
mov rcx, rdi
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
cmp byte [rsp + 0x16a], 1
jne 0x14000236d
cmp word [rsp + 0x20], 9
jne 0x14000236d
mov r8d, 0x23
lea rdx, str.Windows_XP_Professional_x64_Edition
mov rcx, rdi
call fcn.140001b10
cmp word [rsp + 0x164], 3
jb 0x14000247f
mov ebx, 3
mov eax, ebx
jmp 0x14000249a
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x140002396
lea r8d, [rax + 0x13]
mov rcx, rdi
lea rdx, str.Windows_Server_2003
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, rdi
test eax, eax
je 0x1400023c1
mov r8d, 0x16
lea rdx, str.Windows_Server_2003_R2
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov r8d, 0xe
lea rdx, str.Windows_Server
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov r8d, 0xa
lea rdx, str.Windows_XP
jmp 0x14000234a
mov r8d, 0xc
lea rdx, str.Windows_2000
mov rcx, rdi
call fcn.140001b10
mov ebx, 2
mov eax, ebx
jmp 0x14000249a
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x140002445
cmp eax, 0xa
je 0x14000243c
mov rcx, rdi
cmp eax, 0x5a
jne 0x1400021e1
lea rdx, str.Windows_Me
mov r8d, 0xa
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
lea rdx, str.Windows_98
jmp 0x140002471
mov eax, dword [rsp + 0x60]
cmp eax, 2
jne 0x140002465
lea r8d, [rax + 0xc]
mov rcx, rdi
lea rdx, str.Windows_NT_4.0
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
cmp eax, 1
jne 0x14000247f
lea rdx, str.Windows_95
mov rcx, rdi
mov r8d, 0xa
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov r8d, 0xe
lea rdx, str.Windows_UnKnow
mov rcx, rdi
call fcn.140001b10
xor eax, eax
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.14000aa50
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret