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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x828
mov eax, dword [ebp + 8]
mov ecx, dword [0x440014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea esi, [ebp - 0x21a]
push esi
push eax
call fcn.00401230
add esp, 8
test eax, eax
je 0x40fcb4
lea edi, [ebp - 0x81c]
push edi
push 0x20119
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40fc2e
mov esi, eax
mov eax, dword [0x4426f0]
mov ecx, dword [0x440c90]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4100b7
push esi
push str.Could_not_open_key.____ld_
push 0x4424e4
call fcn.00410610
add esp, 0xc
push edi
push 0x20119
push 0
push str.SOFTWAREMozillaMaintenanceService3932ecacee736d366d6436db0f55bce4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40fbe1
mov esi, eax
mov eax, dword [0x4426f0]
mov ecx, dword [0x440c90]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4100fa
push esi
push str.Could_not_open_fallback_key.____ld_
push 0x4424e4
call fcn.00410610
add esp, 0xc
jmp 0x40fcb4
cmp dword [ebp + 0x10], 0
je 0x40fc2e
mov eax, dword [0x4426f0]
mov ecx, dword [0x440c90]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x410180
push str.Fallback_key_present__skipping_VerifyCertificateTrustForFile_check_and_the_certificate_attribute_registry_matching_check.
push 0x4424e4
call fcn.00410610
add esp, 8
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x40fcb6
xor eax, eax
lea ecx, [ebp - 0x820]
mov dword [ecx], eax
mov edx, dword [ebp - 0x81c]
sub esp, 0x30
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x40fccd
mov esi, eax
mov eax, dword [0x4426f0]
mov ecx, dword [0x440c90]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x41013d
push esi
push str.Could_not_query_info_key.____ld_
push 0x4424e4
call fcn.00410610
add esp, 0xc
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412e03
mov eax, esi
add esp, 0x828
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebp - 0x820], 0
je 0x40fca8
lea edi, [ebp - 0x824]
lea esi, [ebp - 0x418]
xor ebx, ebx
mov dword [ebp - 0x824], 0xff
mov eax, dword [ebp - 0x81c]
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x410089
lea eax, [ebp - 0x828]
push eax
push 0x20119
push 0
push esi
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40fd7c
mov esi, eax
mov eax, dword [0x4426f0]
mov ecx, dword [0x440c90]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40ff3a
push esi
push str.Could_not_open_subkey.____ld_
push 0x4424e4
call fcn.00410610
add esp, 0xc
lea esi, [ebp - 0x418]
jmp 0x40ff28
mov edi, 0x200
mov dword [ebp - 0x82c], edi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x618]
push eax
call fcn.00414cd0
add esp, 0xc
push edi
push esi
lea eax, [ebp - 0x818]
push eax
call fcn.00414cd0
add esp, 0xc
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x618]
push eax
push esi
push esi
push str.name
push dword [ebp - 0x828]
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call eax
test eax, eax
je 0x40fe12
mov edi, eax
mov eax, dword [0x4426f0]
mov ecx, dword [0x440c90]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40ff7d
push edi
push str.Could_not_obtain_name_from_registry.____ld_
push 0x4424e4
call fcn.00410610
add esp, 0xc
lea edi, [ebp - 0x824]
jmp 0x40ff16
mov dword [ebp - 0x82c], 0x200
lea eax, [ebp - 0x82c]
push eax
lea edi, [ebp - 0x818]
push edi
push esi
push esi
push str.issuer
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40fe75
mov esi, eax
mov eax, dword [0x4426f0]
mov ecx, dword [0x440c90]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
lea edi, [ebp - 0x824]
jg 0x40ffc0
push esi
push str.Could_not_obtain_issuer_from_registry.____ld_
jmp 0x40ff09
lea eax, [ebp - 0x618]
mov dword [ebp - 0x834], eax
mov dword [ebp - 0x830], edi
lea eax, [ebp - 0x834]
push eax
mov esi, dword [ebp + 0xc]
push esi
call fcn.004117c0
add esp, 8
test eax, eax
lea edi, [ebp - 0x824]
je 0x40fecf
mov esi, eax
mov eax, dword [0x4426f0]
mov ecx, dword [0x440c90]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x410003
push esi
push str.Error_on_certificate_check.____ld_
jmp 0x40ff09
push esi
call fcn.00411f50
add esp, 4
test eax, eax
je 0x40fc1a
mov esi, eax
mov eax, dword [0x4426f0]
mov ecx, dword [0x440c90]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x410046
push esi
push str.Error_on_certificate_trust_check.____ld_
push 0x4424e4
call fcn.00410610
add esp, 0xc
lea esi, [ebp - 0x418]
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
cmp ebx, dword [ebp - 0x820]
jb 0x40fce4
jmp 0x40fca8
push 0x4426f0
call fcn.00412457
add esp, 4
cmp dword [0x4426f0], 0xffffffff
jne 0x40fd5e
mov dword [0x4424e4], 0
push 0x40a110
call fcn.0041261c
add esp, 4
push 0x4426f0
call fcn.004124a9
add esp, 4
jmp 0x40fd5e
push 0x4426f0
call fcn.00412457
add esp, 4
cmp dword [0x4426f0], 0xffffffff
jne 0x40fdf4
mov dword [0x4424e4], 0
push 0x40a110
call fcn.0041261c
add esp, 4
push 0x4426f0
call fcn.004124a9
add esp, 4
jmp 0x40fdf4
push 0x4426f0
call fcn.00412457
add esp, 4
cmp dword [0x4426f0], 0xffffffff
jne 0x40fe6a
mov dword [0x4424e4], 0
push 0x40a110
call fcn.0041261c
add esp, 4
push 0x4426f0
call fcn.004124a9
add esp, 4
jmp 0x40fe6a
push 0x4426f0
call fcn.00412457
add esp, 4
cmp dword [0x4426f0], 0xffffffff
jne 0x40fec7
mov dword [0x4424e4], 0
push 0x40a110
call fcn.0041261c
add esp, 4
push 0x4426f0
call fcn.004124a9
add esp, 4
jmp 0x40fec7
push 0x4426f0
call fcn.00412457
add esp, 4
cmp dword [0x4426f0], 0xffffffff
jne 0x40ff03
mov dword [0x4424e4], 0
push 0x40a110
call fcn.0041261c
add esp, 4
push 0x4426f0
call fcn.004124a9
add esp, 4
jmp 0x40ff03
mov esi, eax
mov eax, dword [0x4426f0]
mov ecx, dword [0x440c90]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4101c3
push esi
push str.Could_not_enum_certs.____ld_
jmp 0x40fc9b
push 0x4426f0
call fcn.00412457
add esp, 4
cmp dword [0x4426f0], 0xffffffff
jne 0x40fb77
mov dword [0x4424e4], 0
push 0x40a110
call fcn.0041261c
add esp, 4
push 0x4426f0
call fcn.004124a9
add esp, 4
jmp 0x40fb77
push 0x4426f0
call fcn.00412457
add esp, 4
cmp dword [0x4426f0], 0xffffffff
jne 0x40fbc9
mov dword [0x4424e4], 0
push 0x40a110
call fcn.0041261c
add esp, 4
push 0x4426f0
call fcn.004124a9
add esp, 4
jmp 0x40fbc9
push 0x4426f0
call fcn.00412457
add esp, 4
cmp dword [0x4426f0], 0xffffffff
jne 0x40fc95
mov dword [0x4424e4], 0
push 0x40a110
call fcn.0041261c
add esp, 4
push 0x4426f0
call fcn.004124a9
add esp, 4
jmp 0x40fc95
push 0x4426f0
call fcn.00412457
add esp, 4
cmp dword [0x4426f0], 0xffffffff
jne 0x40fc08
mov dword [0x4424e4], 0
push 0x40a110
call fcn.0041261c
add esp, 4
push 0x4426f0
call fcn.004124a9
add esp, 4
jmp 0x40fc08
push 0x4426f0
call fcn.00412457
add esp, 4
cmp dword [0x4426f0], 0xffffffff
jne 0x4100ac
mov dword [0x4424e4], 0
push 0x40a110
call fcn.0041261c
add esp, 4
push 0x4426f0
call fcn.004124a9
add esp, 4
jmp 0x4100ac