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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffaa8
xor eax, eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
movsx edx, byte [edi + 1]
cmp edx, 0x3a
je 0x418d4c
push 2
push 0x466994
push edi
call fcn.0042be6c
add esp, 0xc
test eax, eax
jne 0x418d75
push esi
xor eax, eax
push edi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x114]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x418dad
push 0x104
lea eax, [ebp - 0x114]
push eax
call fcn.0042e588
add esp, 8
push 0x466997
lea edx, [ebp - 0x114]
push edx
call fcn.0042bd64
add esp, 8
push edi
lea ecx, [ebp - 0x114]
push ecx
call fcn.0042bd64
add esp, 8
push 0x466999
push esi
call fcn.00417488
add esp, 8
call fcn.00418828
lea eax, [ebp - 8]
lea edx, [ebp - 0x114]
push eax
push 0
push 0x46699d
push esi
push edx
call dword [0x46a874]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x418dec
call fcn.00418844
xor eax, eax
jmp 0x419022
cmp dword [0x46b1cc], 0
jne 0x418e42
mov eax, dword [0x43c188]
cmp eax, 4
jl 0x418e05
cmp dword [ebp - 8], 0
je 0x418e11
mov dword [0x46b1cc], 3
jmp 0x418e42
cmp ebx, 1
jne 0x418e2b
mov edx, 9
cmp eax, 5
jge 0x418e23
add edx, 0xfffffffb
mov dword [0x46b1cc], edx
jmp 0x418e42
mov ecx, 0xa
cmp dword [0x43c188], 5
jge 0x418e3c
add ecx, 0xfffffffe
mov dword [0x46b1cc], ecx
call fcn.00418844
push esi
push edi
xor eax, eax
mov edi, esi
or ecx, 0xffffffff
lea esi, [ebp - 0x218]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x218]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push str..
push eax
call fcn.0042bd64
add esp, 8
xor edx, edx
mov dword [ebp - 4], edx
lea ecx, [ebp - 0x558]
push ecx
lea eax, [ebp - 0x218]
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x418eac
xor eax, eax
jmp 0x419022
movsx edx, byte [ebp - 0x52c]
cmp edx, 0x2e
je 0x418fe8
push esi
push edi
xor eax, eax
mov edi, esi
or ecx, 0xffffffff
lea esi, [ebp - 0x218]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x218]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x4669a6
push eax
call fcn.0042bd64
add esp, 8
lea edx, [ebp - 0x52c]
push edx
lea ecx, [ebp - 0x218]
push ecx
call fcn.0042bd64
add esp, 8
lea eax, [ebp - 0x218]
push 0x20
push 1
push eax
call fcn.0042d8f0
add esp, 0xc
cmp ebx, 1
jne 0x418f2f
mov dword [0x46a898], edi
jmp 0x418f3b
lea edx, [ebp - 0x218]
mov dword [0x46a898], edx
mov byte [0x46a885], 0
lea ecx, [ebp - 0x52c]
push ecx
lea eax, [ebp - 0x218]
push eax
call fcn.004022a8
add dword [ebp - 0xc], eax
test eax, eax
jne 0x418f65
cmp byte [0x46a885], 0
je 0x418fdc
cmp dword [ebp - 8], 0
je 0x418fd9
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.0042da94
add esp, 8
test eax, eax
je 0x418fab
lea ecx, [ebp - 0x52c]
lea eax, [ebp - 0x114]
push ecx
push eax
call dword [0x46a878]
inc eax
jne 0x418fdc
push 0x4669d0
push str.Cannot_clean_infected_file_from_archive
call fcn.00418598
add esp, 8
jmp 0x418fdc
push 0
lea edx, [ebp - 0x52c]
push edx
push esi
lea ecx, [ebp - 0x114]
push ecx
call dword [0x46a870]
inc eax
jne 0x418fdc
push 0x4669fc
push str.Cannot_update_archive_with_clean_file
call fcn.00418598
add esp, 8
jmp 0x418fdc
inc dword [ebp - 4]
lea eax, [ebp - 0x218]
push eax
call sub.KERNEL32.DLL_DeleteFileA
lea edx, [ebp - 0x558]
push edx
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x418eac
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_FindClose
cmp ebx, dword [ebp - 4]
jg 0x41901f
push 0
lea edx, [ebp - 0x114]
push edx
call fcn.00417790
add esp, 8
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret