Function at 0x48df00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3356
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push ecx
push str.UninstallerInstall::SetCanonRegistryKey
lea ecx, [ebp - 0x250]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48df8f
test byte [ecx + 0x1c], 1
je 0x48df8f
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, 0x2b
call fcn.00401840
add esp, 0xc
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00571c00
mov ecx, dword [0x6184f0]
add esp, 0xc
mov ecx, dword [ecx + 0x1c]
push esi
push str.UninstallerRegKeyName
call fcn.004f65f0
lea ecx, [ebp - 0x278]
call fcn.004066e0
push esi
push str.SOFTWARECanonPrnUninst
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0x5c6c90
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x278]
call fcn.004068b0
push 0
lea eax, [ebp - 0x278]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x48e132
call fcn.0049cd80
test eax, eax
je 0x48e05a
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e030
sub ecx, edx
xor esi, esi
mov edx, dword [ebp - 0x278]
sar ecx, 1
test edx, edx
je 0x48e0a3
test edi, edi
je 0x48e0a3
lea eax, [ecx*2 + 2]
push eax
push edi
jmp 0x48e088
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e060
sub ecx, edx
xor esi, esi
mov edx, dword [ebp - 0x278]
sar ecx, 1
test edx, edx
je 0x48e0a3
test ebx, ebx
je 0x48e0a3
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push 0
push str.exePath
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x48e0a8
mov esi, 0x80010080
jmp 0x48e0a8
mov esi, 0x80010001
test esi, esi
je 0x48e11d
mov eax, dword [0x608f30]
cmp eax, 0x608f30
je 0x48e0fb
test byte [eax + 0x1c], 2
je 0x48e0fb
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x250]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5d0fec
push esi
mov ecx, 0x2c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
add esp, 0x10
lea ecx, [ebp - 0x278]
mov dword [0x6183ec], 0x25
mov ebx, 0x80010025
call fcn.004068b0
mov ecx, dword [0x608f30]
jmp 0x48e198
lea ecx, [ebp - 0x278]
xor ebx, ebx
call fcn.004068b0
mov ecx, dword [0x608f30]
jmp 0x48e198
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48e189
test byte [ecx + 0x1c], 2
je 0x48e189
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x250]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5d0fec
push esi
mov ecx, 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
mov ebx, 0x80010024
mov dword [0x6183ec], 0x24
mov byte [ebp - 0x24c], 1
cmp ecx, 0x608f30
je 0x48e1da
test byte [ecx + 0x1c], 1
je 0x48e1da
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ebx
cmovae eax, dword [0x608f54]
mov edx, 0x5d0fec
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2e
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x278]
call fcn.004067f0
lea ecx, [ebp - 0x250]
call fcn.0040a570
mov eax, ebx
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 0xc