Function at 0x4114b0
Capabilities:
Check if file exists
Delete file
Get common file path
Read .ini file

Disassembly:
mov eax, 0x24ac
call fcn.00477c10
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x24a8], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x206
lea eax, [esp + 0x226]
push ebp
push eax
mov edi, ecx
mov word [esp + 0x22c], bp
call fcn.00477c40
mov edx, dword [edi + 4]
push 0x409
push 0x823
lea ecx, [esp + 0x1484]
push ecx
push 0x6a
push edx
call fcn.0040e380
add esp, 0x20
push 1
push 0x23
lea eax, [esp + 0x228]
push eax
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.CyberLinkDownloader_
lea ecx, [esp + 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0x220]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jne 0x411587
lea ecx, [esp + 0x220]
push ecx
push ebp
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea edx, [esp + 0x220]
push edx
lea esi, [edi + 0x2f4c]
push str._sItem0.ini
push esi
call fcn.00401570
add esp, 0xc
jmp 0x41172a
push ebp
lea eax, [esp + 0x224]
push eax
lea esi, [edi + 0x2f4c]
push str._sItem_d.ini
push esi
mov dword [esp + 0x20], ebp
call fcn.00401570
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41172a
jmp 0x4115c0
push esi
push 0x823
lea ecx, [esp + 0x430]
push ecx
push 0x492aa0
push 0x495428
push 0x495298
call ebx
lea eax, [esp + 0x428]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4115f0
sub eax, edx
sar eax, 1
je 0x41163f
lea ecx, [esp + 0x1470]
lea eax, [esp + 0x428]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411636
cmp dx, bp
je 0x411632
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411636
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x411610
xor eax, eax
jmp 0x41163b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x41169b
lea eax, [esp + 0x428]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x411650
sub eax, edx
sar eax, 1
je 0x41175f
mov eax, dword [esp + 0x10]
add eax, 1
push eax
lea edx, [esp + 0x224]
push edx
push str._sItem_d.ini
push esi
mov dword [esp + 0x20], eax
call fcn.00401570
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4115c0
jmp 0x41172a
push esi
push 0x104
lea ebp, [edi + 0x2934]
push ebp
push 0x492aa0
push str.SavePath
push 0x495298
call ebx
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411768
lea edx, [esp + 0x18]
mov eax, ebp
sub edx, ebp
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4116d0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [esp + 0x18]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4116f1
mov ecx, dword [str..tmp]
mov edx, dword [0x495c1c]
mov dword [eax], ecx
mov cx, word [0x495c20]
mov dword [eax + 4], edx
lea edx, [esp + 0x18]
push edx
mov word [eax + 8], cx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411768
xor ebp, ebp
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [edi + 0x3154]
push eax
call fcn.0040d280
add esp, 4
mov byte [edi + 0xa586], 1
mov dword [edi + 0xa59c], ebp
mov dword [edi + 0xa5a0], ebp
mov byte [edi + 0xa588], 1
jmp 0x411831
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41172a
push esi
push 0x104
lea ecx, [edi + 0x3154]
push ecx
push 0x492aa0
push str.TokenID
push 0x495298
call ebx
push esi
push 0x104
lea edx, [esp + 0x20]
push edx
push 0x49526c
push str.PauseCount
push str.Statistics
mov byte [edi + 0xa586], 0
call ebx
lea eax, [esp + 0x18]
push eax
call fcn.00478ca0
add esp, 4
push esi
push 0x104
lea ecx, [esp + 0x20]
push ecx
push 0x49526c
push 0x495270
push str.Statistics
mov dword [edi + 0xa59c], eax
call ebx
lea edx, [esp + 0x18]
push edx
call fcn.00478ca0
add esp, 4
mov ecx, edi
mov dword [edi + 0xa5a0], eax
call fcn.0040e620
push esi
push 0x104
lea eax, [esp + 0x20]
push eax
push 0x4952ec
push str.PartNum
push 0x495298
call ebx
lea ecx, [esp + 0x18]
push ecx
call fcn.00478ca0
add esp, 4
cmp dword [0x4af068], eax
je 0x41182a
mov byte [edi + 0xa588], 1
mov ecx, edi
call fcn.0040e690
push esi
push 0x104
lea edx, [esp + 0x20]
push edx
push 0x49526c
push str.Duration
push str.Statistics
call ebx
lea eax, [esp + 0x18]
push eax
call fcn.00478ca0
push str.PrepareTokenID___Done_
mov dword [edi + 0xa5a4], eax
call fcn.00401030
mov ecx, dword [esp + 0x24c0]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00477bf8
add esp, 0x24ac
ret