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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x10], ecx
push ebx
lea ecx, [ebp - 0x68]
call fcn.0041c7ab
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x68]
push eax
call fcn.0041f94e
lea ecx, [ebp - 0x5c]
call fcn.0041c7ab
mov ecx, 0x47f3d8
call fcn.0041d704
push eax
mov ecx, 0x47fb80
call fcn.0041d704
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0041ce4d
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call fcn.0041f94e
xor ebx, ebx
push str.Software_
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0041c81b
push 0x47f3d8
lea ecx, [ebp - 0x50]
call fcn.0041caab
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x50]
push eax
push 0x20019
push ebx
call fcn.0041d704
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x421c3d
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x421c3d
push esi
push edi
push dword [ebp - 0x14]
call fcn.004258e9
cmp dword [ebp - 0x24], ebx
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], ebx
jbe 0x421c28
mov esi, 0x100
mov edi, dword [ebp - 0x1c]
cmp edi, ebx
je 0x421c18
push dword [ebp - 0x14]
push ebx
push edi
call fcn.00425010
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
lea eax, [ebp - 0x28]
push ebx
push eax
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push edi
lea ecx, [ebp - 0x44]
call fcn.0041c81b
lea eax, [ebp - 0x20]
push eax
push 0x20019
push ebx
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x421bff
push esi
call fcn.004258e9
mov edi, eax
pop ecx
cmp edi, ebx
je 0x421c1d
push esi
push ebx
push edi
call fcn.00425010
add esp, 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 8]
push edi
push eax
push ebx
push str.Version
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [edi], bl
je 0x421b9c
cmp dword [ebp - 8], 1
jne 0x421b9c
push edi
mov ecx, 0x47fb8c
call fcn.0041d704
push eax
lea eax, [ebp - 0x44]
push str.__s__s
push eax
call fcn.0041ce4d
add esp, 0x10
push esi
push ebx
push edi
call fcn.00425010
add esp, 0xc
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], esi
push eax
lea eax, [ebp - 8]
push edi
push eax
push ebx
push str.Installed
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [edi], bl
je 0x421be9
cmp dword [ebp - 8], 1
jne 0x421be9
push edi
mov ecx, 0x47fb98
call fcn.0041d704
push eax
lea eax, [ebp - 0x44]
push str.___s:__s
push eax
call fcn.0041ce4d
add esp, 0x10
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x44]
push eax
call fcn.0041f94e
inc dword [ebp - 4]
push edi
call fcn.004258de
pop ecx
lea ecx, [ebp - 0x44]
call fcn.0041c8e1
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x24]
jb 0x421adc
jmp 0x421c28
inc dword [ebp - 4]
jmp 0x421c36
inc dword [ebp - 4]
lea ecx, [ebp - 0x44]
call fcn.0041c8e1
cmp dword [ebp - 0x1c], ebx
je 0x421c36
push dword [ebp - 0x1c]
call fcn.004258de
pop ecx
cmp dword [ebp - 4], ebx
pop edi
pop esi
jne 0x421c4a
mov ecx, dword [ebp - 0x10]
push 0x47fba4
call fcn.0041f94e
lea ecx, [ebp - 0x50]
call fcn.0041c8e1
lea ecx, [ebp - 0x5c]
call fcn.0041c8e1
lea ecx, [ebp - 0x68]
call fcn.0041c8e1
pop ebx
leave
ret