Function at 0x1400085c0
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 [0x140024078]
xor rax, rsp
mov qword [rbp + 0x47], rax
call fcn.1400078e0
test eax, eax
jne 0x14000890c
mov ecx, dword [0x140024970]
mov rax, qword gs:[0x58]
mov edx, 4
mov rsi, qword [rax + rcx*8]
add rsi, rdx
mov eax, dword [rsi]
cmp dword [0x140024868], eax
jg 0x14000896d
lea rdi, [0x140024040]
cmp qword [0x140024050], 0
jne 0x140008861
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.14000a1a0
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.14000a1a0
nop
lea r8d, [r14 + 2]
lea rdx, [0x14001c654]
lea rcx, [rbp + 7]
call fcn.14000a020
lea r8d, [r14 + 0xc]
lea rdx, str.InstallPath
lea rcx, [rbp + 7]
call fcn.14000a020
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 0x1400087c8
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 0x1400087bd
mov eax, dword [rbp - 9]
test eax, eax
je 0x1400087bd
lea ecx, [rax + 1]
lea rdx, [0x14001d860]
call fcn.140017730
mov rbx, rax
test rax, rax
je 0x1400087bd
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 0x1400087b5
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x140008770
mov rdx, rbx
mov rcx, rdi
call fcn.14000a1a0
mov r8d, 1
lea rdx, [0x14001c774]
mov rcx, rdi
call fcn.14000a020
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rdx, qword [rbp + 0x27]
mov r8, qword [rbp + 0x37]
mov rcx, rdi
call fcn.14000a020
mov rcx, rbx
call fcn.140017728
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x14000880c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008806
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008806
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017728
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 0x140008861
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000885b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000885b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017728
nop
cmp qword [0x1400247f8], 0
jne 0x14000890c
mov ecx, 1
call fcn.1400013c0
test eax, eax
jne 0x1400088a8
cmp qword [0x140024050], 0
je 0x1400088a8
cmp qword [0x140024058], 8
cmovae rdi, qword [0x140024040]
mov rcx, rdi
call fcn.14000bad0
mov qword [0x1400247f8], rax
jmp 0x1400088af
mov rax, qword [0x1400247f8]
test rax, rax
je 0x140008911
lea rdx, str._CPP_SetParentWindowClass
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x1400088e5
mov ecx, dword [rsi]
cmp dword [0x140024870], ecx
jg 0x14000893c
mov ecx, dword [0x14002486c]
mov rax, rbx
call qword [0x14001b808]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r9d, 2
xor r8d, r8d
lea rdx, [0x140009cf0]
call fcn.1400021b0
mov qword [0x1400247f0], rax
mov eax, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400177d0
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, [0x140024870]
call fcn.140017c08
cmp dword [0x140024870], 0xffffffff
jne 0x1400088d6
call fcn.1400067e0
mov dword [0x14002486c], eax
lea rcx, [0x140024870]
call fcn.140017ba8
jmp 0x1400088d6
lea rcx, [0x140024868]
call fcn.140017c08
cmp dword [0x140024868], 0xffffffff
jne 0x140008625
lea rcx, [0x140019e40]
call fcn.140017a68
lea rcx, [0x140024868]
call fcn.140017ba8
jmp 0x140008625