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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c61a7
push eax
mov eax, 0x1080
mov dword fs:[0], esp
call fcn.0051f3e0
push ebx
push esi
push edi
push 0xb
xor eax, eax
mov esi, 7
xor ebx, ebx
push str.firefox.exe
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
call fcn.0040e600
mov dword [esp + 0x1094], ebx
xor ecx, ecx
push 0x33
mov word [esp + 0x50], cx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
call fcn.0040e600
mov byte [esp + 0x1094], 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1094], 2
mov eax, dword [esp + 0x4c]
mov edi, 8
cmp dword [esp + 0x60], edi
jae 0x41ff49
lea eax, [esp + 0x4c]
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x420141
mov esi, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x64], 0x400
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x2c]
push ebx
push ebx
push ebx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x8a0]
push eax
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42026c
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x1094], 3
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x898]
push eax
push esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x420106
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x20], edi
push str.DisplayIcon
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], 0x400
call fcn.0041d860
test eax, eax
jne 0x420106
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
xor ecx, ecx
mov word [esp + 0x6c], cx
mov ecx, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
lea esi, [ecx + 2]
jmp 0x420050
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x420050
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.0040e600
mov byte [esp + 0x1094], 4
mov eax, dword [esp + 0x30]
mov esi, 8
cmp dword [esp + 0x44], esi
jae 0x420085
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x40]
push edx
push ebx
push eax
lea ecx, [esp + 0x74]
call fcn.0041db10
cmp eax, 0xffffffff
setne byte [esp + 0xf]
mov byte [esp + 0x1094], 3
cmp dword [esp + 0x80], esi
jb 0x4200bb
mov eax, dword [esp + 0x6c]
push eax
call fcn.004d9334
add esp, 4
xor ecx, ecx
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], cx
cmp byte [esp + 0xf], bl
je 0x420102
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x90]
push eax
push str.InstallLocation
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
call fcn.0041d860
test eax, eax
je 0x4201a0
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x64], 0x400
mov word [esp + 0x88c], cx
mov byte [esp + 0x1094], 2
cmp edi, ebx
je 0x42012f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
inc dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
mov edi, 8
jmp 0x41ff84
mov byte [esp + 0x1094], 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1094], bl
cmp dword [esp + 0x60], edi
jb 0x420167
mov eax, dword [esp + 0x4c]
push eax
call fcn.004d9334
add esp, 4
xor ecx, ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], cx
mov dword [esp + 0x1094], 0xffffffff
cmp dword [esp + 0x44], edi
jb 0x420194
mov edx, dword [esp + 0x30]
push edx
call fcn.004d9334
add esp, 4
xor eax, eax
mov word [esp + 0x30], ax
jmp 0x4202da
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4201b0
mov ecx, dword [esp + 0x109c]
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x90]
push edx
call fcn.0040e600
mov byte [esp + 0x1094], 2
cmp edi, ebx
je 0x4201eb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x1094], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x42020a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1094], bl
cmp dword [esp + 0x60], esi
jb 0x420228
mov eax, dword [esp + 0x4c]
push eax
call fcn.004d9334
add esp, 4
mov edi, 7
xor ecx, ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], cx
mov dword [esp + 0x1094], 0xffffffff
cmp dword [esp + 0x44], esi
jb 0x42025a
mov edx, dword [esp + 0x30]
push edx
call fcn.004d9334
add esp, 4
xor eax, eax
mov word [esp + 0x30], ax
mov dword [esp + 0x44], edi
mov eax, 1
jmp 0x4202e0
mov byte [esp + 0x1094], 1
cmp esi, ebx
je 0x420283
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1094], bl
cmp dword [esp + 0x60], edi
jb 0x4202a1
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004d9334
add esp, 4
mov esi, 7
xor edx, edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], dx
mov dword [esp + 0x1094], 0xffffffff
cmp dword [esp + 0x44], edi
jb 0x4202d3
mov eax, dword [esp + 0x30]
push eax
call fcn.004d9334
add esp, 4
xor ecx, ecx
mov word [esp + 0x30], cx
xor eax, eax
mov dword [esp + 0x44], esi
mov ecx, dword [esp + 0x108c]
pop edi
mov dword [esp + 0x3c], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x108c
ret