Function at 0x42ad81
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Get common file path

Disassembly:
mov eax, 0x4cbd7a
call fcn.004c4460
sub esp, 0x238
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042a099
mov eax, dword [eax]
sub eax, 0
je 0x42ae07
push 2
pop edi
sub eax, edi
je 0x42adc8
lea ecx, [ebp - 0x38]
call fcn.004082ce
mov edi, esi
mov dword [ebp - 4], 4
call fcn.00406fd9
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
jmp 0x42ae45
lea eax, [ebp - 0x34]
push eax
call fcn.0040841f
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x30]
mov dword [esp], str.kfastpic_
push ecx
mov ecx, eax
call fcn.00408eb2
pop ecx
pop ecx
mov edi, esi
mov byte [ebp - 4], 3
call fcn.00406fd9
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00407bab
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x42ae45
lea eax, [ebp - 0x14]
push eax
call fcn.00408368
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov dword [esp], str.vipappkfastpic_
push ecx
mov ecx, eax
call fcn.00408eb2
pop ecx
pop ecx
mov edi, esi
mov byte [ebp - 4], 1
call fcn.00406fd9
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00407bab
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00407bab
push str.fastpic_data
push esi
call fcn.004084d6
push esi
call fcn.0040a396
lea eax, [ebp - 0x14]
mov dword [esp], str.fastpic_db.dat
push eax
mov ecx, esi
call fcn.00408eb2
pop ecx
pop ecx
lea ebx, [esi + 4]
mov edi, ebx
mov dword [ebp - 4], 5
call fcn.00406fd9
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00407bab
push dword [esi]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
jne 0x42aeab
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [esi]
call edi
test eax, eax
jne 0x42aec2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
call fcn.0042a099
cmp dword [eax], 9
jne 0x42af74
push dword [ebx]
call edi
test eax, eax
jne 0x42af74
and word [ebp - 0x244], ax
push 0x206
push eax
lea eax, [ebp - 0x242]
push eax
call fcn.00480cb0
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x244]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4de21c
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.fastpic.dat
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x244]
push eax
call edi
test eax, eax
je 0x42af6a
mov eax, dword [ebx]
push 0
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42af74
cmp dword [ebx], 0
je 0x42af74
call fcn.0042b73b
lea eax, [ebp - 0x28]
push eax
call fcn.0042bfe0
mov dword [ebp - 4], 6
push dword [ebx]
lea ecx, [ebp - 0x28]
call fcn.0042c104
test eax, eax
jne 0x42afa8
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
push eax
call fcn.0042c028
mov eax, esi
jmp 0x42aeb3
push 0
push str.ismaximized
mov edi, str.windowrect
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042c817
push 0x320
push 0x4de274
mov dword [esi + 0xc], eax
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042c817
push 0x258
push 0x4de280
mov dword [esi + 0x10], eax
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042c817
mov ebx, 0x186a0
push ebx
push 0x4ddc64
mov dword [esi + 0x14], eax
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042c817
push ebx
push 0x4de290
mov dword [esi + 0x18], eax
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042c817
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042c9be
lea ecx, [esi + 0x30]
push eax
push ecx
call fcn.00408051
push 0
push str.hadshortcut
mov edi, str.common
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042c817
push 0
push str.CleanFileExtRelationReg
mov dword [esi + 0x34], eax
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042c817
mov dword [esi + 0x38], eax
xor esi, esi
inc esi
jmp 0x42af94