Function at 0x422213
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.0041cf28
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x68]
push eax
call fcn.0042015f
lea ecx, [ebp - 0x5c]
call fcn.0041cf28
mov ecx, 0x47f468
call fcn.0041de81
push eax
mov ecx, 0x47fc20
call fcn.0041de81
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0041d5b5
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call fcn.0042015f
xor ebx, ebx
push str.Software_
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0041cf98
push 0x47f468
lea ecx, [ebp - 0x50]
call fcn.0041d213
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x50]
push eax
push 0x20019
push ebx
call fcn.0041de81
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42244e
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 0x42244e
push esi
push edi
push dword [ebp - 0x14]
call fcn.004260f9
cmp dword [ebp - 0x24], ebx
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], ebx
jbe 0x422439
mov esi, 0x100
mov edi, dword [ebp - 0x1c]
cmp edi, ebx
je 0x422429
push dword [ebp - 0x14]
push ebx
push edi
call fcn.00425820
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.0041cf98
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 0x422410
push esi
call fcn.004260f9
mov edi, eax
pop ecx
cmp edi, ebx
je 0x42242e
push esi
push ebx
push edi
call fcn.00425820
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 0x4223ad
cmp dword [ebp - 8], 1
jne 0x4223ad
push edi
mov ecx, 0x47fc2c
call fcn.0041de81
push eax
lea eax, [ebp - 0x44]
push str.__s__s
push eax
call fcn.0041d5b5
add esp, 0x10
push esi
push ebx
push edi
call fcn.00425820
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 0x4223fa
cmp dword [ebp - 8], 1
jne 0x4223fa
push edi
mov ecx, 0x47fc38
call fcn.0041de81
push eax
lea eax, [ebp - 0x44]
push str.___s:__s
push eax
call fcn.0041d5b5
add esp, 0x10
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x44]
push eax
call fcn.0042015f
inc dword [ebp - 4]
push edi
call fcn.004260ee
pop ecx
lea ecx, [ebp - 0x44]
call fcn.0041d05e
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x24]
jb 0x4222ed
jmp 0x422439
inc dword [ebp - 4]
jmp 0x422447
inc dword [ebp - 4]
lea ecx, [ebp - 0x44]
call fcn.0041d05e
cmp dword [ebp - 0x1c], ebx
je 0x422447
push dword [ebp - 0x1c]
call fcn.004260ee
pop ecx
cmp dword [ebp - 4], ebx
pop edi
pop esi
jne 0x42245b
mov ecx, dword [ebp - 0x10]
push 0x47fc44
call fcn.0042015f
lea ecx, [ebp - 0x50]
call fcn.0041d05e
lea ecx, [ebp - 0x5c]
call fcn.0041d05e
lea ecx, [ebp - 0x68]
call fcn.0041d05e
pop ebx
leave
ret