Function at 0x406f09
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
sub esp, 0x2e4
mov eax, dword [0x439740]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
push ebp
push esi
push edi
push ecx
mov edx, ecx
lea ecx, [esp + 0x6c]
call fcn.00406429
lea edx, [esp + 0x6c]
mov dword [esp], str..dmp
lea ecx, [esp + 0x54]
call fcn.0040ce4a
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
pop ecx
jae 0x406f51
lea eax, [esp + 0x50]
lea ecx, [esp + 0x98]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x40715c
xor ebx, ebx
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0xac]
lea edx, [esp + 0x68]
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x80]
mov eax, dword [esp + 0xb0]
push 0x4362cc
mov dword [esp + 0x38], eax
call fcn.0040ce4a
mov esi, eax
lea eax, [esp + 0xc8]
pop ecx
push eax
call fcn.00401233
pop ecx
push eax
lea eax, [esp + 0xc8]
mov ecx, esi
push eax
call fcn.0040aedf
push eax
lea ecx, [esp + 0x3c]
call fcn.00407797
push 0
push 1
lea ecx, [esp + 0x88]
call fcn.004097f1
lea eax, [esp + 0x30]
cmp eax, edi
jae 0x407022
cmp ebx, eax
ja 0x407022
mov esi, eax
sub esi, ebx
cmp edi, ebp
jne 0x40700f
push ecx
lea ecx, [esp + 0x1c]
call fcn.00409f25
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
test edi, edi
je 0x40705a
and esi, 0xffffffe0
mov ecx, edi
add esi, ebx
push esi
call fcn.0040ddc8
jmp 0x40705a
cmp edi, ebp
jne 0x40703c
push ecx
lea ecx, [esp + 0x1c]
call fcn.00409f25
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
test edi, edi
je 0x40705a
mov eax, dword [esp + 0x30]
lea ecx, [edi + 8]
mov dword [edi], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
lea eax, [esp + 0x38]
push eax
call fcn.00407743
push 0
add edi, 0x20
lea ecx, [esp + 0x3c]
push 1
mov dword [esp + 0x24], edi
call fcn.004097f1
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406f7f
mov esi, edi
mov edx, edi
sub esi, ebx
mov ecx, ebx
sar esi, 5
push 0x406ef3
push esi
call fcn.0040d7b5
pop ecx
pop ecx
cmp esi, 0xa
jbe 0x407138
push 0x18
pop ebp
lea esi, [edi - 0x18]
sub ebp, ebx
push esi
lea ecx, [esp + 0x1c]
call fcn.00407743
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x4070ca
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x436410
call fcn.00401233
pop ecx
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
push 0x436410
push 4
add eax, 0xfffffffc
push eax
call fcn.004095db
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x407104
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
mov ecx, esi
call fcn.004097f1
push 0
push 1
lea ecx, [esp + 0x20]
sub edi, 0x20
sub esi, 0x20
call fcn.004097f1
lea eax, [esi + ebp]
sar eax, 5
cmp eax, 0xa
ja 0x4070b1
test ebx, ebx
je 0x40715c
mov esi, ebx
cmp ebx, edi
je 0x407155
push 0
push 1
lea ecx, [esi + 8]
call fcn.004097f1
add esi, 0x20
cmp esi, edi
jne 0x407142
push ebx
call fcn.00411d35
pop ecx
push 0
push 1
lea ecx, [esp + 0x58]
call fcn.004097f1
push 0
push 1
lea ecx, [esp + 0x70]
call fcn.004097f1
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00410465
add esp, 0x2e4
ret