Function at 0x4100b0
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 ecx, dword [0x43d00c]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x21a]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
push esi
push eax
call fcn.0040fb40
add esp, 8
test eax, eax
je 0x410254
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 0x4101dd
mov ecx, dword [0x43db8c]
mov edx, dword fs:[0x2c]
mov esi, eax
mov eax, dword [0x43fa9c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x410699
push esi
push str.Could_not_open_key.____d_
push 0x43f890
call fcn.00410b50
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 0x410191
mov ecx, dword [0x43db8c]
mov edx, dword fs:[0x2c]
mov esi, eax
mov eax, dword [0x43fa9c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4106dc
push esi
push str.Could_not_open_fallback_key.____d_
push 0x43f890
call fcn.00410b50
add esp, 0xc
jmp 0x410254
cmp dword [ebp + 0x10], 0
je 0x4101dd
mov ecx, dword [0x43db8c]
mov edx, dword fs:[0x2c]
mov eax, dword [0x43fa9c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x410762
push str.Fallback_key_present__skipping_VerifyCertificateTrustForFile_check_and_the_certificate_attribute_registry_matching_check.
push 0x43f890
call fcn.00410b50
add esp, 8
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x410256
lea eax, [ebp - 0x820]
mov dword [ebp - 0x820], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x41026d
mov ecx, dword [0x43db8c]
mov edx, dword fs:[0x2c]
mov esi, eax
mov eax, dword [0x43fa9c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x41071f
push esi
push str.Could_not_query_info_key.____d_
push 0x43f890
call fcn.00410b50
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.00412fa1
mov eax, esi
add esp, 0x828
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebp - 0x820], 0
je 0x410248
xor ebx, ebx
lea esi, [ebp - 0x418]
lea edi, [ebp - 0x82c]
jmp 0x410357
mov dword [ebp - 0x82c], 0x200
push 0x200
push 0
lea eax, [ebp - 0x618]
push eax
call fcn.00415350
add esp, 0xc
push 0x200
push 0
mov esi, edi
lea edi, [ebp - 0x818]
push edi
call fcn.00415350
add esp, 0xc
push esi
lea eax, [ebp - 0x618]
push eax
push 0
push 0
push str.name
push dword [ebp - 0x828]
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call eax
test eax, eax
je 0x4103f2
mov ecx, dword [0x43db8c]
mov edx, dword fs:[0x2c]
mov edi, eax
mov eax, dword [0x43fa9c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x41055f
push edi
push str.Could_not_obtain_name_from_registry.____d_
push 0x43f890
call fcn.00410b50
add esp, 0xc
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 4
lea edi, [ebp - 0x82c]
cmp esi, 4
jne 0x4101d6
inc ebx
lea esi, [ebp - 0x418]
cmp ebx, dword [ebp - 0x820]
jae 0x410248
mov dword [ebp - 0x824], 0xff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x824]
push eax
push esi
push ebx
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41066b
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 0x410290
mov ecx, dword [0x43db8c]
mov edx, dword fs:[0x2c]
mov esi, eax
mov eax, dword [0x43fa9c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x41051c
push esi
push str.Could_not_open_subkey.____d_
push 0x43f890
call fcn.00410b50
add esp, 0xc
mov esi, 4
cmp esi, 4
je 0x410344
jmp 0x4101d6
mov dword [ebp - 0x82c], 0x200
push esi
lea edi, [ebp - 0x818]
push edi
push 0
push 0
push str.issuer
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41044b
mov ecx, dword [0x43db8c]
mov edx, dword fs:[0x2c]
mov esi, eax
mov eax, dword [0x43fa9c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4105a2
push esi
push str.Could_not_obtain_issuer_from_registry.____d_
jmp 0x410317
lea eax, [ebp - 0x618]
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x834]
mov dword [ebp - 0x830], edi
push eax
mov esi, dword [ebp + 0xc]
push esi
call fcn.00411dd0
add esp, 8
test eax, eax
je 0x4104a5
mov ecx, dword [0x43db8c]
mov edx, dword fs:[0x2c]
mov esi, eax
mov eax, dword [0x43fa9c]
lea edi, [ebp - 0x82c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4105e5
push esi
push str.Error_on_certificate_check.____d_
jmp 0x4104e1
push esi
call fcn.00412580
add esp, 4
test eax, eax
lea edi, [ebp - 0x82c]
je 0x41050f
mov ecx, dword [0x43db8c]
mov edx, dword fs:[0x2c]
mov esi, eax
mov eax, dword [0x43fa9c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x410628
push esi
push str.Error_on_certificate_trust_check.____d_
push 0x43f890
call fcn.00410b50
add esp, 0xc
mov esi, 4
lea eax, [ebp - 0x828]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 4
je 0x410344
jmp 0x4101d6
mov esi, 1
lea eax, [ebp - 0x81c]
jmp 0x4104f9
push 0x43fa9c
call fcn.004127a7
add esp, 4
cmp dword [0x43fa9c], 0xffffffff
jne 0x4103cc
mov dword [0x43f890], 0
push 0x40a010
call fcn.00412a1c
add esp, 4
push 0x43fa9c
call fcn.004127f9
add esp, 4
jmp 0x4103cc
push 0x43fa9c
call fcn.004127a7
add esp, 4
cmp dword [0x43fa9c], 0xffffffff
jne 0x410311
mov dword [0x43f890], 0
push 0x40a010
call fcn.00412a1c
add esp, 4
push 0x43fa9c
call fcn.004127f9
add esp, 4
jmp 0x410311
push 0x43fa9c
call fcn.004127a7
add esp, 4
cmp dword [0x43fa9c], 0xffffffff
jne 0x410440
mov dword [0x43f890], 0
push 0x40a010
call fcn.00412a1c
add esp, 4
push 0x43fa9c
call fcn.004127f9
add esp, 4
jmp 0x410440
push 0x43fa9c
call fcn.004127a7
add esp, 4
cmp dword [0x43fa9c], 0xffffffff
jne 0x41049d
mov dword [0x43f890], 0
push 0x40a010
call fcn.00412a1c
add esp, 4
push 0x43fa9c
call fcn.004127f9
add esp, 4
jmp 0x41049d
push 0x43fa9c
call fcn.004127a7
add esp, 4
cmp dword [0x43fa9c], 0xffffffff
jne 0x4104db
mov dword [0x43f890], 0
push 0x40a010
call fcn.00412a1c
add esp, 4
push 0x43fa9c
call fcn.004127f9
add esp, 4
jmp 0x4104db
mov ecx, dword [0x43db8c]
mov edx, dword fs:[0x2c]
mov esi, eax
mov eax, dword [0x43fa9c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4107a5
push esi
push str.Could_not_enum_certs.____d_
jmp 0x41023b
push 0x43fa9c
call fcn.004127a7
add esp, 4
cmp dword [0x43fa9c], 0xffffffff
jne 0x410127
mov dword [0x43f890], 0
push 0x40a010
call fcn.00412a1c
add esp, 4
push 0x43fa9c
call fcn.004127f9
add esp, 4
jmp 0x410127
push 0x43fa9c
call fcn.004127a7
add esp, 4
cmp dword [0x43fa9c], 0xffffffff
jne 0x410179
mov dword [0x43f890], 0
push 0x40a010
call fcn.00412a1c
add esp, 4
push 0x43fa9c
call fcn.004127f9
add esp, 4
jmp 0x410179
push 0x43fa9c
call fcn.004127a7
add esp, 4
cmp dword [0x43fa9c], 0xffffffff
jne 0x410235
mov dword [0x43f890], 0
push 0x40a010
call fcn.00412a1c
add esp, 4
push 0x43fa9c
call fcn.004127f9
add esp, 4
jmp 0x410235
push 0x43fa9c
call fcn.004127a7
add esp, 4
cmp dword [0x43fa9c], 0xffffffff
jne 0x4101b8
mov dword [0x43f890], 0
push 0x40a010
call fcn.00412a1c
add esp, 4
push 0x43fa9c
call fcn.004127f9
add esp, 4
jmp 0x4101b8
push 0x43fa9c
call fcn.004127a7
add esp, 4
cmp dword [0x43fa9c], 0xffffffff
jne 0x41068e
mov dword [0x43f890], 0
push 0x40a010
call fcn.00412a1c
add esp, 4
push 0x43fa9c
call fcn.004127f9
add esp, 4
jmp 0x41068e