Function at 0x140005e50
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x14002c008]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r15, rcx
mov r12d, r8d
or rcx, 0xffffffffffffffff
mov r13, rdx
mov rsi, rcx
xor eax, eax
inc rsi
cmp word [r15 + rsi*2], ax
jne 0x140005e92
test rsi, rsi
je 0x140005f28
cmp word [r15 + rsi*2 - 2], 0x5c
mov edi, 1
je 0x140005ebc
cmp word [r15 + rsi*2 - 2], 0x2f
jne 0x140005ebf
sub rsi, rdi
lea rbx, [rsi + 2]
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.14000762c
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rax
mov r14, rax
call fcn.140008760
lea r8, [rsi + 1]
mov rdx, r15
mov rcx, r14
call fcn.1400094a0
mov rcx, r14
call fcn.14000d094
xor r15d, r15d
lea edx, [rsi + rsi]
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
lea r8, [rsp + 0x68]
mov rcx, r14
call fcn.140005a18
mov rcx, r14
test eax, eax
jne 0x140005f54
call fcn.140007668
xor eax, eax
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.140007360
mov rbx, qword [rsp + 0x910]
add rsp, 0x8c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140007668
mov r8d, 0x104
lea rdx, str.SOFTWAREMozillaMaintenanceService_
lea rcx, [rbp + 0x3a0]
call fcn.1400094a0
lea rsi, [rbp + 0x3e8]
mov r14, qword [rsp + 0x68]
mov ebx, r15d
cmp dword [rsp + 0x60], r15d
jbe 0x140005fab
mov eax, ebx
lea rdx, str._.2x
mov rcx, rsi
movzx r8d, byte [rax + r14]
call qword [sym.imp.USER32.dll_wsprintfW]
add rsi, 4
add ebx, edi
cmp ebx, dword [rsp + 0x60]
jb 0x140005f88
mov rcx, r14
call fcn.140007668
lea rax, [rsp + 0x78]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x3a0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r14, [0x14001dc10]
mov ebx, eax
lea rsi, [0x14002df50]
test eax, eax
je 0x1400060c7
mov ecx, dword [0x14002df0c]
test dil, cl
jne 0x140006014
or ecx, edi
mov qword [0x14002df50], r15
mov dword [0x14002df0c], ecx
mov rcx, r14
call fcn.140007614
mov r8d, ebx
lea rdx, str.Could_not_open_key.____d_
mov rcx, rsi
call fcn.140007060
lea rax, [rsp + 0x78]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMozillaMaintenanceService3932ecacee736d366d6436db0f55bce4
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x14000608c
mov edx, dword [0x14002df0c]
test dil, dl
jne 0x140006075
or edx, edi
mov qword [0x14002df50], r15
mov rcx, r14
mov dword [0x14002df0c], edx
call fcn.140007614
mov r8d, ebx
lea rdx, str.Could_not_open_fallback_key.____d_
mov rcx, rsi
call fcn.140007060
jmp 0x140005f28
test r12d, r12d
je 0x1400060c7
mov eax, dword [0x14002df0c]
test dil, al
jne 0x1400060b3
or eax, edi
mov qword [0x14002df50], r15
mov rcx, r14
mov dword [0x14002df0c], eax
call fcn.140007614
lea rdx, str.Fallback_key_present__skipping_VerifyCertificateTrustForFile_check_and_the_certificate_attribute_registry_matching_check.
mov rcx, rsi
call fcn.140007060
jmp 0x1400063d3
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], r15
xor r9d, r9d
mov qword [rsp + 0x50], r15
xor r8d, r8d
mov qword [rsp + 0x48], r15
xor edx, edx
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], r15d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
test eax, eax
je 0x140006146
mov ecx, dword [0x14002df0c]
test dil, cl
jne 0x140006134
or ecx, edi
mov qword [0x14002df50], r15
mov dword [0x14002df0c], ecx
mov rcx, r14
call fcn.140007614
mov r8d, ebx
lea rdx, str.Could_not_query_info_key.____d_
mov rcx, rsi
jmp 0x1400063cb
mov ebx, r15d
cmp dword [rsp + 0x70], r15d
jbe 0x1400063d0
lea r12, [0x14002df50]
mov rcx, qword [rsp + 0x78]
lea r9, [rbp - 0x80]
mov qword [rsp + 0x38], r15
lea r8, [rbp + 0x5b0]
mov qword [rsp + 0x30], r15
mov edx, ebx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov dword [rbp - 0x80], 0xff
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test eax, eax
jne 0x14000639c
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x68]
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x5b0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
je 0x1400061fc
mov ecx, dword [0x14002df0c]
test dil, cl
jne 0x1400061e5
or ecx, edi
mov qword [0x14002df50], r15
mov dword [0x14002df0c], ecx
mov rcx, r14
call fcn.140007614
mov r8d, esi
lea rdx, str.Could_not_open_subkey.____d_
mov rcx, r12
call fcn.140007060
jmp 0x14000638e
mov esi, 0x200
lea rcx, [rbp - 0x60]
mov r8d, esi
mov dword [rsp + 0x60], esi
xor edx, edx
call fcn.140008760
mov r8d, esi
lea rcx, [rbp + 0x1a0]
xor edx, edx
call fcn.140008760
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.name
lea rax, [rbp - 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
je 0x140006283
mov ecx, dword [0x14002df0c]
test dil, cl
jne 0x140006277
or ecx, edi
mov qword [0x14002df50], r15
mov dword [0x14002df0c], ecx
mov rcx, r14
call fcn.140007614
lea rdx, str.Could_not_obtain_name_from_registry.____d_
jmp 0x140006378
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.issuer
lea rax, [rbp + 0x1a0]
mov dword [rsp + 0x60], 0x200
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
je 0x1400062ed
mov ecx, dword [0x14002df0c]
test dil, cl
jne 0x1400062e1
or ecx, edi
mov qword [0x14002df50], r15
mov dword [0x14002df0c], ecx
mov rcx, r14
call fcn.140007614
lea rdx, str.Could_not_obtain_issuer_from_registry.____d_
jmp 0x140006378
lea rax, [rbp - 0x60]
mov rcx, r13
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x78]
lea rax, [rbp + 0x1a0]
mov qword [rbp - 0x70], rax
call fcn.140005314
mov esi, eax
test eax, eax
je 0x14000633d
mov ecx, dword [0x14002df0c]
test dil, cl
jne 0x140006334
or ecx, edi
mov qword [0x14002df50], r15
mov dword [0x14002df0c], ecx
mov rcx, r14
call fcn.140007614
lea rdx, str.Error_on_certificate_check.____d_
jmp 0x140006378
mov rcx, r13
call fcn.14000589c
mov esi, eax
test eax, eax
je 0x1400063d3
mov ecx, dword [0x14002df0c]
test dil, cl
jne 0x140006371
or ecx, edi
mov qword [0x14002df50], r15
mov dword [0x14002df0c], ecx
mov rcx, r14
call fcn.140007614
lea rdx, str.Error_on_certificate_trust_check.____d_
mov r8d, esi
mov rcx, r12
call fcn.140007060
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, edi
cmp ebx, dword [rsp + 0x70]
jb 0x14000615b
jmp 0x1400063d0
mov eax, dword [0x14002df0c]
test dil, al
jne 0x1400063be
or eax, edi
mov qword [0x14002df50], r15
mov rcx, r14
mov dword [0x14002df0c], eax
call fcn.140007614
mov r8d, esi
lea rdx, str.Could_not_enum_certs.____d_
mov rcx, r12
call fcn.140007060
mov edi, r15d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x140005f2a