Function at 0x472870
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x472878
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
xor eax, eax
push ebp
push 0x472bfe
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebp - 4]
mov eax, esi
call fcn.00422bb8
test al, al
je 0x4728d7
mov eax, dword [ebp - 4]
call fcn.0040581c
mov ebx, eax
mov edx, ebx
lea eax, [ebp - 0x10]
call fcn.00405584
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00463f7c
push 0x20
push ebx
call sub.kernel32.dll_SetFileAttributesA
push esi
call sub.kernel32.dll_DeleteFileA
jmp 0x4728ea
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00422c38
mov eax, dword [ebp - 0x14]
call fcn.00422f44
call fcn.004261fc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x472bd4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, 0x472c14
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x472c24
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x472c38
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x472c50
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x472c64
call fcn.00424250
push 0x472c7c
mov eax, dword [0x59e8ec]
push dword [eax + 0x155]
push 0x472c8c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x472c98
call fcn.00424250
push 0x472cb0
mov eax, dword [0x59e8ec]
push dword [eax + 0x159]
push 0x472c8c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x472cc0
call fcn.00424250
push 0x472cd4
mov eax, dword [0x59e8ec]
push dword [eax + 0x14]
push 0x472c8c
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x472ce8
call fcn.00424250
push 0x472c7c
mov eax, dword [0x59e8ec]
push dword [eax]
push 0x472c8c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x472cfc
call fcn.00424250
lea edx, [ebp - 0x2c]
mov eax, dword [0x59e8ec]
mov eax, dword [eax + 0x85]
call fcn.00421f58
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x472d10
call fcn.004056a4
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00424250
xor esi, esi
mov edi, dword [0x59e8ec]
mov edi, dword [edi + 0x85]
dec edi
test edi, edi
jl 0x472ab6
inc edi
mov dword [ebp - 8], 0
mov eax, dword [0x59e8ec]
add eax, 0x65
mov edx, dword [ebp - 8]
call fcn.00423c2c
mov ebx, eax
inc esi
push 0x472d28
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.00421f58
push dword [ebp - 0x34]
push 0x472d38
push dword [ebx + 4]
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00405720
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00424250
inc dword [ebp - 8]
dec edi
jne 0x472a6b
xor esi, esi
mov edi, dword [0x59e8ec]
mov edi, dword [edi + 0x85]
dec edi
test edi, edi
jl 0x472baf
inc edi
mov dword [ebp - 8], 0
mov eax, dword [0x59e8ec]
add eax, 0x65
mov edx, dword [ebp - 8]
call fcn.00423c2c
mov ebx, eax
inc esi
push 0x472d44
lea edx, [ebp - 0x3c]
mov eax, esi
call fcn.00421f58
push dword [ebp - 0x3c]
push 0x472d54
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x472d60
call fcn.00424250
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x40]
mov edx, 0x472d78
call fcn.004056a4
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0xc]
call fcn.00424250
push 0x472d8c
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0xc]
call fcn.00467348
push dword [ebp - 0x48]
push 0x472d9c
lea edx, [ebp - 0x4c]
mov eax, dword [ebx + 0x14]
call fcn.00421f58
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.00405720
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0xc]
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x472da8
call fcn.00424250
mov ecx, dword [ebx + 0x60]
lea eax, [ebp - 0x50]
mov edx, 0x472dc0
call fcn.004056a4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0xc]
call fcn.00424250
inc dword [ebp - 8]
dec edi
jne 0x472ad5
test esi, esi
jle 0x472bbe
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00424654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472bdb
lea eax, [ebp - 0xc]
call fcn.00421d98
ret