Function at 0x40ac79
Capabilities:
Delete directory
Delete file

Disassembly:
mov eax, 0x4530e8
call fcn.004324bc
sub esp, 0x30
push ebx
push esi
push edi
push ecx
lea eax, [ebp + 8]
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call fcn.00447ffc
call fcn.0040dbce
cmp eax, ebx
pop ecx
jne 0x40aed1
lea ecx, [ebp - 0x3c]
call fcn.00445734
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 1
call fcn.00447ffc
lea eax, [ebp - 0x10]
push eax
call fcn.0040b6a8
add esp, 4
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x20], esp
push 1
pop edi
push edi
push 0x5c
call fcn.00444ce6
push ecx
lea ecx, [ebp - 0x10]
mov eax, esp
mov dword [ebp - 0x18], esp
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
mov byte [ebp - 4], 3
call fcn.0040f4b7
add esp, 0xc
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
call fcn.0040f6e8
add esp, 0xc
lea eax, [ebp - 0x3c]
push 0x5c
push eax
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 4
call fcn.00447ffc
call fcn.0040fdf4
add esp, 0xc
xor esi, esi
cmp dword [ebp - 0x34], ebx
mov dword [ebp - 0x18], ebx
jle 0x40addc
push edi
push esi
lea ecx, [ebp - 0x3c]
call fcn.00414b6a
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.00447ffc
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov byte [ebp - 4], 5
call fcn.00447ffc
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
call fcn.0040bffd
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00448374
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00448287
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00447ffc
call fcn.0040dbce
cmp eax, ebx
pop ecx
jne 0x40adcd
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00447ffc
call fcn.0040b31f
cmp eax, ebx
pop ecx
je 0x40add9
inc dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
inc esi
cmp esi, dword [ebp - 0x34]
jl 0x40ad43
jmp 0x40addc
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 0xc], ebx
je 0x40ae54
cmp dword [ebp - 0x14], ebx
je 0x40ae54
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.1234567890.tmp
call fcn.004482f5
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 7
call fcn.00447ffc
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 4
push eax
call fcn.0040bffd
add esp, 0x10
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x40ae3c
mov dword [ebp - 0x14], ebx
jmp 0x40ae4c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 0xc]
call fcn.00448287
mov esi, dword [ebp - 0x18]
cmp esi, ebx
jle 0x40ae9a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00447ffc
lea eax, [ebp + 0xc]
push eax
call fcn.0040b60c
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00448374
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00448287
dec esi
jne 0x40ae5b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00448287
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00448287
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00445767
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00448287
mov eax, dword [ebp - 0x14]
jmp 0x40af97
cmp dword [ebp + 0xc], ebx
je 0x40af1f
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.1234567890.tmp
call fcn.004482f5
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 9
call fcn.00447ffc
lea eax, [ebp + 0xc]
mov byte [ebp - 4], bl
push eax
call fcn.0040bffd
add esp, 0x10
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.00448374
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
jmp 0x40af4c
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.00447ffc
lea eax, [ebp + 0xc]
push eax
call fcn.0040b47f
pop ecx
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.00448374
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00448287
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x40af76
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40af89
push 1
pop ebx
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00448287
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret