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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x14003a010]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r14, rdx
lea rdx, [rbp + 0x590]
call fcn.1400098cc
xor r15d, r15d
test eax, eax
jne 0x140009d87
xor eax, eax
jmp 0x14000a06c
lea rax, [rsp + 0x70]
mov rdi, 0xffffffff80000002
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
lea rdx, [rbp + 0x590]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x140009e29
call fcn.140002608
mov rcx, rax
lea rdx, str.Could_not_open_key.____d_
mov r8d, ebx
call fcn.14000a144
lea rax, [rsp + 0x70]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMozillaMaintenanceService3932ecacee736d366d6436db0f55bce4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
call fcn.140002608
mov rcx, rax
test ebx, ebx
je 0x140009e13
mov r8d, ebx
lea rdx, str.Could_not_open_fallback_key.____d_
call fcn.14000a144
jmp 0x140009d80
lea rdx, str.Fallback_key_present__skipping_VerifyCertificateTrustForFile_check_and_the_certificate_attribute_registry_matching_check.
call fcn.14000a144
mov ebx, 1
jmp 0x14000a05f
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x64]
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 + 0x64], r15d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
test eax, eax
je 0x140009e88
call fcn.140002608
mov r8d, ebx
lea rdx, str.Could_not_query_info_key.____d_
jmp 0x14000a054
mov edi, r15d
cmp dword [rsp + 0x64], r15d
jbe 0x14000a05c
mov ebx, 1
mov r12d, 0x200
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x38], r15
lea r8, [rbp + 0x390]
mov qword [rsp + 0x30], r15
mov edx, edi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x78], 0xff
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test eax, eax
jne 0x14000a045
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x390]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
je 0x140009f27
call fcn.140002608
mov rcx, rax
lea rdx, str.Could_not_open_subkey.____d_
mov r8d, esi
call fcn.14000a144
jmp 0x14000a037
mov r8, r12
mov dword [rsp + 0x60], r12d
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.14000f4f0
mov r8, r12
lea rcx, [rbp + 0x190]
xor edx, edx
call fcn.14000f4f0
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.name
lea rax, [rbp - 0x70]
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 0x140009f8d
call fcn.140002608
lea rdx, str.Could_not_obtain_name_from_registry.____d_
jmp 0x14000a021
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.issuer
lea rax, [rbp + 0x190]
mov dword [rsp + 0x60], r12d
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 0x140009fd4
call fcn.140002608
lea rdx, str.Could_not_obtain_issuer_from_registry.____d_
jmp 0x14000a021
lea rax, [rbp - 0x70]
mov rcx, r14
mov qword [rbp - 0x80], rax
lea rdx, [rbp - 0x80]
lea rax, [rbp + 0x190]
mov qword [rbp - 0x78], rax
call fcn.14000922c
mov esi, eax
test eax, eax
je 0x14000a007
call fcn.140002608
lea rdx, str.Error_on_certificate_check.____d_
jmp 0x14000a021
mov rcx, r14
call fcn.140009644
mov esi, eax
test eax, eax
je 0x14000a05f
call fcn.140002608
lea rdx, str.Error_on_certificate_trust_check.____d_
mov r8d, esi
mov rcx, rax
call fcn.14000a144
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, ebx
cmp edi, dword [rsp + 0x64]
jb 0x140009ea1
jmp 0x14000a05c
call fcn.140002608
mov r8d, esi
lea rdx, str.Could_not_enum_certs.____d_
mov rcx, rax
call fcn.14000a144
mov ebx, r15d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.14000d4c0
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret