Function at 0x52c640
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x52c8fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x590d6c]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
mov ecx, 0x52c914
call fcn.004074b8
lea ecx, [ebp - 0x44]
mov eax, dword [0x591088]
mov eax, dword [eax]
xor edx, edx
call fcn.0047b090
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.004243ac
push dword [ebp - 0x40]
push 0x52c938
push 0x52c960
push 0x52c914
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00407540
mov eax, dword [ebp - 0x3c]
mov edx, 1
call fcn.0042b7e0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x52c8d2
xor eax, eax
push ebp
push 0x52c8a8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x52c897
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00428950
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.00470cb0
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.0042b7e0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x52c73f
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
jmp 0x52c775
xor eax, eax
push ebp
push 0x52c76e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00470cb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c775
lea eax, [ebp - 0xc]
call fcn.00424d7c
ret
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x38]
call fcn.00470ea0
test al, al
je 0x52c796
call fcn.00405de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52c8d2
mov eax, dword [ebp - 0x10]
call fcn.00428470
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.0041dc6c
test al, al
je 0x52c826
mov dword [ebp - 4], 1
mov eax, 0x7fffffff
call fcn.00404b04
lea edx, [ebp - 0x4c]
call fcn.0041d5dc
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov edx, 0x52c970
call fcn.004074b8
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0041e0b0
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.0041dc6c
test al, al
je 0x52c7fd
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x186a1
jne 0x52c7b3
mov eax, dword [ebp - 0x14]
call fcn.004072c8
push eax
mov eax, dword [ebp - 0x10]
call fcn.004072c8
push eax
call sub.kernel32.dll_MoveFileW
push 4
push 0
mov eax, dword [ebp - 0x14]
call fcn.004072c8
push eax
call sub.kernel32.dll_MoveFileExW
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0042b7e0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x52c881
xor eax, eax
push ebp
push 0x52c86c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00428ca0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c873
lea eax, [ebp - 0xc]
call fcn.00424d7c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c89e
mov eax, dword [ebp - 8]
call fcn.00404fec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c901
lea eax, [ebp - 0x4c]
mov edx, 5
call fcn.00406658
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406658
ret