Function at 0x42cced
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
sub esp, 0x58
mov eax, 0x50fd47
call fcn.00508264
sub esp, 0x134
push ebx
push esi
push edi
push 6
call fcn.00499a0f
mov dword [ebp + 0x4c], eax
mov dword [esp], 0x208
call fcn.00499a0f
mov esi, 0x200
push esi
mov dword [ebp + 0x54], eax
call fcn.00499a0f
push esi
mov dword [ebp + 0x50], eax
call fcn.00499a0f
mov edi, dword [ebp + 0x64]
add edi, 8
add esp, 0xc
cmp dword [edi + 0x18], 8
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x44], edi
jb 0x42cd4b
mov eax, dword [edi + 4]
jmp 0x42cd4e
lea eax, [edi + 4]
push dword [ebp + 0x58]
push dword [ebp + 0x50]
push dword [ebp + 0x54]
push dword [ebp + 0x4c]
push eax
call fcn.00507e03
add esp, 0x14
push edi
lea ecx, [ebp + 0x1c]
call fcn.00403757
push str.._p4p_
lea eax, [ebp]
push edi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00409dbb
add esp, 0xc
xor esi, esi
inc esi
mov byte [ebp - 4], 1
mov dword [ebp + 0x48], esi
jmp 0x42cd92
mov edi, dword [ebp + 0x44]
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x42cd9e
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42cdbc
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x42cdb5
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x34], 8
mov ecx, dword [ebp + 0x20]
jae 0x42cdc8
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x42cdd4
lea eax, [ebp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne byte [ebp + 0x67]
cmp byte [ebp + 0x67], bl
je 0x42cdf5
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x1c]
push eax
mov ecx, edi
call fcn.004019f3
push dword [ebp + 0x58]
lea ecx, [ebp - 0x140]
call fcn.00401685
mov edi, eax
push dword [ebp + 0x48]
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 2
call fcn.0041ec2c
pop ecx
pop ecx
mov dword [ebp + 0x3c], eax
push dword [ebp + 0x50]
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 3
call fcn.00401685
mov dword [ebp + 0x40], eax
push dword [ebp + 0x54]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 4
call fcn.00401685
mov dword [ebp + 0x38], eax
push dword [ebp + 0x4c]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.00401685
push dword [ebp + 0x38]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041214a
push dword [ebp + 0x40]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0041214a
push 0x53c28c
push eax
lea eax, [ebp - 0xec]
push eax
mov byte [ebp - 4], 8
call fcn.00409dbb
push dword [ebp + 0x3c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0041214a
push 0x53c288
push eax
lea eax, [ebp - 0x124]
push eax
mov byte [ebp - 4], 0xa
call fcn.00409dbb
push edi
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xb
call fcn.0041214a
add esp, 0x48
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xc
call fcn.004019f3
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.0040184d
push ebx
push esi
lea ecx, [ebp - 0x124]
call fcn.0040184d
push ebx
push esi
lea ecx, [ebp - 0x7c]
call fcn.0040184d
push ebx
push esi
lea ecx, [ebp - 0xec]
call fcn.0040184d
push ebx
push esi
lea ecx, [ebp - 0xb4]
call fcn.0040184d
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040184d
push ebx
push esi
lea ecx, [ebp - 0x60]
call fcn.0040184d
push ebx
push esi
lea ecx, [ebp - 0x98]
call fcn.0040184d
push ebx
push esi
lea ecx, [ebp - 0xd0]
call fcn.0040184d
push ebx
push esi
lea ecx, [ebp - 0x108]
call fcn.0040184d
push ebx
push esi
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 1
call fcn.0040184d
inc dword [ebp + 0x48]
cmp byte [ebp + 0x67], bl
je 0x42cd8f
push dword [ebp + 0x4c]
call fcn.0049ac10
push dword [ebp + 0x54]
call fcn.0049ac10
push dword [ebp + 0x50]
call fcn.0049ac10
push dword [ebp + 0x58]
call fcn.0049ac10
add esp, 0x10
push ebx
push esi
lea ecx, [ebp]
call fcn.0040184d
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.0040184d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x5c
leave
ret 4