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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x414008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ecx
mov edx, ecx
lea ecx, [ebp - 0x6c]
call fcn.0040675d
lea edx, [ebp - 0x6c]
mov dword [esp], str..dmp
lea ecx, [ebp - 0x54]
call fcn.0040b80c
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
pop ecx
cmovae eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x2c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c8], eax
cmp eax, 0xffffffff
je 0x4075f2
xor ebx, ebx
xor edi, edi
xor esi, esi
mov dword [ebp - 0x2d4], ebx
mov dword [ebp - 0x2d0], edi
mov dword [ebp - 0x2c4], esi
mov dword [ebp - 0x2cc], esi
mov eax, dword [ebp - 0x2ac]
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x294]
push eax
push 0x410dbc
call fcn.0040b80c
pop ecx
mov edx, eax
lea ecx, [ebp - 0x34]
call fcn.0040b886
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004091f1
lea eax, [ebp - 0x3c]
cmp eax, edi
jae 0x40748e
cmp ebx, eax
ja 0x40748e
mov esi, eax
sub esi, ebx
cmp edi, dword [ebp - 0x2c4]
jne 0x407474
push ecx
lea ecx, [ebp - 0x2d4]
call fcn.00408db3
mov eax, dword [ebp - 0x2cc]
mov edi, dword [ebp - 0x2d0]
mov ebx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2c4], eax
and esi, 0xffffffe0
test edi, edi
je 0x4074d1
mov eax, dword [esi + ebx]
mov dword [edi], eax
mov eax, dword [esi + ebx + 4]
mov dword [edi + 4], eax
lea eax, [ebx + 8]
add eax, esi
jmp 0x4074c8
cmp edi, esi
jne 0x4074b6
push ecx
lea ecx, [ebp - 0x2d4]
call fcn.00408db3
mov eax, dword [ebp - 0x2cc]
mov edi, dword [ebp - 0x2d0]
mov ebx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2c4], eax
test edi, edi
je 0x4074d1
mov eax, dword [ebp - 0x3c]
mov dword [edi], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 4], eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 8]
call fcn.00407b3b
push 0
add edi, 0x20
lea ecx, [ebp - 0x34]
push 1
mov dword [ebp - 0x2d0], edi
call fcn.004091f1
lea eax, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [ebp - 0x2c4]
test eax, eax
jne 0x4073f8
mov esi, edi
mov dword [ebp - 0x2c8], 0x407366
lea eax, [ebp - 0x2c8]
sub esi, ebx
push eax
sar esi, 5
mov edx, edi
push esi
mov ecx, ebx
call fcn.0040c2df
pop ecx
pop ecx
cmp esi, 0xa
jbe 0x4075c0
push 0x18
lea eax, [edi - 0x18]
pop esi
sub esi, ebx
mov dword [ebp - 0x2c8], eax
mov ebx, eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00407b3b
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x410f00
call fcn.004011db
push eax
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
push 0x410f00
push 4
add eax, 0xfffffffc
push eax
call fcn.004092df
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
mov ecx, ebx
call fcn.004091f1
push 0
push 1
lea ecx, [ebp - 0x1c]
sub edi, 0x20
sub ebx, 0x20
call fcn.004091f1
lea eax, [esi + ebx]
sar eax, 5
cmp eax, 0xa
ja 0x407544
mov ebx, dword [ebp - 0x2d4]
test ebx, ebx
je 0x4075f2
mov esi, ebx
cmp ebx, edi
je 0x4075dd
push 0
push 1
lea ecx, [esi + 8]
call fcn.004091f1
add esi, 0x20
cmp esi, edi
jne 0x4075ca
mov edx, dword [ebp - 0x2c4]
mov ecx, ebx
sub edx, ebx
push 0x20
sar edx, 5
call fcn.004012d4
pop ecx
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.004091f1
push 0
push 1
lea ecx, [ebp - 0x6c]
call fcn.004091f1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e268
mov esp, ebp
pop ebp
ret