Function at 0x4478f0
Capabilities:
Get installed programs
Get session user name
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55fb09
mov eax, dword fs:[0]
push eax
mov eax, 0x3868
call fcn.00543120
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov byte [ebp - 0x3825], cl
mov eax, dword [ebp + 8]
push fcn.004467f0
push fcn.00446740
push 0x400
mov dword [ebp - 0x3844], eax
lea eax, [ebp - 0x3824]
push 0xc
push eax
call fcn.0052e3a9
mov dword [ebp - 4], 0
test ebx, ebx
je 0x447c2b
xor eax, eax
xor esi, esi
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
mov dword [ebp - 0x3834], esi
call fcn.00531bd0
add esp, 0xc
mov dword [ebp - 0x3848], 0x104
lea eax, [ebp - 0x382c]
mov dword [ebp - 0x3830], esi
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4479dd
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3824]
push fcn.004467f0
push 0x400
push 0xc
push eax
call fcn.0052e40b
lea eax, [esi + 1]
jmp 0x447c4c
lea eax, [ebp - 0x386c]
push eax
lea eax, [ebp - 0x3860]
push eax
lea eax, [ebp - 0x3850]
push eax
lea eax, [ebp - 0x3854]
push eax
lea eax, [ebp - 0x385c]
push eax
lea eax, [ebp - 0x3864]
push eax
lea eax, [ebp - 0x3870]
push eax
lea eax, [ebp - 0x3830]
push eax
push 0
lea eax, [ebp - 0x3848]
push eax
lea eax, [ebp - 0x61c]
push eax
push dword [ebp - 0x382c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x3830]
test eax, eax
je 0x447c13
cmp byte [ebp - 0x3825], 0
je 0x447a5c
push eax
push str._nNumber_of_applications:__d
call fcn.0052d67c
mov eax, dword [ebp - 0x3830]
add esp, 8
xor edi, edi
test eax, eax
je 0x447c13
mov esi, ebx
test ebx, ebx
jne 0x447a87
push 0xc
call fcn.00529b2d
add esp, 4
test eax, eax
je 0x447a85
mov ecx, eax
call fcn.00446740
mov esi, eax
jmp 0x447a87
xor esi, esi
lea eax, [ebp - 0x386c]
mov dword [esi + 8], 0
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x384c]
mov dword [ebp - 0x384c], 0xff
push eax
lea eax, [ebp - 0x414]
push eax
push edi
push dword [ebp - 0x382c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x447bee
cmp byte [ebp - 0x3825], al
je 0x447ae8
lea eax, [ebp - 0x414]
push eax
lea eax, [edi + 1]
push eax
push str._n__d___s
call fcn.0052e70e
add esp, 0xc
lea eax, [ebp - 0x3838]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x382c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x447c00
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x383c]
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x383c], 0x1fe
push eax
lea eax, [ebp - 0x3858]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x3838]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x447b6a
cmp byte [ebp - 0x3825], al
je 0x447b6a
lea eax, [ebp - 0x214]
push eax
push str.dn:__s
call fcn.0052e70e
add esp, 8
lea eax, [ebp - 0x3840]
mov dword [ebp - 0x3840], 0x104
push eax
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x447b9b
push str.no_name
lea ecx, [esi + 4]
call fcn.00402700
jmp 0x447bb3
lea eax, [ebp - 0x824]
push eax
lea eax, [esi + 4]
push 0x58b3a0
push eax
call fcn.00415d20
add esp, 0xc
cmp word [ebp - 0x414], 0x7b
lea eax, [ebp - 0x214]
push eax
jne 0x447bcd
mov ecx, esi
call fcn.00402700
jmp 0x447be2
lea eax, [ebp - 0x414]
push eax
push str._s__s_
push esi
call fcn.00415d20
add esp, 0x10
push dword [ebp - 0x3838]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x3834]
inc esi
add ebx, 0xc
mov dword [ebp - 0x3834], esi
jmp 0x447c06
mov esi, dword [ebp - 0x3834]
inc edi
cmp edi, dword [ebp - 0x3830]
jb 0x447a66
push dword [ebp - 0x382c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x3844]
test eax, eax
je 0x447c2b
mov dword [eax], esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3824]
push fcn.004467f0
push 0x400
push 0xc
push eax
call fcn.0052e40b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret