Function at 0x140009560
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140026080]
xor rax, rsp
mov qword [rbp + 0x27], rax
call fcn.1400085c0
test eax, eax
jne 0x140009a2b
mov ecx, dword [0x140026970]
mov rax, qword gs:[0x58]
mov edx, 4
mov r12, qword [rax + rcx*8]
add r12, rdx
mov eax, dword [r12]
cmp dword [0x1400268a8], eax
jg 0x140009a90
lea r14, [0x140026040]
cmp qword [0x140026050], 0
jne 0x14000997e
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xor r13d, r13d
mov qword [rbp + 0x17], r13
mov qword [rbp + 0x1f], r13
lea r8d, [r13 + 0x32]
lea rdx, str.BrowserWCFirefoxExtncomponentsWCFirefoxExtn.dll
lea rcx, [rbp + 7]
call fcn.140003d30
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r13
mov qword [rbp - 1], r13
lea r8d, [r13 + 0x1d]
lea rdx, str.SOFTWAREAdobeAdobe_Acrobat_
lea rcx, [rbp - 0x19]
call fcn.140003d30
nop
mov rcx, qword [rbp - 9]
mov rdx, qword [rbp - 1]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x140009662
lea rax, [rcx + 2]
mov qword [rbp - 9], rax
lea rax, [rbp - 0x19]
cmp rdx, 7
cmova rax, qword [rbp - 0x19]
mov dword [rax + rcx*2], 0x430044
mov word [rax + rcx*2 + 4], r13w
jmp 0x140009682
mov qword [rsp + 0x20], 2
lea r9, [0x14001d704]
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rbp - 0x19]
call fcn.140004eb0
mov rdi, qword [rbp - 9]
mov rcx, qword [rbp - 1]
mov rax, rcx
sub rax, rdi
cmp rax, 0xc
jb 0x1400096c9
lea rax, [rdi + 0xc]
mov qword [rbp - 9], rax
lea rbx, [rbp - 0x19]
cmp rcx, 7
cmova rbx, qword [rbp - 0x19]
lea rcx, [rbx + rdi*2]
mov r8d, 0x18
lea rdx, str.InstallPath
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0x18], r13w
jmp 0x1400096e9
mov qword [rsp + 0x20], 0xc
lea r9, str.InstallPath
xor r8d, r8d
lea edx, [r8 + 0xc]
lea rcx, [rbp - 0x19]
call fcn.140004eb0
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rdx, qword [rbp - 0x19]
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400098e5
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400098da
mov eax, dword [rbp - 0x29]
test eax, eax
je 0x1400098da
lea ecx, [rax + 1]
lea rdx, [0x14001e920]
call fcn.1400190a0
mov rsi, rax
test rax, rax
je 0x1400098da
mov r8d, dword [rbp - 0x29]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400098d2
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rsi + rdx*2], 0
jne 0x1400097b0
mov rax, qword [0x140026058]
cmp rdx, rax
ja 0x1400097f5
mov rdi, r14
cmp rax, 7
cmova rdi, qword [0x140026040]
mov qword [0x140026050], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], r13w
jmp 0x140009803
mov r9, rsi
xor r8d, r8d
mov rcx, r14
call fcn.1400049d0
mov rcx, qword [0x140026050]
mov rdx, qword [0x140026058]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140009840
lea rax, [rcx + 1]
mov qword [0x140026050], rax
mov rax, r14
cmp rdx, 7
cmova rax, qword [0x140026040]
mov dword [rax + rcx*2], 0x5c
jmp 0x14000985f
mov qword [rsp + 0x20], 1
lea r9, [0x14001d824]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, r14
call fcn.140004eb0
lea r9, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova r9, qword [rbp + 7]
mov r15, qword [0x140026050]
mov rcx, qword [0x140026058]
mov rax, rcx
sub rax, r15
mov rdi, qword [rbp + 0x17]
cmp rdi, rax
ja 0x1400098bf
lea rax, [r15 + rdi]
mov qword [0x140026050], rax
mov rbx, r14
cmp rcx, 7
cmova rbx, qword [0x140026040]
lea rcx, [rbx + r15*2]
lea r8, [rdi + rdi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + rdi]
mov word [rbx + rax*2], r13w
jmp 0x1400098d2
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call fcn.140004eb0
mov rcx, rsi
call fcn.140019098
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x140009929
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009923
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009923
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140019098
nop
mov qword [rbp - 9], r13
mov qword [rbp - 1], 7
mov word [rbp - 0x19], r13w
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x14000997e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009978
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009978
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140019098
nop
cmp qword [0x140026828], 0
jne 0x140009a2b
mov ecx, 1
call fcn.1400013f0
test eax, eax
jne 0x1400099c5
cmp qword [0x140026050], 0
je 0x1400099c5
cmp qword [0x140026058], 7
cmova r14, qword [0x140026040]
mov rcx, r14
call fcn.14000cbb0
mov qword [0x140026828], rax
jmp 0x1400099cc
mov rax, qword [0x140026828]
test rax, rax
je 0x140009a30
lea rdx, str._CPP_SetParentWindowClass
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140009a04
mov ecx, dword [r12]
cmp dword [0x1400268b0], ecx
jg 0x140009a5f
mov ecx, dword [0x1400268ac]
mov rax, rbx
call qword [0x14001c8a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r9d, 2
xor r8d, r8d
lea rdx, [0x14000b1a0]
call fcn.1400021d0
mov qword [0x140026838], rax
mov eax, 1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140019140
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [0x1400268b0]
call fcn.140019484
cmp dword [0x1400268b0], 0xffffffff
jne 0x1400099f5
call fcn.140007290
mov dword [0x1400268ac], eax
lea rcx, [0x1400268b0]
call fcn.140019418
jmp 0x1400099f5
lea rcx, [0x1400268a8]
call fcn.140019484
cmp dword [0x1400268a8], 0xffffffff
jne 0x1400095ca
lea rcx, [0x14001b6e0]
call fcn.1400193c4
lea rcx, [0x1400268a8]
call fcn.140019418
jmp 0x1400095ca