Function at 0x14001add0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x190
lea rsi, [0x140229f90]
mov qword [rsp + 0x1b0], rsi
xor edx, edx
mov rcx, rsi
call fcn.14012a590
nop
lea rax, vtable.CMCWinAppEx.0
mov qword [0x140229f90], rax
lea rcx, [0x14022a320]
call fcn.140134540
nop
lea rax, vtable.CMap_unsigned_int__unsigned_int__int__int_.0
mov qword [0x14022a330], rax
xor edi, edi
mov qword [0x14022a338], rdi
mov dword [0x14022a340], 0x11
mov qword [0x14022a348], rdi
xorps xmm0, xmm0
movdqa xmmword [0x14022a350], xmm0
mov qword [0x14022a360], 0xa
lea rax, vtable.CMap_int__int__int__int_.0
mov qword [0x14022a368], rax
mov qword [0x14022a370], rdi
mov dword [0x14022a378], 0x11
movdqa xmmword [0x14022a380], xmm0
movdqa xmm1, xmmword [0x1401dc110]
movdqa xmmword [0x14022a390], xmm1
mov dword [rsp + 0x70], 0x114
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rsp + 0x80]
sub eax, 1
je 0x14001aebe
cmp eax, 1
je 0x14001aeb2
lea eax, [rdi + 5]
jmp 0x14001aed7
cmp dword [rsp + 0x74], 5
sbb eax, eax
add eax, 3
jmp 0x14001aed7
cmp dword [rsp + 0x74], 4
ja 0x14001aed2
jne 0x14001aece
cmp dword [rsp + 0x78], 0
ja 0x14001aed2
mov eax, edi
jmp 0x14001aed7
mov eax, 1
mov dword [0x14022a108], eax
dec eax
test eax, 0xfffffffd
sete byte [0x14022a318]
mov dword [0x14022a10c], edi
lea rcx, str.COMCTL32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14001af58
lea rdx, str.DllGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001af45
mov dword [rsp + 0x50], 0x14
lea rcx, [rsp + 0x50]
call rax
test eax, eax
js 0x14001af4f
movzx ecx, word [rsp + 0x54]
shl ecx, 0x10
movzx eax, word [rsp + 0x58]
or ecx, eax
mov dword [0x14022a10c], ecx
jmp 0x14001af4f
mov dword [0x14022a10c], 0x40000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rsi
call fcn.1400e8eb0
nop
lea rax, vtable.CMediaEditorApp.0
mov qword [0x140229f90], rax
mov qword [0x140229778], rsi
mov ecx, 0x30
call fcn.140111d34
mov rbx, rax
mov qword [rsp + 0x1b0], rax
test rax, rax
je 0x14001b05e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
mov dword [rbx + 0x28], eax
mov byte [rbx + 0x2c], al
mov qword [rsp + 0x1c8], rdi
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareJ._RiverMusic_Exchange1.0Media_EditorSettings
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001b061
mov rdi, qword [rsp + 0x1c8]
mov dword [rsp + 0x1b8], 3
mov dword [rsp + 0x1b0], 0x2c
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x1b8]
xor r8d, r8d
lea rdx, str.MainWindowPlacement
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001b04e
mov byte [rbx + 0x2c], 1
test rdi, rdi
je 0x14001b061
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001b061
mov rbx, rdi
mov qword [0x140229780], rbx
mov rax, rsi
add rsp, 0x190
pop rdi
pop rsi
pop rbx
ret