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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x2e8]
sub rsp, 0x3e0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x180064138]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
test ecx, ecx
jne 0x180011615
call fcn.180007b50
mov rcx, rax
test rax, rax
je 0x180011827
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov ecx, 1
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x34], 0x104
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x18001155f
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.18000fc40
mov rbx, qword [rsp + 0x40]
cmp dword [rbx - 0xc], 0x104
jl 0x180011832
mov dword [rbx - 0x10], 0x104
xor edi, edi
mov word [rbx + 0x208], di
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x38]
lea r8, [0x180045928]
lea rdx, str.DirectoryBackground_shellexContextMenuHandlersLDSShellExt
mov rcx, 0xffffffff80000000
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.180033654
test eax, eax
js 0x18001181c
cmp eax, dword [rbx - 0xc]
jg 0x18001181c
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], di
lea rdx, str.B3A2F1A4_10A2_410C_9C19_622B621C61D0
mov rcx, rbx
call fcn.180033a50
test eax, eax
jne 0x1800115f1
xor ecx, ecx
call fcn.180014490
test eax, eax
sete dil
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x18001160e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, edi
jmp 0x1800117f8
cmp ecx, 1
jne 0x1800117f6
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xc0]
call fcn.180027560
xor edi, edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
mov ecx, dword [0x180064064]
test ecx, ecx
js 0x180011704
mov eax, edi
setne al
test eax, eax
jne 0x1800117b4
mov r9d, 0x20219
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerMyComputerNameSpace444F92A9_9B07_4625_86B9_8824AB530054
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.180011e40
movsxd rcx, eax
mov rbx, qword [rsp + 0x48]
test rcx, rcx
jne 0x1800117e0
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, [0x180045928]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800117e0
mov eax, dword [rsp + 0x3c]
dec eax
cmp eax, 1
ja 0x1800117e0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1800117bf
test al, 1
jne 0x1800117e0
shr rax, 1
cmp word [rbp + rax*2 + 0xbe], 0
je 0x1800117c6
jmp 0x1800117e0
mov dword [0x180064064], edi
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp - 0x5c]
call fcn.180027560
mov dword [rbp - 0x60], 0x11c
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x180011767
mov dword [rbp - 0x60], VarUI4FromDisp
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18001165d
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001165d
lea rcx, [rsp + 0x60]
call rax
mov rax, qword [rsp + 0x60]
cmp ax, 9
je 0x1800117a9
cmp ax, 6
jne 0x18001165d
mov ecx, 1
mov dword [0x180064064], ecx
mov r9d, 0x20119
jmp 0x180011663
mov word [rbp + 0xc0], di
lea rdx, [0x180047e18]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
sete dil
test rbx, rbx
je 0x18001160e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x1800117f8
xor eax, eax
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.18001e0c0
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80070057
call fcn.180008e40
nop
mov ecx, 0x80004005
call fcn.180008e40
nop
mov ecx, 0x80070057
call fcn.180008e40
int3