Function at 0x421c60
Capabilities:
Get installed programs
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1230
call fcn.00437980
mov eax, dword [0x4ce540]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
xor ecx, ecx
mov esi, edx
push 0x1fe
push ecx
lea edx, [ebp - 0x202]
mov edi, 1
push edx
mov dword [ebp - 0x121c], eax
mov dword [ebp - 0x1230], ebx
mov dword [ebp - 0x122c], esi
mov dword [ebp - 0x1208], 0
mov dword [ebp - 0x1220], edi
mov dword [ebp - 0x1228], 0x100
mov word [ebp - 0x204], cx
call fcn.00427b00
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0xa02]
push ecx
mov word [ebp - 0xa04], ax
call fcn.00427b00
xor edx, edx
push 0x7fe
push edx
lea eax, [ebp - 0x1202]
push eax
mov word [ebp - 0x1204], dx
call fcn.00427b00
add esp, 0x24
lea ecx, [ebp - 0x1208]
push ecx
xor eax, eax
push 0x20019
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallSecEditCtlHost.BCM.Setup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1214], eax
mov dword [ebp - 0x120c], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x421f27
lea edx, [ebp - 0x1228]
push edx
mov edx, dword [ebp - 0x1208]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x1220]
push ecx
push 0
push str.InstallTime
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1210], eax
test eax, eax
je 0x421d75
cmp eax, 2
jne 0x421f27
push 0x4c8e4c
lea eax, [ebp - 0xa04]
push 0x400
push eax
call fcn.00426e9a
mov edx, dword [ebx + 4]
lea ecx, [ebx + 4]
add esp, 0xc
mov dword [ebp - 0x1224], ecx
test edx, edx
je 0x421e21
lea eax, [ebp - 0xa04]
lea ebx, [eax + 2]
jmp 0x421db0
mov si, word [eax]
add eax, 2
test si, si
jne 0x421db0
sub eax, ebx
sar eax, 1
mov ebx, eax
lea eax, [ebp - 0xa04]
lea esi, [eax + 2]
mov dword [ebp - 0x1218], esi
mov si, word [eax]
add eax, 2
test si, si
jne 0x421dd0
sub edx, dword [ecx - 4]
sub eax, dword [ebp - 0x1218]
push edx
mov ecx, 0x400
sar eax, 1
push 0x4c8e50
sub ecx, ebx
push ecx
lea edx, [ebp + eax*2 - 0xa04]
push edx
call fcn.004266d6
mov eax, dword [ebp - 0x1230]
inc edi
mov edx, dword [eax + edi*4]
lea ecx, [eax + edi*4]
add esp, 0x10
test edx, edx
jne 0x421da2
mov esi, dword [ebp - 0x122c]
mov ecx, dword [ebp - 0x1224]
movzx edi, word [esi]
mov edx, 0x4c8d70
test di, di
jne 0x421e6a
cmp dword [ebp - 0x1210], 2
je 0x421e3d
lea edx, [ebp - 0x204]
cmp dword [ecx], 0
mov eax, 0x4c8d70
je 0x421e4d
lea eax, [ebp - 0xa04]
push edx
push eax
push str._ws_ws
lea ecx, [ebp - 0x1204]
push 0x400
push ecx
call fcn.004266d6
add esp, 0x14
jmp 0x421ec1
cmp dword [ebp - 0x1210], 2
je 0x421e79
lea edx, [ebp - 0x204]
cmp dword [ecx], 0
mov eax, 0x4c8d70
je 0x421e89
lea eax, [ebp - 0xa04]
movzx ecx, word [esi + 8]
push edx
movzx edx, word [esi + 0xc]
push eax
movzx eax, word [esi + 0xa]
push edx
movzx edx, word [esi + 6]
push eax
movzx eax, word [esi + 2]
push ecx
push edx
push eax
movzx ecx, di
push ecx
push str._04d_02d_02d__d:_d:_d_ws_ws
lea edx, [ebp - 0x1204]
push 0x400
push edx
call fcn.004266d6
add esp, 0x2c
lea eax, [ebp - 0x120c]
push eax
lea ecx, [ebp - 0x1214]
push ecx
lea edx, [ebp - 0x1204]
push edx
call fcn.00412e80
mov ebx, dword [ebp - 0x1214]
add esp, 0xc
test eax, eax
jl 0x421f1a
mov edi, dword [ebp - 0x120c]
inc edi
push edi
call fcn.004261ca
mov esi, eax
add esp, 4
test esi, esi
je 0x421f1a
push edi
push 0
push esi
call fcn.00427b00
push ebx
push edi
push esi
call fcn.0042e825
mov eax, dword [ebp - 0x121c]
add esp, 0x18
mov dword [eax], esi
test ebx, ebx
je 0x421f27
push ebx
call fcn.00427598
add esp, 4
mov eax, dword [ebp - 0x1208]
pop edi
pop esi
pop ebx
test eax, eax
je 0x421f3b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004265ea
mov esp, ebp
pop ebp
ret