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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41d55c
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x424084]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x424084]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov edi, ecx
push 0x251
mov dword [esp + 0x40], edi
call fcn.0040ecc5
push 0x251
mov esi, eax
push 0
push esi
mov dword [esp + 0x28], esi
call fcn.00415410
lea eax, [edi + 0x10]
push eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0xa0]
lea ebx, [edi + 0x2c]
push eax
call fcn.0040e920
push eax
xor edi, edi
mov eax, str..log
lea ecx, [esp + 0x8c]
mov dword [esp + 0xd4], edi
call fcn.00404eb0
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x40daa1
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [esp + 0x84], 8
mov ebx, eax
mov dword [esp + 0x28], ebx
jb 0x40dac6
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0040ecdf
add esp, 4
xor edx, edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0xa0], 8
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], edi
mov word [esp + 0x70], dx
jb 0x40db04
mov eax, dword [esp + 0x8c]
push eax
call fcn.0040ecdf
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], edi
mov word [esp + 0x8c], cx
cmp ebx, 0xffffffff
je 0x40dde9
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0xbc], 1
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x42501c]
mov edx, dword [eax + 0xc]
mov ecx, 0x42501c
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0xb8], 2
movzx eax, word [esp + 0x66]
movzx ecx, word [esp + 0x62]
movzx edx, word [esp + 0x60]
push eax
push ecx
push edx
push str._02d__02d__02d
lea edi, [esp + 0x30]
call fcn.0040e900
add esp, 0x10
add esi, 0x2c
mov dword [esp + 0x24], esi
mov eax, dword [0x42501c]
mov edx, dword [eax + 0xc]
mov ecx, 0x42501c
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov byte [esp + 0xb8], 3
test esi, esi
je 0x40dbdf
test esi, 0xffff0000
jne 0x40dbe3
movzx edi, si
push edi
call fcn.0040e9d0
add esp, 4
test eax, eax
je 0x40dc10
push eax
mov eax, edi
lea edi, [esp + 0x18]
call fcn.0040e770
jmp 0x40dc0c
xor eax, eax
jmp 0x40dbff
mov eax, esi
lea edx, [eax + 2]
jmp 0x40dbf0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40dbf0
sub eax, edx
sar eax, 1
push esi
lea ecx, [esp + 0x18]
push ecx
mov ebx, eax
call fcn.0040e640
mov ebx, dword [esp + 0x14]
mov byte [esp + 0xb8], 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40dc3d
cmp dword [ebx - 0xc], 0
jl 0x40dc3d
push eax
push ebx
call fcn.00410031
add esp, 8
test eax, eax
je 0x40dc3d
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
jne 0x40dca6
xor edx, edx
mov eax, esi
mov word [esp + 0x44], dx
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40dc60
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x48]
call fcn.00401890
mov ecx, esi
lea edi, [esp + 0x2c]
mov byte [esp + 0xb8], 5
call fcn.00403d00
cmp dword [esp + 0x58], 8
jb 0x40dca2
mov eax, dword [esp + 0x44]
push eax
call fcn.0040ecdf
add esp, 4
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0x20]
add dword [esp + 0x1c], ecx
push 0x251
push 0
push edi
call fcn.00415410
lea eax, [ebx - 0x10]
add esp, 0xc
mov byte [esp + 0xb8], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dce5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40db97
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x40dd7f
mov ecx, esi
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40dd7f
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
lea ebx, [ebx]
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.0040e920
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x40dd5a
mov eax, dword [eax]
push eax
call esi
cmp dword [esp + 0x58], 8
jb 0x40dd71
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0040ecdf
add esp, 4
add ebx, 0x1c
dec edi
jne 0x40dd40
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dda7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x40dde5
mov edi, ebx
cmp ebx, esi
je 0x40dddc
cmp dword [edi + 0x14], 8
jb 0x40ddc2
mov ecx, dword [edi]
push ecx
call fcn.0040ecdf
add esp, 4
xor edx, edx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], dx
add edi, 0x1c
cmp edi, esi
jne 0x40ddb1
push ebx
call fcn.0040ecdf
add esp, 4
mov esi, dword [esp + 0x18]
push esi
call fcn.0040f854
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0040ecd0
mov esp, ebp
pop ebp
ret