Function at 0x140026410
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x358]
sub rsp, 0x440
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov rdi, r8
lea rcx, [rbp]
call fcn.1400685a0
cmp dword [rbp + 4], 6
jb 0x14002681f
mov r8, qword [rdi + 8]
mov rdx, qword [rdi]
call fcn.1400216b0
mov rax, qword [rdi]
mov qword [rdi + 8], rax
xor esi, esi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
call fcn.14002a2a0
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
lea r14, str.34745C63_B2F0_4784_8B67_5E12C8701A31
mov qword [rsp + 0x20], r14
mov r9d, 0x804
lea r8, str.SoftwareMicrosoftCTFSortOrderAssemblyItem
lea rdx, str._s0x_08x_s
lea rcx, [rsp + 0x70]
call fcn.140061ab0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400267d9
mov ebx, esi
mov word [rbp + 0x120], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x122]
call fcn.1400c2130
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x120]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400265fd
nop dword [rax + rax]
lea r8, [rbp + 0x120]
mov rdx, rsi
movzx eax, word [rbp + 0x120]
cmp ax, 0x30
jb 0x14002659c
cmp ax, 0x39
ja 0x14002659c
movzx eax, ax
sub eax, 0x30
movsxd rcx, eax
lea rax, [rdx + rdx*4]
lea rdx, [rcx + rax*2]
add r8, 2
movzx eax, word [r8]
cmp ax, 0x30
jae 0x140026577
mov dword [rsp + 0x60], edx
movzx eax, byte [0x1401783e2]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x60]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.14002a300
inc ebx
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x120]
mov edx, ebx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140026560
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x50]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400267d9
nop dword [rax]
mov eax, dword [rbx + 0x1c]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9d, 0x804
lea r8, str.SoftwareMicrosoftCTFSortOrderAssemblyItem
lea rdx, str._s0x_08x_s_08d
lea rcx, [rsp + 0x70]
call fcn.140061ab0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002677a
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rsi
mov word [rbp - 0x48], si
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rsi
mov word [rbp - 0x28], si
mov dword [rbp - 0x50], 0x804
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x70], si
lea r8d, [rax + 5]
lea rdx, str.CLSID
lea rcx, [rbp - 0x70]
call fcn.140006900
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140026702
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x70]
call fcn.1400260b0
nop
cmp qword [rbp - 0x58], 8
jb 0x140026712
mov rcx, qword [rbp - 0x70]
call fcn.1400bd20c
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x70], si
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.140029920
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp - 0x10], 8
jb 0x14002674a
mov rcx, qword [rbp - 0x28]
call fcn.1400bd20c
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rsi
mov word [rbp - 0x28], si
cmp qword [rbp - 0x30], 8
jb 0x14002676a
mov rcx, qword [rbp - 0x48]
call fcn.1400bd20c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rsi
mov word [rbp - 0x48], si
cmp byte [rbx + 0x19], 0
jne 0x1400267ce
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400267ae
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1400267ce
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400267a0
jmp 0x1400267ce
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400267cb
cmp rbx, qword [rax + 0x10]
jne 0x1400267cb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400267b8
mov rbx, rax
cmp rbx, qword [rsp + 0x50]
jne 0x140026620
cmp qword [rbp - 0x78], 8
jb 0x1400267ea
mov rcx, qword [rsp + 0x70]
call fcn.1400bd20c
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
mov r8, qword [rsp + 0x50]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140029cc0
mov rcx, qword [rsp + 0x50]
call fcn.1400bd20c
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.1400bcae0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret