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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x958
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
push edi
mov ecx, 0x1a
mov esi, 0x468db8
lea edi, [ebp - 0x930]
rep movsd dword es:[edi], dword [esi]
push 0x196
push 0
lea eax, [ebp - 0x8c8]
push eax
call fcn.0041eb30
add esp, 0xc
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x72c], 0x12c
mov dword [ebp - 8], 7
mov dword [ebp - 4], 0xf003f
cmp dword [ebp + 0x10], 0
je 0x45138a
call sym.Install_vip.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x45137c
mov ecx, dword [ebp - 4]
or ecx, 0x100
mov dword [ebp - 4], ecx
jmp 0x451388
mov edx, dword [ebp - 4]
or edx, 0x200
mov dword [ebp - 4], edx
jmp 0x45139e
call sym.Install_vip.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x45139e
mov eax, dword [ebp - 4]
or eax, 0x200
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x4cc]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
lea eax, [ebp - 0x930]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x451594
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x72c]
push edx
lea eax, [ebp - 0x4c8]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x4cc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x451587
mov eax, dword [ebp - 0x26c]
add eax, 1
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x4c8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x451562
lea edx, [ebp - 0x930]
push edx
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x468db4
lea ecx, [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x4c8]
push edx
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x4d0]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x451562
mov dword [ebp - 0x72c], 0x12c
push 0x258
push 0
lea edx, [ebp - 0x728]
push edx
call fcn.0041eb30
add esp, 0xc
lea eax, [ebp - 0x72c]
push eax
lea ecx, [ebp - 0x728]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push str.DisplayName
mov eax, dword [ebp - 0x4d0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x934]
push ecx
lea ecx, [ebp - 0x728]
call fcn.00405940
xor ecx, ecx
mov edx, dword [ebp + 8]
lea esi, [ebp - 0x934]
call fcn.0040b380
test eax, eax
jne 0x45154a
mov dword [ebp - 0x72c], 0x208
lea edx, [ebp - 0x72c]
push edx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push str.InstallLocation
mov edx, dword [ebp - 0x4d0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x4d0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x4cc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x938], 1
lea eax, [ebp - 0x934]
call fcn.00405b50
mov eax, dword [ebp - 0x938]
jmp 0x451596
mov edx, dword [ebp - 0x4d0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x934]
call fcn.00405b50
mov dword [ebp - 0x72c], 0x12c
push 0x258
push 0
lea eax, [ebp - 0x4c8]
push eax
call fcn.0041eb30
add esp, 0xc
jmp 0x4513c4
mov ecx, dword [ebp - 0x4cc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret