Function at 0x423e3d
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.0041e62f
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x68]
push eax
call fcn.00421d12
lea ecx, [ebp - 0x5c]
call fcn.0041e62f
mov ecx, 0x4814a4
call fcn.0041f593
push eax
mov ecx, 0x481c88
call fcn.0041f593
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0041ecd1
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call fcn.00421d12
xor ebx, ebx
push str.Software_
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0041e69f
push 0x481498
lea ecx, [ebp - 0x50]
call fcn.0041e92f
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x50]
push eax
mov eax, dword [0x4823f8]
or eax, 0x20019
push eax
push ebx
call fcn.0041f593
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424084
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 0x424084
push esi
push edi
push dword [ebp - 0x14]
call fcn.00427db9
cmp dword [ebp - 0x24], ebx
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], ebx
jbe 0x42406f
mov esi, pe_nt_image_headers32
mov edi, dword [ebp - 0x1c]
cmp edi, ebx
je 0x42405f
push dword [ebp - 0x14]
push ebx
push edi
call fcn.004274e0
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.0041e69f
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x4823f8]
or eax, 0x20019
push eax
push ebx
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424046
push esi
call fcn.00427db9
mov edi, eax
pop ecx
cmp edi, ebx
je 0x424064
push esi
push ebx
push edi
call fcn.004274e0
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 0x423fe3
cmp dword [ebp - 8], 1
jne 0x423fe3
push edi
mov ecx, 0x481c94
call fcn.0041f593
push eax
lea eax, [ebp - 0x44]
push str.__s__s
push eax
call fcn.0041ecd1
add esp, 0x10
push esi
push ebx
push edi
call fcn.004274e0
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 0x424030
cmp dword [ebp - 8], 1
jne 0x424030
push edi
mov ecx, 0x481ca0
call fcn.0041f593
push eax
lea eax, [ebp - 0x44]
push str.___s:__s
push eax
call fcn.0041ecd1
add esp, 0x10
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x44]
push eax
call fcn.00421d12
inc dword [ebp - 4]
push edi
call fcn.00427dae
pop ecx
lea ecx, [ebp - 0x44]
call fcn.0041e765
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x24]
jb 0x423f1d
jmp 0x42406f
inc dword [ebp - 4]
jmp 0x42407d
inc dword [ebp - 4]
lea ecx, [ebp - 0x44]
call fcn.0041e765
cmp dword [ebp - 0x1c], ebx
je 0x42407d
push dword [ebp - 0x1c]
call fcn.00427dae
pop ecx
cmp dword [ebp - 4], ebx
pop edi
pop esi
jne 0x424091
mov ecx, dword [ebp - 0x10]
push 0x481cac
call fcn.00421d12
lea ecx, [ebp - 0x50]
call fcn.0041e765
lea ecx, [ebp - 0x5c]
call fcn.0041e765
lea ecx, [ebp - 0x68]
call fcn.0041e765
pop ebx
leave
ret