Function at 0x14000160c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1130]
mov eax, 0x1230
call fcn.140002890
sub rsp, rax
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rbp + 0x1120], rax
mov r12, qword [rbp + 0x1190]
xor r13d, r13d
mov r15d, r13d
or rax, 0xffffffffffffffff
mov r14, r9
mov rsi, rdx
mov rbx, rcx
inc rax
cmp word [r8 + rax*2], r13w
jne 0x14000165c
add eax, 0x12
mov edi, 0x104
cmp eax, edi
jb 0x140001679
xor eax, eax
jmp 0x1400018f6
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140001008
lea r8, str.PersistentHandler
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140001094
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400018f3
mov rbx, qword [rsp + 0x48]
lea r8, str.Unknown
mov rdx, rdi
mov rcx, r14
call fcn.140001008
lea r8, str.Unknown
mov rdx, rdi
mov rcx, r12
call fcn.140001008
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rbp + 0x180]
mov dword [rsp + 0x34], 0x7d0
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400018df
lea r8, str.PersistentAddinsRegistered89BCB740_6119_101A_BCB7_00DD010655AF
mov word [rbp + 0x94e], r13w
mov edx, 0x3e8
lea rcx, [rbp + 0x180]
call fcn.140001094
lea rax, [rsp + 0x58]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x180]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov rdi, qword [rsp + 0x58]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rbp + 0x950]
mov dword [rsp + 0x38], 0x7d0
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400018cb
cmp dword [rsp + 0x30], 1
jne 0x1400018cb
lea rax, [rsp + 0x50]
mov word [rbp + 0x111e], r13w
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x950]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400018cb
mov rsi, qword [rsp + 0x50]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
mov rcx, rsi
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov dword [rsp + 0x3c], 0x104
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.InprocServer32
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400018b7
mov r14, qword [rsp + 0x60]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
mov rcx, r14
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov dword [rsp + 0x40], 0x104
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov r15d, 1
test r14, r14
je 0x1400018b7
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test rsi, rsi
je 0x1400018cb
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test rdi, rdi
je 0x1400018df
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test rbx, rbx
je 0x1400018f3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, r15d
mov rcx, qword [rbp + 0x1120]
xor rcx, rsp
call fcn.1400022d0
mov rbx, qword [rsp + 0x1280]
add rsp, 0x1230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret