Function at 0x42b4c0
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 0x4f8f9f
mov eax, dword fs:[0]
push eax
sub esp, 0x540
mov eax, dword [0x5381f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00403a90
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b503
jmp 0x42b7f9
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004a03d0
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.00403a90
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x507fac
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x474], eax
cmp dword [ebp - 0x474], 0xffffffff
je 0x42b571
cmp dword [ebp - 0x474], 0
jne 0x42b6a2
lea edx, [ebp - 0x4ac]
push edx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x480], eax
mov eax, dword [ebp - 0x480]
mov dword [ebp - 0x484], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x484]
call fcn.00406890
mov dword [ebp - 0x478], eax
mov ecx, dword [ebp - 0x478]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x478]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 0x469], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ac]
call fcn.00409eb0
movzx ecx, byte [ebp - 0x469]
test ecx, ecx
je 0x42b69d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x490], eax
lea edx, [ebp - 0x4b4]
push edx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x488]
mov dword [ebp - 0x48c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x48c]
call fcn.004068b0
mov dword [ebp - 0x47c], eax
lea ecx, [ebp - 0x490]
push ecx
push str.FindFirstFile_failed__error_code_
lea ecx, [ebp - 0x54c]
call fcn.004091f0
mov dword [ebp - 0x494], eax
mov edx, dword [ebp - 0x494]
mov dword [ebp - 0x498], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x498]
call fcn.004241a0
mov ecx, eax
call fcn.004195a0
push eax
mov eax, dword [ebp - 0x47c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x47c]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54c]
call fcn.00409f20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4b4]
call fcn.00409eb0
jmp 0x42b7f9
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x43c]
cmp eax, 0x2e
jne 0x42b6cb
mov ecx, 2
shl ecx, 0
movzx edx, word [ebp + ecx - 0x43c]
test edx, edx
je 0x42b6f3
mov eax, 2
shl eax, 0
movzx ecx, word [ebp + eax - 0x43c]
cmp ecx, 0x2e
jne 0x42b6f8
mov edx, 2
shl edx, 1
movzx eax, word [ebp + edx - 0x43c]
test eax, eax
jne 0x42b6f8
jmp 0x42b7b9
lea ecx, [ebp - 0x43c]
push ecx
push 0x507fd8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x4a4]
push eax
call fcn.0041a390
add esp, 0xc
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebp - 0x49c]
mov dword [ebp - 0x4a0], ecx
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x4a0]
push edx
lea eax, [ebp - 0x470]
push eax
call fcn.0041a390
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a4]
call fcn.00403900
mov ecx, dword [ebp - 0x468]
and ecx, 0x10
je 0x42b795
lea edx, [ebp - 0x470]
push edx
call fcn.0042b4c0
add esp, 4
lea ecx, [ebp - 0x470]
call fcn.00403a90
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call fcn.00403900
jmp 0x42b7b9
lea ecx, [ebp - 0x470]
call fcn.00403a90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call fcn.00403900
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp - 0x474]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42b6a2
mov edx, dword [ebp - 0x474]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
call fcn.00403a90
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
jne 0x42b4eb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046621a
mov esp, ebp
pop ebp
ret