Function at 0x4112b0
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6483
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x52038c]
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
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00404260
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00410d00
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x411522
shr eax, 4
and al, 1
je 0x411522
push str..
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.0040fb80
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d8]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x411371
xor bl, bl
jmp 0x4114f7
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
lea eax, [ebp - 0x2ac]
push eax
push 0x50f620
call fcn.004c2493
add esp, 8
test eax, eax
je 0x4114dc
lea eax, [ebp - 0x2ac]
push eax
push 0x50f624
call fcn.004c2493
add esp, 8
test eax, eax
je 0x4114dc
push ecx
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x88]
call fcn.004116a0
add esp, 4
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0040ce60
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x411401
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00404840
xor eax, eax
mov dword [ebp - 0x74], 7
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x78], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x411444
and eax, 0xfffffffe
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push eax
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x2d8], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x70]
je 0x411492
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404770
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.004112b0
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x411482
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00404840
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
jmp 0x4114c3
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404770
mov dl, 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.00411560
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x4114c3
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00404840
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4114dc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404840
lea eax, [ebp - 0x2d8]
push eax
push esi
call edi
test eax, eax
jne 0x411380
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41150c
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00404840
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jmp 0x411524
xor bl, bl
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x411539
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00404840
mov al, bl
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.004a4c3a
mov esp, ebp
pop ebp
ret