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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
lea rbp, [rsp - 0x1a8]
sub rsp, 0x2a8
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rbp + 0x190], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
lea rcx, [rsp + 0x54]
mov dword [0x14017fb3c], eax
xor edx, edx
mov eax, dword [rsp + 0x48]
mov r8d, 0x118
mov dword [0x14017e8a0], eax
mov rax, qword [rsp + 0x30]
mov qword [0x140176e88], rax
mov eax, dword [rsp + 0x40]
mov dword [0x140176e98], eax
call fcn.1400fed10
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x140080a27
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov rbx, qword [0x14017f7f8]
test rbx, rbx
jne 0x140080a63
lea rcx, str.NTDLL.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017f7f8], rax
mov rbx, rax
test rax, rax
je 0x140080b07
xor edx, edx
lea rcx, [rbp + 0x74]
mov r8d, 0x118
call fcn.1400fed10
lea rcx, [rbp + 0x70]
mov dword [rbp + 0x70], 0x11c
mov rax, rbx
call qword [case.0x1400a96cf.0]
test eax, eax
jne 0x140080b07
lea rcx, [rsp + 0x50]
mov eax, 2
lea rdx, [rbp + 0x70]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140080aa0
mov rax, qword [rdx + 0x10]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x18], eax
mov rax, qword [rsp + 0x50]
shr rax, 0x20
cmp dword [rsp + 0x60], 2
jne 0x140080cd7
mov ecx, 0xa
cmp eax, 5
jb 0x140080d27
mov ecx, 0xb
cmp eax, 6
jb 0x140080cc9
mov ecx, 0xd
cmp eax, 7
jb 0x140080c97
mov ecx, 0x11
cmp eax, 0xb
jae 0x140080b68
cmp eax, 0xa
jb 0x140080d27
mov rax, qword [rsp + 0x58]
shr rax, 0x20
cmp eax, 0x5867
jb 0x140080b72
mov ecx, 0x23
jmp 0x140080d27
cmp eax, 0x585d
jb 0x140080b83
mov ecx, 0x22
jmp 0x140080d27
cmp eax, 0x55f0
jb 0x140080b94
mov ecx, 0x21
jmp 0x140080d27
cmp eax, 0x4a67
jb 0x140080ba5
mov ecx, 0x20
jmp 0x140080d27
cmp eax, 0x4a66
jb 0x140080bb6
mov ecx, 0x1f
jmp 0x140080d27
cmp eax, 0x4a65
jb 0x140080bc7
mov ecx, 0x1e
jmp 0x140080d27
cmp eax, 0x4a64
jb 0x140080bd8
mov ecx, 0x1d
jmp 0x140080d27
cmp eax, 0x4a63
jb 0x140080be9
mov ecx, 0x1c
jmp 0x140080d27
cmp eax, 0x4a62
jb 0x140080bfa
mov ecx, 0x1b
jmp 0x140080d27
cmp eax, 0x4a38
jb 0x140080c0b
mov ecx, 0x1a
jmp 0x140080d27
cmp eax, 0x47bb
jb 0x140080c1c
mov ecx, 0x19
jmp 0x140080d27
cmp eax, 0x4650
jb 0x140080c2d
mov ecx, 0x18
jmp 0x140080d27
cmp eax, 0x44c0
jb 0x140080c3e
mov ecx, 0x17
jmp 0x140080d27
cmp eax, 0x4268
jb 0x140080c4f
mov ecx, 0x16
jmp 0x140080d27
cmp eax, 0x3e80
jb 0x140080c60
mov ecx, 0x15
jmp 0x140080d27
cmp eax, 0x3a98
jb 0x140080c71
mov ecx, 0x14
jmp 0x140080d27
cmp eax, 0x36b0
jb 0x140080c82
mov ecx, 0x13
jmp 0x140080d27
cmp eax, 0x295a
jb 0x140080d27
mov ecx, 0x12
jmp 0x140080d27
mov eax, dword [rsp + 0x58]
cmp eax, 1
jb 0x140080d27
mov ecx, 0xe
cmp eax, 2
jb 0x140080d27
mov ecx, 0xf
cmp eax, 3
jb 0x140080d27
mov ecx, 0x10
cmp eax, 4
jb 0x140080d27
mov ecx, 0x11
jmp 0x140080d27
cmp dword [rsp + 0x58], 1
jb 0x140080d27
mov ecx, 0xc
jmp 0x140080d27
cmp eax, 4
jne 0x140080d25
lea ecx, [rax - 3]
mov eax, dword [rsp + 0x58]
test eax, eax
jne 0x140080d01
mov rax, qword [rsp + 0x58]
mov edx, 0x457
shr rax, 0x20
cmp ax, dx
jb 0x140080d27
mov ecx, 2
jmp 0x140080d27
cmp eax, 0x5a
jae 0x140080d1e
mov rax, qword [rsp + 0x58]
mov ecx, 0x8ae
shr rax, 0x20
cmp ax, cx
sbb ecx, ecx
add ecx, 4
jmp 0x140080d27
mov ecx, 5
jmp 0x140080d27
xor ecx, ecx
mov dword [0x14017fb30], ecx
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400b89f0
add rsp, 0x2a8
pop rbx
pop rbp
ret