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

Disassembly:
push 0x1f4
mov eax, 0x564993
call fcn.0053daaf
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1f0], esi
cmp dword [esi + 0x64], ebx
jle 0x404afb
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.00539d95
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.0053a06e
pop ecx
lea ecx, [esi + 0x24]
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x1d0], ecx
jb 0x4047df
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.00403df6
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.004067c3
add esp, 0xc
lea ecx, [ebp - 0x200]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00406847
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.0040557e
mov eax, dword [ebp - 0x1f0]
add eax, 8
push 0x599400
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004067c3
add esp, 0xc
mov byte [ebp - 4], 7
cmp dword [ebp - 0x58], 0x10
mov eax, dword [ebp - 0x6c]
jae 0x40489f
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 0x404923
test byte [ebp - 0x1cc], 0x12
jne 0x40490a
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004068d3
pop ecx
test al, al
je 0x40490a
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.0040557e
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 0x4048ba
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 0x404a89
push eax
push ebx
push edi
call fcn.00406c00
add esp, 0xc
mov esi, edi
cmp edi, ebx
je 0x40496f
lea eax, [ebp - 0x50]
mov ecx, esi
call fcn.004051f7
test eax, eax
je 0x40496f
add esi, 0x1c
cmp esi, ebx
jne 0x40495a
mov dword [ebp - 0x1d8], esi
cmp esi, ebx
je 0x404a89
mov dword [ebp - 0x1d0], edi
mov eax, dword [ebp - 0x1d8]
cmp dword [ebp - 0x1d0], eax
je 0x404a89
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.004067c3
add esp, 0xc
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0040694b
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 0x4049e9
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 0x404a7d
add dword [ebp - 0x1d0], 0x1c
jmp 0x404983
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x6c]
call fcn.00401afd
mov esi, dword [ebp - 0x1ec]
cmp esi, edi
je 0x404abf
jmp 0x404aaf
push edi
push 1
mov ecx, esi
call fcn.00401afd
add esi, 0x1c
cmp esi, ebx
jne 0x404aa2
push dword [ebp - 0x1ec]
call fcn.004385e0
pop ecx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x200]
cmp eax, edi
je 0x404adf
dec dword [eax + 0x1c]
jne 0x404adf
mov eax, dword [ebp - 0x200]
push edi
call fcn.00403a83
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.0053db0b
ret