Function at 0x40ba10
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x35c
mov eax, dword [esp + 0x360]
lea ecx, [esp + 0x258]
push eax
push str._s.
push ecx
mov byte [esp + 0xf], 1
call fcn.00411870
add esp, 0xc
lea edx, [esp + 0x118]
lea eax, [esp + 0x258]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x40bd05
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetScrollRange]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextA]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [esp + 0x154], 0x2e
je 0x40bcd3
mov edx, dword [esp + 0x370]
lea ecx, [esp + 0x154]
push ecx
push edx
lea eax, [esp + 0x2c]
push str._s_s
push eax
call fcn.00411870
mov al, byte [esp + 0x138]
add esp, 0x10
test al, 0x10
je 0x40bbba
mov ecx, dword [esp + 0x374]
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.0040ba10
add esp, 8
test eax, eax
je 0x40bba9
push 0x14a
push 0x42237c
push 0x89
mov eax, dword [0x41fed4]
push eax
call edi
lea ecx, [esp + 0x24]
push ecx
push 0x42237c
push 0x4224c8
call fcn.00411870
mov edx, dword [0x422614]
add esp, 0xc
push 0x4224c8
push edx
call ebp
mov eax, dword [0x42261c]
push 0x4224c8
push 0
push 0x180
push eax
call esi
mov ecx, dword [0x42261c]
push 0
push 0
push 0x18b
push ecx
call esi
mov ecx, dword [0x42261c]
mov dword [esp + 0x18], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
push 1
push ecx
call ebx
mov edx, dword [esp + 0x14]
mov eax, dword [0x42261c]
push 1
push edx
push 1
push eax
call dword [sym.imp.USER32.dll_SetScrollPos]
mov ecx, dword [esp + 0x18]
mov edx, dword [0x42261c]
dec ecx
push 0
push ecx
push 0x197
push edx
call esi
mov eax, dword [0x422620]
push 0
push 0
push 0x408
push eax
call esi
mov ecx, dword [0x422620]
inc eax
push 0
push eax
push 0x402
push ecx
call esi
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40bcd3
mov al, byte [esp + 0x374]
test al, al
je 0x40bcab
jmp 0x40bbfc
lea ecx, [esp + 0x24]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x40bbed
push 0x14a
push 0x42237c
push 0x88
jmp 0x40bae2
mov al, byte [esp + 0x374]
test al, al
je 0x40bcab
mov edx, dword [0x41fed4]
push 0x14a
push 0x42237c
push 0x8c
push edx
call edi
lea eax, [esp + 0x24]
push eax
push 0x42237c
push 0x4224c8
call fcn.00411870
mov ecx, dword [0x422614]
add esp, 0xc
push 0x4224c8
push ecx
call ebp
mov edx, dword [0x42261c]
push 0x4224c8
push 0
push 0x180
push edx
call esi
mov eax, dword [0x42261c]
push 0
push 0
push 0x18b
push eax
call esi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [0x42261c]
push ecx
push edx
push 1
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [0x42261c]
push 1
push ecx
push 1
push edx
call dword [sym.imp.USER32.dll_SetScrollPos]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x42261c]
dec eax
push 0
push eax
push 0x197
push ecx
call esi
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [0x422620]
push 0
push 0
push 0x408
push edx
call esi
inc eax
push 0
push eax
mov eax, dword [0x422620]
push 0x402
push eax
call esi
mov byte [esp + 0x13], 0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x128]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40ba77
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
test al, al
pop ebx
je 0x40bd1a
mov ecx, dword [esp + 0x360]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
add esp, 0x35c
ret
xor eax, eax
add esp, 0x35c
ret