Function at 0x411250
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4434be
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x4513a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [0x44ce20]
push eax
push 0x5c
lea ecx, [ebp + 8]
call fcn.0040a450
mov esi, eax
lea ecx, [ebp + 8]
call fcn.0040a390
cmp esi, eax
je 0x4112ae
push 0x4487a0
lea ecx, [ebp + 8]
call fcn.0040a350
push 0x4487a4
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0040b570
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a210
mov byte [ebp - 4], 2
mov dword [ebp - 0x29c], 0
push 0x24c
push 0
lea eax, [ebp - 0x298]
push eax
call fcn.00421260
add esp, 0xc
lea ecx, [ebp - 0x29c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040a370
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
je 0x4114bc
lea edx, [ebp - 0x270]
push edx
push 0x4487a8
call fcn.00421355
add esp, 8
test eax, eax
je 0x411439
lea eax, [ebp - 0x270]
push eax
push 0x4487ac
call fcn.00421355
add esp, 8
test eax, eax
je 0x411439
lea ecx, [ebp - 0x270]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x2c0]
push eax
call fcn.0040b570
add esp, 0xc
mov dword [ebp - 0x2e8], eax
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2ec]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040a2f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c0]
call fcn.0040a2d0
lea ecx, [ebp - 0x2c]
call fcn.0040a370
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2a0]
and eax, 0x10
je 0x4113ef
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2c4], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.0040a240
mov dword [ebp - 0x2f0], eax
call fcn.00411250
add esp, 0x1c
lea ecx, [ebp - 0x2c]
call fcn.0040a370
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x411439
lea ecx, [ebp - 0x2c]
call fcn.0040a370
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x411439
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0
je 0x411439
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2c8], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.0040a240
mov dword [ebp - 0x2f4], eax
call fcn.00410760
add esp, 0x1c
lea ecx, [ebp - 0x29c]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x411316
lea ecx, [ebp + 8]
call fcn.0040a390
sub eax, 1
push eax
push 0
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp + 8]
call fcn.0040a470
mov dword [ebp - 0x2f8], eax
mov ecx, dword [ebp - 0x2f8]
mov dword [ebp - 0x2fc], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2fc]
push edx
lea ecx, [ebp + 8]
call fcn.0040a2f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e4]
call fcn.0040a2d0
lea ecx, [ebp + 8]
call fcn.0040a370
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a2d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040a2d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a2d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004208a1
mov esp, ebp
pop ebp
ret