Function at 0x42b71b
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x60efc6
call fcn.0060bd28
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.0042b9c2
test eax, eax
jne 0x42b895
push ebx
push esi
call fcn.005f18b0
pop ecx
pop ecx
test eax, eax
jne 0x42b9a5
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.005f3794
pop ecx
pop ecx
test eax, eax
je 0x42b800
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MoveFileEx_Rename_file_fail__error:_d
push 0x6c8880
call fcn.0048de60
push 0x697200
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.0040aec1
add esp, 0x10
mov byte [ebp - 4], 2
jmp 0x42b83f
lea ecx, [edi - 0x10]
call fcn.00404ea9
xor ebx, ebx
jmp 0x42b9a5
push edi
push str.MoveFileEx_Rename_file_succeed__path:_ws
push 0x6c8880
call fcn.0048de60
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.0042b9c2
test eax, eax
jne 0x42b887
push 0x697200
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.0042b9c2
mov byte [ebp - 4], 1
mov ebx, eax
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
test ebx, ebx
je 0x42b7f1
push 0x697200
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.0042bd0c
test eax, eax
je 0x42b9a2
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.0042bdb7
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.0042be79
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.0042b9c2
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 0x42b98f
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.0042bedc
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