Function at 0x140082df8
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 [0x140312ca0]
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.1400b8c40
lea edx, [rdi + 1]
lea rcx, [rbp - 0x50]
call fcn.140008ad0
nop
test bl, bl
je 0x140082e69
lea rdx, str.Wow6432Node_
lea rcx, [rbp - 0x50]
call fcn.140021f84
lea rdx, str.CLSID_
lea rcx, [rbp - 0x50]
call fcn.140021f84
mov rcx, rax
mov rdx, rsi
call fcn.140021f84
mov rcx, rax
lea rdx, str.LocalServer32
call fcn.140021f84
nop
mov qword [rsp + 0x78], rdi
movdqa xmm0, xmmword [0x1402c7850]
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.14000ab84
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140082eda
mov r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.14000afb8
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 0x140082f94
mov qword [rsp + 0x58], rdi
movdqa xmm0, xmmword [0x1402c7850]
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.14000ab84
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140082f5c
mov r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14000afb8
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 0x140082f97
mov sil, 1
test bl, 2
je 0x140082faa
and ebx, 0xfffffffd
lea rcx, [rsp + 0x58]
call fcn.140009e68
nop
test bl, 1
je 0x140082fb9
lea rcx, [rsp + 0x78]
call fcn.140009e68
test sil, sil
je 0x140083048
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 0x14008303d
mov ecx, dword [rbp - 0x68]
call fcn.1400ca7b0
mov rbx, rax
test rax, rax
je 0x14008303d
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 0x140083035
mov qword [r14], rbx
mov dil, 1
jmp 0x14008303d
mov rcx, rbx
call fcn.1400ca284
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x38]
call fcn.140008a54
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x38]
call fcn.140091374
nop
mov al, dil
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400b5860
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret