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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc8a0
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x5293c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov ecx, edx
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408fa0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403900
push 0x4e1ef4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.00402500
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x409001
mov ecx, eax
call fcn.00402da0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x1a0]
cmp ecx, 0xf
jbe 0x40903b
mov edx, dword [ebp - 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409031
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409315
push ecx
push edx
call fcn.004b5d1e
add esp, 8
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x198]
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x409253
mov esi, dword [ebp - 0x19c]
lea eax, [ebp - 0x198]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x409253
cmp byte [ebp - 0x16c], 0x2e
je 0x409065
mov al, byte [ebp - 0x16b]
test al, al
je 0x409065
cmp al, 0x2e
jne 0x40909b
cmp byte [ebp - 0x16a], 0
je 0x409065
test byte [ebp - 0x198], 0x10
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x28]
push eax
je 0x4091b8
lea eax, [ebp - 0x1b4]
push eax
call fcn.00402500
add esp, 0xc
push 1
push 0x5040d0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00402160
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x1a0]
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x409149
mov edx, dword [ebp - 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40913f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409315
push ecx
push edx
call fcn.004b5d1e
add esp, 8
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov ecx, esi
mov dword [ebp - 0x1a4], 0
cmova eax, dword [ebp - 0x40]
push eax
mov dword [ebp - 0x1a0], 0xf
mov byte [ebp - 0x1b4], 0
call fcn.00408f30
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x409065
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4091a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409315
push ecx
push edx
call fcn.004b5d1e
add esp, 8
jmp 0x409065
lea eax, [ebp - 0x40]
push eax
call fcn.00402500
add esp, 0xc
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40920c
mov eax, dword [esi + 0x528]
lea ecx, [ebp - 0x40]
push ecx
cmp eax, dword [esi + 0x52c]
je 0x409200
mov ecx, eax
call fcn.00402280
add dword [esi + 0x528], 0x18
jmp 0x40920c
push eax
lea ecx, [esi + 0x524]
call fcn.00408430
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x19c]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x409065
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409244
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409315
push ecx
push edx
call fcn.004b5d1e
add esp, 8
jmp 0x409065
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x409286
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 4
cmova eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4092b6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4092ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40931a
push ecx
push edx
call fcn.004b5d1e
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x4092f8
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4092ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40931a
push ecx
push edx
call fcn.004b5d1e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5d2c
mov esp, ebp
pop ebp
ret 4
call fcn.004ba13f
call fcn.004ba13f
int3