Function at 0x48ba70
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a30ec
mov eax, dword fs:[0]
push eax
mov eax, 0x1a98
call fcn.0056e430
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
push ecx
push str.UninstallerInstall::CheckUnInstVersion
lea ecx, [ebp - 0x1a50]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48bafa
test byte [ecx + 0x1c], 1
je 0x48bafa
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, 0xe
call fcn.00401840
add esp, 0xc
push 0x800
lea eax, [ebp - 0x1a18]
push 0
push eax
call fcn.00571c00
push 0x800
lea eax, [ebp - 0x1218]
push 0
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00571c00
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.00571c00
add esp, 0x30
lea ecx, [ebp - 0x1a7c]
call fcn.004066e0
lea ecx, [ebp - 0x1a7c]
mov byte [ebp - 4], 1
call fcn.004068b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x1a7c]
push eax
push 0x20019
push 0
push str.SOFTWARECanonPrnUninst
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x48bc26
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48bbd6
test byte [ecx + 0x1c], 4
je 0x48bbd6
cmp dword [0x608f68], 8
mov eax, 0x608f54
push str.SOFTWARECanonPrnUninst
cmovae eax, dword [0x608f54]
mov edx, 0x5d0fec
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xf
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
mov byte [ebp - 0x1a4c], 1
cmp ecx, 0x608f30
je 0x48c35d
test byte [ecx + 0x1c], 1
je 0x48c35d
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5d0fec
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x10
call fcn.004018a0
add esp, 0x10
jmp 0x48c35d
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x1a18]
push eax
push str.UninstallerRegKeyName
mov ecx, dword [ecx + 0x1c]
call fcn.004f65f0
push 0
lea eax, [ebp - 0x1a54]
mov dword [ebp - 0x1a54], 0
push eax
lea eax, [ebp - 0x1a18]
push eax
lea ecx, [ebp - 0x1a7c]
call fcn.00406aa0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
test eax, eax
jne 0x48bcca
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48bcbb
test byte [ecx + 0x1c], 4
je 0x48bcbb
cmp dword [0x608f68], 8
lea edx, [ebp - 0x1a18]
push edx
mov eax, 0x608f54
mov edx, 0x5d0fec
cmovae eax, dword [0x608f54]
push str.SOFTWARECanonPrnUninst
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x11
call fcn.00430170
add esp, 0x14
push dword [ebp - 0x1a54]
lea eax, [ebp - 0x218]
push eax
call ebx
lea ecx, [ebp - 0x1aa4]
call fcn.004066e0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1a7c]
test esi, esi
je 0x48bd8a
lea ecx, [ebp - 0x1aa4]
call fcn.004068b0
lea eax, [ebp - 0x1aa4]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x1a18]
push eax
push esi
call edi
test eax, eax
jne 0x48bd8a
push eax
lea eax, [ebp - 0x1a54]
push eax
push str.exePath
lea ecx, [ebp - 0x1aa4]
call fcn.00406aa0
test eax, eax
jne 0x48bd8a
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48bd7b
test byte [ecx + 0x1c], 4
je 0x48bd7b
cmp dword [0x608f68], 8
lea edx, [ebp - 0x1a18]
push str.exePath
push edx
mov eax, 0x608f54
mov edx, 0x5d0fec
cmovae eax, dword [0x608f54]
push str.SOFTWARECanonPrnUninst
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x12
call fcn.0040c1c0
add esp, 0x18
push dword [ebp - 0x1a54]
lea eax, [ebp - 0x218]
push eax
call ebx
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48bdd1
test byte [ecx + 0x1c], 4
je 0x48bdd1
cmp dword [0x608f68], 8
lea edx, [ebp - 0x218]
push edx
mov eax, 0x608f54
mov edx, 0x5d0fec
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x13
call fcn.00405920
add esp, 0x10
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
jg 0x48be8b
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48be2e
test byte [ecx + 0x1c], 4
je 0x48be2e
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, 0x14
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
mov dword [0x6183ec], 0x21
mov byte [ebp - 0x1a4c], 1
cmp ecx, 0x608f30
je 0x48c352
test byte [ecx + 0x1c], 1
je 0x48c352
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0x80010021
cmovae eax, dword [0x608f54]
mov edx, 0x5d0fec
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x15
call fcn.004018a0
add esp, 0x10
jmp 0x48c352
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0xa18]
push eax
push str.TEMPPATH
mov ecx, dword [ecx + 0x1c]
call fcn.004f65f0
lea eax, [ebp - 0xa18]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp word [ebp + eax*2 - 0xa1a], 0x5c
je 0x48becd
push 0x5c692c
lea eax, [ebp - 0xa18]
push eax
call esi
push str.Uninst.ini
lea eax, [ebp - 0xa18]
push eax
call esi
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x1218]
push eax
push str.SOURCEDIR
mov ecx, dword [ecx + 0x1c]
call fcn.004f65f0
lea eax, [ebp - 0x1218]
push eax
call edi
cmp word [ebp + eax*2 - 0x121a], 0x5c
je 0x48bf17
push 0x5c692c
lea eax, [ebp - 0x1218]
push eax
call esi
push str.Uninst.ini
lea eax, [ebp - 0x1218]
push eax
call esi
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48bfb7
test byte [ecx + 0x1c], 4
je 0x48bf76
cmp dword [0x608f68], 8
lea edx, [ebp - 0x1218]
push edx
mov eax, 0x608f54
mov edx, 0x5d0fec
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x16
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
cmp ecx, 0x608f30
je 0x48bfb7
test byte [ecx + 0x1c], 4
je 0x48bfb7
cmp dword [0x608f68], 8
lea edx, [ebp - 0xa18]
push edx
mov eax, 0x608f54
mov edx, 0x5d0fec
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x17
call fcn.00405920
add esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0xa18]
push 0
push eax
lea eax, [ebp - 0x1218]
push eax
call ebx
test eax, eax
jne 0x48c013
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48c013
test byte [ecx + 0x1c], 4
je 0x48c013
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, 0x18
call fcn.00401840
add esp, 0xc
push 0x20
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0xa18]
push eax
push str.TEMPPATH
mov ecx, dword [ecx + 0x1c]
call fcn.004f65f0
lea eax, [ebp - 0xa18]
push eax
call edi
cmp word [ebp + eax*2 - 0xa1a], 0x5c
je 0x48c05e
push 0x5c692c
lea eax, [ebp - 0xa18]
push eax
call esi
push str.UNINSTAL.exe
lea eax, [ebp - 0xa18]
push eax
call esi
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x1218]
push eax
push str.SOURCEDIR
mov ecx, dword [ecx + 0x1c]
call fcn.004f65f0
lea eax, [ebp - 0x1218]
push eax
call edi
cmp word [ebp + eax*2 - 0x121a], 0x5c
je 0x48c0a8
push 0x5c692c
lea eax, [ebp - 0x1218]
push eax
call esi
push str.UNINSTAL.exe
lea eax, [ebp - 0x1218]
push eax
call esi
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48c148
test byte [ecx + 0x1c], 4
je 0x48c107
cmp dword [0x608f68], 8
lea edx, [ebp - 0x1218]
push edx
mov eax, 0x608f54
mov edx, 0x5d0fec
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x19
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
cmp ecx, 0x608f30
je 0x48c148
test byte [ecx + 0x1c], 4
je 0x48c148
cmp dword [0x608f68], 8
lea edx, [ebp - 0xa18]
push edx
mov eax, 0x608f54
mov edx, 0x5d0fec
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1a
call fcn.00405920
add esp, 0x10
push 0
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0x1218]
push eax
call ebx
test eax, eax
jne 0x48c19e
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48c19e
test byte [ecx + 0x1c], 4
je 0x48c19e
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, 0x1b
call fcn.00401840
add esp, 0xc
push 0x20
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0x1218]
push eax
call ebx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa18]
push eax
call ebx
lea eax, [ebp - 0x218]
push eax
call edi
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x48c1f5
push 0x5c692c
lea eax, [ebp - 0x218]
push eax
call esi
push str.UNINSTAL.exe
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x1a54]
call fcn.0046a2f0
push 1
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1218]
push eax
lea ecx, [ebp - 0x1a54]
call fcn.0046c620
test eax, eax
jg 0x48c249
mov ecx, dword [0x6184f0]
push 0x5c7d38
push str.UNINSTALLSUPPORT
mov ecx, dword [ecx + 0x1c]
call fcn.004f6860
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0xa18]
push eax
push str.TEMPPATH
mov ecx, dword [ecx + 0x1c]
call fcn.004f65f0
lea eax, [ebp - 0xa18]
push eax
call edi
cmp word [ebp + eax*2 - 0xa1a], 0x5c
je 0x48c285
push 0x5c692c
lea eax, [ebp - 0xa18]
push eax
call esi
lea eax, [ebp - 0xa18]
push eax
call fcn.00408f00
lea eax, [ebp - 0xa18]
push eax
call fcn.00409030
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0xa18]
push eax
push str.UNINSTALLSUPPORT
mov ecx, dword [ecx + 0x1c]
call fcn.004f65f0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48c304
test byte [ecx + 0x1c], 4
je 0x48c304
cmp dword [0x608f68], 8
lea edx, [ebp - 0xa18]
push edx
mov eax, 0x608f54
mov edx, 0x5d0fec
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1c
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
mov byte [ebp - 0x1a4c], 1
cmp ecx, 0x608f30
je 0x48c347
test byte [ecx + 0x1c], 1
je 0x48c347
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5d0fec
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1d
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x1a54]
call fcn.0046a3c0
lea ecx, [ebp - 0x1aa4]
call fcn.004067f0
lea ecx, [ebp - 0x1a7c]
call fcn.004067f0
lea ecx, [ebp - 0x1a50]
call fcn.0040a570
xor eax, eax
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