Function at 0x1400d5dcc
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 [0x1408c39e0]
call fcn.1400f9380
cmp dword [0x1408c2690], 0
mov edi, 0x50010000
mov rbx, rax
jne 0x1400d5fb5
mov esi, 0x140
lea rcx, [0x1408c26a0]
xor edx, edx
mov r8d, esi
call sub.msvcrt.dll_memset
lea rax, [0x1400d55a4]
mov dword [0x1408c26a0], 0x1b
mov qword [0x1408c26a8], rax
lea rax, [0x1400d5928]
mov dword [0x1408c26a4], esi
mov qword [0x1408c26b0], rax
lea rax, [0x1400d5270]
mov qword [0x1408c26e0], rax
lea rax, [0x1400d5924]
mov qword [0x1408c2700], rax
lea rax, [0x1400d58b8]
mov qword [0x1408c26f0], rax
lea rax, [0x1400d61a4]
mov qword [0x1408c26e8], rax
lea rax, [0x1400d6764]
mov qword [0x1408c26c0], rax
lea rax, [0x1400d5bec]
mov qword [0x1408c26b8], rax
lea rax, [0x1400d5c44]
mov qword [0x1408c26c8], rax
lea rax, [0x1400d6798]
mov qword [0x1408c26d0], rax
lea rax, [0x1400d5b2c]
mov qword [0x1408c2718], rax
lea rax, [0x1400d6718]
mov qword [0x1408c2720], rax
lea rax, [0x1400d5a78]
mov qword [0x1408c2708], rax
lea rax, [0x1400d659c]
mov qword [0x1408c2710], rax
lea rax, [0x1400d6394]
mov qword [0x1408c2788], rax
lea rax, [0x1400d5980]
mov qword [0x1408c2790], rax
lea rax, [fcn.1400d63e0]
mov qword [0x1408c2798], rax
lea rax, [0x1400d5a1c]
mov qword [0x1408c27a0], rax
lea rax, [0x1400d6494]
mov qword [0x1408c27a8], rax
lea rax, [0x1400d5a58]
mov qword [0x1408c27b0], rax
lea rax, [0x1400d59f0]
mov qword [0x1408c2778], rax
lea rax, [0x1400d64b0]
mov qword [0x1408c27d8], rax
call fcn.1400d7ba8
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400d5fab
cmp dword [rbp - 0x80], 2
jne 0x1400d5fab
mov eax, dword [0x1408c2694]
cmp dword [rsp + 0x74], 6
cmovae eax, dword [0x1408bea1c]
mov dword [0x1408c2694], eax
mov dword [0x1408c2690], 1
test byte [rbp + 0xe8], 2
mov eax, 0x50010002
cmove edi, eax
test byte [rbp + 0xe8], 1
jne 0x1400d5fd0
or edi, 5
test byte [rbp + 0xe8], 0x20
je 0x1400d5fdc
or edi, 0x20
mov rcx, qword [0x140845c04]
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.1400de944
test r15, r15
je 0x1400d6184
and qword [rsp + 0x58], 0
mov rcx, qword [0x140845c0c]
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 0x1400d6189
mov rcx, qword [0x1408c39c0]
mov rdx, r12
call fcn.1400f9cb0
lea r8, [0x1400d67f8]
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 [0x1408c2698], rax
call qword [sym.imp.USER32.DLL_SendMessageW]
lea r9, [0x1408c26a0]
mov r8, rsi
mov rdx, rbx
mov rcx, r12
mov qword [rbx + 0x28], r15
mov qword [rbx + 0x30], 0x19
call fcn.1400d6dc8
mov rsi, rax
mov eax, 0x100
test dword [rbp + 0xe8], eax
je 0x1400d6189
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 0x1400d6189
cmp qword [rbx + 0x20], 0
jne 0x1400d614a
xor ecx, ecx
call fcn.1400d732c
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 0x1400d616f
mov rcx, qword [rbx]
mov rdx, rax
call fcn.1400d7ca8
mov rcx, qword [rbx]
lea rdx, str.PB_3State
mov r8, rbx
call qword [sym.imp.USER32.DLL_SetPropW]
jmp 0x1400d6189
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