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

Disassembly:
push 0xffffffffffffffff
push 0x487d51
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
xor ebp, ebp
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x14], ebp
mov byte [esp + 0xb0], 1
mov edi, 0x64
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], edi
call fcn.0044d630
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42490d
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov byte [esp + 0xc0], 2
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x424adc
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x28], esi
jmp 0x42495f
mov esi, dword [esp + 0x1c]
mov edi, 0x64
push edi
lea edx, [esp + 0x40]
push ebx
push edx
call fcn.0046c870
add esp, 0xc
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x28]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x50]
push edx
push eax
push esi
mov dword [esp + 0x38], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
mov dword [esp + 0x30], eax
jne 0x424a5d
lea ecx, [esp + 0x2c]
push ecx
push 0x2001f
push ebx
lea edx, [esp + 0x48]
push edx
push esi
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x424a5d
xor eax, eax
cmp ebp, ebx
je 0x4249cc
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], ebp
jne 0x424a5d
push edi
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.0046c870
add esp, 0xc
push str.DisplayName
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], edi
push ecx
lea edi, [esp + 0x20]
lea esi, [esp + 0x44]
call fcn.00425040
test eax, eax
jne 0x424a4c
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x424a10
sub eax, edx
push eax
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x28]
call fcn.004068a0
mov esi, dword [esp + 0x20]
cmp dword [esi - 0xc], ebx
jl 0x424a4c
push 0x4994c0
push esi
call fcn.0046a65b
add esp, 8
cmp eax, ebx
je 0x424a4c
sub eax, esi
cmp eax, 0xffffffff
jne 0x424abd
cmp ebp, ebx
je 0x424a5d
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov dword [esp + 0x14], ebp
add dword [esp + 0x24], 1
cmp dword [esp + 0x30], ebx
je 0x424956
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x424a81
push eax
call esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424aa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebp, ebx
je 0x424ab0
push ebp
call esi
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x424b02
push eax
call esi
jmp 0x424b02
cmp ebp, ebx
mov dword [0x4b8f38], 1
je 0x424a6c
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call esi
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x424a72
lea eax, [esi - 0x10]
mov byte [esp + 0xb0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424b00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00468ce5
add esp, 0xa0
ret