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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ccd9
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x4c6374]
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.0040ec30
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00425b70
lea ecx, [ebp - 0x40]
call fcn.00414c70
test al, al
jne 0x415430
xor bl, bl
jmp 0x415647
push 0x4b8854
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.0040c1a0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
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 0x41546e
xor bl, bl
jmp 0x41561e
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
lea eax, [ebp - 0x27c]
push eax
push 0x4b8860
call fcn.0047fbd3
add esp, 8
test eax, eax
je 0x415603
lea eax, [ebp - 0x27c]
push eax
push 0x4b8864
call fcn.0047fbd3
add esp, 8
test eax, eax
je 0x415603
push ecx
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x2d8]
call fcn.00416930
add esp, 4
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00416870
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c4]
cmp eax, 8
jb 0x415504
inc eax
lea ecx, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2d8]
call fcn.0040f5b0
xor eax, eax
mov dword [ebp - 0x2c4], 7
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x2d8], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x2c8], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
test cl, 1
je 0x415550
and ecx, 0xfffffffe
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2c0]
je 0x4155ad
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00408ac0
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 5
call fcn.004153c0
mov eax, dword [ebp - 0x2ac]
cmp eax, 8
jb 0x41559d
inc eax
lea ecx, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c0]
call fcn.0040f5b0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
jmp 0x4155ea
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00408ac0
mov dl, 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c0]
call fcn.00415680
mov eax, dword [ebp - 0x2ac]
cmp eax, 8
jb 0x4155ea
inc eax
lea ecx, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c0]
call fcn.0040f5b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x415603
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040f5b0
lea eax, [ebp - 0x2a8]
push eax
push esi
call edi
test eax, eax
jne 0x415480
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x415633
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040f5b0
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x41565c
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.0040f5b0
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.00475cda
mov esp, ebp
pop ebp
ret