Function at 0x140008440
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140023078]
xor rax, rsp
mov qword [rbp + 0x47], rax
call fcn.1400078e0
test eax, eax
jne 0x14000878c
mov ecx, dword [0x140023970]
mov rax, qword gs:[0x58]
mov edx, 4
mov rsi, qword [rax + rcx*8]
add rsi, rdx
mov eax, dword [rsi]
cmp dword [0x140023868], eax
jg 0x1400087ed
lea rdi, [0x140023040]
cmp qword [0x140023050], 0
jne 0x1400086e1
xor r14d, r14d
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x3f], 7
mov word [rbp + 0x27], r14w
lea r8d, [r14 + 0x32]
lea rdx, str.BrowserWCFirefoxExtncomponentsWCFirefoxExtn.dll
lea rcx, [rbp + 0x27]
call fcn.14000a020
nop
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r14w
lea r8d, [r14 + 0x1d]
lea rdx, str.SOFTWAREAdobeAdobe_Acrobat_
lea rcx, [rbp + 7]
call fcn.14000a020
nop
lea r8d, [r14 + 2]
lea rdx, [0x14001b654]
lea rcx, [rbp + 7]
call fcn.140009ea0
lea r8d, [r14 + 0xc]
lea rdx, str.InstallPath
lea rcx, [rbp + 7]
call fcn.140009ea0
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 1]
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008648
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000863d
mov eax, dword [rbp - 9]
test eax, eax
je 0x14000863d
lea ecx, [rax + 1]
lea rdx, [0x14001c750]
call fcn.140017520
mov rbx, rax
test rax, rax
je 0x14000863d
mov r8d, dword [rbp - 9]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140008635
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400085f0
mov rdx, rbx
mov rcx, rdi
call fcn.14000a020
mov r8d, 1
lea rdx, [0x14001b774]
mov rcx, rdi
call fcn.140009ea0
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rdx, qword [rbp + 0x27]
mov r8, qword [rbp + 0x37]
mov rcx, rdi
call fcn.140009ea0
mov rcx, rbx
call fcn.140017518
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x14000868c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008686
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008686
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017518
nop
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r14w
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x1400086e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400086db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400086db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017518
nop
cmp qword [0x1400237f8], 0
jne 0x14000878c
mov ecx, 1
call fcn.1400013c0
test eax, eax
jne 0x140008728
cmp qword [0x140023050], 0
je 0x140008728
cmp qword [0x140023058], 8
cmovae rdi, qword [0x140023040]
mov rcx, rdi
call fcn.14000b950
mov qword [0x1400237f8], rax
jmp 0x14000872f
mov rax, qword [0x1400237f8]
test rax, rax
je 0x140008791
lea rdx, str._CPP_SetParentWindowClass
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140008765
mov ecx, dword [rsi]
cmp dword [0x140023870], ecx
jg 0x1400087bc
mov ecx, dword [0x14002386c]
mov rax, rbx
call qword [0x14001a808]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r9d, 2
xor r8d, r8d
lea rdx, [0x140009b70]
call fcn.1400021b0
mov qword [0x1400237f0], rax
mov eax, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400175c0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [0x140023870]
call fcn.1400179f8
cmp dword [0x140023870], 0xffffffff
jne 0x140008756
call fcn.1400067e0
mov dword [0x14002386c], eax
lea rcx, [0x140023870]
call fcn.140017998
jmp 0x140008756
lea rcx, [0x140023868]
call fcn.1400179f8
cmp dword [0x140023868], 0xffffffff
jne 0x1400084a5
lea rcx, [0x140019c30]
call fcn.140017858
lea rcx, [0x140023868]
call fcn.140017998
jmp 0x1400084a5