Function at 0x1401981f0
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 [0x1402be5c8]
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.1401cff00
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.1401cff00
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 0x14019840d
movzx ecx, byte [rbp + 0x9a]
lea eax, [rcx - 2]
cmp al, 1
jbe 0x140198373
cmp cl, 1
je 0x14019840d
cmp dword [rbp - 0x7c], 6
jne 0x1401983f6
mov eax, dword [rbp - 0x78]
test eax, eax
jne 0x14019835a
lea r8d, [r15 + 0x13]
lea rdx, str.WINDOWS_SERVER_2008
jmp 0x140198403
cmp eax, 1
jne 0x1401983f6
lea r8d, [rax + 0x15]
lea rdx, str.WINDOWS_SERVER_2008_R2
jmp 0x140198403
mov eax, dword [rbp - 0x7c]
cmp eax, 6
jne 0x14019838e
cmp dword [rbp - 0x78], 0
jne 0x1401983f6
lea r8d, [rax + 0x11]
lea rdx, str.WINDOWS_SERVER_LONGHORN
jmp 0x140198403
cmp eax, 5
jne 0x1401983f6
mov eax, dword [rbp - 0x78]
cmp eax, 2
jne 0x1401983e5
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 0x1401983d6
lea rdx, str.WINDOWS_SERVER_2003_R2
mov r8d, 0x16
jmp 0x140198403
lea rdx, str.WINDOWS_SERVER_2003
mov r8d, 0x13
jmp 0x140198403
test eax, eax
jne 0x1401983f6
lea r8d, [rax + 0x13]
lea rdx, str.WINDOWS_2000_SERVER
jmp 0x140198403
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 0x140198441
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 0x140198446
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140198483
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019847e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401986f8
call fcn.1401a9460
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140198ce0
mov rbx, rax
lea rsi, [rdi + 0x30]
cmp rsi, rax
je 0x1401984c2
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 0x140198504
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401984ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401986fe
call fcn.1401a9460
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140198f00
mov rbx, rax
lea rsi, [rdi + 0x50]
cmp rsi, rax
je 0x140198543
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 0x140198585
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140198580
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140198704
call fcn.1401a9460
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140198710
mov rbx, rax
lea rsi, [rdi + 0xb0]
cmp rsi, rax
je 0x1401985d0
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 0x140198612
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019860d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019870a
call fcn.1401a9460
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1401998b0
lea rcx, [rdi + 0xd0]
mov rdx, rax
call fcn.140023a40
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140198670
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019866b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401986f2
call fcn.1401a9460
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.140199ae0
lea rcx, [0x140263114]
lea rdx, [0x14026311c]
test al, al
cmovne rdx, rcx
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401986b5
lea rcx, [rdi + 0x118]
call fcn.140018360
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1401a9440
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1401e37cc
int3
call fcn.1401e37cc
int3
call fcn.1401e37cc
int3
call fcn.1401e37cc
int3
call fcn.1401e37cc
int3