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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9f4
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 0x1a
mov esi, 0x4899a0
lea edi, [ebp - 0x2cc]
rep movsd dword es:[edi], dword [esi]
push 0x196
push 0
lea eax, [ebp - 0x264]
push eax
call fcn.0042b9d0
add esp, 0xc
mov dword [ebp - 0x9e4], 0
mov dword [ebp - 0x9dc], 0x12c
mov dword [ebp - 0x9f0], 7
mov dword [ebp - 0x9d8], 0xf003f
cmp dword [ebp + 0x10], 0
je 0x459b3f
mov ecx, dword [ebp - 0x9d8]
or ecx, 0x100
mov dword [ebp - 0x9d8], ecx
jmp 0x459b5a
call sym.Install_adv.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x459b5a
mov edx, dword [ebp - 0x9d8]
or edx, 0x200
mov dword [ebp - 0x9d8], edx
lea eax, [ebp - 0x9ec]
push eax
mov ecx, dword [ebp - 0x9d8]
push ecx
push 0
lea edx, [ebp - 0x2cc]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x459d8b
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x9dc]
push ecx
lea edx, [ebp - 0x77c]
push edx
mov eax, dword [ebp - 0x9e4]
push eax
mov ecx, dword [ebp - 0x9ec]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x459d7e
mov edx, dword [ebp - 0x9e4]
add edx, 1
mov dword [ebp - 0x9e4], edx
lea eax, [ebp - 0x77c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x459d59
lea ecx, [ebp - 0x2cc]
push ecx
lea edx, [ebp - 0x524]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x489a08
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x77c]
push ecx
lea edx, [ebp - 0x524]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x9e0]
push eax
mov ecx, dword [ebp - 0x9d8]
push ecx
push 0
lea edx, [ebp - 0x524]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x459d59
mov dword [ebp - 0x9dc], 0x12c
push 0x258
push 0
lea ecx, [ebp - 0x9d4]
push ecx
call fcn.0042b9d0
add esp, 0xc
lea edx, [ebp - 0x9dc]
push edx
lea eax, [ebp - 0x9d4]
push eax
lea ecx, [ebp - 0x9f0]
push ecx
push 0
push 0x489a0c
mov edx, dword [ebp - 0x9e0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x9d4]
push eax
lea ecx, [ebp - 0x9e8]
call fcn.004095e0
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x9e8]
call fcn.0040f3c0
test eax, eax
jne 0x459d41
push 0xc8
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.0042b9d0
add esp, 0xc
mov dword [ebp - 0x9dc], 0x64
lea eax, [ebp - 0x9dc]
push eax
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0x9f0]
push edx
push 0
push 0x489a24
mov eax, dword [ebp - 0x9e0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x9e0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x9ec]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x9f4], 1
lea ecx, [ebp - 0x9e8]
call fcn.004095a0
mov eax, dword [ebp - 0x9f4]
jmp 0x459d8d
mov edx, dword [ebp - 0x9e0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x9e8]
call fcn.004095a0
mov dword [ebp - 0x9dc], 0x12c
push 0x258
push 0
lea eax, [ebp - 0x77c]
push eax
call fcn.0042b9d0
add esp, 0xc
jmp 0x459b83
mov ecx, dword [ebp - 0x9ec]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret