Function at 0x14001bcb8
Capabilities:
Check os version

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov r15, rcx
mov rcx, qword [0x140228310]
call fcn.14002c6f4
cmp dword [0x140229658], 0
mov rbx, rax
jne 0x14001beaa
mov edi, 0x148
lea rcx, [0x140229510]
mov r8d, edi
xor edx, edx
call fcn.140001690
lea rax, [0x14001d064]
mov dword [0x140229510], 0x1b
mov qword [0x140229518], rax
lea rax, [0x14001c600]
mov qword [0x140229520], rax
lea rax, [0x14001c250]
mov qword [0x140229550], rax
lea rax, [0x14001c658]
mov qword [0x140229570], rax
lea rax, [0x14001c65c]
mov qword [0x140229560], rax
lea rax, [0x14001c6c8]
mov qword [0x140229558], rax
lea rax, [0x14001c8bc]
mov qword [0x140229530], rax
lea rax, [fcn.14001c8f0]
mov qword [0x140229528], rax
lea rax, [0x14001c948]
mov qword [0x140229538], rax
lea rax, [0x14001c9f8]
mov qword [0x140229540], rax
lea rax, [0x14001ca58]
mov qword [0x140229588], rax
lea rax, [0x14001cb18]
mov qword [0x140229590], rax
lea rax, [0x14001cb64]
mov qword [0x140229578], rax
lea rax, [0x14001cc20]
mov qword [0x140229580], rax
lea rax, [0x14001cd98]
mov qword [0x1402295f8], rax
lea rax, [0x14001cde4]
mov qword [0x140229600], rax
lea rax, [fcn.14001ce54]
mov qword [0x140229608], rax
lea rax, [0x14001cf08]
mov qword [0x140229610], rax
lea rax, [0x14001cf44]
mov qword [0x140229618], rax
lea rax, [0x14001cf60]
mov qword [0x140229620], rax
lea rax, [0x14001cf80]
mov qword [0x1402295e8], rax
lea rax, [0x14001c514]
mov qword [0x140229648], rax
lea rax, [0x14001c1c4]
mov qword [0x140229650], rax
mov dword [0x140229514], edi
call fcn.14005f67c
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14001bea0
cmp dword [rbp - 0x80], 2
jne 0x14001bea0
mov eax, dword [0x14022965c]
cmp dword [rsp + 0x74], 6
cmovae eax, dword [0x1402282fc]
mov dword [0x14022965c], eax
mov dword [0x140229658], 1
mov ecx, dword [rbp + 0xe8]
mov r8d, 0x320
not ecx
and ecx, 2
or ecx, 0x50010000
mov edx, ecx
or edx, 5
test byte [rbp + 0xe8], 1
cmovne edx, ecx
mov rcx, qword [0x140224818]
mov esi, edx
or esi, 0x20
test byte [rbp + 0xe8], 0x20
cmove esi, edx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r9, [rbp + 0xe0]
mov r12, rax
lea r8, [rbp + 0xd8]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xc8]
call fcn.14005f5e8
test r12, r12
je 0x14001c08c
and qword [rsp + 0x58], 0
lea rdx, str.SysTreeView32
mov rcx, qword [0x140224820]
mov r9d, esi
mov eax, dword [rbp + 0xe0]
xor r8d, r8d
mov qword [rsp + 0x50], rcx
or qword [rsp + 0x48], 0xffffffffffffffff
mov rcx, qword [rbx]
mov qword [rsp + 0x40], rcx
mov ecx, 0x200
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0xd8]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0xd0]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0xc8]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
test rax, rax
je 0x14001c091
mov rcx, qword [0x140228308]
mov rdx, r15
call fcn.14002d99c
lea r8, [0x14001d2dc]
mov edx, 0xfffffffc
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov r8d, 4
mov edx, 0x112c
mov r9d, r8d
mov qword [0x140229660], rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [0x140229510]
mov qword [rbx + 0x28], r12
mov r8, rdi
mov qword [rbx + 0x30], 0x19
mov rdx, rbx
mov rcx, r15
call fcn.14005f3ac
mov rdi, rax
mov eax, 0x100
test dword [rbp + 0xe8], eax
je 0x14001c091
mov rcx, qword [rbx]
mov edx, 0xfffffff0
mov r8d, esi
or r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
test dword [rbp + 0xe8], 0x10000
je 0x14001c091
call fcn.14001d904
cmp rax, 0x3c
jg 0x14001c052
cmp qword [rbx + 0x20], 0
jne 0x14001c052
xor ecx, ecx
call fcn.140061fc8
mov rcx, qword [rbx]
xor r8d, r8d
mov qword [rbx + 0x20], rax
mov edx, 0x1109
mov r9, qword [rax]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
xor r9d, r9d
mov edx, 0x1108
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14001c077
mov rcx, qword [rbx]
mov rdx, rax
call fcn.140063920
mov rcx, qword [rbx]
lea rdx, str.PB_3State
mov r8, rbx
call qword [sym.imp.USER32.dll_SetPropW]
jmp 0x14001c091
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x1c0]
mov rax, rdi
add rsp, 0x190
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret