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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa24
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
push edi
mov ecx, 0x1a
mov esi, 0x468ab0
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 0x452523
mov ecx, dword [ebp - 4]
or ecx, 0x100
mov dword [ebp - 4], ecx
jmp 0x452538
call sym.Install_vip.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x452538
mov edx, dword [ebp - 4]
or edx, 0x200
mov dword [ebp - 4], edx
lea eax, [ebp - 0x4cc]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x930]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x452765
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x72c]
push ecx
lea edx, [ebp - 0x4c8]
push edx
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x4cc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x452758
mov edx, dword [ebp - 0x26c]
add edx, 1
mov dword [ebp - 0x26c], edx
lea eax, [ebp - 0x4c8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x452733
lea ecx, [ebp - 0x930]
push ecx
lea edx, [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x468aac
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x4c8]
push ecx
lea edx, [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x4d0]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x268]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x452733
mov dword [ebp - 0x72c], 0x12c
push 0x258
push 0
lea ecx, [ebp - 0x728]
push ecx
call fcn.0041eb30
add esp, 0xc
lea edx, [ebp - 0x72c]
push edx
lea eax, [ebp - 0x728]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0x468b18
mov edx, dword [ebp - 0x4d0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x934]
push eax
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 0x45271b
xor ecx, ecx
mov word [ebp - 0xa00], cx
push 0xc6
push 0
lea edx, [ebp - 0x9fe]
push edx
call fcn.0041eb30
add esp, 0xc
mov dword [ebp - 0x72c], 0x64
lea eax, [ebp - 0x72c]
push eax
lea ecx, [ebp - 0xa00]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push str.DisplayVersion
mov eax, dword [ebp - 0x4d0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x4d0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x4cc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xa00]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0xa04], 1
lea eax, [ebp - 0x934]
call fcn.00405b50
mov eax, dword [ebp - 0xa04]
jmp 0x452767
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 0x45255e
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