Function at 0x477a30
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 0x5a696c
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 [0x5fd5a4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x5f4264]
cmp eax, dword [edx + 4]
jle 0x477ab9
push 0x5f4264
call fcn.00575468
add esp, 4
cmp dword [0x5f4264], 0xffffffff
jne 0x477ab9
mov byte [ebp - 4], 1
push 0x5b52c4
mov ecx, 0x5f4260
call fcn.00414480
push 0x5ab820
call fcn.005753d7
add esp, 4
mov byte [ebp - 4], 0
push 0x5f4264
call fcn.00575417
add esp, 4
push 0x5f4260
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.004454a0
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.0041afa0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x477b32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
je 0x477b32
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004185a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004185a0
mov eax, dword [ebp - 0x28]
jmp 0x477d56
cmp dword [ebp - 0x1c], 0xffffffff
je 0x477cf2
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x58], esp
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00413e50
push eax
mov ecx, esi
call fcn.00476860
lea ecx, [ebp - 0x8c]
call fcn.00417150
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 0x477c7d
mov edx, dword [ebp - 0x2dc]
and edx, 0x10
jne 0x477ba4
mov eax, dword [ebp - 0x2dc]
and eax, 0x400
jne 0x477ba4
mov dword [ebp - 0x20], 0
jmp 0x477bab
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.00477230
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.0041b370
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.004185a0
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x477c14
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea eax, [ebp - 0x18]
push eax
call fcn.00414340
call fcn.00477a30
add esp, 4
jmp 0x477c71
lea ecx, [ebp - 0x18]
call fcn.0041afa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x477c71
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004185a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00419b70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004185a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004185a0
mov eax, dword [ebp - 0x3c]
jmp 0x477d56
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004185a0
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 0x477cde
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x12
je 0x477cdc
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00419b70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004185a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004185a0
mov eax, dword [ebp - 0x48]
jmp 0x477d56
jmp 0x477ce3
jmp 0x477b6a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00419b70
lea ecx, [ebp + 8]
call fcn.0041afa0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x477d31
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004185a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004185a0
mov eax, dword [ebp - 0x50]
jmp 0x477d56
mov dword [ebp - 0x54], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004185a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004185a0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret