Function at 0x415b6d
Capabilities:
Get installed programs
Set registry value

Disassembly:
push 0x14
mov eax, 0x5f105d
call fcn.005c5dbe
xor ebx, ebx
push 0x66e600
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00405d46
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push 0x62ad00
push eax
mov byte [ebp - 4], 1
call fcn.004167d5
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00405c4e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004030a5
mov edi, 0x62ad08
push edi
lea ecx, [ebp - 0x14]
call fcn.00405d46
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
push ebx
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x415cd9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.004167d5
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00405c4e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004030a5
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x415c91
push ebx
push ebx
push 0x62ad60
call fcn.004c34a2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004030a5
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004030a5
mov dword [ebp - 4], 5
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
lea ecx, [ebp + 8]
call fcn.00413c56
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], eax
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
call fcn.004ba2af
pop ecx
xor al, al
call fcn.005c5e96
ret
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
cmp eax, ecx
je 0x415cd9
mov edx, dword [eax + 0x38]
add eax, 0xc
lea ecx, [eax + 0x1c]
cmp dword [ecx + 0x14], 0x10
jb 0x415cae
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 0x10
jb 0x415cb6
mov eax, dword [eax]
push edx
push ecx
push 1
push ebx
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
jne 0x415d13
lea eax, [ebp - 0x20]
call fcn.004137ea
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 0xc]
jne 0x415c9d
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004030a5
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004030a5
mov dword [ebp - 4], 7
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
lea ecx, [ebp + 8]
call fcn.00413c56
mov byte [ebp - 0xd], 1
jmp 0x415d4d
push ebx
push ebx
push 0x62ad70
call fcn.004c34a2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004030a5
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004030a5
mov dword [ebp - 4], 6
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
lea ecx, [ebp + 8]
call fcn.00413c56
mov byte [ebp - 0xd], bl
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], eax
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
call fcn.004ba2af
mov al, byte [ebp - 0xd]
pop ecx
jmp 0x415c8b