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

Disassembly:
push 0xffffffffffffffff
push 0x576d47
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
or ebp, 0xffffffff
push ebp
xor ebx, ebx
push ebx
mov dword [esp + 0x68], ecx
call fcn.00401ec0
lea eax, [esp + 0x24]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402bd1
xor eax, eax
jmp 0x40318a
mov eax, dword [esp + 0x24]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x94]
push edx
push ebx
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x40317a
mov edi, 0x104
lea esi, [edi + 1]
lea ecx, [ecx]
cmp eax, ebx
jne 0x403141
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x50]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40314e
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x184]
push edx
push ebx
push ebx
push str.DisplayName
push eax
mov byte [esp + 0x198], bl
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402cb5
push 2
push ecx
lea edx, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
call fcn.00402a30
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push str.Can_not_read_reg_uninstall_key_DisplayName
mov dword [esp + 0x2a4], ebx
call fcn.00402a30
lea ecx, [esp + 0x74]
mov dword [esp + 0x2a0], ebp
call fcn.0043bcd0
lea ecx, [esp + 0x68]
call fcn.0043a600
jmp 0x402cc0
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x180]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x402cd0
sub eax, edx
je 0x403141
lea ecx, [esp + 0x28]
call fcn.00401cc0
lea eax, [esp + 0x180]
mov dword [esp + 0x294], 1
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x402d00
sub eax, edx
push eax
lea ecx, [esp + 0x184]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00402290
mov edx, dword [esp + 0x34]
push str.Microsoft_.NET_Framework_2.0
push edx
call fcn.0053fceb
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x402d3f
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x5961cc
lea ecx, [esp + 0x5c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x18], 4
call fcn.00402a30
push eax
lea eax, [esp + 0x60]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push eax
mov byte [esp + 0x2a0], 2
call fcn.004027b0
lea ecx, [esp + 0x8c]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x2ac], 3
call fcn.004026d0
add esp, 0x18
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0x294], 5
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402dbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov byte [esp + 0x294], 6
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402de5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push ecx
push str.VersionMinor
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00425cd0
add esp, 0x10
test al, al
jne 0x402e09
mov dword [esp + 0x30], ebp
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
push str.VersionMajor
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00425cd0
add esp, 0x10
test al, al
jne 0x402e2d
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
push 0x5961a4
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00425cd0
add esp, 0x10
test al, al
jne 0x402e51
mov dword [esp + 0x28], ebp
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], edi
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x402e78
push esi
lea ecx, [esp + 0x3c]
call fcn.00401b20
mov ecx, dword [esp + 0x38]
cmp dword [ecx - 8], esi
mov eax, ecx
jl 0x4031b2
mov dword [ecx - 0xc], esi
mov ecx, dword [esp + 0x38]
mov byte [ecx + 0x105], bl
mov edx, dword [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x20]
push str.DisplayVersion
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00425d50
add esp, 0x14
test al, al
jne 0x402ec0
push ebx
push 0x596192
lea ecx, [esp + 0x40]
call fcn.00402290
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], edi
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x402ee7
push esi
lea ecx, [esp + 0x40]
call fcn.00401b20
mov ecx, dword [esp + 0x3c]
cmp dword [ecx - 8], esi
mov eax, ecx
jl 0x4031b2
mov dword [ecx - 0xc], esi
mov ecx, dword [esp + 0x3c]
mov byte [ecx + 0x105], bl
mov edx, dword [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x20]
push str.Publisher
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00425d50
add esp, 0x14
test al, al
jne 0x402f2f
push ebx
push 0x596192
lea ecx, [esp + 0x44]
call fcn.00402290
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], edi
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x402f56
push esi
lea ecx, [esp + 0x44]
call fcn.00401b20
mov ecx, dword [esp + 0x40]
cmp dword [ecx - 8], esi
mov eax, ecx
jl 0x4031b2
mov dword [ecx - 0xc], esi
mov ecx, dword [esp + 0x40]
mov byte [ecx + 0x105], bl
mov edx, dword [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x20]
push str.HelpLink
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00425d50
add esp, 0x14
test al, al
jne 0x402f9e
push ebx
push 0x596192
lea ecx, [esp + 0x48]
call fcn.00402290
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], edi
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x402fc5
push esi
lea ecx, [esp + 0x48]
call fcn.00401b20
mov ecx, dword [esp + 0x44]
cmp dword [ecx - 8], esi
mov eax, ecx
jl 0x4031b2
mov dword [ecx - 0xc], esi
mov ecx, dword [esp + 0x44]
mov byte [ecx + 0x105], bl
mov edx, dword [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x20]
push str.URLInfoAbout
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00425d50
add esp, 0x14
test al, al
jne 0x40300d
push ebx
push 0x596192
lea ecx, [esp + 0x4c]
call fcn.00402290
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], edi
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x403034
push esi
lea ecx, [esp + 0x4c]
call fcn.00401b20
mov ecx, dword [esp + 0x48]
cmp dword [ecx - 8], esi
mov eax, ecx
jl 0x4031b2
mov dword [ecx - 0xc], esi
mov ecx, dword [esp + 0x48]
mov byte [ecx + 0x105], bl
mov edx, dword [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x20]
push str.URLUpdateInfo
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00425d50
add esp, 0x14
test al, al
jne 0x40307c
push ebx
push 0x596192
lea ecx, [esp + 0x50]
call fcn.00402290
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], edi
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x4030a3
push esi
lea ecx, [esp + 0x4c]
call fcn.00401b20
mov ecx, dword [esp + 0x48]
cmp dword [ecx - 8], esi
mov eax, ecx
jl 0x4031b2
mov dword [ecx - 0xc], esi
mov ecx, dword [esp + 0x48]
mov byte [ecx + 0x105], bl
mov edx, dword [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x20]
push str.URLUpdateInfo
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00425d50
add esp, 0x14
test al, al
jne 0x4030eb
push ebx
push 0x596192
lea ecx, [esp + 0x50]
call fcn.00402290
sub esp, 0x28
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
call fcn.00402320
mov ecx, dword [esp + 0x88]
call fcn.00402af0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x294], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403131
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x294], ebp
call fcn.00401dc0
add dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x100
mov eax, dword [esp + 0x1c]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x94]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x402c10
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.0053fab2
add esp, 0x284
ret
push 0x80070057
call fcn.00401010
int3