Function at 0x48dc90
Capabilities:
Check if file exists
Delete directory
Delete file
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3311
mov eax, dword fs:[0]
push eax
sub esp, 0x448
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 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00571c00
add esp, 0x18
lea ecx, [ebp - 0x454]
call fcn.004066e0
mov dword [ebp - 4], 0
mov eax, dword [0x6184f0]
mov eax, dword [eax + 8]
add eax, 0x8bc
cmp dword [eax + 0x14], 8
jb 0x48dd0e
mov eax, dword [eax]
push eax
push str.SOFTWARECanonPrnUninst
lea eax, [ebp - 0x420]
push 0x5c6c90
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x454]
call fcn.004068b0
lea eax, [ebp - 0x454]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x420]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48ded9
push eax
mov dword [ebp - 0x424], eax
lea ecx, [ebp - 0x454]
lea eax, [ebp - 0x424]
push eax
push str.IcnPath
call fcn.00406aa0
test eax, eax
jne 0x48ded9
push dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.005746e6
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48ded9
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x48ded9
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x48ded9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x424]
call fcn.00403320
push 0x5c
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 1
call fcn.0043e000
push eax
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x424]
call fcn.00403130
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [eax]
mov edi, dword [ebp - 0x424]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x48de77
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x48de68
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x48de68
call fcn.00403af0
mov dword [ebp - 0x428], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x48de5d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x428]
add eax, 0x10
mov dword [ebp - 0x424], eax
jmp 0x48de77
push dword [edx - 0xc]
lea ecx, [ebp - 0x424]
push edx
call fcn.00403bb0
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x42c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48de98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x454]
test eax, eax
je 0x48deba
push str.IcnPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x424]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x48ded9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x454]
call fcn.004067f0
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