Function at 0x6a4334
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x6a433d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6a47dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.006ac278
test al, al
je 0x6a4450
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
call fcn.004063f8
mov eax, dword [ebp - 0x2c]
call fcn.006a2ca8
push edx
push eax
mov eax, dword [ebp + 8]
cdq
cmp edx, dword [esp + 4]
jne 0x6a439d
cmp eax, dword [esp]
pop edx
pop eax
jae 0x6a4442
jmp 0x6a43a5
pop edx
pop eax
jge 0x6a4442
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0045d590
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x6a43bc
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
call fcn.00405e24
mov byte [eax + ebx - 1], 0x6f
lea ecx, [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0045d43c
mov eax, dword [ebp - 8]
call fcn.006ac278
test al, al
je 0x6a4429
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x6a43ef
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
call fcn.00405e24
mov byte [eax + ebx - 1], 0x62
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0045d43c
mov eax, dword [ebp - 0xc]
call fcn.00405dc4
mov ebx, eax
push ebx
call sub.KERNEL32.DLL_DeleteFileA
push ebx
mov eax, dword [ebp - 8]
call fcn.00405dc4
push eax
call sub.KERNEL32.DLL_MoveFileA
mov eax, dword [ebp - 8]
call fcn.00405dc4
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405dc4
push eax
call sub.KERNEL32.DLL_MoveFileA
jmp 0x6a4450
mov eax, dword [ebp - 0x14]
call fcn.00405dc4
push eax
call sub.KERNEL32.DLL_DeleteFileA
mov dl, 1
mov eax, dword [0x46e6dc]
call fcn.004048d4
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x6a474e
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
call fcn.0045ca38
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x6a47f8
call fcn.00405c4c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x12c]
dec eax
test eax, eax
jl 0x6a46df
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x23c]
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.00405bbc
mov ebx, dword [ebp + 0xc]
inc ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4d8]
call fcn.00575a20
mov esi, eax
dec esi
sub esi, ebx
jl 0x6a46c8
inc esi
cmp dword [ebp - 0x18], 0xa
jne 0x6a4572
cmp ebx, 3
jne 0x6a4572
push dword [ebp - 4]
push 0x6a4818
mov ecx, dword [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0x23c]
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.00405bbc
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4d8]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [0x566668]
call fcn.00404ab4
mov eax, dword [eax + 0xf8]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x54]
lea edx, [ebp - 0x3c]
call fcn.0045ca38
push dword [ebp - 0x3c]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405cc8
jmp 0x6a46c0
cmp dword [ebp - 0x18], 0xf
jne 0x6a4675
cmp ebx, 2
jne 0x6a4675
lea eax, [ebp - 0x50]
mov ecx, 0x6a4818
mov edx, dword [ebp - 4]
call fcn.00405c4c
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
call fcn.004063f8
push dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0x23c]
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x18]
push dword [ebp - 0x54]
push 0x6a4820
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.004064f4
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 4]
call fcn.00405bbc
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xbf0]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0x23c]
mov eax, dword [eax + 8]
mov edx, dword [0x69e74c]
call fcn.00404ab4
mov edi, eax
test edi, edi
je 0x6a46c0
lea eax, [ebp - 8]
mov edx, dword [edi + 8]
call fcn.004059bc
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 8]
call fcn.0045bf90
mov eax, dword [ebp - 0x58]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x6eaac4]
mov eax, dword [eax]
call fcn.0045bf90
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00405f14
dec eax
jne 0x6a4668
mov eax, dword [0x6eaac4]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x6a4658
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 8]
mov ecx, eax
mov eax, 1
xchg edx, eax
call fcn.00405e70
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405c00
jmp 0x6a46c0
lea eax, [ebp - 0x68]
mov ecx, 0x6a4818
mov edx, dword [ebp - 4]
call fcn.00405c4c
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
call fcn.004063f8
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0x23c]
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [ebp - 0x6c]
pop eax
call fcn.00406424
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 4]
call fcn.00405bbc
inc ebx
dec esi
jne 0x6a44f4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x20]
dec dword [ebp - 0x28]
jne 0x6a44b2
push 0xffff
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x46e900]
call fcn.00473f2c
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x6a4731
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x78]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a4738
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_FlushFileBuffers
mov eax, dword [ebp - 0x24]
call fcn.00404904
ret