Function at 0x406e20
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450970
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a8
mov eax, dword [0x45e024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1b0], edi
xor esi, esi
call fcn.00407260
mov ecx, 1
cmp al, cl
push edi
cmove esi, ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1a4], esi
call fcn.004090c0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 4
push str..
cmp eax, 4
jb 0x406ec7
cmp edx, 0x10
lea esi, [ebp - 0x2c]
lea eax, [ecx + 4]
cmovae esi, dword [ebp - 0x2c]
add esi, ecx
mov dword [ebp - 0x1c], eax
push esi
call fcn.0041b280
add esp, 0xc
mov byte [esi + 4], 0
jmp 0x406ede
mov byte [ebp - 0x1a8], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x1a8]
push 4
call fcn.0040b490
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x1a0]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x1b4], esi
cmp esi, 0xffffffff
je 0x407166
nop dword [eax + eax]
test byte [ebp - 0x1a0], 0x10
je 0x4070df
mov ecx, 0x459f3c
lea eax, [ebp - 0x174]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406f48
test dl, dl
je 0x406f44
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406f48
add eax, 2
add ecx, 2
test dl, dl
jne 0x406f28
xor eax, eax
jmp 0x406f4d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4070df
mov ecx, 0x459f38
lea eax, [ebp - 0x174]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406f80
test dl, dl
je 0x406f7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406f80
add eax, 2
add ecx, 2
test dl, dl
jne 0x406f60
xor eax, eax
jmp 0x406f85
sbb eax, eax
or eax, 1
test eax, eax
je 0x4070df
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x2c]
mov edx, edi
push 0x459a2c
mov byte [eax], 0
call fcn.0040a590
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1a8], ecx
lea edi, [ebp - 0x174]
mov byte [ebp - 4], 1
lea edx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x406fd0
mov esi, dword [ecx + 0x14]
sub edi, edx
mov edx, dword [ecx + 0x10]
mov eax, esi
sub eax, edx
cmp edi, eax
ja 0x407016
lea eax, [edx + edi]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x406ff6
mov eax, dword [ecx]
lea esi, [eax + edx]
push edi
lea eax, [ebp - 0x174]
push eax
push esi
call fcn.0041b280
mov eax, dword [ebp - 0x1a8]
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x407031
push edi
lea eax, [ebp - 0x174]
mov byte [ebp - 0x1ac], 0
push eax
push dword [ebp - 0x1ac]
push edi
call fcn.0040b490
movups xmm0, xmmword [eax]
lea ecx, [ebp - 0x2c]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x44]
push eax
movq qword [ebp - 0x34], xmm0
call fcn.00408fa0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x407093
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407089
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407241
push edx
push ecx
call fcn.004120fb
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x4070cb
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4070c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407241
push edx
push ecx
call fcn.004120fb
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00406e20
mov edi, dword [ebp - 0x1b0]
mov esi, dword [ebp - 0x1b4]
lea eax, [ebp - 0x1a0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406f10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x407106
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp eax, 1
jne 0x4071a0
push edi
mov edx, str.__del_dir_:
lea ecx, [ebp - 0x5c]
call fcn.0040a3a0
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00401ca0
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x407166
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40715c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407241
push edx
push ecx
call fcn.004120fb
add esp, 8
mov esi, dword [ebp - 0x1a4]
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x407221
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407217
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407246
jmp 0x407217
cmp dword [edi + 0x14], 0x10
jb 0x4071a8
mov edi, dword [edi]
mov ecx, edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4071c0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.00409910
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00407720
mov edx, dword [ebp - 0x30]
movzx esi, al
cmp edx, 0x10
jb 0x40716c
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407208
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40724b
push edx
push ecx
call fcn.004120fb
add esp, 8
jmp 0x40716c
push edx
push ecx
call fcn.004120fb
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00411cb8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041c6cd
call fcn.0041c6cd
call fcn.0041c6cd
int3