Function at 0x1004f570
Capabilities:
Get installed programs

Disassembly:
push 0xffffffffffffffff
push 0x1007e780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x10098a04]
push ebx
push ebp
push esi
push edi
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0
call fcn.10020c30
call fcn.1001fde0
call fcn.1004ed00
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallWinamp
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x1004f5e3
xor edi, edi
jmp 0x1004f5ef
mov edx, dword [esp + 0x14]
push edx
call ebx
mov edi, 1
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsTTPlayer.exe
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x1004f60f
xor eax, eax
jmp 0x1004f61b
mov ecx, dword [esp + 0x18]
push ecx
call ebx
mov eax, 1
push edi
push eax
lea edx, [esp + 0x18]
push str.qqjt_dwinmap_d
push edx
call fcn.10004e20
add esp, 0x10
push 0xb
push str.Sysversion
lea ecx, [esp + 0x18]
call fcn.1000cde0
mov eax, 0x10096f80
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1004f647
sub eax, edx
push eax
push 0x10096f80
lea ecx, [esp + 0x18]
call fcn.1000cde0
push 1
push 0x1008502c
lea ecx, [esp + 0x18]
call fcn.1000cde0
push 8
push str.Default
lea ecx, [esp + 0x18]
call fcn.1000cde0
mov eax, dword [0x10096a70]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.1000cde0
push 1
push 0x1008502c
lea ecx, [esp + 0x18]
call fcn.1000cde0
mov eax, dword [0x100968e0]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x1004f6fe
mov edi, 0x100968e0
mov esi, edi
push 4
push str.IME
lea ecx, [esp + 0x18]
call fcn.1000cde0
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.1000cde0
mov ecx, dword [esi + 4]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x1004f6fe
push 1
push 0x1008502c
lea ecx, [esp + 0x18]
call fcn.1000cde0
mov edx, dword [esi + 4]
mov eax, dword [edx - 0xc]
add esi, 4
test eax, eax
mov edi, esi
jg 0x1004f6b5
mov ebp, dword [esp + 0x10]
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
add ebp, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebx, esp
call dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
test edx, edx
lea ecx, [ebp + 0xc]
jl 0x1004f730
cmp eax, dword [ebp]
jne 0x1004f730
mov eax, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x1004f763
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x1004f745
jmp fcn.10001f00
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 4]
inc ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebp + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [ebx], eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ime.gif
mov byte [esp + 0x38], 1
call fcn.10005e50
mov byte [esp + 0x34], 0
call fcn.1004efe0
mov esi, eax
add esp, 8
mov dword [esp + 0x2c], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004f7ad
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret