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

Disassembly:
push 0xffffffffffffffff
push 0x46728e
mov eax, dword fs:[0]
push eax
sub esp, 0x678
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x674], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47edd4]
xor eax, esp
push eax
lea eax, [esp + 0x68c]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0x69c]
push ebx
lea eax, [esp + 0x484]
push str._s.
push eax
mov dword [esp + 0x6a0], 0
call fcn.004206e5
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x484]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
je 0x408835
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x408835
cmp word [esp + 0x54], 0x2e
je 0x408699
mov ax, word [esp + 0x56]
test ax, ax
je 0x408699
cmp ax, 0x2e
jne 0x4086d1
cmp word [esp + 0x58], 0
je 0x408699
call fcn.00417b49
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40882b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x1c]
push 0x46b720
push edx
mov byte [esp + 0x6a0], 1
call fcn.00407b10
add esp, 0xc
test byte [esp + 0x28], 0x10
je 0x408775
push 0x206
lea eax, [esp + 0x27e]
push 0
push eax
mov word [esp + 0x284], 0
call fcn.00420780
mov ebp, dword [esp + 0x24]
push ebp
push ebx
lea ecx, [esp + 0x28c]
push 0x46b7c4
push ecx
call fcn.004206e5
add esp, 0x18
lea edx, [esp + 0x27c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00405b00
mov ecx, dword [esp + 0x20]
call fcn.00408610
jmp 0x4087fe
call fcn.00417b49
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40882b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x18]
push ebp
push ebx
lea ecx, [esp + 0x1c]
push 0x46b648
push ecx
mov byte [esp + 0x6a4], 2
call fcn.00407b10
mov esi, dword [esp + 0x24]
add esp, 0xc
add esi, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push esi
call fcn.004054f0
mov ecx, dword [esp + 0x24]
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00407c70
mov byte [esp + 0x694], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4087fe
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x694], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408699
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x408699
push 0x80004005
call fcn.004051f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x408870
add ebx, 0xfffffff0
mov dword [esp + 0x694], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4088a2
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
jmp 0x4088a2
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
add ebx, 0xfffffff0
mov dword [esp + 0x694], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4088a2
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x68c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x674]
xor ecx, esp
call fcn.004206a6
add esp, 0x684
ret 4