Function at 0x40ad80
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b4aa
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x428024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
cmp byte [ebx], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jne 0x40ae00
xor ecx, ecx
jmp 0x40ae0e
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ae05
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x58]
call fcn.00404420
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x40]
call fcn.00404520
push 4
push str..
lea ecx, [ebp - 0x40]
call fcn.00402750
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x198]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40afad
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop word [eax + eax]
cmp byte [ebp - 0x16c], 0x2e
je 0x40af7b
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x58]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x1cc]
push 0x42192c
mov byte [eax], 0
call fcn.00404af0
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x1b4]
call fcn.0040b110
add esp, 8
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x40aef6
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x40aedb
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00402b40
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404640
mov eax, dword [ebp - 0x1a0]
cmp eax, 0x10
jb 0x40af0e
inc eax
push eax
push dword [ebp - 0x1b4]
call fcn.00402b40
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1a0], 0xf
mov dword [ebp - 0x1a4], 0
mov byte [ebp - 0x1b4], 0
cmp eax, 0x10
jb 0x40af45
inc eax
push eax
push dword [ebp - 0x1cc]
call fcn.00402b40
test byte [ebp - 0x198], 0x10
je 0x40af66
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0040ad80
mov esi, eax
test esi, esi
jne 0x40afaf
jmp 0x40af7b
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
lea eax, [ebp - 0x198]
push eax
push edi
call ebx
cmp eax, 1
je 0x40ae70
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x12
jne 0x40afaf
mov ecx, dword [ebp - 0x19c]
call fcn.0040a760
xor esi, esi
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x40afc1
inc eax
push eax
push dword [ebp - 0x58]
call fcn.00402b40
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x40afe5
inc eax
push eax
push dword [ebp - 0x40]
call fcn.00402b40
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x40b009
inc ecx
push ecx
push dword [ebp - 0x28]
call fcn.00402b40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419532
mov esp, ebp
pop ebp
ret