Function at 0x4193b0
Capabilities:
Get installed programs

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c540
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5c1c00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], vtable.RegAccess.0
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004373d3
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.004373d3
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov byte [ebp - 4], 3
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x41942d
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.004100a0
mov edi, dword [ebp - 0x28]
cmp edi, ebx
je 0x41944d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x28], edi
xor esi, esi
cmp dword [ebp - 0x38], ebx
jle 0x41958e
call fcn.00427d68
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4195fb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
call fcn.00427d68
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4195fb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
cmp esi, ebx
jl 0x419605
cmp esi, dword [ebp - 0x38]
jge 0x419605
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + esi*4]
push edx
lea eax, [ebp - 0x18]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.00403220
mov edx, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
push 0x20019
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x419500
cmp edi, ebx
je 0x4194fa
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov edi, str.DisplayName
lea ebx, [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.0040fe70
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x419523
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 1
jle 0x41953c
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x54]
call fcn.0043776a
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41955f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419582
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
xor ebx, ebx
cmp esi, dword [ebp - 0x38]
jl 0x419458
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x40]
call fcn.0043746a
lea ecx, [ebp - 0x1c]
push ecx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push SysReAllocString
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4195cb
cmp edi, ebx
je 0x4195c5
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004100a0
mov esi, dword [ebp - 0x28]
cmp esi, ebx
je 0x4195eb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], ebx
mov esi, ebx
xor edi, edi
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x38], ebx
jle 0x419744
jmp 0x419613
push 0x80004005
call fcn.00403150
call fcn.00427c2a
lea ebx, [ebx]
mov edi, dword [ebp - 0x18]
call fcn.00427d68
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4195fb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
call fcn.00427d68
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4195fb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
cmp edi, ebx
jl 0x419605
cmp edi, dword [ebp - 0x38]
jge 0x419605
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + edi*4]
push edx
lea eax, [ebp - 0x1c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.00403220
mov esi, dword [ebp - 0x1c]
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
push 0x20019
push ebx
push esi
push SysReAllocString
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4196ae
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x4196a8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov edi, str.DisplayName
lea ebx, [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.0040fe70
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4196d3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 1
jle 0x4196ec
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.0043776a
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41970f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41972f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
inc eax
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x38]
jl 0x419610
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x419794
test ebx, ebx
js 0x419605
cmp ebx, eax
jge 0x419605
mov ecx, dword [ebp - 0x50]
lea edi, [ecx + ebx*4]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x41978c
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x41978c
push ecx
push eax
call fcn.00523e0f
add esp, 8
test eax, eax
je 0x41978c
sub eax, dword [edi]
cmp eax, 0xffffffff
je 0x41978c
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x4c]
inc ebx
cmp ebx, eax
jl 0x41974b
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00437611
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00437611
test esi, esi
je 0x4197b7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4197dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret