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

Disassembly:
push 0x1f4
mov eax, 0x563ea6
call fcn.0053cedf
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1f0], esi
cmp dword [esi + 0x64], ebx
jle 0x404552
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.005391bd
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.00539496
pop ecx
lea ecx, [esi + 0x24]
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x1d0], ecx
jb 0x404236
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.0040384d
add esp, 0x14
mov esi, eax
lea edi, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00401ab3
push ebx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.00401afd
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.0040623a
add esp, 0xc
lea ecx, [ebp - 0x200]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004062be
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00401afd
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.00404fd5
mov eax, dword [ebp - 0x1f0]
add eax, 8
push 0x5991d0
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040623a
add esp, 0xc
mov byte [ebp - 4], 7
cmp dword [ebp - 0x58], 0x10
mov eax, dword [ebp - 0x6c]
jae 0x4042f6
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 0x40437a
test byte [ebp - 0x1cc], 0x12
jne 0x404361
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0040634a
pop ecx
test al, al
je 0x404361
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x34]
call fcn.004019a2
lea ebx, [ebp - 0x34]
lea edi, [ebp - 0x1ec]
mov byte [ebp - 4], 8
call fcn.00404fd5
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.00401afd
lea eax, [ebp - 0x1cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x404311
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 0x4044e0
push eax
push ebx
push edi
call fcn.00406677
add esp, 0xc
mov esi, edi
cmp edi, ebx
je 0x4043c6
lea eax, [ebp - 0x50]
mov ecx, esi
call fcn.00404c4e
test eax, eax
je 0x4043c6
add esi, 0x1c
cmp esi, ebx
jne 0x4043b1
mov dword [ebp - 0x1d8], esi
cmp esi, ebx
je 0x4044e0
mov dword [ebp - 0x1d0], edi
mov eax, dword [ebp - 0x1d8]
cmp dword [ebp - 0x1d0], eax
je 0x4044e0
mov eax, dword [ebp - 0x1f0]
add eax, 8
push 0x5990fc
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040623a
add esp, 0xc
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.004063c2
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.00401afd
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x404440
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00401afd
mov dword [ebp - 4], 6
jmp 0x4044d4
add dword [ebp - 0x1d0], 0x1c
jmp 0x4043da
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x6c]
call fcn.00401afd
mov esi, dword [ebp - 0x1ec]
cmp esi, edi
je 0x404516
jmp 0x404506
push edi
push 1
mov ecx, esi
call fcn.00401afd
add esi, 0x1c
cmp esi, ebx
jne 0x4044f9
push dword [ebp - 0x1ec]
call fcn.00437a37
pop ecx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x200]
cmp eax, edi
je 0x404536
dec dword [eax + 0x1c]
jne 0x404536
mov eax, dword [ebp - 0x200]
push edi
call fcn.004034ba
pop ecx
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x200], edi
call fcn.0040128b
push edi
push 1
lea ecx, [ebp - 0x50]
call fcn.00401afd
call fcn.0053cf3b
ret