Function at 0x4ac04c
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe60
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x194], edx
mov dword [ebp - 0x190], edx
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x188], edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x184], edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004054dc
lea eax, [ebp - 0x168]
mov edx, dword [0x408bfc]
call fcn.00405df4
xor eax, eax
push ebp
push 0x4ac387
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x419acc]
call fcn.00404170
mov dword [ebp - 0x16c], eax
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 4]
call fcn.0040f638
lea eax, [ebp - 0x178]
mov edx, 0x4ac3a0
call fcn.004052f4
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x168]
mov edx, 0x3f
call fcn.0040aaf4
lea edx, [ebp - 0x184]
mov eax, dword [ebp - 0x154]
call fcn.0040ad8c
mov eax, dword [ebp - 0x184]
lea ecx, [ebp - 0x180]
mov edx, 0xf
call fcn.004444f4
mov eax, dword [ebp - 0x180]
lea edx, [ebp - 0x17c]
call fcn.00409988
mov eax, dword [ebp - 0x17c]
mov edx, 0x4ac3b0
call fcn.00405438
jne 0x4ac180
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 4]
call fcn.0040f638
lea eax, [ebp - 0x188]
mov edx, dword [ebp - 0x154]
call fcn.004052f4
mov edx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x16c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x168]
call fcn.0040ab44
lea eax, [ebp - 0x168]
call fcn.0040ab44
test eax, eax
je 0x4ac106
lea eax, [ebp - 0x168]
call fcn.0040ab68
mov eax, dword [ebp - 0x16c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4ac28b
inc eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], 0
xor edx, edx
push ebp
push 0x4ac26f
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x80
lea ecx, [ebp - 0x18c]
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x16c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18c]
call fcn.004054ec
push eax
call sub.kernel32.dll_SetFileAttributesA
lea ecx, [ebp - 0x190]
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x16c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x190]
call fcn.0049d5b4
lea ecx, [ebp - 0x194]
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x16c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, dword [ebp - 0x194]
mov dword [ebp - 0x198], ebx
mov eax, dword [ebp - 0x198]
call fcn.004054ec
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ac279
inc dword [ebp - 0x170]
dec dword [ebp - 0x174]
jne 0x4ac1ce
mov eax, dword [ebp - 0x16c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4ac340
inc eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], 0
xor edx, edx
push ebp
push 0x4ac324
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0x19c]
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x16c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x19c]
call fcn.0049d5b4
lea ecx, [ebp - 0x1a0]
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x16c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, dword [ebp - 0x1a0]
mov dword [ebp - 0x198], ebx
mov eax, dword [ebp - 0x198]
call fcn.004054ec
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ac32e
inc dword [ebp - 0x170]
dec dword [ebp - 0x174]
jne 0x4ac2b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac38e
lea eax, [ebp - 0x1a0]
mov edx, 2
call fcn.0040504c
lea eax, [ebp - 0x194]
mov edx, 8
call fcn.0040504c
lea eax, [ebp - 0x168]
mov edx, dword [0x408bfc]
call fcn.00405ec4
lea eax, [ebp - 4]
call fcn.00405028
ret