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

Disassembly:
push ebp
lea ebp, [esp - 0x3b0]
sub esp, 0x430
mov eax, dword [0x50db70]
xor eax, ebp
mov dword [ebp + 0x3ac], eax
mov eax, dword [ebp + 0x3b8]
push ebx
push esi
push edi
xor esi, esi
mov ebx, 0x206
push ebx
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x62]
push esi
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x70], esi
mov word [ebp - 0x64], si
call fcn.004221d0
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push 0x109
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov edi, 0x104
jne 0x4112a4
push edi
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], esi
push esi
jmp 0x411281
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x411276
push ebx
lea eax, [ebp + 0x1a6]
push esi
push eax
mov dword [ebp - 0x78], edi
mov word [ebp + 0x1a4], si
call fcn.004221d0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x1a4]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
push 0x4c8dcc
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41126d
push dword [ebp - 0x80]
lea eax, [ebp + 0x1a4]
push eax
call fcn.004230b6
test eax, eax
pop ecx
pop ecx
je 0x41126d
mov dword [ebp - 0x74], 1
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x6c]
push edi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4111f8
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], esi
jne 0x411374
lea eax, [ebp - 0x68]
push eax
push 9
push esi
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411374
push edi
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], esi
push esi
jmp 0x41135a
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41134f
push ebx
lea eax, [ebp + 0x1a6]
push esi
push eax
mov dword [ebp - 0x7c], edi
mov word [ebp + 0x1a4], si
call fcn.004221d0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1a4]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push 0x4c8dcc
push dword [ebp - 0x70]
mov dword [ebp - 0x78], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411346
push dword [ebp - 0x80]
lea eax, [ebp + 0x1a4]
push eax
call fcn.004230b6
test eax, eax
pop ecx
pop ecx
je 0x411346
mov dword [ebp - 0x74], 1
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x6c]
push edi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4112d1
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x3ac]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004221b5
add ebp, 0x3b0
leave
ret 4