Function at 0x6c231c
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x6c2325
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x6c2620
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x6c25f6
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x14]
lea eax, [ebp - 4]
mov edx, 0xfa0
call fcn.00406058
lea eax, [ebp - 4]
call fcn.00405e24
mov edx, eax
mov ecx, 0xfa0
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
mov esi, eax
test esi, esi
jle 0x6c242b
lea eax, [ebp - 4]
mov edx, esi
call fcn.00406058
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x6c2638
push dword [ebp - 0xc]
push 0x6c264c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405cc8
mov ecx, dword [ebp - 0x18]
mov edx, 0x6c2670
mov eax, dword [ebp + 8]
call fcn.006c579c
mov ebx, eax
test bl, bl
jne 0x6c2408
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x6c2638
push dword [ebp - 0xc]
push 0x6c264c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405cc8
mov ecx, dword [ebp - 0x1c]
mov edx, 0x6c268c
mov eax, dword [ebp + 8]
call fcn.006c579c
mov ebx, eax
test bl, bl
jne 0x6c2429
push 0x6c26a4
push dword [ebp - 0xc]
push 0x6c26b4
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405cc8
mov bl, 1
mov eax, dword [ebp - 8]
call fcn.006ac278
test al, al
je 0x6c2445
mov eax, dword [ebp - 8]
call fcn.00405dc4
push eax
call sub.KERNEL32.DLL_DeleteFileA
test bl, bl
je 0x6c251c
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x46e900]
call fcn.00473f2c
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ebp
push 0x6c2515
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 4]
call fcn.00405e24
mov edx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x6c2488
sub eax, 4
mov eax, dword [eax]
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 4]
mov edx, 0x7d00
call fcn.00406058
lea eax, [ebp - 4]
call fcn.00405e24
mov edx, eax
mov ecx, 0x7d00
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov esi, eax
test esi, esi
je 0x6c24d2
lea eax, [ebp - 4]
call fcn.00405e24
mov edx, eax
mov ecx, esi
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x10]
jmp 0x6c249f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c25a0
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xb88]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x6c250c
push 0
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.006326f0
mov eax, dword [ebp - 0x14]
call fcn.00404904
ret
cmp dword [ebp - 0x10], 0
je 0x6c254f
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xb88]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x6c254f
push 0
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.006326f0
lea eax, [ebp - 0x20]
mov ecx, 0x6c26d4
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp - 0x20]
call fcn.006ac278
test al, al
je 0x6c25a0
cmp dword [ebp - 0x10], 0
je 0x6c2579
lea eax, [ebp - 0x10]
call fcn.0046414c
mov eax, dword [ebp - 8]
call fcn.00405dc4
push eax
lea eax, [ebp - 0x24]
mov ecx, 0x6c26d4
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp - 0x24]
call fcn.00405dc4
push eax
call sub.KERNEL32.DLL_MoveFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c25fd
cmp dword [ebp - 0x10], 0
je 0x6c25bb
lea eax, [ebp - 0x10]
call fcn.0046414c
lea eax, [ebp - 0x28]
mov ecx, 0x6c26d4
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp - 0x28]
call fcn.006ac278
test al, al
je 0x6c25f5
lea eax, [ebp - 0x2c]
mov ecx, 0x6c26d4
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp - 0x2c]
call fcn.00405dc4
push eax
call sub.KERNEL32.DLL_DeleteFileA
ret