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

Disassembly:
sub esp, 0x464
mov eax, dword [0x101561c0]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
mov ebx, dword [esp + 0x46c]
push esi
mov esi, dword [esp + 0x478]
push edi
mov edi, dword [esp + 0x478]
movzx eax, si
push eax
movzx ecx, di
push ecx
movzx edx, bx
push edx
push str.due__u__x__x_
push 0xa
push 0x10158458
call fcn.1000f810
mov eax, dword [esp + 0x488]
add esp, 0x18
push eax
mov ecx, 0x10158200
call fcn.100061a0
test eax, eax
jne 0x10005945
test edx, edx
jne 0x10005945
push ebp
push esi
push edi
push ebx
call fcn.10005380
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test ebp, ebp
jne 0x10005768
test edx, edx
je 0x1000577e
push edx
push ebp
push str.due:A_I64x
push 0x28
push 0x10158458
call fcn.1000f810
add esp, 0x14
push 0
push esi
push edi
lea eax, [esp + 0x274]
push ebx
push eax
call fcn.10004390
add esp, 0x14
test eax, eax
jne 0x10005944
test edx, edx
jne 0x10005944
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100057ee
call esi
cmp eax, 3
je 0x10005894
call esi
cmp eax, 2
je 0x10005894
call esi
push eax
push 0x220f1324
call fcn.1000e600
add esp, 8
jmp 0x10005944
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test byte [esp + 0x18], 0x10
jne 0x1000584e
lea eax, [esp + 0x268]
push 0x5c
push eax
call fcn.1001097a
add esp, 8
lea edx, [esp + 0x44]
xor ecx, ecx
push edx
mov word [eax + 2], cx
push 0x104
lea eax, [esp + 0x270]
push eax
call fcn.10002360
lea ecx, [esp + 0x268]
push ecx
call ebx
test eax, eax
jne 0x1000584e
call esi
push eax
push 0x220f1323
call fcn.1000e600
add esp, 8
mov ebp, eax
mov dword [esp + 0x14], edx
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100057f4
call esi
cmp eax, 0x12
je 0x1000587b
call esi
push eax
push 0x220f1324
call fcn.1000e600
add esp, 8
mov ebp, eax
mov dword [esp + 0x14], edx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebp, ebp
jne 0x1000593e
cmp dword [esp + 0x14], ebp
jne 0x1000593e
lea eax, [esp + 0x268]
push 0x5c
push eax
call fcn.1001097a
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esp, 8
lea edx, [esp + 0x268]
xor ecx, ecx
push edx
mov word [eax], cx
call edi
test eax, eax
jne 0x100058ec
call esi
cmp eax, 0x91
je 0x100058ec
call esi
cmp eax, 2
je 0x100058ec
call esi
cmp eax, 3
je 0x100058ec
call esi
push eax
push 0x220f1009
call fcn.1000e600
add esp, 8
mov ebp, eax
mov dword [esp + 0x14], edx
lea eax, [esp + 0x268]
push 0x5c
push eax
call fcn.1001097a
add esp, 8
lea edx, [esp + 0x268]
xor ecx, ecx
push edx
mov word [eax], cx
call edi
test eax, eax
jne 0x1000593e
call esi
cmp eax, 0x91
je 0x1000593e
call esi
cmp eax, 2
je 0x1000593e
call esi
cmp eax, 3
je 0x1000593e
call esi
push eax
push 0x220f1009
call fcn.1000e600
add esp, 8
mov ebp, eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x46c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100108f1
add esp, 0x464
ret 0xc