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

Disassembly:
push 0x1f4
mov eax, 0x564716
call fcn.0053d77f
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1f0], esi
cmp dword [esi + 0x64], ebx
jle 0x404e55
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.00539a85
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.00539d5e
pop ecx
lea ecx, [esi + 0x24]
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x1d0], ecx
jb 0x404b39
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.0040414c
add esp, 0x14
mov esi, eax
lea edi, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00401dc3
push ebx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.00401e0d
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.00406b13
add esp, 0xc
lea ecx, [ebp - 0x200]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00406b97
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00401e0d
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.00405912
mov eax, dword [ebp - 0x1f0]
add eax, 8
push 0x5994c8
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00406b13
add esp, 0xc
mov byte [ebp - 4], 7
cmp dword [ebp - 0x58], 0x10
mov eax, dword [ebp - 0x6c]
jae 0x404bf9
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 0x404c7d
test byte [ebp - 0x1cc], 0x12
jne 0x404c64
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00406c23
pop ecx
test al, al
je 0x404c64
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x34]
call fcn.00401cbc
lea ebx, [ebp - 0x34]
lea edi, [ebp - 0x1ec]
mov byte [ebp - 4], 8
call fcn.00405912
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.00401e0d
lea eax, [ebp - 0x1cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x404c14
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 0x404de3
push eax
push ebx
push edi
call fcn.00406f50
add esp, 0xc
mov esi, edi
cmp edi, ebx
je 0x404cc9
lea eax, [ebp - 0x50]
mov ecx, esi
call fcn.0040557a
test eax, eax
je 0x404cc9
add esi, 0x1c
cmp esi, ebx
jne 0x404cb4
mov dword [ebp - 0x1d8], esi
cmp esi, ebx
je 0x404de3
mov dword [ebp - 0x1d0], edi
mov eax, dword [ebp - 0x1d8]
cmp dword [ebp - 0x1d0], eax
je 0x404de3
mov eax, dword [ebp - 0x1f0]
add eax, 8
push 0x5993f4
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0xb
call fcn.00406b13
add esp, 0xc
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00406c9b
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.00401e0d
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x404d43
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00401e0d
mov dword [ebp - 4], 6
jmp 0x404dd7
add dword [ebp - 0x1d0], 0x1c
jmp 0x404cdd
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x6c]
call fcn.00401e0d
mov esi, dword [ebp - 0x1ec]
cmp esi, edi
je 0x404e19
jmp 0x404e09
push edi
push 1
mov ecx, esi
call fcn.00401e0d
add esi, 0x1c
cmp esi, ebx
jne 0x404dfc
push dword [ebp - 0x1ec]
call fcn.004382c2
pop ecx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x200]
cmp eax, edi
je 0x404e39
dec dword [eax + 0x1c]
jne 0x404e39
mov eax, dword [ebp - 0x200]
push edi
call fcn.00403dd9
pop ecx
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x200], edi
call fcn.0040128b
push edi
push 1
lea ecx, [ebp - 0x50]
call fcn.00401e0d
call fcn.0053d7db
ret