Function at 0x418bc0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
sub esp, 0xc58
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc78]
cmp eax, ebx
je 0x418c14
cmp word [eax], bx
je 0x418c14
mov esi, dword [esp + 0xc70]
mov edi, dword [sym.imp.MSVCRT.dll_swprintf]
push eax
push esi
lea eax, [esp + 0x670]
push 0x458464
push eax
call edi
add esp, 0x10
jmp 0x418c34
mov esi, dword [esp + 0xc70]
mov edi, dword [sym.imp.MSVCRT.dll_swprintf]
push esi
lea ecx, [esp + 0x66c]
push str._s
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x18]
lea eax, [esp + 0x668]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x418c60
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc58
ret
mov eax, dword [esp + 0xc80]
mov ebp, dword [esp + 0xc74]
cmp eax, ebx
je 0x418c92
cmp word [esi + ebp*2], 0x5c
jne 0x418c92
mov edx, dword [esp + 0xc6c]
push 4
push ebx
lea ecx, [esi + ebp*2 + 2]
push ebx
push ecx
push edx
call fcn.00444a00
add esp, 0x14
mov eax, dword [esp + 0xc7c]
mov word [esp + 0x268], bx
cmp eax, ebx
je 0x418ced
cmp word [eax], bx
je 0x418ced
cmp dword [esp + 0xc84], ebx
jne 0x418ced
lea ecx, [esi + ebp*2]
lea edx, [esp + 0x268]
push ecx
push eax
push str._s_s_
push edx
call edi
lea eax, [esp + 0x278]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 0x18
test eax, eax
je 0x418ced
lea ecx, [esp + 0x268]
push ecx
call fcn.00438250
add esp, 4
test byte [esp + 0x18], 0x12
jne 0x418df2
lea edx, [esp + 0x44]
lea eax, [esp + 0x868]
push edx
push esi
push 0x458464
push eax
call edi
mov ax, word [esi + ebp*2]
add esp, 0x10
cmp ax, bx
je 0x418d4a
cmp dword [esp + 0xc80], ebx
je 0x418d4a
xor edx, edx
cmp ax, 0x5c
sete dl
add edx, ebp
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x46c]
lea eax, [esi + edx*2]
push eax
push 0x458464
push ecx
call edi
add esp, 0x10
jmp 0x418d61
lea edx, [esp + 0x44]
lea eax, [esp + 0x468]
push edx
push 0x4531d0
push eax
call edi
add esp, 0xc
mov eax, dword [esp + 0xc6c]
push 2
lea ecx, [esp + 0x86c]
push ebx
lea edx, [esp + 0x470]
push ecx
push edx
push eax
call fcn.00444a00
add esp, 0x14
cmp eax, ebx
jne 0x418de2
cmp word [esp + 0x268], bx
je 0x418dc9
lea ecx, [esp + 0x44]
lea edx, [esp + 0x268]
push ecx
push edx
lea eax, [esp + 0x470]
push 0x45821c
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0x468]
lea edx, [esp + 0x868]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x418df2
cmp dword [esp + 0xc84], ebx
je 0x418df2
lea eax, [esp + 0x868]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x418df2
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x418dee
cmp eax, ecx
jge 0x418df2
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418ced
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0xc80], ebx
je 0x418f03
push esi
lea ecx, [esp + 0x66c]
push str._s
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x18]
lea eax, [esp + 0x668]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x418e5f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc58
ret
test byte [esp + 0x18], 0x10
je 0x418ecc
cmp word [esp + 0x44], 0x2e
je 0x418ecc
lea ecx, [esp + 0x44]
lea edx, [esp + 0xa68]
push ecx
push esi
push 0x458464
push edx
call edi
mov eax, dword [esp + 0xc94]
mov ecx, dword [esp + 0xc90]
mov edx, dword [esp + 0xc8c]
push eax
mov eax, dword [esp + 0xc8c]
push ecx
push edx
mov edx, dword [esp + 0xc88]
push eax
lea ecx, [esp + 0xa88]
push ebp
push ecx
push edx
call fcn.00418bc0
mov ecx, dword [esp + 0x3c]
add esp, 0x2c
test ecx, ecx
je 0x418ec8
cmp eax, ecx
jge 0x418ecc
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418e5f
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0xc84]
test eax, eax
je 0x418f03
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, ebp
jbe 0x418f03
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc58
ret