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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x8c8
movaps xmmword [rsp + 0x8b0], xmm6
mov edi, r8d
mov r14, rdx
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x8a8], rax
lea rdx, [rsp + 0x690]
call fcn.14000bd90
test eax, eax
je 0x14000c5ac
lea rsi, [rsp + 0x88]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x690]
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20119
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000c514
mov ebx, eax
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ca36
lea rcx, [0x140039fa8]
lea rdx, str.Could_not_open_key.____d_
mov r8d, ebx
call fcn.14000cf10
mov qword [rsp + 0x20], rsi
lea rdx, str.SOFTWAREMozillaMaintenanceService3932ecacee736d366d6436db0f55bce4
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20119
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000c4c0
mov ebx, eax
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ca77
lea rcx, [0x140039fa8]
lea rdx, str.Could_not_open_fallback_key.____d_
mov r8d, ebx
call fcn.14000cf10
jmp 0x14000c5ac
test edi, edi
je 0x14000c514
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000caf9
lea rcx, [0x140039fa8]
lea rdx, str.Fallback_key_present__skipping_VerifyCertificateTrustForFile_check_and_the_certificate_attribute_registry_matching_check.
call fcn.14000cf10
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x14000c5ae
mov dword [rsp + 0x84], 0
mov rcx, qword [rsp + 0x88]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x28], xmm0
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14000c5dc
mov edi, eax
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000cab8
lea rcx, [0x140039fa8]
lea rdx, str.Could_not_query_info_key.____d_
mov r8d, edi
call fcn.14000cf10
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov rcx, qword [rsp + 0x8a8]
xor rcx, rsp
call fcn.140019600
mov eax, esi
movaps xmm6, xmmword [rsp + 0x8b0]
add rsp, 0x8c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp dword [rsp + 0x84], 0
je 0x14000c59e
xorps xmm6, xmm6
lea r13, [rsp + 0x490]
lea rbp, [rsp + 0x90]
lea rdi, [rsp + 0x74]
mov rsi, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor r12d, r12d
nop dword [rax + rax]
mov dword [rsp + 0x80], 0xff
mov rcx, qword [rsp + 0x88]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov edx, r12d
mov r8, r13
lea r9, [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000c9f8
mov rcx, qword [rsp + 0x88]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rdx, r13
xor r8d, r8d
mov r9d, 0x20119
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000c6c0
mov ebx, eax
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000c8b3
lea rcx, [0x140039fa8]
lea rdx, str.Could_not_open_subkey.____d_
mov r8d, ebx
call fcn.14000cf10
jmp 0x14000c7bb
mov dword [rsp + 0x74], 0x200
mov r8d, 0x200
lea rbx, [rsp + 0x290]
mov rcx, rbx
xor edx, edx
call fcn.1400101d0
mov r8d, 0x200
mov rcx, rbp
xor edx, edx
call fcn.1400101d0
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea rdx, str.name
xor r8d, r8d
xor r9d, r9d
call rsi
test eax, eax
je 0x14000c749
mov ebx, eax
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000c8f4
lea rcx, [0x140039fa8]
lea rdx, str.Could_not_obtain_name_from_registry.____d_
jmp 0x14000c7a8
mov dword [rsp + 0x74], 0x200
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbp
lea rdx, str.issuer
xor r8d, r8d
xor r9d, r9d
call rsi
test eax, eax
je 0x14000c7e0
mov ebx, eax
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000c935
lea rcx, [0x140039fa8]
lea rdx, str.Could_not_obtain_issuer_from_registry.____d_
mov r8d, ebx
call fcn.14000cf10
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 4
cmp ebx, 4
jne 0x14000c50a
add r12d, 1
cmp r12d, dword [rsp + 0x84]
jb 0x14000c610
jmp 0x14000c59e
lea rax, [rsp + 0x290]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbp
mov rcx, r14
lea rdx, [rsp + 0x60]
call fcn.140008530
test eax, eax
je 0x14000c83a
mov ebx, eax
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000c976
lea rcx, [0x140039fa8]
lea rdx, str.Error_on_certificate_check.____d_
jmp 0x14000c87b
mov rcx, r14
call fcn.140008d70
test eax, eax
je 0x14000c8a4
mov ebx, eax
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000c9b7
lea rcx, [0x140039fa8]
lea rdx, str.Error_on_certificate_trust_check.____d_
mov r8d, ebx
call fcn.14000cf10
mov ebx, 4
lea rax, [rsp + 0x78]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 4
je 0x14000c7c9
jmp 0x14000c50a
mov ebx, 1
lea rax, [rsp + 0x88]
jmp 0x14000c88d
lea rcx, [0x14003a1b8]
call fcn.14000e750
cmp dword [0x14003a1b8], 0xffffffff
jne 0x14000c698
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e908
lea rcx, [0x14003a1b8]
call fcn.14000e7b8
jmp 0x14000c698
lea rcx, [0x14003a1b8]
call fcn.14000e750
cmp dword [0x14003a1b8], 0xffffffff
jne 0x14000c739
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e908
lea rcx, [0x14003a1b8]
call fcn.14000e7b8
jmp 0x14000c739
lea rcx, [0x14003a1b8]
call fcn.14000e750
cmp dword [0x14003a1b8], 0xffffffff
jne 0x14000c79a
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e908
lea rcx, [0x14003a1b8]
call fcn.14000e7b8
jmp 0x14000c79a
lea rcx, [0x14003a1b8]
call fcn.14000e750
cmp dword [0x14003a1b8], 0xffffffff
jne 0x14000c82a
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e908
lea rcx, [0x14003a1b8]
call fcn.14000e7b8
jmp 0x14000c82a
lea rcx, [0x14003a1b8]
call fcn.14000e750
cmp dword [0x14003a1b8], 0xffffffff
jne 0x14000c86d
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e908
lea rcx, [0x14003a1b8]
call fcn.14000e7b8
jmp 0x14000c86d
mov r15d, eax
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000cb3a
lea rcx, [0x140039fa8]
lea rdx, str.Could_not_enum_certs.____d_
mov r8d, r15d
jmp 0x14000c599
lea rcx, [0x14003a1b8]
call fcn.14000e750
cmp dword [0x14003a1b8], 0xffffffff
jne 0x14000c442
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e908
lea rcx, [0x14003a1b8]
call fcn.14000e7b8
jmp 0x14000c442
lea rcx, [0x14003a1b8]
call fcn.14000e750
cmp dword [0x14003a1b8], 0xffffffff
jne 0x14000c4a5
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e908
lea rcx, [0x14003a1b8]
call fcn.14000e7b8
jmp 0x14000c4a5
lea rcx, [0x14003a1b8]
call fcn.14000e750
cmp dword [0x14003a1b8], 0xffffffff
jne 0x14000c588
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e908
lea rcx, [0x14003a1b8]
call fcn.14000e7b8
jmp 0x14000c588
lea rcx, [0x14003a1b8]
call fcn.14000e750
cmp dword [0x14003a1b8], 0xffffffff
jne 0x14000c4e9
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e908
lea rcx, [0x14003a1b8]
call fcn.14000e7b8
jmp 0x14000c4e9
lea rcx, [0x14003a1b8]
call fcn.14000e750
cmp dword [0x14003a1b8], 0xffffffff
jne 0x14000ca20
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e908
lea rcx, [0x14003a1b8]
call fcn.14000e7b8
jmp 0x14000ca20