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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, rdx
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
cmp eax, 1
sete al
mov byte [rdi], al
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rdi + 4], eax
lea ecx, [r15 + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rdi + 8], eax
lea ecx, [r15 + 0x43]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
setne al
mov byte [rdi + 0xc], al
xor edx, edx
mov r8d, MsiEnumComponentsExA
lea rcx, [rbp - 0x80]
call fcn.1401d04f0
mov dword [rbp - 0x80], MsiEnumComponentsExA
mov dword [rbp - 0x7c], 5
mov byte [rbp + 0x9a], 3
mov r8b, 3
lea edx, [r15 + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 1
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8, rax
mov edx, 0x82
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
setne al
mov byte [rdi + 0xd], al
xor edx, edx
mov r8d, MsiEnumComponentsExA
lea rcx, [rbp - 0x7c]
call fcn.1401d04f0
mov dword [rbp - 0x80], MsiEnumComponentsExA
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r15w
lea r8d, [r15 + 4]
lea rdx, str.NONE
lea rcx, [rsp + 0x20]
call fcn.140018360
mov dword [rsp + 0x40], 1
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1401989fd
movzx ecx, byte [rbp + 0x9a]
lea eax, [rcx - 2]
cmp al, 1
jbe 0x140198963
cmp cl, 1
je 0x1401989fd
cmp dword [rbp - 0x7c], 6
jne 0x1401989e6
mov eax, dword [rbp - 0x78]
test eax, eax
jne 0x14019894a
lea r8d, [r15 + 0x13]
lea rdx, str.WINDOWS_SERVER_2008
jmp 0x1401989f3
cmp eax, 1
jne 0x1401989e6
lea r8d, [rax + 0x15]
lea rdx, str.WINDOWS_SERVER_2008_R2
jmp 0x1401989f3
mov eax, dword [rbp - 0x7c]
cmp eax, 6
jne 0x14019897e
cmp dword [rbp - 0x78], 0
jne 0x1401989e6
lea r8d, [rax + 0x11]
lea rdx, str.WINDOWS_SERVER_LONGHORN
jmp 0x1401989f3
cmp eax, 5
jne 0x1401989e6
mov eax, dword [rbp - 0x78]
cmp eax, 2
jne 0x1401989d5
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1401989c6
lea rdx, str.WINDOWS_SERVER_2003_R2
mov r8d, 0x16
jmp 0x1401989f3
lea rdx, str.WINDOWS_SERVER_2003
mov r8d, 0x13
jmp 0x1401989f3
test eax, eax
jne 0x1401989e6
lea r8d, [rax + 0x13]
lea rdx, str.WINDOWS_2000_SERVER
jmp 0x1401989f3
mov r8d, 0xb
lea rdx, str.UNSUPPORTED
lea rcx, [rsp + 0x20]
call fcn.140018360
lea rbx, [rdi + 0x10]
lea rax, [rsp + 0x20]
cmp rbx, rax
je 0x140198a31
mov rcx, rbx
call fcn.1400272a0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x20], r15w
jmp 0x140198a36
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140198a73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140198a6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140198ce8
call fcn.1401a9a50
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1401992d0
mov rbx, rax
lea rsi, [rdi + 0x30]
cmp rsi, rax
je 0x140198ab2
mov rcx, rsi
call fcn.1400272a0
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140198af4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140198aef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140198cee
call fcn.1401a9a50
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1401994f0
mov rbx, rax
lea rsi, [rdi + 0x50]
cmp rsi, rax
je 0x140198b33
mov rcx, rsi
call fcn.1400272a0
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140198b75
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140198b70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140198cf4
call fcn.1401a9a50
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140198d00
mov rbx, rax
lea rsi, [rdi + 0xb0]
cmp rsi, rax
je 0x140198bc0
mov rcx, rsi
call fcn.1400272a0
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
nop word [rax + rax]
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140198c02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140198bfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140198cfa
call fcn.1401a9a50
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140199ea0
lea rcx, [rdi + 0xd0]
mov rdx, rax
call fcn.140023a40
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140198c60
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140198c5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140198ce2
call fcn.1401a9a50
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, 0x88888889
imul dword [rbp - 0x80]
add edx, dword [rbp - 0x80]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rdi + 0x110], edx
call fcn.14019a0d0
lea rcx, [0x140264114]
lea rdx, [0x14026411c]
test al, al
cmovne rdx, rcx
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140198ca5
lea rcx, [rdi + 0x118]
call fcn.140018360
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1401a9a30
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1401e3dbc
int3
call fcn.1401e3dbc
int3
call fcn.1401e3dbc
int3
call fcn.1401e3dbc
int3
call fcn.1401e3dbc
int3