Function at 0x48e210
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a33a1
mov eax, dword fs:[0]
push eax
sub esp, 0xab0
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push ecx
push str.UninstallerInstall::SetSystemRegistryKey
lea ecx, [ebp - 0xa90]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48e29c
test byte [ecx + 0x1c], 1
je 0x48e29c
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d0fec
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2f
call fcn.00401840
add esp, 0xc
push 0x208
xor esi, esi
lea eax, [ebp - 0x258]
push esi
push eax
call fcn.00571c00
push 0x800
lea eax, [ebp - 0xa58]
push esi
push eax
call fcn.00571c00
add esp, 0x18
lea ecx, [ebp - 0xabc]
call fcn.004066e0
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 1
push str._sUninstall_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0xabc]
call fcn.004068b0
push esi
lea eax, [ebp - 0xabc]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
lea eax, [ebp - 0x258]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x48e619
push str.Canon_Inc.
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0xabc]
test eax, eax
je 0x48e5a8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ecx
push str.Canon_Inc.
push 1
push esi
push str.Publisher
push eax
call ebx
test eax, eax
jne 0x48e5a8
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0xa58]
push eax
push str.UNINST_PDL_MENU
mov ecx, dword [ecx + 0x1c]
call fcn.004f65f0
lea eax, [ebp - 0xa58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0xabc]
test eax, eax
je 0x48e571
push ecx
lea ecx, [ebp - 0xa58]
push ecx
push 1
push esi
push str.DisplayName
push eax
call ebx
test eax, eax
jne 0x48e571
lea ecx, [ebp - 0xa94]
call fcn.0046a2f0
push 0x40
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push esi
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0xa94]
push esi
push eax
push edi
call fcn.0046d300
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0xabc]
test eax, eax
je 0x48e419
push ecx
lea ecx, [ebp - 0x50]
push ecx
push 1
push esi
push str.DisplayVersion
push eax
call ebx
test eax, eax
je 0x48e477
mov eax, dword [0x608f30]
cmp eax, 0x608f30
je 0x48e468
test byte [eax + 0x1c], 2
je 0x48e468
cmp dword [0x608f68], 8
lea ecx, [ebp - 0xa90]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5d0fec
push esi
mov ecx, 0x32
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
add esp, 0x10
mov esi, 0x80010025
mov dword [0x6183ec], 0x25
lea ecx, [ebp - 0xa94]
mov byte [ebp - 4], 1
call fcn.0046a3c0
test esi, esi
jne 0x48e606
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0xabc]
test eax, eax
je 0x48e532
test edi, edi
je 0x48e532
push ecx
push edi
push 1
push esi
push str.DisplayIcon
push eax
call ebx
test eax, eax
jne 0x48e532
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0xabc]
test eax, eax
je 0x48e4f0
push ecx
push edi
push 1
push esi
push str.UninstallString
push eax
call ebx
test eax, eax
je 0x48e606
mov eax, dword [0x608f30]
cmp eax, 0x608f30
je 0x48e5f7
test byte [eax + 0x1c], 2
je 0x48e5f7
cmp dword [0x608f68], 8
lea ecx, [ebp - 0xa90]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
mov ecx, 0x34
jmp 0x48e5dd
mov eax, dword [0x608f30]
cmp eax, 0x608f30
je 0x48e5f7
test byte [eax + 0x1c], 2
je 0x48e5f7
cmp dword [0x608f68], 8
lea ecx, [ebp - 0xa90]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
mov ecx, 0x33
jmp 0x48e5dd
mov eax, dword [0x608f30]
cmp eax, 0x608f30
je 0x48e5f7
test byte [eax + 0x1c], 2
je 0x48e5f7
cmp dword [0x608f68], 8
lea ecx, [ebp - 0xa90]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
mov ecx, 0x31
jmp 0x48e5dd
mov eax, dword [0x608f30]
cmp eax, 0x608f30
je 0x48e5f7
test byte [eax + 0x1c], 2
je 0x48e5f7
cmp dword [0x608f68], 8
lea ecx, [ebp - 0xa90]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
mov ecx, 0x30
push eax
mov eax, dword [0x608f30]
mov edx, 0x5d0fec
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
add esp, 0x10
mov dword [0x6183ec], 0x25
mov esi, 0x80010025
lea ecx, [ebp - 0xabc]
call fcn.004068b0
mov ecx, dword [0x608f30]
jmp 0x48e67f
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48e670
test byte [ecx + 0x1c], 2
je 0x48e670
cmp dword [0x608f68], 8
lea ecx, [ebp - 0xa90]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5d0fec
push esi
mov ecx, 0x35
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
mov esi, 0x80010024
mov dword [0x6183ec], 0x24
mov byte [ebp - 0xa8c], 1
cmp ecx, 0x608f30
je 0x48e6c1
test byte [ecx + 0x1c], 1
je 0x48e6c1
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5d0fec
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x36
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0xabc]
call fcn.004067f0
lea ecx, [ebp - 0xa90]
call fcn.0040a570
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 8