Function at 0x140087818
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140319d50]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov bl, r8b
mov rsi, rdx
mov r14, rcx
xor edi, edi
mov dword [rbp - 0x68], edi
mov qword [rcx], rdi
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x50]
call fcn.1400bd6d0
lea edx, [rdi + 1]
lea rcx, [rbp - 0x50]
call fcn.140008980
nop
test bl, bl
je 0x140087889
lea rdx, str.Wow6432Node_
lea rcx, [rbp - 0x50]
call fcn.140022514
lea rdx, str.CLSID_
lea rcx, [rbp - 0x50]
call fcn.140022514
mov rcx, rax
mov rdx, rsi
call fcn.140022514
mov rcx, rax
lea rdx, str.LocalServer32
call fcn.140022514
nop
mov qword [rsp + 0x78], rdi
movdqa xmm0, xmmword [0x1402cdf00]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], di
mov dword [rbp - 0x68], 8
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.14000aa34
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x1400878fa
mov r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.14000ae68
nop
mov ebx, 5
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rsi, 0xffffffff80000000
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400879b4
mov qword [rsp + 0x58], rdi
movdqa xmm0, xmmword [0x1402cdf00]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], di
mov dword [rbp - 0x68], 0x25
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.14000aa34
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14008797c
mov r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14000ae68
nop
mov ebx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov sil, dil
jne 0x1400879b7
mov sil, 1
test bl, 2
je 0x1400879ca
and ebx, 0xfffffffd
lea rcx, [rsp + 0x58]
call fcn.140009d18
nop
test bl, 1
je 0x1400879d9
lea rcx, [rsp + 0x78]
call fcn.140009d18
test sil, sil
je 0x140087a68
mov dword [rbp - 0x68], edi
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140087a5d
mov ecx, dword [rbp - 0x68]
call fcn.1400cf240
mov rbx, rax
test rax, rax
je 0x140087a5d
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140087a55
mov qword [r14], rbx
mov dil, 1
jmp 0x140087a5d
mov rcx, rbx
call fcn.1400ced14
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x38]
call fcn.140008904
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x38]
call fcn.140095e04
nop
mov al, dil
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400ba2f0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret