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

Disassembly:
mov eax, 0x4adab7
call fcn.004a8fb4
sub esp, 0x238
push ebx
push esi
push edi
mov esi, ecx
call fcn.00429c1d
mov eax, dword [eax]
sub eax, 0
je 0x42a98f
push 2
pop edi
sub eax, edi
je 0x42a950
lea ecx, [ebp - 0x38]
call fcn.0040808a
mov edi, esi
mov dword [ebp - 4], 4
call fcn.00406f98
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
jmp 0x42a9cd
lea eax, [ebp - 0x34]
push eax
call fcn.00408189
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x30]
mov dword [esp], str.kfastpic_
push ecx
mov ecx, eax
call fcn.00408a8a
pop ecx
pop ecx
mov edi, esi
mov byte [ebp - 4], 3
call fcn.00406f98
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.004079f6
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x42a9cd
lea eax, [ebp - 0x14]
push eax
call fcn.004080d2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov dword [esp], str.vipappkfastpic_
push ecx
mov ecx, eax
call fcn.00408a8a
pop ecx
pop ecx
mov edi, esi
mov byte [ebp - 4], 1
call fcn.00406f98
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.004079f6
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004079f6
push str.fastpic_data
push esi
call fcn.00408240
push esi
call fcn.00409f3e
lea eax, [ebp - 0x14]
mov dword [esp], str.fastpic_db.dat
push eax
mov ecx, esi
call fcn.00408a8a
pop ecx
pop ecx
lea ebx, [esi + 4]
mov edi, ebx
mov dword [ebp - 4], 5
call fcn.00406f98
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004079f6
push dword [esi]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
jne 0x42aa33
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [esi]
call edi
test eax, eax
jne 0x42aa4a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
call fcn.00429c1d
cmp dword [eax], 9
jne 0x42aafc
push dword [ebx]
call edi
test eax, eax
jne 0x42aafc
and word [ebp - 0x244], ax
push 0x206
push eax
lea eax, [ebp - 0x242]
push eax
call fcn.0047a340
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x244]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4bc434
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 0x42aaf2
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 0x42aafc
cmp dword [ebx], 0
je 0x42aafc
call fcn.0042b28b
lea eax, [ebp - 0x28]
push eax
call fcn.0042b816
mov dword [ebp - 4], 6
push dword [ebx]
lea ecx, [ebp - 0x28]
call fcn.0042b932
test eax, eax
jne 0x42ab30
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
push eax
call fcn.0042b856
mov eax, esi
jmp 0x42aa3b
push 0
push str.ismaximized
mov edi, str.windowrect
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042c02c
push 0x320
push 0x4bc48c
mov dword [esi + 0xc], eax
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042c02c
push 0x258
push 0x4bc498
mov dword [esi + 0x10], eax
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042c02c
mov ebx, 0x186a0
push ebx
push 0x4bbe7c
mov dword [esi + 0x14], eax
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042c02c
push ebx
push 0x4bc4a8
mov dword [esi + 0x18], eax
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042c02c
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042c1d3
push eax
lea eax, [esi + 0x30]
push eax
call fcn.00407e8c
push 0
push str.hadshortcut
mov edi, str.common
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042c02c
push 0
push str.CleanFileExtRelationReg
mov dword [esi + 0x34], eax
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042c02c
mov dword [esi + 0x38], eax
xor esi, esi
inc esi
jmp 0x42ab1c