Function at 0x408d50
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, 0x830
mov eax, dword [ebp + 8]
mov ecx, dword [0x434040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea edi, [ebp - 0x21a]
push edi
push eax
call fcn.004097d0
add esp, 8
test eax, eax
je 0x408f01
lea esi, [ebp - 0x81c]
push esi
push 0x20119
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x408e7c
mov ecx, dword [0x435a4c]
mov edx, dword [0x434c24]
mov edi, dword fs:[0x2c]
mov edx, dword [edi + edx*4]
cmp ecx, dword [edx + 4]
jg 0x409360
push eax
push str.Could_not_open_key.____ld_
push 0x435840
call fcn.00408520
add esp, 0xc
push esi
push 0x20119
push 0
push str.SOFTWAREMozillaMaintenanceService3932ecacee736d366d6436db0f55bce4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x408e2f
mov ecx, dword [0x435a4c]
mov edx, dword [0x434c24]
mov esi, dword fs:[0x2c]
mov edx, dword [esi + edx*4]
cmp ecx, dword [edx + 4]
jg 0x4093a9
push eax
push str.Could_not_open_fallback_key.____ld_
push 0x435840
call fcn.00408520
add esp, 0xc
jmp 0x408f01
cmp dword [ebp + 0x10], 0
je 0x408e7c
mov eax, dword [0x435a4c]
mov ecx, dword [0x434c24]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40943b
push str.Fallback_key_present__skipping_VerifyCertificateTrustForFile_check_and_the_certificate_attribute_registry_matching_check.
push 0x435840
call fcn.00408520
add esp, 8
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x408f03
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 0x408f1a
mov ecx, dword [0x435a4c]
mov edx, dword [0x434c24]
mov esi, dword fs:[0x2c]
mov edx, dword [esi + edx*4]
cmp ecx, dword [edx + 4]
jg 0x4093f2
push eax
push str.Could_not_query_info_key.____ld_
push 0x435840
call fcn.00408520
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.0040abc5
mov eax, esi
add esp, 0x830
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebp - 0x820], 0
je 0x408ef5
mov ebx, dword [ebp + 0xc]
lea esi, [ebp - 0x824]
lea edi, [ebp - 0x418]
xor edx, edx
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], esi
mov dword [esp + 8], edi
mov dword [ebp - 0x83c], edx
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x409333
lea eax, [ebp - 0x828]
push eax
push 0x20119
push 0
push edi
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x408fce
mov ecx, dword [0x435a4c]
mov edx, dword [0x434c24]
mov edi, dword fs:[0x2c]
mov edx, dword [edi + edx*4]
cmp ecx, dword [edx + 4]
jg 0x40918a
push eax
push str.Could_not_open_subkey.____ld_
push 0x435840
call fcn.00408520
add esp, 0xc
mov ebx, dword [ebp + 0xc]
jmp 0x40916c
mov edi, 0x200
mov dword [ebp - 0x82c], edi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x618]
push eax
call fcn.0040cc70
add esp, 0xc
push edi
push esi
lea edi, [ebp - 0x818]
push edi
call fcn.0040cc70
add esp, 0xc
lea edi, [ebp - 0x82c]
push edi
lea eax, [ebp - 0x618]
push eax
push esi
push esi
push str.name
push dword [ebp - 0x828]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
test eax, eax
je 0x409067
mov ecx, dword [0x435a4c]
mov edx, dword [0x434c24]
mov edi, dword fs:[0x2c]
mov edx, dword [edi + edx*4]
cmp ecx, dword [edx + 4]
jg 0x4091df
push eax
push str.Could_not_obtain_name_from_registry.____ld_
push 0x435840
call fcn.00408520
add esp, 0xc
mov ebx, dword [ebp + 0xc]
lea esi, [ebp - 0x824]
jmp 0x409160
mov dword [ebp - 0x82c], 0x200
push edi
lea edi, [ebp - 0x818]
push edi
xor eax, eax
push eax
push eax
push str.issuer
push dword [ebp - 0x828]
call esi
test eax, eax
je 0x4090c1
mov ecx, dword [0x435a4c]
mov edx, dword [0x434c24]
mov edi, dword fs:[0x2c]
mov edx, dword [edi + edx*4]
cmp ecx, dword [edx + 4]
lea esi, [ebp - 0x824]
jg 0x409234
push eax
push str.Could_not_obtain_issuer_from_registry.____ld_
jmp 0x409150
lea eax, [ebp - 0x618]
mov dword [ebp - 0x834], eax
mov dword [ebp - 0x830], edi
lea eax, [ebp - 0x834]
push eax
push ebx
call fcn.004099f0
add esp, 8
test eax, eax
lea esi, [ebp - 0x824]
je 0x409117
mov ecx, dword [0x435a4c]
mov edx, dword [0x434c24]
mov edi, dword fs:[0x2c]
mov edx, dword [edi + edx*4]
cmp ecx, dword [edx + 4]
jg 0x409289
push eax
push str.Error_on_certificate_check.____ld_
jmp 0x409150
push ebx
call fcn.0040a180
add esp, 4
test eax, eax
je 0x408e68
mov ecx, dword [0x435a4c]
mov edx, dword [0x434c24]
mov edi, dword fs:[0x2c]
mov edx, dword [edi + edx*4]
cmp ecx, dword [edx + 4]
jg 0x4092de
push eax
push str.Error_on_certificate_trust_check.____ld_
push 0x435840
call fcn.00408520
add esp, 0xc
mov ebx, dword [ebp + 0xc]
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x83c]
inc edx
cmp edx, dword [ebp - 0x820]
lea edi, [ebp - 0x418]
jb 0x408f34
jmp 0x408ef5
push 0x435a4c
mov dword [ebp - 0x838], eax
call fcn.0040a351
mov eax, dword [ebp - 0x838]
add esp, 4
cmp dword [0x435a4c], 0xffffffff
jne 0x408fb3
mov dword [0x435840], 0
push 0x402420
call fcn.0040a406
add esp, 4
push 0x435a4c
call fcn.0040a3a0
mov eax, dword [ebp - 0x838]
add esp, 4
jmp 0x408fb3
push 0x435a4c
mov dword [ebp - 0x838], eax
call fcn.0040a351
mov eax, dword [ebp - 0x838]
add esp, 4
cmp dword [0x435a4c], 0xffffffff
jne 0x409046
mov dword [0x435840], 0
push 0x402420
call fcn.0040a406
add esp, 4
push 0x435a4c
call fcn.0040a3a0
mov eax, dword [ebp - 0x838]
add esp, 4
jmp 0x409046
push 0x435a4c
mov dword [ebp - 0x838], eax
call fcn.0040a351
mov eax, dword [ebp - 0x838]
add esp, 4
cmp dword [0x435a4c], 0xffffffff
jne 0x4090b6
mov dword [0x435840], 0
push 0x402420
call fcn.0040a406
add esp, 4
push 0x435a4c
call fcn.0040a3a0
mov eax, dword [ebp - 0x838]
add esp, 4
jmp 0x4090b6
push 0x435a4c
mov dword [ebp - 0x838], eax
call fcn.0040a351
mov eax, dword [ebp - 0x838]
add esp, 4
cmp dword [0x435a4c], 0xffffffff
jne 0x40910f
mov dword [0x435840], 0
push 0x402420
call fcn.0040a406
add esp, 4
push 0x435a4c
call fcn.0040a3a0
mov eax, dword [ebp - 0x838]
add esp, 4
jmp 0x40910f
push 0x435a4c
mov dword [ebp - 0x838], eax
call fcn.0040a351
mov eax, dword [ebp - 0x838]
add esp, 4
cmp dword [0x435a4c], 0xffffffff
jne 0x40914a
mov dword [0x435840], 0
push 0x402420
call fcn.0040a406
add esp, 4
push 0x435a4c
call fcn.0040a3a0
mov eax, dword [ebp - 0x838]
add esp, 4
jmp 0x40914a
mov ecx, dword [0x435a4c]
mov edx, dword [0x434c24]
mov esi, dword fs:[0x2c]
mov edx, dword [esi + edx*4]
cmp ecx, dword [edx + 4]
jg 0x40947e
push eax
push str.Could_not_enum_certs.____ld_
jmp 0x408ee8
push 0x435a4c
mov edi, eax
call fcn.0040a351
mov eax, edi
add esp, 4
cmp dword [0x435a4c], 0xffffffff
jne 0x408dc6
mov dword [0x435840], 0
push 0x402420
call fcn.0040a406
add esp, 4
push 0x435a4c
call fcn.0040a3a0
mov eax, edi
add esp, 4
jmp 0x408dc6
push 0x435a4c
mov esi, eax
call fcn.0040a351
mov eax, esi
add esp, 4
cmp dword [0x435a4c], 0xffffffff
jne 0x408e17
mov dword [0x435840], 0
push 0x402420
call fcn.0040a406
add esp, 4
push 0x435a4c
call fcn.0040a3a0
mov eax, esi
add esp, 4
jmp 0x408e17
push 0x435a4c
mov esi, eax
call fcn.0040a351
mov eax, esi
add esp, 4
cmp dword [0x435a4c], 0xffffffff
jne 0x408ee2
mov dword [0x435840], 0
push 0x402420
call fcn.0040a406
add esp, 4
push 0x435a4c
call fcn.0040a3a0
mov eax, esi
add esp, 4
jmp 0x408ee2
push 0x435a4c
call fcn.0040a351
add esp, 4
cmp dword [0x435a4c], 0xffffffff
jne 0x408e56
mov dword [0x435840], 0
push 0x402420
call fcn.0040a406
add esp, 4
push 0x435a4c
call fcn.0040a3a0
add esp, 4
jmp 0x408e56
push 0x435a4c
mov esi, eax
call fcn.0040a351
mov eax, esi
add esp, 4
cmp dword [0x435a4c], 0xffffffff
jne 0x409355
mov dword [0x435840], 0
push 0x402420
call fcn.0040a406
add esp, 4
push 0x435a4c
call fcn.0040a3a0
mov eax, esi
add esp, 4
jmp 0x409355