Function at 0x42c86b
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x60f730
call fcn.0060c3a8
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.0042cb12
test eax, eax
jne 0x42c9e5
push ebx
push esi
call fcn.005f1f60
pop ecx
pop ecx
test eax, eax
jne 0x42caf5
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.005f3e44
pop ecx
pop ecx
test eax, eax
je 0x42c950
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MoveFileEx_Rename_file_fail__error:_d
push 0x6c88e0
call fcn.0048e513
push 0x697560
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.0040aec1
add esp, 0x10
mov byte [ebp - 4], 2
jmp 0x42c98f
lea ecx, [edi - 0x10]
call fcn.00404ea9
xor ebx, ebx
jmp 0x42caf5
push edi
push str.MoveFileEx_Rename_file_succeed__path:_ws
push 0x6c88e0
call fcn.0048e513
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.0042cb12
test eax, eax
jne 0x42c9d7
push 0x697560
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.0042cb12
mov byte [ebp - 4], 1
mov ebx, eax
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
test ebx, ebx
je 0x42c941
push 0x697560
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.0042ce5c
test eax, eax
je 0x42caf2
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.0042cf07
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.0042cfc9
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.0042cb12
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 0x42cadf
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.0042d02c
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