Function at 0x14013ead0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r14b, r9b
mov byte [rsp + 0x60], r9b
mov qword [rbp - 0x70], r8
mov rdi, rdx
mov r15, qword [rbp + 0xa0]
mov qword [rbp - 0x68], r15
mov rax, qword [rbp + 0xa8]
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20119
xor r8d, r8d
mov rdx, qword [str.SoftwareMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
mov r12d, 0x80070000
or esi, r12d
xor ebx, ebx
test eax, eax
cmovle esi, eax
test esi, esi
js 0x14013efd0
mov dword [rbp - 0x44], ebx
mov dword [rbp - 0x48], ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
movzx esi, ax
or esi, r12d
test eax, eax
cmovle esi, eax
test esi, esi
js 0x14013efc6
mov qword [rbp], rbx
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
mov rdx, rdi
lea rcx, [rbp]
call fcn.140019c78
nop
test r14b, r14b
je 0x14013ec71
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14013ebe8
mov rcx, qword [rdi]
mov qword [rsp + 0x20], 1
lea r9, [0x14032ce9c]
or r8, 0xffffffffffffffff
mov rdx, qword [rdi + 0x10]
call fcn.140109a90
cmp rax, 0xffffffffffffffff
je 0x14013ec71
mov qword [rbp - 0x40], rbx
movdqa xmm0, xmmword [0x140364f60]
movdqu xmmword [rbp - 0x30], xmm0
cmp qword [rdi + 0x10], rax
cmovb rax, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14013ec32
mov rdx, qword [rdi]
mov r8, rax
lea rcx, [rbp - 0x40]
call fcn.14001b664
lea rcx, [rbp]
call fcn.14001b814
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x10], xmm1
movdqa xmm0, xmmword [0x140364f60]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], bx
lea rcx, [rbp - 0x40]
call fcn.14001b814
mov ecx, dword [rbp - 0x48]
inc ecx
mov dword [rbp - 0x48], ecx
mov r12, rbx
mov eax, dword [rbp - 0x44]
cmp r12, rax
jae 0x14013efbd
xorps xmm0, xmm0
mov word [rsp + 0x64], bx
mov edx, ecx
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rbx
lea r8, [rsp + 0x64]
lea rcx, [rbp - 0x18]
call fcn.1401213fc
nop
mov eax, dword [rbp - 0x48]
mov dword [rbp - 0x20], eax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x20]
mov r8, qword [rbp - 0x18]
mov edx, r12d
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
mov dword [rsp + 0x64], eax
test eax, eax
js 0x14013ef61
mov rdx, qword [str.SoftwareClassesCLSID_]
xor ebx, ebx
test r15, r15
cmovne rdx, qword [str.CLSID_]
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], bx
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bx
jne 0x14013ed13
lea rcx, [rbp + 0x20]
call fcn.14001b664
nop
mov rdx, qword [rbp - 0x18]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bx
jne 0x14013ed2f
lea rcx, [rbp + 0x20]
call fcn.140019e88
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x30], rbx
mov eax, 7
mov qword [rbp - 0x28], rax
mov word [rbp - 0x40], bx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rax
mov word [rsp + 0x68], bx
xor r8d, r8d
lea rdx, [0x1403613f0]
lea rcx, [rsp + 0x68]
call fcn.14001b664
nop
mov rcx, r15
test r15, r15
cmove rcx, qword [rbp - 0x78]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9b, 1
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x20]
call fcn.140113c2c
mov ebx, eax
lea rcx, [rsp + 0x68]
call fcn.14001b814
xor r15d, r15d
test ebx, ebx
js 0x14013ef41
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x14013edc8
mov rax, qword [rdi]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
cmp rdx, qword [rdi + 0x10]
jne 0x14013ee23
mov r10, rdx
test rdx, rdx
je 0x14013eeee
movzx r8d, word [rcx]
movzx r9d, word [rax]
cmp r8w, r9w
jb 0x14013ee23
sub rcx, rax
cmp r8w, r9w
ja 0x14013ee23
cmp r10, 1
je 0x14013eeee
dec r10
add rax, 2
movzx r8d, word [rax + rcx]
movzx r9d, word [rax]
cmp r8w, r9w
jae 0x14013ee01
test r14b, r14b
je 0x14013ef41
lea r11, [rbp]
cmp qword [rbp + 0x18], 8
cmovae r11, qword [rbp]
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rbx, qword [rbp - 0x40]
cmp qword [rbp + 0x10], rdx
ja 0x14013ef41
cmp qword [rbp + 0x10], r15
je 0x14013eeee
sub rdx, qword [rbp + 0x10]
lea r15, [rdx + 1]
lea r15, [rbx + r15*2]
mov rax, rbx
movzx r14d, word [r11]
mov rcx, r15
sub rcx, rax
sar rcx, 1
mov edx, 0
je 0x14013ee97
jmp 0x14013ee8e
cmp rcx, 1
je 0x14013ee97
dec rcx
add rax, 2
cmp word [rax], r14w
jne 0x14013ee81
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x14013ef41
mov r9, qword [rbp + 0x10]
mov r8, r11
movzx ecx, word [rdx]
movzx edx, r14w
cmp cx, r14w
jb 0x14013eedd
mov r10, rax
sub r10, r11
cmp cx, dx
ja 0x14013eedd
cmp r9, 1
je 0x14013eee3
dec r9
add r8, 2
movzx ecx, word [r8 + r10]
movzx edx, word [r8]
cmp cx, dx
jae 0x14013eec0
add rax, 2
jmp 0x14013ee6f
sub rax, rbx
xor r15d, r15d
sar rax, 1
jne 0x14013ef41
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
mov rdx, qword [rbp - 0x18]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14013ef0e
lea rcx, [rsp + 0x68]
call fcn.14001b664
nop
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x60]
mov rcx, qword [rbp - 0x70]
call fcn.14013e5b0
nop
lea rcx, [rsp + 0x68]
call fcn.14001b814
nop
lea rcx, [rbp - 0x40]
call fcn.14001b814
nop
lea rcx, [rbp + 0x20]
call fcn.14001b814
mov ebx, dword [rsp + 0x64]
mov r14b, byte [rsp + 0x60]
mov r15, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14013efac
mov rax, qword [rbp - 8]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013ef99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013effa
call fcn.1400385dc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
xor eax, eax
mov qword [rbp - 8], rax
inc r12
test ebx, ebx
js 0x14013efbd
mov ecx, dword [rbp - 0x48]
xor ebx, ebx
jmp 0x14013ec7c
lea rcx, [rbp]
call fcn.14001b814
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140038910
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14004689c
nop
sub rsp, 0x58
mov r10d, dword [rsp + 0x90]
mov r11, r9
mov rax, qword [rcx]
mov r9b, byte [rsp + 0x80]
mov qword [rsp + 0x40], 0xffffffff80000001
and qword [rsp + 0x38], 0
mov rax, qword [rax + 0x28]
mov dword [rsp + 0x30], r10d
mov r10b, byte [rsp + 0x88]
mov byte [rsp + 0x28], r10b
mov byte [rsp + 0x20], r9b
mov r9, r11
call qword [str.0B__]
add rsp, 0x58
ret