Function at 0x14001779c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
lea ebx, [rsi + 7]
mov qword [rcx + 0x18], rbx
mov word [rcx], si
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x50], 0x114
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400179d4
sub eax, 1
je 0x140017971
cmp eax, 1
je 0x140017827
mov r8d, ebx
lea rdx, str.Unknown
jmp 0x1400179e1
mov ebx, 0xa
mov eax, dword [rsp + 0x54]
cmp eax, 5
jne 0x1400178a3
lea r14d, [rbx + 2]
mov eax, dword [rsp + 0x58]
cmp eax, 2
jne 0x140017861
mov r8d, r14d
lea rdx, str.Windows_2003
mov rcx, rdi
call fcn.140006170
mov eax, dword [rsp + 0x54]
cmp eax, 5
jne 0x1400178a3
mov eax, dword [rsp + 0x58]
cmp eax, 1
jne 0x140017885
mov r8, rbx
lea rdx, str.Windows_XP
mov rcx, rdi
call fcn.140006170
mov eax, dword [rsp + 0x54]
cmp eax, 5
jne 0x1400178a3
mov eax, dword [rsp + 0x58]
test eax, eax
jne 0x1400179e9
mov r8, r14
lea rdx, str.Windows_2000
mov rcx, rdi
call fcn.140006170
mov eax, dword [rsp + 0x54]
cmp eax, 4
ja 0x1400178be
mov r8, rbx
lea rdx, str.Windows_NT
mov rcx, rdi
call fcn.140006170
mov eax, dword [rsp + 0x54]
cmp eax, 6
jne 0x14001795d
mov eax, dword [rsp + 0x58]
test eax, eax
jne 0x1400178ef
lea r8d, [rax + 0xd]
lea rdx, str.Windows_Vista
mov rcx, rdi
call fcn.140006170
mov eax, dword [rsp + 0x54]
cmp eax, 6
jne 0x14001795d
mov eax, dword [rsp + 0x58]
mov r14d, 9
cmp eax, 1
jne 0x140017919
mov r8d, r14d
lea rdx, str.Windows_7
mov rcx, rdi
call fcn.140006170
mov eax, dword [rsp + 0x54]
cmp eax, 6
jne 0x14001795d
mov eax, dword [rsp + 0x58]
cmp eax, 2
jne 0x14001793d
mov r8, r14
lea rdx, str.Windows_8
mov rcx, rdi
call fcn.140006170
mov eax, dword [rsp + 0x54]
cmp eax, 6
jne 0x14001795d
mov eax, dword [rsp + 0x58]
cmp eax, 3
jne 0x1400179e9
lea r8d, [rax + 8]
lea rdx, str.Windows_8.1
mov rcx, rdi
call fcn.140006170
mov eax, dword [rsp + 0x54]
cmp eax, ebx
jne 0x1400179e9
mov r8, rbx
lea rdx, str.Windows_10
jmp 0x1400179e1
cmp dword [rsp + 0x54], 4
jne 0x1400179e9
mov ebx, 0xa
mov eax, dword [rsp + 0x58]
test eax, eax
jne 0x1400179a2
mov r8d, ebx
lea rdx, str.Windows_95
mov rcx, rdi
call fcn.140006170
cmp dword [rsp + 0x54], 4
jne 0x1400179e9
mov eax, dword [rsp + 0x58]
cmp eax, ebx
jne 0x1400179c3
mov r8, rbx
lea rdx, str.Windows_98
mov rcx, rdi
call fcn.140006170
cmp dword [rsp + 0x54], 4
jne 0x1400179e9
mov eax, dword [rsp + 0x58]
cmp eax, 0x5a
jne 0x1400179e9
mov r8, rbx
lea rdx, str.Windows_ME
jmp 0x1400179e1
mov r8d, 0xe
lea rdx, str.Windows_Win32s
mov rcx, rdi
call fcn.140006170
call fcn.14000923c
mov rcx, rax
test rax, rax
je 0x140017acb
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x54]
lea rdx, str.__build_d._d._d_
lea rcx, [rsp + 0x38]
call fcn.1400181c8
or r14, 0xffffffffffffffff
cmp word [rsp + 0x64], si
je 0x140017a69
lea r8d, [r14 + 2]
lea rdx, [0x1400afe14]
mov rcx, rdi
call fcn.14000993c
lea rax, [rsp + 0x64]
mov r8, r14
inc r8
cmp word [rax + r8*2], si
jne 0x140017a52
lea rdx, [rsp + 0x64]
mov rcx, rdi
call fcn.14000993c
mov rbx, qword [rsp + 0x38]
mov r8, r14
inc r8
cmp word [rbx + r8*2], si
jne 0x140017a71
mov rdx, rbx
mov rcx, rdi
call fcn.14000993c
nop
lea rdx, [rbx - 0x18]
mov ecx, r14d
lock xadd dword [rdx + 0x10], ecx
add ecx, r14d
test ecx, ecx
jg 0x140017aa4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rdi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14005ccc0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000d0c0
int3