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

Disassembly:
push 0x1f4
mov eax, 0x563c8a
call fcn.0053cdbf
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1f0], esi
cmp dword [esi + 0x64], ebx
jle 0x404b36
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
lea eax, [ebp - 0x1dc]
push eax
mov dword [ebp - 4], ebx
call fcn.005390a5
mov eax, dword [esi + 0x64]
imul eax, eax, 0x15180
cdq
sub dword [ebp - 0x1dc], eax
pop ecx
lea eax, [ebp - 0x1dc]
sbb dword [ebp - 0x1d8], edx
push eax
call fcn.0053937e
pop ecx
lea ecx, [esi + 0x24]
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x1d0], ecx
jb 0x40481a
mov ecx, dword [ecx]
push dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
inc edx
push edx
add eax, 0x76c
push eax
push ecx
push str._s__04d_02d_02d.log
lea ecx, [ebp - 0x34]
call fcn.00403e31
add esp, 0x14
mov esi, eax
lea edi, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00401ac8
push ebx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.00401b12
push str.__0_9_4_0_1_9_1_0_2___0_1_9__12__0_9_3_01__.log
push dword [ebp - 0x1d0]
lea eax, [ebp - 0x34]
push eax
call fcn.00406812
add esp, 0xc
lea ecx, [ebp - 0x200]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00406896
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00401b12
mov dword [ebp - 0x1ec], ebx
mov dword [ebp - 0x1e8], ebx
mov dword [ebp - 0x1e4], ebx
mov ebx, edi
lea edi, [ebp - 0x1ec]
mov byte [ebp - 4], 5
call fcn.004055ca
mov eax, dword [ebp - 0x1f0]
add eax, 8
push 0x5993e0
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00406812
add esp, 0xc
mov byte [ebp - 4], 7
cmp dword [ebp - 0x58], 0x10
mov eax, dword [ebp - 0x6c]
jae 0x4048da
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x1cc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x1d0], esi
cmp esi, 0xffffffff
je 0x40495e
test byte [ebp - 0x1cc], 0x12
jne 0x404945
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00406922
pop ecx
test al, al
je 0x404945
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x34]
call fcn.004019c1
lea ebx, [ebp - 0x34]
lea edi, [ebp - 0x1ec]
mov byte [ebp - 4], 8
call fcn.004055ca
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.00401b12
lea eax, [ebp - 0x1cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4048f5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 6
mov ebx, dword [ebp - 0x1e8]
mov edi, dword [ebp - 0x1ec]
mov eax, ebx
sub eax, edi
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 1
jbe 0x404ac4
push eax
push ebx
push edi
call fcn.00406c4f
add esp, 0xc
mov esi, edi
cmp edi, ebx
je 0x4049aa
lea eax, [ebp - 0x50]
mov ecx, esi
call fcn.00405232
test eax, eax
je 0x4049aa
add esi, 0x1c
cmp esi, ebx
jne 0x404995
mov dword [ebp - 0x1d8], esi
cmp esi, ebx
je 0x404ac4
mov dword [ebp - 0x1d0], edi
mov eax, dword [ebp - 0x1d8]
cmp dword [ebp - 0x1d0], eax
je 0x404ac4
mov eax, dword [ebp - 0x1f0]
add eax, 8
push 0x59930c
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0xb
call fcn.00406812
add esp, 0xc
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0040699a
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.00401b12
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x404a24
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00401b12
mov dword [ebp - 4], 6
jmp 0x404ab8
add dword [ebp - 0x1d0], 0x1c
jmp 0x4049be
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x6c]
call fcn.00401b12
mov esi, dword [ebp - 0x1ec]
cmp esi, edi
je 0x404afa
jmp 0x404aea
push edi
push 1
mov ecx, esi
call fcn.00401b12
add esi, 0x1c
cmp esi, ebx
jne 0x404add
push dword [ebp - 0x1ec]
call fcn.00437902
pop ecx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x200]
cmp eax, edi
je 0x404b1a
dec dword [eax + 0x1c]
jne 0x404b1a
mov eax, dword [ebp - 0x200]
push edi
call fcn.00403a9e
pop ecx
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x200], edi
call fcn.0040128b
push edi
push 1
lea ecx, [ebp - 0x50]
call fcn.00401b12
call fcn.0053ce1b
ret