Function at 0x1400083d0
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 [0x140038010]
xor rax, rsp
mov qword [rsp + 0x8b8], rax
lea rdx, [rsp + 0x6a0]
call fcn.140001400
test eax, eax
je 0x1400085d7
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 0x140008544
mov ebx, eax
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140008a81
lea rcx, [0x14003a118]
lea rdx, str.Could_not_open_key.____ld_
mov r8d, ebx
call fcn.140009010
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 0x1400084f0
mov ebx, eax
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140008ac2
lea rcx, [0x14003a118]
lea rdx, str.Could_not_open_fallback_key.____ld_
mov r8d, ebx
call fcn.140009010
jmp 0x1400085d7
test edi, edi
je 0x140008544
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140008b44
lea rcx, [0x14003a118]
lea rdx, str.Fallback_key_present__skipping_VerifyCertificateTrustForFile_check_and_the_certificate_attribute_registry_matching_check.
call fcn.140009010
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x1400085d9
lea rax, [rsp + 0x94]
mov dword [rax], 0
mov rcx, qword [rsp + 0x98]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x28], xmm0
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 0x140008607
mov edi, eax
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140008b03
lea rcx, [0x14003a118]
lea rdx, str.Could_not_query_info_key.____ld_
mov r8d, edi
call fcn.140009010
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.140016cf0
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 0x1400085c9
xorps xmm6, xmm6
lea rdi, [rsp + 0x4a0]
lea rbx, [rsp + 0x90]
mov r14, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov rsi, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r13, [rsp + 0xa0]
lea rbp, [rsp + 0x84]
xor r12d, r12d
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, rbx
call r14
test eax, eax
jne 0x140008a43
mov rcx, qword [rsp + 0x98]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov rdx, rdi
xor r8d, r8d
mov r9d, 0x20119
call rsi
test eax, eax
je 0x1400086e5
mov r15d, eax
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400088fe
lea rcx, [0x14003a118]
lea rdx, str.Could_not_open_subkey.____ld_
mov r8d, r15d
call fcn.140009010
jmp 0x14000881e
mov rsi, rbx
mov rbx, r14
mov dword [rsp + 0x84], 0x200
mov r8d, 0x200
lea r15, [rsp + 0x2a0]
mov rcx, r15
xor edx, edx
call fcn.14000cde0
mov r8d, 0x200
mov r14, r13
mov rcx, r13
xor edx, edx
call fcn.14000cde0
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rbp
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 0x140008785
mov r15d, eax
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000893f
lea rcx, [0x14003a118]
lea rdx, str.Could_not_obtain_name_from_registry.____ld_
jmp 0x1400087eb
mov dword [rsp + 0x84], 0x200
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r14
lea rdx, str.issuer
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
je 0x140008834
mov r15d, eax
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140008980
lea rcx, [0x14003a118]
lea rdx, str.Could_not_obtain_issuer_from_registry.____ld_
mov r8d, r15d
call fcn.140009010
mov r14, rbx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
mov rsi, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rbp, [rsp + 0x84]
lea rdi, [rsp + 0x4a0]
inc r12d
cmp r12d, dword [rsp + 0x94]
jb 0x14000864a
jmp 0x1400085c9
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.14000a530
test eax, eax
je 0x140008897
mov r15d, eax
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
mov r14, rbx
jg 0x1400089c1
lea rcx, [0x14003a118]
lea rdx, str.Error_on_certificate_check.____ld_
jmp 0x1400088e0
mov rcx, r14
call fcn.14000ad60
test eax, eax
je 0x14000852c
mov r15d, eax
mov r14, rbx
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140008a02
lea rcx, [0x14003a118]
lea rdx, str.Error_on_certificate_trust_check.____ld_
mov r8d, r15d
call fcn.140009010
mov rbx, rsi
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140008807
lea rcx, [0x14003a328]
call fcn.14000b370
cmp dword [0x14003a328], 0xffffffff
jne 0x1400086ca
mov qword [0x14003a118], 0
lea rcx, [0x140002720]
call fcn.14000b528
lea rcx, [0x14003a328]
call fcn.14000b3d8
jmp 0x1400086ca
lea rcx, [0x14003a328]
call fcn.14000b370
cmp dword [0x14003a328], 0xffffffff
jne 0x140008775
mov qword [0x14003a118], 0
lea rcx, [0x140002720]
call fcn.14000b528
lea rcx, [0x14003a328]
call fcn.14000b3d8
jmp 0x140008775
lea rcx, [0x14003a328]
call fcn.14000b370
cmp dword [0x14003a328], 0xffffffff
jne 0x1400087dd
mov qword [0x14003a118], 0
lea rcx, [0x140002720]
call fcn.14000b528
lea rcx, [0x14003a328]
call fcn.14000b3d8
jmp 0x1400087dd
lea rcx, [0x14003a328]
call fcn.14000b370
cmp dword [0x14003a328], 0xffffffff
jne 0x140008887
mov qword [0x14003a118], 0
lea rcx, [0x140002720]
call fcn.14000b528
lea rcx, [0x14003a328]
call fcn.14000b3d8
jmp 0x140008887
lea rcx, [0x14003a328]
call fcn.14000b370
cmp dword [0x14003a328], 0xffffffff
jne 0x1400088d2
mov qword [0x14003a118], 0
lea rcx, [0x140002720]
call fcn.14000b528
lea rcx, [0x14003a328]
call fcn.14000b3d8
jmp 0x1400088d2
mov r15d, eax
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140008b85
lea rcx, [0x14003a118]
lea rdx, str.Could_not_enum_certs.____ld_
mov r8d, r15d
jmp 0x1400085c4
lea rcx, [0x14003a328]
call fcn.14000b370
cmp dword [0x14003a328], 0xffffffff
jne 0x140008472
mov qword [0x14003a118], 0
lea rcx, [0x140002720]
call fcn.14000b528
lea rcx, [0x14003a328]
call fcn.14000b3d8
jmp 0x140008472
lea rcx, [0x14003a328]
call fcn.14000b370
cmp dword [0x14003a328], 0xffffffff
jne 0x1400084d5
mov qword [0x14003a118], 0
lea rcx, [0x140002720]
call fcn.14000b528
lea rcx, [0x14003a328]
call fcn.14000b3d8
jmp 0x1400084d5
lea rcx, [0x14003a328]
call fcn.14000b370
cmp dword [0x14003a328], 0xffffffff
jne 0x1400085b3
mov qword [0x14003a118], 0
lea rcx, [0x140002720]
call fcn.14000b528
lea rcx, [0x14003a328]
call fcn.14000b3d8
jmp 0x1400085b3
lea rcx, [0x14003a328]
call fcn.14000b370
cmp dword [0x14003a328], 0xffffffff
jne 0x140008519
mov qword [0x14003a118], 0
lea rcx, [0x140002720]
call fcn.14000b528
lea rcx, [0x14003a328]
call fcn.14000b3d8
jmp 0x140008519
lea rcx, [0x14003a328]
call fcn.14000b370
cmp dword [0x14003a328], 0xffffffff
jne 0x140008a6b
mov qword [0x14003a118], 0
lea rcx, [0x140002720]
call fcn.14000b528
lea rcx, [0x14003a328]
call fcn.14000b3d8
jmp 0x140008a6b