Function at 0x140005ebc
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 0x140005efe
test rsi, rsi
je 0x140005f94
cmp word [r15 + rsi*2 - 2], 0x5c
mov edi, 1
je 0x140005f28
cmp word [r15 + rsi*2 - 2], 0x2f
jne 0x140005f2b
sub rsi, rdi
lea rbx, [rsi + 2]
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.1400075cc
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rax
mov r14, rax
call fcn.140008490
lea r8, [rsi + 1]
mov rdx, r15
mov rcx, r14
call fcn.14000903c
mov rcx, r14
call fcn.14000ce14
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.140005a84
mov rcx, r14
test eax, eax
jne 0x140005fc0
call fcn.140007608
xor eax, eax
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.140007300
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.140007608
mov r8d, 0x104
lea rdx, str.SOFTWAREMozillaMaintenanceService_
lea rcx, [rbp + 0x3a0]
call fcn.14000903c
lea rsi, [rbp + 0x3e8]
mov r14, qword [rsp + 0x68]
mov ebx, r15d
cmp dword [rsp + 0x60], r15d
jbe 0x140006017
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 0x140005ff4
mov rcx, r14
call fcn.140007608
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, [0x14001da60]
mov ebx, eax
lea rsi, [0x14002df30]
test eax, eax
je 0x140006133
mov ecx, dword [0x14002def4]
test dil, cl
jne 0x140006080
or ecx, edi
mov qword [0x14002df30], r15
mov dword [0x14002def4], ecx
mov rcx, r14
call fcn.1400075b4
mov r8d, ebx
lea rdx, str.Could_not_open_key.____d_
mov rcx, rsi
call fcn.140007010
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 0x1400060f8
mov edx, dword [0x14002def4]
test dil, dl
jne 0x1400060e1
or edx, edi
mov qword [0x14002df30], r15
mov rcx, r14
mov dword [0x14002def4], edx
call fcn.1400075b4
mov r8d, ebx
lea rdx, str.Could_not_open_fallback_key.____d_
mov rcx, rsi
call fcn.140007010
jmp 0x140005f94
test r12d, r12d
je 0x140006133
mov eax, dword [0x14002def4]
test dil, al
jne 0x14000611f
or eax, edi
mov qword [0x14002df30], r15
mov rcx, r14
mov dword [0x14002def4], eax
call fcn.1400075b4
lea rdx, str.Fallback_key_present__skipping_VerifyCertificateTrustForFile_check_and_the_certificate_attribute_registry_matching_check.
mov rcx, rsi
call fcn.140007010
jmp 0x14000643f
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 0x1400061b2
mov ecx, dword [0x14002def4]
test dil, cl
jne 0x1400061a0
or ecx, edi
mov qword [0x14002df30], r15
mov dword [0x14002def4], ecx
mov rcx, r14
call fcn.1400075b4
mov r8d, ebx
lea rdx, str.Could_not_query_info_key.____d_
mov rcx, rsi
jmp 0x140006437
mov ebx, r15d
cmp dword [rsp + 0x70], r15d
jbe 0x14000643c
lea r12, [0x14002df30]
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 0x140006408
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 0x140006268
mov ecx, dword [0x14002def4]
test dil, cl
jne 0x140006251
or ecx, edi
mov qword [0x14002df30], r15
mov dword [0x14002def4], ecx
mov rcx, r14
call fcn.1400075b4
mov r8d, esi
lea rdx, str.Could_not_open_subkey.____d_
mov rcx, r12
call fcn.140007010
jmp 0x1400063fa
mov esi, 0x200
lea rcx, [rbp - 0x60]
mov r8d, esi
mov dword [rsp + 0x60], esi
xor edx, edx
call fcn.140008490
mov r8d, esi
lea rcx, [rbp + 0x1a0]
xor edx, edx
call fcn.140008490
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 0x1400062ef
mov ecx, dword [0x14002def4]
test dil, cl
jne 0x1400062e3
or ecx, edi
mov qword [0x14002df30], r15
mov dword [0x14002def4], ecx
mov rcx, r14
call fcn.1400075b4
lea rdx, str.Could_not_obtain_name_from_registry.____d_
jmp 0x1400063e4
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 0x140006359
mov ecx, dword [0x14002def4]
test dil, cl
jne 0x14000634d
or ecx, edi
mov qword [0x14002df30], r15
mov dword [0x14002def4], ecx
mov rcx, r14
call fcn.1400075b4
lea rdx, str.Could_not_obtain_issuer_from_registry.____d_
jmp 0x1400063e4
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.140005380
mov esi, eax
test eax, eax
je 0x1400063a9
mov ecx, dword [0x14002def4]
test dil, cl
jne 0x1400063a0
or ecx, edi
mov qword [0x14002df30], r15
mov dword [0x14002def4], ecx
mov rcx, r14
call fcn.1400075b4
lea rdx, str.Error_on_certificate_check.____d_
jmp 0x1400063e4
mov rcx, r13
call fcn.140005908
mov esi, eax
test eax, eax
je 0x14000643f
mov ecx, dword [0x14002def4]
test dil, cl
jne 0x1400063dd
or ecx, edi
mov qword [0x14002df30], r15
mov dword [0x14002def4], ecx
mov rcx, r14
call fcn.1400075b4
lea rdx, str.Error_on_certificate_trust_check.____d_
mov r8d, esi
mov rcx, r12
call fcn.140007010
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, edi
cmp ebx, dword [rsp + 0x70]
jb 0x1400061c7
jmp 0x14000643c
mov eax, dword [0x14002def4]
test dil, al
jne 0x14000642a
or eax, edi
mov qword [0x14002df30], r15
mov rcx, r14
mov dword [0x14002def4], eax
call fcn.1400075b4
mov r8d, esi
lea rdx, str.Could_not_enum_certs.____d_
mov rcx, r12
call fcn.140007010
mov edi, r15d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x140005f96