Function at 0x140001160
Capabilities:
Check os version
Get system information on windows
Print debug messages

Disassembly:
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x1d0], rbx
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rbp + 0xb0], rax
movdqa xmm0, xmmword [0x14001d700]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.RtlGetNtVersionNumbers
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call rax
mov eax, dword [rsp + 0x50]
cmp eax, 6
jne 0x140001210
cmp dword [rsp + 0x28], 3
jne 0x140001248
lea r8d, [rax + 0xf]
lea rdx, str.Microsoft_Windows_8.1
lea rcx, [rsp + 0x30]
call fcn.140003db0
lea rcx, [0x14001c508]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, 2
jmp 0x140001520
cmp eax, 0xa
jne 0x140001248
cmp dword [rsp + 0x28], 0
jne 0x140001248
lea r8d, [rax + 0xa]
lea rdx, str.Microsoft_Windows_10
lea rcx, [rsp + 0x30]
call fcn.140003db0
lea rcx, [0x14001c508]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, 1
jmp 0x140001520
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [rbp - 0x70], 0x11c
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14000150e
mov eax, dword [rbp - 0x6c]
sub eax, 4
je 0x14000147a
sub eax, 1
je 0x14000138a
cmp eax, 1
je 0x1400012a2
mov r8d, 7
lea rdx, str.UNKNOWN
lea rcx, [rsp + 0x30]
call fcn.140003db0
jmp 0x14000151b
mov eax, dword [rbp - 0x68]
test eax, eax
je 0x140001344
sub eax, 1
je 0x1400012fe
cmp eax, 1
jne 0x14000151b
lea rcx, [rsp + 0x30]
cmp byte [rbp + 0xaa], al
jne 0x1400012e2
lea r8d, [rax + 0x12]
lea rdx, str.Microsoft_Windows_8
call fcn.140003db0
mov ebx, 2
jmp 0x140001520
mov r8d, 0x1d
lea rdx, str.Microsoft_Windows_Server_2012
call fcn.140003db0
mov ebx, 0xc
jmp 0x140001520
lea rcx, [rsp + 0x30]
cmp byte [rbp + 0xaa], 1
jne 0x140001328
mov r8d, 0x13
lea rdx, str.Microsoft_Windows_7
call fcn.140003db0
mov ebx, 0xd
jmp 0x140001520
mov r8d, 0x20
lea rdx, str.Microsoft_Windows_Server_2008_R2
call fcn.140003db0
mov ebx, 0xb
jmp 0x140001520
lea rcx, [rsp + 0x30]
cmp byte [rbp + 0xaa], 1
jne 0x14000136e
mov r8d, 0x17
lea rdx, str.Microsoft_Windows_Vista
call fcn.140003db0
mov ebx, 0xa
jmp 0x140001520
mov r8d, 0x1d
lea rdx, str.Microsoft_Windows_Server_2008
call fcn.140003db0
mov ebx, 0xb
jmp 0x140001520
mov eax, dword [rbp - 0x68]
test eax, eax
je 0x140001459
sub eax, 1
je 0x140001438
cmp eax, 1
jne 0x14000151b
cmp byte [rbp + 0xaa], al
jne 0x1400013d6
cmp word [rsp + 0x58], 9
jne 0x1400013d6
lea r8d, [rax + 0x2c]
lea rdx, str.Microsoft_Windows_XP_Professional_x64_Edition
lea rcx, [rsp + 0x30]
call fcn.140003db0
mov ebx, 8
jmp 0x140001520
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x140001404
lea r8d, [rax + 0x1d]
lea rdx, str.Microsoft_Windows_Server_2003
lea rcx, [rsp + 0x30]
call fcn.140003db0
mov ebx, 9
jmp 0x140001520
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x14000151b
mov r8d, 0x20
lea rdx, str.Microsoft_Windows_Server_2003_R2
lea rcx, [rsp + 0x30]
call fcn.140003db0
mov ebx, 9
jmp 0x140001520
mov r8d, 0x14
lea rdx, str.Microsoft_Windows_XP
lea rcx, [rsp + 0x30]
call fcn.140003db0
mov ebx, 8
jmp 0x140001520
mov r8d, 0x16
lea rdx, str.Microsoft_Windows_2000
lea rcx, [rsp + 0x30]
call fcn.140003db0
mov ebx, 7
jmp 0x140001520
mov eax, dword [rbp - 0x68]
test eax, eax
je 0x1400014c9
cmp eax, 0xa
je 0x1400014ab
cmp eax, 0x5a
jne 0x14000151b
lea r8d, [rax - 0x46]
lea rdx, str.Microsoft_Windows_Me
lea rcx, [rsp + 0x30]
call fcn.140003db0
mov ebx, 6
jmp 0x140001520
mov r8d, 0x14
lea rdx, str.Microsoft_Windows_98
lea rcx, [rsp + 0x30]
call fcn.140003db0
mov ebx, 5
jmp 0x140001520
mov eax, dword [rbp - 0x60]
cmp eax, 2
jne 0x1400014ed
lea r8d, [rax + 0x16]
lea rdx, str.Microsoft_Windows_NT_4.0
lea rcx, [rsp + 0x30]
call fcn.140003db0
mov ebx, 3
jmp 0x140001520
cmp eax, 1
jne 0x14000151b
lea r8d, [rax + 0x13]
lea rdx, str.Microsoft_Windows_95
lea rcx, [rsp + 0x30]
call fcn.140003db0
mov ebx, 4
jmp 0x140001520
lea rcx, str.Get_SYStem_Version_Error_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, 0xe
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140001559
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001554
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000157b
call fcn.140006cb0
mov eax, ebx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140006c50
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1c0
pop rbp
ret
call fcn.14000aa3c
int3