Function at 0x402327
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ce5be
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x5154b0]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push esi
push edi
mov eax, dword [0x5154b0]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4027b1
push 0xf
pop esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x310], ebx
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x7c]
mov byte [esp + 0x310], 2
push eax
push eax
push str.SoftBList
push str.CInfos
call fcn.0044a20d
mov ecx, eax
call fcn.0044a4a0
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00461d69
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x80]
call fcn.004036f5
xor edi, edi
lea ecx, [esp + 0x64]
push ebx
inc edi
push edi
call fcn.00404b60
push 0x4dcae4
lea ecx, [esp + 0x98]
call fcn.00404860
lea eax, [esp + 0x20]
mov byte [esp + 0x310], 3
push eax
lea edx, [esp + 0x98]
lea ecx, [esp + 0x80]
call fcn.00461f1c
pop ecx
push ebx
push edi
lea ecx, [esp + 0x9c]
mov byte [esp + 0x318], 2
call fcn.00404b60
push 0x103
lea eax, [esp + 0x1f9]
mov byte [esp + 0x1f8], bl
push ebx
push eax
call fcn.004aa670
add esp, 0xc
mov dword [esp + 0x18], 0x104
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], ebx
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x30]
push eax
push ebx
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x21c]
push eax
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x402754
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
mov byte [esp + 0x310], 5
mov esi, ebx
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], 0xff
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x108]
push eax
push esi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x402725
push str.Publisher
lea ecx, [esp + 0x68]
call fcn.00404860
lea eax, [esp + 0xf4]
mov byte [esp + 0x310], 6
push eax
lea ecx, [esp + 0xc8]
call fcn.00404860
lea eax, [esp + 0xac]
mov byte [esp + 0x310], 7
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc4]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004021b5
mov bl, al
pop ecx
neg bl
pop ecx
sbb bl, bl
lea ecx, [esp + 0xc4]
xor edi, edi
push edi
push 1
call fcn.00404b60
push edi
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x318], 5
call fcn.00404b60
inc bl
je 0x4025cb
mov ebx, 0x4e77ae
push ebx
call fcn.00404843
pop ecx
push eax
push ebx
lea ecx, [esp + 0xb4]
call fcn.004047ca
lea edx, [esp + 0x20]
lea ecx, [esp + 0xac]
call fcn.004022a0
test al, al
je 0x402720
push str.DisplayName
lea ecx, [esp + 0xc8]
call fcn.00404860
lea eax, [esp + 0xf4]
mov byte [esp + 0x310], 8
push eax
lea ecx, [esp + 0x68]
call fcn.00404860
lea eax, [esp + 0x94]
mov byte [esp + 0x310], 9
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x64]
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.004021b5
pop ecx
pop ecx
push edi
push 1
lea ecx, [esp + 0x6c]
mov bl, al
call fcn.00404b60
push edi
xor edi, edi
mov byte [esp + 0x314], 5
inc edi
lea ecx, [esp + 0xc8]
push edi
call fcn.00404b60
test bl, bl
je 0x40271c
cmp dword [esp + 0x5c], 0
je 0x402681
mov ebx, 0x4dcae4
push ebx
call fcn.00404843
pop ecx
push eax
push ebx
lea ecx, [esp + 0x54]
call fcn.004042ee
lea eax, [esp + 0x94]
mov edx, str.name:
push eax
lea ecx, [esp + 0xe0]
call fcn.00403b3f
mov byte [esp + 0x314], 0xa
lea ecx, [esp + 0xc8]
mov edx, eax
mov dword [esp], str._publish:
call fcn.00403ba6
pop ecx
lea ecx, [esp + 0xac]
mov byte [esp + 0x310], 0xb
push ecx
mov edx, eax
lea ecx, [esp + 0x68]
call fcn.00403bd8
pop ecx
push 0xffffffffffffffff
xor ebx, ebx
mov byte [esp + 0x314], 0xc
push ebx
push eax
lea ecx, [esp + 0x58]
call fcn.00404390
push ebx
push edi
lea ecx, [esp + 0x6c]
call fcn.00404b60
push ebx
push edi
lea ecx, [esp + 0xcc]
call fcn.00404b60
push ebx
push edi
lea ecx, [esp + 0xe4]
mov byte [esp + 0x318], 5
call fcn.00404b60
jmp 0x402725
xor ebx, ebx
jmp 0x402725
xor edi, edi
xor ebx, ebx
inc edi
inc esi
cmp esi, dword [esp + 0x14]
jb 0x402501
push ebx
push edi
lea ecx, [esp + 0x9c]
call fcn.00404b60
push ebx
push edi
lea ecx, [esp + 0xb4]
mov byte [esp + 0x318], 2
call fcn.00404b60
cmp dword [esp + 0x60], 0x10
lea eax, [esp + 0x4c]
push dword [esp + 0x5c]
cmovae eax, dword [esp + 0x50]
push eax
push 0x4e77ae
push str.SOFTWARE
call fcn.0044d523
mov ecx, eax
call fcn.0044d9de
push dword [esp + 0x10]
movzx eax, al
mov dword [0x51b19c], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
call fcn.004044a7
push ebx
push edi
lea ecx, [esp + 0x84]
call fcn.00404b60
push ebx
push edi
lea ecx, [esp + 0x54]
call fcn.00404b60
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.004a41df
mov esp, ebp
pop ebp
ret