Function at 0x100c3ba
Capabilities:
Get installed programs

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x54], 0x1002008
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x1001f88
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], esi
xor ebx, ebx
lea edi, [ebp - 0x50]
push edi
push 0x20019
push esi
push dword [edi - 4]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [edi], esi
je 0x100c425
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 4], eax
cmp eax, esi
je 0x100c425
inc dword [ebp - 4]
inc ebx
add edi, 0x10
cmp ebx, 2
jb 0x100c3ef
or dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 1
cmp dword [ebp - 4], esi
je 0x100c560
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 4]
cmp ebx, esi
jbe 0x100c475
lea edi, [ebp - 0x48]
cmp dword [edi], esi
jne 0x100c46f
push 1
push dword [edi - 4]
push 5
push 1
push dword [edi - 8]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
jne 0x100c46f
mov dword [edi], 1
add edi, 0x10
dec ebx
jne 0x100c44f
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x100c49d
xor eax, eax
cmp dword [ebp - 0x30], 0x12
setne al
and dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x34]
push eax
call edi
test eax, eax
jne 0x100c47d
cmp dword [ebp - 8], esi
je 0x100c589
push 0x4ff
push dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, dword [ebp - 4]
jae 0x100c4e3
shl eax, 4
mov dword [ebp + eax - 0x48], esi
mov dword [ebp - 0xc], 0x1388
jmp 0x100c445
cmp eax, 0x102
jne 0x100c555
lea eax, [ebp - 0x10]
push eax
push 0x1001b88
push 4
push esi
push 0x1001808
mov dword [ebp - 0x10], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x100c53b
mov eax, dword [0x1027010]
cmp eax, 0x1027010
je 0x100c532
test byte [eax + 0x1c], 2
je 0x100c532
cmp byte [eax + 0x19], 2
jb 0x100c532
push 0x1001dd0
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100bb73
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
or dword [ebp - 0xc], 0xffffffff
cmp eax, esi
je 0x100c445
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100c445
cmp eax, dword [ebp - 4]
je 0x100c445
jmp 0x100c589
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x100c57c
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
push esi
lea eax, [ebp - 0x34]
push eax
call edi
test eax, eax
jg 0x100c568
push 2
lea edi, [ebp - 0x4c]
pop ebx
mov eax, dword [edi - 4]
cmp eax, esi
je 0x100c59d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi]
cmp eax, esi
je 0x100c5aa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 0x10
dec ebx
jne 0x100c58f
pop edi
pop esi
pop ebx
leave
ret