Function at 0x406fec
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.004064ca
lea edx, [esp + 0x6c]
mov dword [esp], str..dmp
lea ecx, [esp + 0x54]
call fcn.0040cf2d
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
pop ecx
jae 0x407034
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 0x40723f
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.0040cf2d
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.0040afc2
push eax
lea ecx, [esp + 0x3c]
call fcn.0040787a
push 0
push 1
lea ecx, [esp + 0x88]
call fcn.004098d4
lea eax, [esp + 0x30]
cmp eax, edi
jae 0x407105
cmp ebx, eax
ja 0x407105
mov esi, eax
sub esi, ebx
cmp edi, ebp
jne 0x4070f2
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040a008
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
test edi, edi
je 0x40713d
and esi, 0xffffffe0
mov ecx, edi
add esi, ebx
push esi
call fcn.0040deab
jmp 0x40713d
cmp edi, ebp
jne 0x40711f
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040a008
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
test edi, edi
je 0x40713d
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.00407826
push 0
add edi, 0x20
lea ecx, [esp + 0x3c]
push 1
mov dword [esp + 0x24], edi
call fcn.004098d4
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x407062
mov esi, edi
mov edx, edi
sub esi, ebx
mov ecx, ebx
sar esi, 5
push 0x406fd6
push esi
call fcn.0040d898
pop ecx
pop ecx
cmp esi, 0xa
jbe 0x40721b
push 0x18
pop ebp
lea esi, [edi - 0x18]
sub ebp, ebx
push esi
lea ecx, [esp + 0x1c]
call fcn.00407826
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x4071ad
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.004096be
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x4071e7
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
mov ecx, esi
call fcn.004098d4
push 0
push 1
lea ecx, [esp + 0x20]
sub edi, 0x20
sub esi, 0x20
call fcn.004098d4
lea eax, [esi + ebp]
sar eax, 5
cmp eax, 0xa
ja 0x407194
test ebx, ebx
je 0x40723f
mov esi, ebx
cmp ebx, edi
je 0x407238
push 0
push 1
lea ecx, [esi + 8]
call fcn.004098d4
add esi, 0x20
cmp esi, edi
jne 0x407225
push ebx
call fcn.00411e25
pop ecx
push 0
push 1
lea ecx, [esp + 0x58]
call fcn.004098d4
push 0
push 1
lea ecx, [esp + 0x70]
call fcn.004098d4
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00410549
add esp, 0x2e4
ret