Function at 0x14007b3ec
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 [0x14015fd78]
call fcn.14000b694
cmp dword [0x140165868], 0
mov rbx, rax
jne 0x14007b5de
mov edi, 0x148
lea rcx, [0x140165720]
mov r8d, edi
xor edx, edx
call fcn.14000c7c0
lea rax, [0x14007c798]
mov dword [0x140165720], 0x1b
mov qword [0x140165728], rax
lea rax, [0x14007bd34]
mov qword [0x140165730], rax
lea rax, [0x14007b984]
mov qword [0x140165760], rax
lea rax, [0x14007bd8c]
mov qword [0x140165780], rax
lea rax, [0x14007bd90]
mov qword [0x140165770], rax
lea rax, [0x14007bdfc]
mov qword [0x140165768], rax
lea rax, [0x14007bff0]
mov qword [0x140165740], rax
lea rax, [fcn.14007c024]
mov qword [0x140165738], rax
lea rax, [0x14007c07c]
mov qword [0x140165748], rax
lea rax, [0x14007c12c]
mov qword [0x140165750], rax
lea rax, [0x14007c18c]
mov qword [0x140165798], rax
lea rax, [0x14007c24c]
mov qword [0x1401657a0], rax
lea rax, [0x14007c298]
mov qword [0x140165788], rax
lea rax, [0x14007c354]
mov qword [0x140165790], rax
lea rax, [0x14007c4cc]
mov qword [0x140165808], rax
lea rax, [0x14007c518]
mov qword [0x140165810], rax
lea rax, [fcn.14007c588]
mov qword [0x140165818], rax
lea rax, [0x14007c63c]
mov qword [0x140165820], rax
lea rax, [0x14007c678]
mov qword [0x140165828], rax
lea rax, [0x14007c694]
mov qword [0x140165830], rax
lea rax, [0x14007c6b4]
mov qword [0x1401657f8], rax
lea rax, [0x14007bc48]
mov qword [0x140165858], rax
lea rax, [0x14007b8f8]
mov qword [0x140165860], rax
mov dword [0x140165724], edi
call fcn.14000c690
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14007b5d4
cmp dword [rbp - 0x80], 2
jne 0x14007b5d4
mov eax, dword [0x14016586c]
cmp dword [rsp + 0x74], 6
cmovae eax, dword [0x14015fd64]
mov dword [0x14016586c], eax
mov dword [0x140165868], 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 [0x14015f7b8]
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.1400f1f78
test r12, r12
je 0x14007b7c0
and qword [rsp + 0x58], 0
lea rdx, str.SysTreeView32
mov rcx, qword [0x14015f7b0]
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 0x14007b7c5
mov rcx, qword [0x14015fd70]
mov rdx, r15
call fcn.14000c380
lea r8, [0x14007ca10]
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 [0x140165870], rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [0x140165720]
mov qword [rbx + 0x28], r12
mov r8, rdi
mov qword [rbx + 0x30], 0x19
mov rdx, rbx
mov rcx, r15
call fcn.1400f200c
mov rdi, rax
mov eax, 0x100
test dword [rbp + 0xe8], eax
je 0x14007b7c5
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 0x14007b7c5
call fcn.1400f2d10
cmp rax, 0x3c
jg 0x14007b786
cmp qword [rbx + 0x20], 0
jne 0x14007b786
xor ecx, ecx
call fcn.1400f26ec
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 0x14007b7ab
mov rcx, qword [rbx]
mov rdx, rax
call fcn.1400f428c
mov rcx, qword [rbx]
lea rdx, str.PB_3State
mov r8, rbx
call qword [sym.imp.USER32.dll_SetPropW]
jmp 0x14007b7c5
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