Function at 0x140007980
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, 0x8d8
movaps xmmword [rsp + 0x8c0], xmm6
mov edi, r8d
mov rsi, rdx
mov rax, qword [0x140036138]
xor rax, rsp
mov qword [rsp + 0x8b8], rax
lea rdx, [rsp + 0x6a0]
call fcn.1400072f0
test eax, eax
je 0x140007b8c
lea r14, [rsp + 0x98]
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x6a0]
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20119
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140007af4
mov ebx, eax
mov eax, dword [0x140037038]
mov ecx, dword [0x140037098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007fec
lea rcx, [0x140036e28]
lea rdx, str.Could_not_open_key.____ld_
mov r8d, ebx
call fcn.1400086f0
mov qword [rsp + 0x20], r14
lea rdx, str.SOFTWAREMozillaMaintenanceService3932ecacee736d366d6436db0f55bce4
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20119
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140007aa0
mov ebx, eax
mov eax, dword [0x140037038]
mov ecx, dword [0x140037098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000802e
lea rcx, [0x140036e28]
lea rdx, str.Could_not_open_fallback_key.____ld_
mov r8d, ebx
call fcn.1400086f0
jmp 0x140007b8c
test edi, edi
je 0x140007af4
mov eax, dword [0x140037038]
mov ecx, dword [0x140037098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400080b2
lea rcx, [0x140036e28]
lea rdx, str.Fallback_key_present__skipping_VerifyCertificateTrustForFile_check_and_the_certificate_attribute_registry_matching_check.
call fcn.1400086f0
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x140007b8e
mov dword [rsp + 0x94], 0
mov rcx, qword [rsp + 0x98]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x28], xmm0
lea rax, [rsp + 0x94]
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 0x140007bbc
mov edi, eax
mov eax, dword [0x140037038]
mov ecx, dword [0x140037098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140008070
lea rcx, [0x140036e28]
lea rdx, str.Could_not_query_info_key.____ld_
mov r8d, edi
call fcn.1400086f0
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov rcx, qword [rsp + 0x8b8]
xor rcx, rsp
call fcn.14000ac40
mov eax, esi
movaps xmm6, xmmword [rsp + 0x8c0]
add rsp, 0x8d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x68], rsi
cmp dword [rsp + 0x94], 0
je 0x140007b7e
xorps xmm6, xmm6
lea rdi, [rsp + 0x4a0]
lea rbp, [rsp + 0x90]
mov r14, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov rbx, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r13, [rsp + 0xa0]
lea rsi, [rsp + 0x84]
xor r12d, r12d
jmp 0x140007cf1
mov rbp, r14
mov dword [rsp + 0x84], 0x200
mov r8d, 0x200
lea r15, [rsp + 0x2a0]
mov rcx, r15
xor edx, edx
call fcn.14000c660
mov r8d, 0x200
mov r14, r13
mov rcx, r13
xor edx, edx
call fcn.14000c660
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r15
lea rdx, str.name
xor r8d, r8d
xor r9d, r9d
mov rdi, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call rdi
test eax, eax
je 0x140007d90
mov r15d, eax
mov eax, dword [0x140037038]
mov ecx, dword [0x140037098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007ee8
lea rcx, [0x140036e28]
lea rdx, str.Could_not_obtain_name_from_registry.____ld_
mov r8d, r15d
call fcn.1400086f0
mov r14, rbp
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rbp, [rsp + 0x90]
lea rsi, [rsp + 0x84]
lea rdi, [rsp + 0x4a0]
inc r12d
cmp r12d, dword [rsp + 0x94]
jae 0x140007b7e
mov dword [rsp + 0x90], 0xff
mov rcx, qword [rsp + 0x98]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov edx, r12d
mov r8, rdi
mov r9, rbp
call r14
test eax, eax
jne 0x140007fae
mov rcx, qword [rsp + 0x98]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov rdx, rdi
xor r8d, r8d
mov r9d, 0x20119
call rbx
test eax, eax
je 0x140007c10
mov r15d, eax
mov eax, dword [0x140037038]
mov ecx, dword [0x140037098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007ea6
lea rcx, [0x140036e28]
lea rdx, str.Could_not_open_subkey.____ld_
mov r8d, r15d
call fcn.1400086f0
jmp 0x140007ce0
mov dword [rsp + 0x84], 0x200
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
lea rdx, str.issuer
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
je 0x140007dfb
mov r15d, eax
mov eax, dword [0x140037038]
mov ecx, dword [0x140037098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007f2a
lea rcx, [0x140036e28]
lea rdx, str.Could_not_obtain_issuer_from_registry.____ld_
jmp 0x140007caf
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r14
mov r14, qword [rsp + 0x68]
mov rcx, r14
lea rdx, [rsp + 0x70]
call fcn.140009e60
test eax, eax
je 0x140007e5e
mov r15d, eax
mov eax, dword [0x140037038]
mov ecx, dword [0x140037098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
mov r14, rbp
jg 0x140007f6c
lea rcx, [0x140036e28]
lea rdx, str.Error_on_certificate_check.____ld_
jmp 0x140007e83
mov rcx, r14
call fcn.14000a770
test eax, eax
je 0x140007adc
mov r15d, eax
mov r14, rbp
call fcn.140001950
mov rcx, rax
lea rdx, str.Error_on_certificate_trust_check.____ld_
mov r8d, r15d
call fcn.1400086f0
lea rbp, [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140007cd0
lea rcx, [0x140037038]
call fcn.14000aa30
cmp dword [0x140037038], 0xffffffff
jne 0x140007d75
lea rcx, [0x140036e28]
call fcn.140008420
lea rcx, [0x140002160]
call fcn.14000ac60
lea rcx, [0x140037038]
call fcn.14000aa98
jmp 0x140007d75
lea rcx, [0x140037038]
call fcn.14000aa30
cmp dword [0x140037038], 0xffffffff
jne 0x140007ca1
lea rcx, [0x140036e28]
call fcn.140008420
lea rcx, [0x140002160]
call fcn.14000ac60
lea rcx, [0x140037038]
call fcn.14000aa98
jmp 0x140007ca1
lea rcx, [0x140037038]
call fcn.14000aa30
cmp dword [0x140037038], 0xffffffff
jne 0x140007de8
lea rcx, [0x140036e28]
call fcn.140008420
lea rcx, [0x140002160]
call fcn.14000ac60
lea rcx, [0x140037038]
call fcn.14000aa98
jmp 0x140007de8
lea rcx, [0x140037038]
call fcn.14000aa30
cmp dword [0x140037038], 0xffffffff
jne 0x140007e4e
lea rcx, [0x140036e28]
call fcn.140008420
lea rcx, [0x140002160]
call fcn.14000ac60
lea rcx, [0x140037038]
call fcn.14000aa98
jmp 0x140007e4e
mov r15d, eax
mov eax, dword [0x140037038]
mov ecx, dword [0x140037098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400080f4
lea rcx, [0x140036e28]
lea rdx, str.Could_not_enum_certs.____ld_
mov r8d, r15d
jmp 0x140007b79
lea rcx, [0x140037038]
call fcn.14000aa30
cmp dword [0x140037038], 0xffffffff
jne 0x140007a22
lea rcx, [0x140036e28]
call fcn.140008420
lea rcx, [0x140002160]
call fcn.14000ac60
lea rcx, [0x140037038]
call fcn.14000aa98
jmp 0x140007a22
lea rcx, [0x140037038]
call fcn.14000aa30
cmp dword [0x140037038], 0xffffffff
jne 0x140007a85
lea rcx, [0x140036e28]
call fcn.140008420
lea rcx, [0x140002160]
call fcn.14000ac60
lea rcx, [0x140037038]
call fcn.14000aa98
jmp 0x140007a85
lea rcx, [0x140037038]
call fcn.14000aa30
cmp dword [0x140037038], 0xffffffff
jne 0x140007b68
lea rcx, [0x140036e28]
call fcn.140008420
lea rcx, [0x140002160]
call fcn.14000ac60
lea rcx, [0x140037038]
call fcn.14000aa98
jmp 0x140007b68
lea rcx, [0x140037038]
call fcn.14000aa30
cmp dword [0x140037038], 0xffffffff
jne 0x140007ac9
lea rcx, [0x140036e28]
call fcn.140008420
lea rcx, [0x140002160]
call fcn.14000ac60
lea rcx, [0x140037038]
call fcn.14000aa98
jmp 0x140007ac9
lea rcx, [0x140037038]
call fcn.14000aa30
cmp dword [0x140037038], 0xffffffff
jne 0x140007fd6
lea rcx, [0x140036e28]
call fcn.140008420
lea rcx, [0x140002160]
call fcn.14000ac60
lea rcx, [0x140037038]
call fcn.14000aa98
jmp 0x140007fd6