Function at 0x14003f3f8
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 [0x140398a98]
call fcn.1400604a4
cmp dword [0x1403971c8], 0
mov rbx, rax
jne 0x14003f5ea
mov edi, 0x148
lea rcx, [0x140397080]
mov r8d, edi
xor edx, edx
call fcn.14001eb70
lea rax, [0x14003ec04]
mov dword [0x140397080], 0x1b
mov qword [0x140397088], rax
lea rax, [0x14003efa4]
mov qword [0x140397090], rax
lea rax, [0x14003e8d0]
mov qword [0x1403970c0], rax
lea rax, [0x14003efa0]
mov qword [0x1403970e0], rax
lea rax, [0x14003ef34]
mov qword [0x1403970d0], rax
lea rax, [0x14003f7ec]
mov qword [0x1403970c8], rax
lea rax, [0x14003fdac]
mov qword [0x1403970a0], rax
lea rax, [fcn.14003f28c]
mov qword [0x140397098], rax
lea rax, [0x14003f2e4]
mov qword [0x1403970a8], rax
lea rax, [0x14003fde0]
mov qword [0x1403970b0], rax
lea rax, [0x14003f1cc]
mov qword [0x1403970f8], rax
lea rax, [0x14003fd60]
mov qword [0x140397100], rax
lea rax, [0x14003f110]
mov qword [0x1403970e8], rax
lea rax, [0x14003fbe8]
mov qword [0x1403970f0], rax
lea rax, [0x14003f9e0]
mov qword [0x140397168], rax
lea rax, [0x14003f018]
mov qword [0x140397170], rax
lea rax, [fcn.14003fa2c]
mov qword [0x140397178], rax
lea rax, [0x14003f0b4]
mov qword [0x140397180], rax
lea rax, [0x14003fae0]
mov qword [0x140397188], rax
lea rax, [0x14003f0f0]
mov qword [0x140397190], rax
lea rax, [0x14003f088]
mov qword [0x140397158], rax
lea rax, [0x14003fafc]
mov qword [0x1403971b8], rax
lea rax, [0x14003effc]
mov qword [0x1403971c0], rax
mov dword [0x140397084], edi
call fcn.140043904
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14003f5e0
cmp dword [rbp - 0x80], 2
jne 0x14003f5e0
mov eax, dword [0x1403971cc]
cmp dword [rsp + 0x74], 6
cmovae eax, dword [0x140393004]
mov dword [0x1403971cc], eax
mov dword [0x1403971c8], 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 [0x140391b98]
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.14004c3cc
test r12, r12
je 0x14003f7cc
and qword [rsp + 0x58], 0
lea rdx, str.SysTreeView32
mov rcx, qword [0x140391b90]
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 0x14003f7d1
mov rcx, qword [0x140398aa0]
mov rdx, r15
call fcn.14006070c
lea r8, [0x14003fe40]
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 [0x1403971d0], rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [0x140397080]
mov qword [rbx + 0x28], r12
mov r8, rdi
mov qword [rbx + 0x30], 0x19
mov rdx, rbx
mov rcx, r15
call fcn.1400436b4
mov rdi, rax
mov eax, 0x100
test dword [rbp + 0xe8], eax
je 0x14003f7d1
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 0x14003f7d1
call fcn.140045d44
cmp rax, 0x3c
jg 0x14003f792
cmp qword [rbx + 0x20], 0
jne 0x14003f792
xor ecx, ecx
call fcn.140044280
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 0x14003f7b7
mov rcx, qword [rbx]
mov rdx, rax
call fcn.1400445d0
mov rcx, qword [rbx]
lea rdx, str.PB_3State
mov r8, rbx
call qword [sym.imp.USER32.dll_SetPropW]
jmp 0x14003f7d1
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