Function at 0x42c8d1
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x60ffd6
call fcn.0060cc48
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], edi
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
call fcn.004060f8
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.00406668
mov esi, dword [ebp - 0x10]
mov ecx, edi
push esi
call fcn.0042cb78
test eax, eax
jne 0x42ca4b
push ebx
push esi
call fcn.005f2810
pop ecx
pop ecx
test eax, eax
jne 0x42cb5b
call fcn.00404f47
push eax
lea ecx, [ebp + 8]
call fcn.004065d8
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
lea eax, [ebp + 8]
push str._s_d__x
push eax
call fcn.00406cc8
mov edi, dword [ebp + 8]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push esi
call fcn.005f46f4
pop ecx
pop ecx
test eax, eax
je 0x42c9b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MoveFileEx_Rename_file_fail__error:_d
push 0x6ca908
call fcn.0048e9c0
push 0x698588
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.0040aec1
add esp, 0x10
mov byte [ebp - 4], 2
jmp 0x42c9f5
lea ecx, [edi - 0x10]
call fcn.00404ea9
xor ebx, ebx
jmp 0x42cb5b
push edi
push str.MoveFileEx_Rename_file_succeed__path:_ws
push 0x6ca908
call fcn.0048e9c0
add esp, 0xc
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
push esi
call fcn.0042cb78
test eax, eax
jne 0x42ca3d
push 0x698588
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.0040aec1
pop ecx
mov byte [ebp - 4], 3
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.0042cb78
mov byte [ebp - 4], 1
mov ebx, eax
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
test ebx, ebx
je 0x42c9a7
push 0x698588
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.0040aec1
pop ecx
push 5
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
xor ebx, ebx
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.00404ea9
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.0042cec2
test eax, eax
je 0x42cb58
call fcn.00404f47
push eax
lea ecx, [ebp + 8]
call fcn.004065d8
mov byte [ebp - 4], 4
call fcn.00404f47
push eax
lea ecx, [ebp - 0x14]
call fcn.004065d8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0042cf6d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00406123
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.0042d02f
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00406123
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.0040b545
pop ecx
mov byte [ebp - 4], 8
mov ecx, edi
push dword [eax]
call fcn.0042cb78
mov byte [ebp - 4], 5
mov edi, eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00404ea9
test edi, edi
mov edi, dword [ebp + 8]
je 0x42cb45
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x1c], esp
mov ebx, esp
push eax
mov dword [ebp - 0x18], ebx
call fcn.004067cf
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.0040b545
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0042d092
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [edi - 0x10]
call fcn.00404ea9
xor ebx, ebx
inc ebx
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4