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

Disassembly:
push 0x1f4
mov eax, 0x56426b
call fcn.0053d3cf
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1f0], esi
cmp dword [esi + 0x64], ebx
jle 0x404b4f
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.005396b5
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.0053998e
pop ecx
lea ecx, [esi + 0x24]
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x1d0], ecx
jb 0x404833
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.00403e46
add esp, 0x14
mov esi, eax
lea edi, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00401aae
push ebx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.00401af8
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.0040682d
add esp, 0xc
lea ecx, [ebp - 0x200]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004068b1
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00401af8
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.0040560c
mov eax, dword [ebp - 0x1f0]
add eax, 8
push 0x599400
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040682d
add esp, 0xc
mov byte [ebp - 4], 7
cmp dword [ebp - 0x58], 0x10
mov eax, dword [ebp - 0x6c]
jae 0x4048f3
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 0x404977
test byte [ebp - 0x1cc], 0x12
jne 0x40495e
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0040693d
pop ecx
test al, al
je 0x40495e
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x34]
call fcn.004019a7
lea ebx, [ebp - 0x34]
lea edi, [ebp - 0x1ec]
mov byte [ebp - 4], 8
call fcn.0040560c
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.00401af8
lea eax, [ebp - 0x1cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40490e
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 0x404add
push eax
push ebx
push edi
call fcn.00406c6a
add esp, 0xc
mov esi, edi
cmp edi, ebx
je 0x4049c3
lea eax, [ebp - 0x50]
mov ecx, esi
call fcn.00405274
test eax, eax
je 0x4049c3
add esi, 0x1c
cmp esi, ebx
jne 0x4049ae
mov dword [ebp - 0x1d8], esi
cmp esi, ebx
je 0x404add
mov dword [ebp - 0x1d0], edi
mov eax, dword [ebp - 0x1d8]
cmp dword [ebp - 0x1d0], eax
je 0x404add
mov eax, dword [ebp - 0x1f0]
add eax, 8
push 0x59932c
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040682d
add esp, 0xc
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.004069b5
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.00401af8
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x404a3d
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00401af8
mov dword [ebp - 4], 6
jmp 0x404ad1
add dword [ebp - 0x1d0], 0x1c
jmp 0x4049d7
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x6c]
call fcn.00401af8
mov esi, dword [ebp - 0x1ec]
cmp esi, edi
je 0x404b13
jmp 0x404b03
push edi
push 1
mov ecx, esi
call fcn.00401af8
add esi, 0x1c
cmp esi, ebx
jne 0x404af6
push dword [ebp - 0x1ec]
call fcn.00437ef9
pop ecx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x200]
cmp eax, edi
je 0x404b33
dec dword [eax + 0x1c]
jne 0x404b33
mov eax, dword [ebp - 0x200]
push edi
call fcn.00403ab3
pop ecx
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x200], edi
call fcn.0040128b
push edi
push 1
lea ecx, [ebp - 0x50]
call fcn.00401af8
call fcn.0053d42b
ret