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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
xor esi, esi
push 0x429ff8
mov edi, ecx
push esi
push 0x180
push dword [edi + 0xc]
call ebx
lea ecx, [ebp - 0x50]
call fcn.00419c64
mov ecx, 0x47a270
call fcn.0041ab9e
push eax
mov ecx, 0x47a9e8
call fcn.0041ab9e
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0041a30f
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.0041ab9e
push eax
push esi
push 0x180
push dword [edi + 0xc]
call ebx
push str.Software_
lea ecx, [ebp - 0x44]
mov dword [ebp - 0xc], esi
call fcn.00419cd4
push 0x47a270
lea ecx, [ebp - 0x44]
call fcn.00419f64
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x44]
push eax
push 0x20019
push esi
call fcn.0041ab9e
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41e69c
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x18]
push esi
push eax
lea eax, [ebp - 0x24]
push eax
push esi
push esi
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x41e69c
push dword [ebp - 0x18]
call fcn.0042200e
cmp dword [ebp - 0x24], esi
pop ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esi
jbe 0x41e689
cmp dword [ebp - 8], esi
je 0x41e655
push dword [ebp - 0x18]
push esi
push dword [ebp - 8]
call fcn.00421740
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push eax
push esi
push esi
lea eax, [ebp - 0x28]
push esi
push eax
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push dword [ebp - 8]
mov ecx, edi
call fcn.00419db1
lea eax, [ebp - 0x20]
push eax
push 0x20019
push esi
push dword [ebp - 8]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41e644
push 0x100
call fcn.0042200e
cmp eax, esi
pop ecx
mov dword [ebp - 4], eax
je 0x41e670
push 0x100
push esi
push eax
call fcn.00421740
add esp, 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x100
mov dword [ebp - 0x10], 1
push eax
lea eax, [ebp - 0x10]
push dword [ebp - 4]
push eax
push esi
push str.Version
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x41e5c4
cmp dword [ebp - 0x10], 1
jne 0x41e5c4
push dword [ebp - 4]
mov ecx, 0x47a9f4
call fcn.0041ab9e
push eax
push str.__s__s
push edi
call fcn.0041a30f
add esp, 0x10
push 0x100
push esi
push dword [ebp - 4]
call fcn.00421740
add esp, 0xc
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x100
push eax
lea eax, [ebp - 0x10]
push dword [ebp - 4]
push eax
push esi
push str.Installed
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x41e625
cmp dword [ebp - 0x10], 1
jne 0x41e625
push dword [ebp - 4]
mov ecx, 0x47aa00
call fcn.0041ab9e
push eax
push str.___s:__s
push edi
call fcn.0041a30f
add esp, 0x10
mov ecx, edi
call fcn.0041ab9e
push eax
push esi
push 0x180
push dword [edi + 0xc]
call ebx
push dword [ebp - 4]
inc dword [ebp - 0xc]
call fcn.0042201c
pop ecx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jb 0x41e4e8
jmp 0x41e689
inc dword [ebp - 0xc]
mov ecx, 0x47a7fc
call fcn.0041ab9e
push eax
push esi
push 0x180
push dword [edi + 0xc]
call ebx
jmp 0x41e697
inc dword [ebp - 0xc]
mov ecx, 0x47a7fc
call fcn.0041ab9e
push eax
push esi
push 0x180
push dword [edi + 0xc]
call ebx
cmp dword [ebp - 8], esi
je 0x41e697
push dword [ebp - 8]
call fcn.0042201c
pop ecx
cmp dword [ebp - 0xc], esi
jne 0x41e6b2
mov ecx, 0x47aa0c
call fcn.0041ab9e
push eax
push esi
push 0x180
push dword [edi + 0xc]
call ebx
lea ecx, [ebp - 0x44]
call fcn.00419d9a
lea ecx, [ebp - 0x50]
call fcn.00419d9a
pop edi
pop esi
pop ebx
leave
ret