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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ea55
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4ba494]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x46cb1c
jmp 0x46d1a5
mov dword [ebp - 0x118], 0
jmp 0x46cb37
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
push 0x100
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x46d19b
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x13c]
call fcn.00403210
mov dword [ebp - 4], 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x138]
call fcn.00403210
mov byte [ebp - 4], 1
push 0x495ef8
lea ecx, [ebp - 0x138]
call fcn.00405670
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x138]
call fcn.00412bc0
mov dword [ebp - 0x150], 0
lea ecx, [ebp - 0x150]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x138]
call fcn.0040aa10
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x46cc04
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00413390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00413390
jmp 0x46d1a5
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x120], 0
push 0x104
lea ecx, [ebp - 0x134]
call fcn.0041bf00
mov byte [ebp - 4], 2
mov dword [ebp - 0x11c], 0x104
mov dword [ebp - 0x124], 0
lea ecx, [ebp - 0x144]
call fcn.0041c7b0
mov byte [ebp - 4], 3
push 0x487c97
lea ecx, [ebp - 0x14c]
call fcn.00403210
mov byte [ebp - 4], 4
lea edx, [ebp - 0x124]
push edx
push 0
lea eax, [ebp - 0x120]
push eax
push 0
lea ecx, [ebp - 0x11c]
push ecx
push 0
lea ecx, [ebp - 0x134]
call fcn.0041bfa0
push eax
mov edx, dword [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x46cfad
cmp dword [ebp - 0x124], 0
ja 0x46ccd4
mov dword [ebp - 0x11c], 0x104
mov dword [ebp - 0x124], 0
mov ecx, dword [ebp - 0x148]
add ecx, 1
mov dword [ebp - 0x148], ecx
jmp 0x46cc63
mov byte [ebp - 0x191], 0
lea edx, [ebp - 0x191]
push edx
mov eax, dword [ebp - 0x124]
add eax, 1
push eax
lea ecx, [ebp - 0x164]
call fcn.0041bf40
mov byte [ebp - 4], 5
mov dword [ebp - 0x11c], 0x104
lea ecx, [ebp - 0x124]
push ecx
push 0
lea ecx, [ebp - 0x164]
call fcn.0041bfa0
push eax
lea edx, [ebp - 0x120]
push edx
push 0
lea eax, [ebp - 0x11c]
push eax
push 0
lea ecx, [ebp - 0x134]
call fcn.0041bfa0
push eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x150]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x46cd64
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x164]
call fcn.0041bf80
jmp 0x46cfad
push 0
lea ecx, [ebp - 0x134]
call fcn.0041bfa0
push eax
lea ecx, [ebp - 0x154]
call fcn.00403210
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x164]
call fcn.0041bfa0
push eax
lea ecx, [ebp - 0x168]
call fcn.00403210
mov byte [ebp - 4], 7
push 0x495efc
lea ecx, [ebp - 0x154]
call fcn.004032b0
test eax, eax
je 0x46cdca
push str.UninstallString
lea ecx, [ebp - 0x154]
call fcn.004032b0
test eax, eax
jne 0x46cf58
mov eax, 1
test eax, eax
je 0x46ced3
cmp dword [ebp - 0x120], 7
jne 0x46ce82
mov dword [ebp - 0x16c], 0
push 0x495f18
lea ecx, [ebp - 0x154]
call fcn.004032b0
test eax, eax
jne 0x46ce22
mov ecx, dword [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x164]
call fcn.0041bfa0
push eax
lea ecx, [ebp - 0x144]
call fcn.00403290
jmp 0x46ce40
mov edx, dword [ebp - 0x16c]
push edx
lea ecx, [ebp - 0x164]
call fcn.0041bfa0
push eax
lea ecx, [ebp - 0x140]
call fcn.00403290
mov eax, dword [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x164]
call fcn.0041bfa0
push eax
call fcn.00444850
add esp, 4
mov ecx, dword [ebp - 0x16c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x16c], edx
mov eax, dword [ebp - 0x124]
sub eax, 1
cmp dword [ebp - 0x16c], eax
jb 0x46cdee
jmp 0x46cece
lea ecx, [ebp - 0x168]
call fcn.00402000
movzx ecx, al
test ecx, ecx
jne 0x46cece
push 0x495f24
lea ecx, [ebp - 0x154]
call fcn.004032b0
test eax, eax
jne 0x46cebc
lea edx, [ebp - 0x168]
push edx
lea ecx, [ebp - 0x144]
call fcn.00401f50
jmp 0x46cece
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x140]
call fcn.00401f50
jmp 0x46cf58
cmp dword [ebp - 0x120], 1
jne 0x46cf58
push 4
push 0
lea ecx, [ebp - 0x134]
call fcn.0041bfa0
push eax
push 0x495f30
call fcn.0041c5d0
add esp, 0xc
test eax, eax
je 0x46cf1e
push 7
push 0
lea ecx, [ebp - 0x134]
call fcn.0041bfa0
push eax
push 0x495f38
call fcn.0041c5d0
add esp, 0xc
test eax, eax
jne 0x46cf58
push str.DisplayName
lea ecx, [ebp - 0x154]
call fcn.004032b0
test eax, eax
jne 0x46cf46
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x144]
call fcn.00401f50
jmp 0x46cf58
lea edx, [ebp - 0x168]
push edx
lea ecx, [ebp - 0x140]
call fcn.00401f50
mov dword [ebp - 0x11c], 0x104
mov dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x148]
add eax, 1
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x168]
call fcn.00413390
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x154]
call fcn.00413390
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x164]
call fcn.0041bf80
jmp 0x46cc63
lea ecx, [ebp - 0x144]
call fcn.00402000
movzx ecx, al
test ecx, ecx
jne 0x46cfd1
lea edx, [ebp - 0x144]
push edx
lea ecx, [ebp - 0x14c]
call fcn.00401f50
lea ecx, [ebp - 0x140]
call fcn.00402000
movzx eax, al
test eax, eax
jne 0x46d13b
lea ecx, [ebp - 0x14c]
call fcn.00402000
movzx ecx, al
test ecx, ecx
jne 0x46d13b
lea edx, [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x144]
call fcn.00401f50
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x190]
call fcn.00401f30
mov byte [ebp - 4], 8
push 0x495f4c
lea ecx, [ebp - 0x190]
call fcn.0041cb30
push 0
push 0x495f50
lea ecx, [ebp - 0x190]
call fcn.0041ca60
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
jg 0x46d06e
push 0
push str..EXE
lea ecx, [ebp - 0x190]
call fcn.0041ca60
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
push ecx
lea edx, [ebp - 0x198]
push edx
lea ecx, [ebp - 0x190]
call fcn.00405c70
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1a4]
push ecx
lea ecx, [ebp - 0x190]
call fcn.00401f50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x198]
call fcn.00413390
push str..exe
lea ecx, [ebp - 0x190]
call fcn.00405670
lea ecx, [ebp - 0x188]
call fcn.0043174d
mov byte [ebp - 4], 0xa
push 0
lea ecx, [ebp - 0x190]
call fcn.0040aa10
push eax
lea ecx, [ebp - 0x188]
call fcn.004317d9
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
je 0x46d11d
lea edx, [ebp - 0x144]
push edx
mov ecx, dword [ebp - 0x19c]
add ecx, 0x10c
call fcn.0041ce70
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x188]
call fcn.00431771
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x190]
call fcn.00413390
mov eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14c]
call fcn.00413390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x144]
call fcn.004192e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
call fcn.0041bf80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00413390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00413390
jmp 0x46cb28
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00443d53
mov esp, ebp
pop ebp
ret