Function at 0x422273
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.0041cf73
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x68]
push eax
call fcn.004201e7
lea ecx, [ebp - 0x5c]
call fcn.0041cf73
mov ecx, 0x47f458
call fcn.0041decc
push eax
mov ecx, 0x47fc10
call fcn.0041decc
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0041d600
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call fcn.004201e7
xor ebx, ebx
push str.Software_
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0041cfe3
push 0x47f458
lea ecx, [ebp - 0x50]
call fcn.0041d25e
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x50]
push eax
push 0x20019
push ebx
call fcn.0041decc
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4224ae
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 0x4224ae
push esi
push edi
push dword [ebp - 0x14]
call fcn.00426169
cmp dword [ebp - 0x24], ebx
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], ebx
jbe 0x422499
mov esi, 0x100
mov edi, dword [ebp - 0x1c]
cmp edi, ebx
je 0x422489
push dword [ebp - 0x14]
push ebx
push edi
call fcn.00425890
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.0041cfe3
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 0x422470
push esi
call fcn.00426169
mov edi, eax
pop ecx
cmp edi, ebx
je 0x42248e
push esi
push ebx
push edi
call fcn.00425890
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 0x42240d
cmp dword [ebp - 8], 1
jne 0x42240d
push edi
mov ecx, 0x47fc1c
call fcn.0041decc
push eax
lea eax, [ebp - 0x44]
push str.__s__s
push eax
call fcn.0041d600
add esp, 0x10
push esi
push ebx
push edi
call fcn.00425890
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 0x42245a
cmp dword [ebp - 8], 1
jne 0x42245a
push edi
mov ecx, 0x47fc28
call fcn.0041decc
push eax
lea eax, [ebp - 0x44]
push str.___s:__s
push eax
call fcn.0041d600
add esp, 0x10
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x44]
push eax
call fcn.004201e7
inc dword [ebp - 4]
push edi
call fcn.0042615e
pop ecx
lea ecx, [ebp - 0x44]
call fcn.0041d0a9
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x24]
jb 0x42234d
jmp 0x422499
inc dword [ebp - 4]
jmp 0x4224a7
inc dword [ebp - 4]
lea ecx, [ebp - 0x44]
call fcn.0041d0a9
cmp dword [ebp - 0x1c], ebx
je 0x4224a7
push dword [ebp - 0x1c]
call fcn.0042615e
pop ecx
cmp dword [ebp - 4], ebx
pop edi
pop esi
jne 0x4224bb
mov ecx, dword [ebp - 0x10]
push 0x47fc34
call fcn.004201e7
lea ecx, [ebp - 0x50]
call fcn.0041d0a9
lea ecx, [ebp - 0x5c]
call fcn.0041d0a9
lea ecx, [ebp - 0x68]
call fcn.0041d0a9
pop ebx
leave
ret