Function at 0x40aa00
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, 0x82c
mov eax, dword [ebp + 8]
mov ecx, dword [0x43300c]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea esi, [ebp - 0x21a]
push esi
push eax
call fcn.00401470
add esp, 8
test eax, eax
je 0x40abb4
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 0x40ab2e
mov esi, eax
mov eax, dword [0x43478c]
mov ecx, dword [0x433a44]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40affd
push esi
push str.Could_not_open_key.____d_
push 0x434580
call fcn.0040b470
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 0x40aae1
mov esi, eax
mov eax, dword [0x43478c]
mov ecx, dword [0x433a44]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40b040
push esi
push str.Could_not_open_fallback_key.____d_
push 0x434580
call fcn.0040b470
add esp, 0xc
jmp 0x40abb4
cmp dword [ebp + 0x10], 0
je 0x40ab2e
mov eax, dword [0x43478c]
mov ecx, dword [0x433a44]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40b0c6
push str.Fallback_key_present__skipping_VerifyCertificateTrustForFile_check_and_the_certificate_attribute_registry_matching_check.
push 0x434580
call fcn.0040b470
add esp, 8
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x40abb6
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 0x40abcd
mov esi, eax
mov eax, dword [0x43478c]
mov ecx, dword [0x433a44]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40b083
push esi
push str.Could_not_query_info_key.____d_
push 0x434580
call fcn.0040b470
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.0040dac1
mov eax, esi
add esp, 0x82c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebp - 0x820], 0
je 0x40aba8
mov esi, dword [ebp + 0xc]
lea edi, [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
lea ecx, [ebp - 0x824]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40afcf
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 0x40ac84
mov edi, eax
mov eax, dword [0x43478c]
mov ecx, dword [0x433a44]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40ae80
push edi
push str.Could_not_open_subkey.____d_
push 0x434580
call fcn.0040b470
add esp, 0xc
mov esi, 4
lea edi, [ebp - 0x418]
jmp 0x40ad33
mov dword [ebp - 0x838], ebx
mov edi, 0x200
mov dword [ebp - 0x82c], edi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x618]
push eax
call fcn.0040f9d0
add esp, 0xc
push edi
push ebx
lea edi, [ebp - 0x818]
push edi
call fcn.0040f9d0
add esp, 0xc
lea edi, [ebp - 0x82c]
push edi
lea eax, [ebp - 0x618]
push eax
push ebx
push ebx
push str.name
push dword [ebp - 0x828]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call ebx
test eax, eax
je 0x40ad51
mov esi, eax
mov eax, dword [0x43478c]
mov ecx, dword [0x433a44]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40aec3
push esi
push str.Could_not_obtain_name_from_registry.____d_
push 0x434580
call fcn.0040b470
add esp, 0xc
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 4
lea edi, [ebp - 0x418]
mov ebx, dword [ebp - 0x838]
cmp esi, 4
jne 0x40ab26
inc ebx
cmp ebx, dword [ebp - 0x820]
mov esi, dword [ebp + 0xc]
jb 0x40abe1
jmp 0x40aba8
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 ebx
test eax, eax
je 0x40adc5
mov edi, eax
mov eax, dword [0x43478c]
mov ecx, dword [0x433a44]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
mov ebx, dword [ebp - 0x838]
jg 0x40af06
push edi
push str.Could_not_obtain_issuer_from_registry.____d_
push 0x434580
call fcn.0040b470
add esp, 0xc
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40ac74
lea eax, [ebp - 0x618]
mov dword [ebp - 0x834], eax
mov dword [ebp - 0x830], edi
lea eax, [ebp - 0x834]
push eax
push esi
call fcn.0040c660
add esp, 8
test eax, eax
mov ebx, dword [ebp - 0x838]
je 0x40ae1c
mov edi, eax
mov eax, dword [0x43478c]
mov ecx, dword [0x433a44]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40af49
push edi
push str.Error_on_certificate_check.____d_
jmp 0x40ae5b
push esi
call fcn.0040cdf0
add esp, 4
mov edi, eax
lea eax, [ebp - 0x81c]
xor esi, esi
inc esi
test edi, edi
je 0x40ae73
mov eax, dword [0x43478c]
mov ecx, dword [0x433a44]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40af8c
push edi
push str.Error_on_certificate_trust_check.____d_
push 0x434580
call fcn.0040b470
add esp, 0xc
mov esi, 4
lea eax, [ebp - 0x828]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40ac79
push 0x43478c
call fcn.0040d3c7
add esp, 4
cmp dword [0x43478c], 0xffffffff
jne 0x40ac61
mov dword [0x434580], 0
push 0x4037c0
call fcn.0040d63c
add esp, 4
push 0x43478c
call fcn.0040d419
add esp, 4
jmp 0x40ac61
push 0x43478c
call fcn.0040d3c7
add esp, 4
cmp dword [0x43478c], 0xffffffff
jne 0x40ad03
mov dword [0x434580], 0
push 0x4037c0
call fcn.0040d63c
add esp, 4
push 0x43478c
call fcn.0040d419
add esp, 4
jmp 0x40ad03
push 0x43478c
call fcn.0040d3c7
add esp, 4
cmp dword [0x43478c], 0xffffffff
jne 0x40ada1
mov dword [0x434580], 0
push 0x4037c0
call fcn.0040d63c
add esp, 4
push 0x43478c
call fcn.0040d419
add esp, 4
jmp 0x40ada1
push 0x43478c
call fcn.0040d3c7
add esp, 4
cmp dword [0x43478c], 0xffffffff
jne 0x40ae14
mov dword [0x434580], 0
push 0x4037c0
call fcn.0040d63c
add esp, 4
push 0x43478c
call fcn.0040d419
add esp, 4
jmp 0x40ae14
push 0x43478c
call fcn.0040d3c7
add esp, 4
cmp dword [0x43478c], 0xffffffff
jne 0x40ae55
mov dword [0x434580], 0
push 0x4037c0
call fcn.0040d63c
add esp, 4
push 0x43478c
call fcn.0040d419
add esp, 4
jmp 0x40ae55
mov edi, eax
mov eax, dword [0x43478c]
mov ecx, dword [0x433a44]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40b109
push edi
push str.Could_not_enum_certs.____d_
jmp 0x40ab9b
push 0x43478c
call fcn.0040d3c7
add esp, 4
cmp dword [0x43478c], 0xffffffff
jne 0x40aa77
mov dword [0x434580], 0
push 0x4037c0
call fcn.0040d63c
add esp, 4
push 0x43478c
call fcn.0040d419
add esp, 4
jmp 0x40aa77
push 0x43478c
call fcn.0040d3c7
add esp, 4
cmp dword [0x43478c], 0xffffffff
jne 0x40aac9
mov dword [0x434580], 0
push 0x4037c0
call fcn.0040d63c
add esp, 4
push 0x43478c
call fcn.0040d419
add esp, 4
jmp 0x40aac9
push 0x43478c
call fcn.0040d3c7
add esp, 4
cmp dword [0x43478c], 0xffffffff
jne 0x40ab95
mov dword [0x434580], 0
push 0x4037c0
call fcn.0040d63c
add esp, 4
push 0x43478c
call fcn.0040d419
add esp, 4
jmp 0x40ab95
push 0x43478c
call fcn.0040d3c7
add esp, 4
cmp dword [0x43478c], 0xffffffff
jne 0x40ab08
mov dword [0x434580], 0
push 0x4037c0
call fcn.0040d63c
add esp, 4
push 0x43478c
call fcn.0040d419
add esp, 4
jmp 0x40ab08
push 0x43478c
call fcn.0040d3c7
add esp, 4
cmp dword [0x43478c], 0xffffffff
jne 0x40aff2
mov dword [0x434580], 0
push 0x4037c0
call fcn.0040d63c
add esp, 4
push 0x43478c
call fcn.0040d419
add esp, 4
jmp 0x40aff2