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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x848
mov eax, dword [0x41a0a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x834], ecx
push edi
lea ecx, [ebp - 0x61c]
push ecx
push eax
call fcn.00404c51
pop ecx
pop ecx
test eax, eax
je 0x404004
lea eax, [ebp - 0x830]
push eax
push 0x20119
xor edi, edi
push edi
lea eax, [ebp - 0x61c]
push eax
mov ebx, 0x80000002
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x403e09
push eax
push str.Could_not_open_key.____d_
call fcn.0040101c
mov esi, eax
call fcn.004040f1
pop ecx
pop ecx
lea eax, [ebp - 0x830]
push eax
push 0x20119
push edi
push str.SOFTWAREMozillaMaintenanceService3932ecacee736d366d6436db0f55bce4
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x403e09
push eax
push str.Could_not_open_fallback_key.____d_
call fcn.0040101c
mov esi, eax
call fcn.004040f1
pop ecx
pop ecx
jmp 0x404004
mov ebx, dword [ebp - 0x830]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x828]
push eax
push edi
push edi
push edi
push ebx
mov dword [ebp - 0x820], ebx
mov dword [ebp - 0x828], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, edi
je 0x403e59
push eax
push str.Could_not_query_info_key.____d_
call fcn.0040101c
mov esi, eax
call fcn.004040f1
pop ecx
pop ecx
cmp ebx, edi
je 0x404004
push ebx
jmp 0x403ffe
mov dword [ebp - 0x824], edi
cmp dword [ebp - 0x828], edi
jbe 0x403ff0
mov ebx, dword [ebp - 0x820]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x81c]
push eax
push dword [ebp - 0x824]
mov dword [ebp - 0x83c], 0xff
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, edi
jne 0x404015
lea eax, [ebp - 0x838]
push eax
push 0x20119
push edi
lea eax, [ebp - 0x81c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [ebp - 0x838]
cmp eax, edi
je 0x403ed2
push eax
push str.Could_not_open_subkey.____d_
jmp 0x403fbf
xor eax, eax
mov esi, 0x1fe
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
mov dword [ebp - 0x82c], 0x200
call fcn.004056c0
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x40c], ax
lea eax, [ebp - 0x40a]
push edi
push eax
call fcn.004056c0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push str.name
push dword [ebp - 0x838]
call esi
cmp eax, edi
je 0x403f44
push eax
push str.Could_not_obtain_name_from_registry.____d_
jmp 0x403fbf
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x40c]
push eax
push edi
push edi
push str.issuer
push ebx
mov dword [ebp - 0x82c], 0x200
call esi
cmp eax, edi
je 0x403f72
push eax
push str.Could_not_obtain_issuer_from_registry.____d_
jmp 0x403fbf
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x844], eax
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x840], eax
lea eax, [ebp - 0x844]
push eax
push dword [ebp - 0x834]
call fcn.004035cf
pop ecx
pop ecx
cmp eax, edi
je 0x403faa
push eax
push str.Error_on_certificate_check.____d_
jmp 0x403fbf
mov ecx, dword [ebp - 0x834]
call fcn.00403894
cmp eax, edi
je 0x404020
push eax
push str.Error_on_certificate_trust_check.____d_
call fcn.0040101c
mov esi, eax
call fcn.004040f1
pop ecx
pop ecx
cmp ebx, edi
je 0x403fd8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x824]
mov eax, dword [ebp - 0x824]
cmp eax, dword [ebp - 0x828]
jb 0x403e6b
cmp dword [ebp - 0x820], edi
je 0x404004
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404ed1
leave
ret
push eax
push str.Could_not_enum_certs.____d_
jmp 0x403e3d
cmp ebx, edi
je 0x40402b
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x820], edi
je 0x40403f
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x404006