Function at 0x420f79
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.0041bdc5
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x68]
push eax
call fcn.0041eec5
lea ecx, [ebp - 0x5c]
call fcn.0041bdc5
mov ecx, 0x47e368
call fcn.0041cd1e
push eax
mov ecx, 0x47eb10
call fcn.0041cd1e
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0041c467
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call fcn.0041eec5
xor ebx, ebx
push str.Software_
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0041be35
push 0x47e368
lea ecx, [ebp - 0x50]
call fcn.0041c0c5
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x50]
push eax
push 0x20019
push ebx
call fcn.0041cd1e
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4211b4
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 0x4211b4
push esi
push edi
push dword [ebp - 0x14]
call fcn.00424dd9
cmp dword [ebp - 0x24], ebx
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], ebx
jbe 0x42119f
mov esi, 0x100
mov edi, dword [ebp - 0x1c]
cmp edi, ebx
je 0x42118f
push dword [ebp - 0x14]
push ebx
push edi
call fcn.00424500
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.0041be35
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 0x421176
push esi
call fcn.00424dd9
mov edi, eax
pop ecx
cmp edi, ebx
je 0x421194
push esi
push ebx
push edi
call fcn.00424500
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 0x421113
cmp dword [ebp - 8], 1
jne 0x421113
push edi
mov ecx, 0x47eb1c
call fcn.0041cd1e
push eax
lea eax, [ebp - 0x44]
push str.__s__s
push eax
call fcn.0041c467
add esp, 0x10
push esi
push ebx
push edi
call fcn.00424500
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 0x421160
cmp dword [ebp - 8], 1
jne 0x421160
push edi
mov ecx, 0x47eb28
call fcn.0041cd1e
push eax
lea eax, [ebp - 0x44]
push str.___s:__s
push eax
call fcn.0041c467
add esp, 0x10
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x44]
push eax
call fcn.0041eec5
inc dword [ebp - 4]
push edi
call fcn.00424dce
pop ecx
lea ecx, [ebp - 0x44]
call fcn.0041befb
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x24]
jb 0x421053
jmp 0x42119f
inc dword [ebp - 4]
jmp 0x4211ad
inc dword [ebp - 4]
lea ecx, [ebp - 0x44]
call fcn.0041befb
cmp dword [ebp - 0x1c], ebx
je 0x4211ad
push dword [ebp - 0x1c]
call fcn.00424dce
pop ecx
cmp dword [ebp - 4], ebx
pop edi
pop esi
jne 0x4211c1
mov ecx, dword [ebp - 0x10]
push 0x47eb34
call fcn.0041eec5
lea ecx, [ebp - 0x50]
call fcn.0041befb
lea ecx, [ebp - 0x5c]
call fcn.0041befb
lea ecx, [ebp - 0x68]
call fcn.0041befb
pop ebx
leave
ret