Function at 0x1402116d8
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x8390]
mov eax, 0x8490
call fcn.1400cbf30
sub rsp, rax
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp + 0x8380], rax
mov r13, qword [rcx + 8]
lea rbx, [rcx + 0x30]
mov r12b, r8b
mov rax, qword [rbx]
mov rcx, rbx
mov sil, dl
call qword [rax + 0x30]
xor r14d, r14d
mov dil, al
test al, al
je 0x14021194d
lea rax, [rbp - 0x80]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x7c]
xor edx, edx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x74]
mov rcx, r13
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x6c]
mov dword [rsp + 0x68], r14d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x64]
mov dword [rsp + 0x70], r14d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov dword [rsp + 0x78], r14d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov dword [rsp + 0x64], r14d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov dword [rsp + 0x6c], r14d
mov dword [rsp + 0x74], r14d
mov dword [rsp + 0x7c], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14021194d
test sil, sil
je 0x140211880
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x140211865
mov esi, r14d
test dil, dil
je 0x140211880
lea rax, [rbp - 0x80]
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov edx, esi
mov rcx, r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x60], 0x1f4
mov qword [rsp + 0x20], r14
mov word [rbp - 0x70], r14w
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14021184b
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14021184b
mov word [rbp + rax*2 - 0x70], r14w
mov rax, qword [rbx]
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [rax + 0x38]
mov r11, qword [rbx]
mov r8d, dword [rsp + 0x68]
lea edx, [rsi + 1]
mov rcx, rbx
call qword [r11 + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
inc esi
mov dil, al
cmp esi, dword [rsp + 0x68]
jb 0x1402117d8
jmp 0x140211880
mov rax, qword [rbx]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x30]
mov dil, al
test r12b, r12b
je 0x14021194d
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x140211935
mov esi, r14d
test dil, dil
je 0x14021194d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x380]
mov edx, esi
mov rcx, r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x60], 0x3fff
mov word [rbp + 0x380], r14w
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1402118fa
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1402118fa
mov word [rbp + rax*2 + 0x380], r14w
lea rdx, [rbp + 0x380]
jmp 0x140211901
lea rdx, [0x140330de8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
mov rax, qword [rbx]
mov r8d, dword [rsp + 0x64]
inc esi
mov rcx, rbx
mov edx, esi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x30]
mov dil, al
cmp esi, dword [rsp + 0x64]
jb 0x140211898
jmp 0x14021194d
mov rax, qword [rbx]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x30]
mov rcx, qword [rbp + 0x8380]
xor rcx, rsp
call fcn.1400be110
lea r11, [rsp + 0x8490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret