Function at 0x47a2f0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5eef96
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x65bf90]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x65bf90]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.004025f3
push 0x5c
lea eax, [esp + 0x34]
mov dword [esp + 0x1a4], ebx
call fcn.0041338b
mov ecx, dword [esp + 0x40]
lea edx, [ecx - 1]
cmp edx, eax
je 0x47a3fe
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
ja 0x47a387
push 0x627c04
call fcn.005de715
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
jbe 0x47a399
push 0x627c04
call fcn.005de715
mov eax, dword [esp + 0x44]
cmp eax, esi
jae 0x47a3ae
push ecx
push esi
lea ecx, [esp + 0x38]
call fcn.004024a0
jmp 0x47a3c5
cmp esi, ebx
jne 0x47a3cb
cmp eax, 0x10
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], ebx
jae 0x47a3c3
lea eax, [esp + 0x30]
mov byte [eax], bl
mov ecx, dword [esp + 0x40]
cmp esi, ebx
seta al
cmp al, bl
je 0x47a3fe
mov eax, dword [esp + 0x30]
mov edx, 0x10
cmp dword [esp + 0x44], edx
jae 0x47a3e5
lea eax, [esp + 0x30]
mov byte [ecx + eax], 0x5c
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], esi
cmp dword [esp + 0x44], edx
jae 0x47a3fb
lea eax, [esp + 0x30]
mov byte [eax + esi], bl
push 0x62e574
mov ebx, 3
lea eax, [esp + 0x34]
call fcn.00402b81
mov eax, dword [esp + 0x30]
mov ebx, 0x10
cmp dword [esp + 0x44], ebx
jae 0x47a424
lea eax, [esp + 0x30]
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x47a636
lea ecx, [ecx]
lea ecx, [esp + 0x78]
mov eax, 0x62e578
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47a470
test dl, dl
je 0x47a46c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47a470
add eax, 2
add ecx, 2
test dl, dl
jne 0x47a450
xor eax, eax
jmp 0x47a475
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47a605
lea ecx, [esp + 0x78]
mov eax, 0x62e57c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47a4a6
test dl, dl
je 0x47a4a2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47a4a6
add eax, 2
add ecx, 2
test dl, dl
jne 0x47a486
xor eax, eax
jmp 0x47a4ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47a605
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.004025f3
push 0x5c
lea eax, [esp + 0x18]
mov byte [esp + 0x1a4], 1
call fcn.0041338b
mov ecx, dword [esp + 0x24]
lea edx, [ecx - 1]
cmp edx, eax
je 0x47a56f
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x47a37d
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x47a37d
mov eax, dword [esp + 0x28]
cmp eax, esi
jae 0x47a523
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.004024a0
jmp 0x47a53a
test esi, esi
jne 0x47a540
cmp eax, ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], esi
jae 0x47a537
lea eax, [esp + 0x14]
mov byte [eax], 0
mov ecx, dword [esp + 0x24]
test esi, esi
setne al
test al, al
je 0x47a56f
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebx
jae 0x47a555
lea eax, [esp + 0x14]
mov byte [eax + ecx], 0x5c
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], esi
cmp dword [esp + 0x28], ebx
jae 0x47a56b
lea eax, [esp + 0x14]
mov byte [eax + esi], 0
lea eax, [esp + 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47a576
sub eax, edx
lea ecx, [esp + 0x78]
mov ebx, eax
push ecx
lea eax, [esp + 0x18]
call fcn.00402b81
mov al, byte [esp + 0x4c]
mov ebx, 0x10
test bl, al
je 0x47a5ab
lea edx, [esp + 0x14]
push edx
call fcn.0047a2f0
add esp, 4
jmp 0x47a5ea
test al, 1
je 0x47a5d5
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov eax, esi
cmp ecx, ebx
jae 0x47a5c3
lea eax, [esp + 0x14]
mov esi, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebx
jae 0x47a5e3
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [esp + 0x1a0], 0
cmp dword [esp + 0x28], ebx
jb 0x47a605
mov eax, dword [esp + 0x14]
push eax
call fcn.004ba2af
add esp, 4
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x47a440
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [edi + 0x14], ebx
jb 0x47a62d
mov eax, dword [edi]
jmp 0x47a62f
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp dword [esp + 0x44], ebx
jb 0x47a649
mov edx, dword [esp + 0x30]
push edx
call fcn.004ba2af
add esp, 4
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.005bdb17
mov esp, ebp
pop ebp
ret