Function at 0x14000ad60
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x170
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140053f70]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbp, rcx
mov qword [rsp + 0x20], rcx
xor r8d, r8d
lea edx, [r8 + 0x66]
call fcn.1400184f4
nop
lea rax, [0x140046c88]
mov qword [rbp], rax
lea rax, [0x140045bb8]
mov qword [rbp + 0x110], rax
xor r14d, r14d
mov qword [rbp + 0x128], r14
lea rax, [0x140042df0]
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x138], r14
mov qword [rbp + 0x130], rax
mov r12d, 1
mov dword [rbp + 0x118], r12d
mov word [rbp + 0x144], r14w
mov word [rbp + 0x11c], r14w
lea rsi, [rbp + 0x160]
mov rcx, rsi
call fcn.140004b50
nop
lea rcx, [rbp + 0x1568]
xor edx, edx
call fcn.140007840
nop
lea rcx, [rbp + 0x1db0]
xor edx, edx
call fcn.140001010
nop
lea rdi, [rbp + 0x2260]
mov qword [rsp + 0x28], rdi
mov rcx, rdi
call fcn.1400183b8
mov qword [rdi + 0xe8], r14
lea rax, [0x140046198]
mov qword [rdi], rax
lea rcx, [rdi + 0xf0]
call fcn.140011f28
lea r13, [0x140040c58]
mov qword [rdi + 0xf0], r13
lea rcx, [rdi + 0x198]
call fcn.140011f28
mov qword [rdi + 0x198], r13
lea rcx, [rdi + 0x240]
call fcn.140011f28
lea r11, [0x140040998]
mov qword [rdi + 0x240], r11
lea rcx, [rbp + 0x2548]
call fcn.14000e040
nop
lea rcx, [rbp + 0x2680]
call fcn.140011f28
mov qword [rbp + 0x2680], r13
lea rcx, [rbp + 0x2728]
call fcn.140011f28
mov qword [rbp + 0x2728], r13
lea rcx, [rbp + 0x27d0]
call fcn.140011f28
mov qword [rbp + 0x27d0], r13
lea rcx, [rbp + 0x2878]
call fcn.140011f28
lea r11, [0x140040f18]
mov qword [rbp + 0x2878], r11
lea rcx, [rbp + 0x2920]
call fcn.140011f28
lea r11, [0x1400422c8]
mov qword [rbp + 0x2920], r11
lea edx, [r14 + 0xa]
lea rcx, [rbp + 0x29c8]
call fcn.14001f080
lea r11, [0x140046f48]
mov qword [rbp + 0x29c8], r11
call fcn.14001a42c
call fcn.14001a42c
mov edx, 0x93
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x1560], r14
mov dword [rbp + 0xf4], r14d
mov dword [rbp + 0xe8], r14d
mov dword [rbp + 0xec], r14d
mov dword [rbp + 0xf8], r14d
mov dword [rbp + 0xfc], r14d
mov dword [rbp + 0xf0], r12d
mov dword [rbp + 0x158], r14d
mov dword [rbp + 0x2a00], r14d
mov dword [rbp + 0x100], r14d
mov qword [rbp + 0x1658], rsi
mov qword [rbp + 0x2258], rsi
xor eax, eax
mov dword [rbp + 0x104], eax
mov dword [rbp + 0x108], eax
xor edx, edx
mov r8d, 0x11c
lea rcx, [rsp + 0x40]
call fcn.140025d70
mov dword [rsp + 0x40], 0x114
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14000b018
cmp dword [rsp + 0x50], 2
jne 0x14000b02f
mov eax, dword [rsp + 0x44]
cmp eax, 5
jb 0x14000b023
xor edx, edx
mov r8d, 0x11c
lea rcx, [rsp + 0x40]
call fcn.140025d70
mov dword [rsp + 0x40], 0x11c
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x50], 2
jne 0x14000b02f
mov eax, dword [rsp + 0x44]
cmp eax, 5
jne 0x14000b02f
cmp dword [rsp + 0x48], 1
je 0x14000b032
mov r12d, r14d
and dword [rbp + 0x104], 0xfffffffe
and r12d, 1
or dword [rbp + 0x104], r12d
mov rax, rbp
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140024c90
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret