Function at 0x140102af0
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 r12, rcx
mov rcx, qword [0x140221d20]
call fcn.14012a578
cmp dword [0x14021f2b0], 0
mov edi, 0x50010000
mov rbx, rax
jne 0x140102cd9
mov esi, 0x140
lea rcx, [0x14021f2c0]
xor edx, edx
mov r8d, esi
call sub.msvcrt.dll_memset
lea rax, [0x140102290]
mov dword [0x14021f2c0], 0x1b
mov qword [0x14021f2c8], rax
lea rax, [0x14010264c]
mov dword [0x14021f2c4], esi
mov qword [0x14021f2d0], rax
lea rax, [0x140101f5c]
mov qword [0x14021f300], rax
lea rax, [0x140102648]
mov qword [0x14021f320], rax
lea rax, [0x1401025dc]
mov qword [0x14021f310], rax
lea rax, [0x140102ed4]
mov qword [0x14021f308], rax
lea rax, [0x140103494]
mov qword [0x14021f2e0], rax
lea rax, [0x140102910]
mov qword [0x14021f2d8], rax
lea rax, [0x140102968]
mov qword [0x14021f2e8], rax
lea rax, [0x1401034c8]
mov qword [0x14021f2f0], rax
lea rax, [0x140102850]
mov qword [0x14021f338], rax
lea rax, [0x140103448]
mov qword [0x14021f340], rax
lea rax, [0x14010279c]
mov qword [0x14021f328], rax
lea rax, [0x1401032cc]
mov qword [0x14021f330], rax
lea rax, [0x1401030c4]
mov qword [0x14021f3a8], rax
lea rax, [0x1401026a4]
mov qword [0x14021f3b0], rax
lea rax, [fcn.140103110]
mov qword [0x14021f3b8], rax
lea rax, [0x140102740]
mov qword [0x14021f3c0], rax
lea rax, [0x1401031c4]
mov qword [0x14021f3c8], rax
lea rax, [0x14010277c]
mov qword [0x14021f3d0], rax
lea rax, [0x140102714]
mov qword [0x14021f398], rax
lea rax, [0x1401031e0]
mov qword [0x14021f3f8], rax
call fcn.1401045d0
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140102ccf
cmp dword [rbp - 0x80], 2
jne 0x140102ccf
mov eax, dword [0x14021f2b4]
cmp dword [rsp + 0x74], 6
cmovae eax, dword [0x14021d71c]
mov dword [0x14021f2b4], eax
mov dword [0x14021f2b0], 1
test byte [rbp + 0xe8], 2
mov eax, 0x50010002
cmove edi, eax
test byte [rbp + 0xe8], 1
jne 0x140102cf4
or edi, 5
test byte [rbp + 0xe8], 0x20
je 0x140102d00
or edi, 0x20
mov rcx, qword [0x14021be74]
xor edx, edx
mov r8d, 0x320
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r9, [rbp + 0xe0]
lea r8, [rbp + 0xd8]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xc8]
mov r15, rax
call fcn.14010b40c
test r15, r15
je 0x140102eb3
and qword [rsp + 0x58], 0
mov rcx, qword [0x14021be7c]
mov eax, dword [rbp + 0xe0]
mov qword [rsp + 0x50], rcx
or qword [rsp + 0x48], 0xffffffffffffffff
mov rcx, qword [rbx]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0xd8]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0xd0]
lea rdx, str.SysTreeView32
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0xc8]
mov r9d, edi
xor r8d, r8d
mov ecx, 0x200
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
test rax, rax
je 0x140102eb8
mov rcx, qword [0x140221cc0]
mov rdx, r12
call fcn.14012a89c
lea r8, [0x140103528]
mov edx, 0xfffffffc
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov r8d, 4
mov edx, 0x112c
mov r9d, r8d
mov rcx, rsi
mov qword [0x14021f2b8], rax
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [0x14021f2c0]
mov r8, rsi
mov rdx, rbx
mov rcx, r12
mov qword [rbx + 0x28], r15
mov qword [rbx + 0x30], reloc.OLEAUT32.dll_SafeArrayPutElement
call fcn.14010485c
mov rsi, rax
mov eax, 0x100
test dword [rbp + 0xe8], eax
je 0x140102eb8
mov rcx, qword [rbx]
movsxd r8, edi
mov edx, 0xfffffff0
or r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
test dword [rbp + 0xe8], 0x10000
je 0x140102eb8
call fcn.140107168
cmp rax, 0x3c
jg 0x140102e79
cmp qword [rbx + 0x20], 0
jne 0x140102e79
xor ecx, ecx
call fcn.140104fc0
mov rcx, qword [rbx]
xor r8d, r8d
mov qword [rbx + 0x20], rax
mov r9, qword [rax]
mov edx, 0x1109
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 0x140102e9e
mov rcx, qword [rbx]
mov rdx, rax
call fcn.14010585c
mov rcx, qword [rbx]
lea rdx, str.PB_3State
mov r8, rbx
call qword [sym.imp.USER32.dll_SetPropW]
jmp 0x140102eb8
mov rsi, qword [rsp + 0x60]
mov rax, rsi
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret