Function at 0x140061160
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x228]
sub rsp, 0x328
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x280]
or rdi, 0xffffffffffffffff
mov r15, rdx
mov r13, r9
mov r12, r8
mov rbx, rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], 0
mov rdx, rdi
inc rdx
cmp word [rcx + rdx*2], 0
jne 0x1400611b2
inc rdx
call fcn.1400aa3f4
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.140004280
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400611e0
mov rcx, qword [rbx]
jmp 0x1400611e2
xor ecx, ecx
lea rdx, str._PROCESSID:
mov qword [rsp + 0x320], rsi
mov qword [rsp + 0x318], r14
call fcn.1400a99c0
test rax, rax
je 0x14006147c
test rbx, rbx
je 0x140061211
mov rcx, qword [rbx]
jmp 0x140061213
xor ecx, ecx
lea rdx, str._PROCESSID:
call fcn.1400a99c0
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
lea r14, [rax + 0x16]
call fcn.1400a8e40
mov rsi, rax
test rax, rax
je 0x1400614da
mov rcx, r14
mov qword [rax + 8], 0
mov dword [rax + 0x10], 1
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
jne 0x140061262
test r14, r14
jne 0x1400614b9
test rbx, rbx
je 0x14006126f
mov rcx, rbx
call fcn.140009910
mov qword [rsp + 0x30], rsi
lock inc dword [rsi + 0x10]
mov rcx, rsi
call fcn.140009910
lea r8, [rsp + 0x30]
lea rdx, str.CLSID_
lea rcx, [rsp + 0x68]
call fcn.140004350
xor r14d, r14d
mov rdx, qword [rax]
test rdx, rdx
je 0x1400612a6
mov rdx, qword [rdx]
jmp 0x1400612a9
mov rdx, r14
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x68]
test eax, eax
sete bl
test rcx, rcx
je 0x1400612dd
call fcn.140009910
test bl, bl
je 0x140061477
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006132e
lea rcx, [rbp - 0x10]
call fcn.1400a8238
mov rcx, qword [rsp + 0x38]
mov qword [r15], rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400a8e40
mov rbx, rax
test rax, rax
je 0x140061365
lea rcx, str.InProcServer32
mov qword [rax + 8], r14
mov dword [rax + 0x10], 1
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x140061368
jmp 0x1400614c4
mov rbx, r14
mov qword [rsp + 0x58], rbx
test rbx, rbx
je 0x1400614cf
lea r8, [rsp + 0x30]
lea rdx, str.CLSID_
lea rcx, [rsp + 0x48]
call fcn.140004350
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400043a0
mov rdx, qword [rax]
test rdx, rdx
je 0x1400613ab
mov rdx, qword [rdx]
jmp 0x1400613ae
mov rdx, r14
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
sete sil
test rcx, rcx
je 0x1400613e8
call fcn.140009910
mov qword [rsp + 0x50], r14
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400613fc
call fcn.140009910
mov qword [rsp + 0x48], r14
mov rcx, rbx
call fcn.140009910
test sil, sil
je 0x140061477
mov rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.14005f6f0
mov rbx, rax
test rax, rax
je 0x14006146c
nop dword [rax]
cmp word [rax + rdi*2 + 2], 0
lea rdi, [rdi + 1]
jne 0x140061420
lea rdx, [rdi + 1]
mov rcx, rax
call fcn.1400aa140
mov rcx, rbx
call fcn.1400a8238
lea rdx, [rsp + 0x70]
mov r9, r13
mov qword [r12], rax
mov rax, qword [rsp + 0x60]
mov r8d, 0x40
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140061640
mov rcx, rbx
call fcn.1400a82b0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140061489
mov rcx, rbx
call fcn.140009910
mov r14, qword [rsp + 0x318]
mov rsi, qword [rsp + 0x320]
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400ab140
add rsp, 0x328
pop r15
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1400a6a90
int3
mov ecx, 0x8007000e
call fcn.1400a6a90
int3
mov ecx, 0x8007000e
call fcn.1400a6a90
int3
mov ecx, 0x8007000e
call fcn.1400a6a90
int3