Function at 0x47b070
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a237c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d0
push esi
mov dword [ebp - 4], 0
mov eax, dword [0x5fe6c4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x5f53bc]
cmp eax, dword [edx + 4]
jle 0x47b0f9
push 0x5f53bc
call fcn.00570f68
add esp, 4
cmp dword [0x5f53bc], 0xffffffff
jne 0x47b0f9
mov byte [ebp - 4], 1
push 0x5b44e0
mov ecx, 0x5f53b8
call fcn.004128a0
push 0x5a6bd0
call fcn.00570ed7
add esp, 4
mov byte [ebp - 4], 0
push 0x5f53bc
call fcn.00570f17
add esp, 4
push 0x5f53b8
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.004196a0
add esp, 0xc
mov byte [ebp - 4], 2
push 0
push 0
push 0
lea eax, [ebp - 0x2dc]
push eax
push 1
lea ecx, [ebp - 0x14]
call fcn.004192d0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x47b172
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
je 0x47b172
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004168d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004168d0
mov eax, dword [ebp - 0x28]
jmp 0x47b396
cmp dword [ebp - 0x1c], 0xffffffff
je 0x47b332
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x58], esp
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00412270
push eax
mov ecx, esi
call fcn.0047a240
lea ecx, [ebp - 0x8c]
call fcn.004154c0
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 3
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x2b0]
cmp ecx, 0x2e
je 0x47b2bd
mov edx, dword [ebp - 0x2dc]
and edx, 0x10
jne 0x47b1e4
mov eax, dword [ebp - 0x2dc]
and eax, 0x400
jne 0x47b1e4
mov dword [ebp - 0x20], 0
jmp 0x47b1eb
mov dword [ebp - 0x20], 1
mov cl, byte [ebp - 0x20]
mov byte [ebp - 0xd], cl
lea edx, [ebp - 0x2b0]
push edx
push 0x5c
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0047aa70
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00419760
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.004168d0
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x47b254
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea eax, [ebp - 0x18]
push eax
call fcn.00412760
call fcn.0047b070
add esp, 4
jmp 0x47b2b1
lea ecx, [ebp - 0x18]
call fcn.004192d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x47b2b1
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004168d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00417ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004168d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004168d0
mov eax, dword [ebp - 0x3c]
jmp 0x47b396
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004168d0
lea ecx, [ebp - 0x2dc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x47b31e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x12
je 0x47b31c
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00417ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004168d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004168d0
mov eax, dword [ebp - 0x48]
jmp 0x47b396
jmp 0x47b323
jmp 0x47b1aa
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00417ea0
lea ecx, [ebp + 8]
call fcn.004192d0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x47b371
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004168d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004168d0
mov eax, dword [ebp - 0x50]
jmp 0x47b396
mov dword [ebp - 0x54], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004168d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004168d0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret