Function at 0x41248d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423dfc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x208
push edi
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004226f2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.004226f2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call fcn.004226f2
mov byte [ebp - 4], 3
mov byte [ebp - 0x114], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x13c], 0
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::CFileFind
mov byte [ebp - 4], 4
cmp dword [ebp + 8], 0
jne 0x412549
jmp 0x412d69
cmp dword [ebp + 0xc], 0
jne 0x412554
jmp 0x412d69
lea ecx, [ebp - 0x158]
call fcn.004188d0
push str.Kav_____.DAT
mov eax, dword [ebp + 8]
push eax
push 0x4341a4
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push 0
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::FindFile
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x4126ae
xor eax, eax
mov al, byte [0x4331a0]
test eax, eax
jne 0x4125b4
jmp 0x412d69
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x138]
call fcn.00418720
test eax, eax
jne 0x4126a9
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x4126a9
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::GetFileName
mov dword [ebp - 0x1a8], eax
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x140]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::CString
push str..DAT
push 4
lea ecx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x140]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x1b0], eax
mov edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1b4]
call fcn.0040aa40
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x168], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x16c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x168]
and eax, 0xff
test eax, eax
je 0x4126a9
lea ecx, [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x158]
call fcn.00418930
jmp 0x412597
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x158]
call fcn.004188b0
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 1
jg 0x4126d8
jmp 0x412d5f
push 0
lea edx, [ebp - 0x170]
push edx
lea ecx, [ebp - 0x158]
call fcn.004188f0
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1bc]
push ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x170]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp + 0x14], 0
je 0x412b94
mov dword [ebp - 0x13c], 1
jmp 0x412745
mov edx, dword [ebp - 0x13c]
add edx, 1
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x144]
jge 0x4127e4
xor ecx, ecx
mov cl, byte [0x4331a0]
test ecx, ecx
jne 0x412768
jmp 0x412d69
mov edx, dword [ebp - 0x13c]
push edx
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x158]
call fcn.004188f0
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x1c4]
push edx
lea ecx, [ebp - 0x140]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x174]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x140]
call fcn.004040f0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040aa40
test eax, eax
jge 0x4127df
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
jmp 0x412736
mov dword [ebp - 0x13c], 0
jmp 0x4127ff
mov ecx, dword [ebp - 0x13c]
add ecx, 1
mov dword [ebp - 0x13c], ecx
mov edx, dword [ebp - 0x13c]
cmp edx, dword [ebp - 0x144]
jge 0x412927
xor eax, eax
mov al, byte [0x4331a0]
test eax, eax
jne 0x412821
jmp 0x412d69
mov ecx, dword [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x178]
push edx
lea ecx, [ebp - 0x158]
call fcn.004188f0
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1cc]
push ecx
lea ecx, [ebp - 0x140]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x178]
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x140]
push eax
call fcn.00418960
and eax, 0xff
test eax, eax
je 0x412922
lea ecx, [ebp - 0x140]
call fcn.004040f0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1a4]
call fcn.00410fa9
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x412922
cmp dword [ebp + 0x10], 0
je 0x412922
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x17c]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1d4]
push ecx
lea ecx, [ebp - 0x140]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x17c]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x140]
call fcn.004040f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4127f0
push 5
push 3
lea edx, [ebp - 0x180]
push edx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Mid_1
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1dc]
push ecx
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x180]
call sub.MFC42.DLL_CString::CString
push str..UPD
lea edx, [ebp - 0x118]
push edx
push 0x4341bc
lea eax, [ebp - 0x184]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x1e4]
push edx
lea eax, [ebp - 0x188]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1ec], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x1ec]
push edx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x188]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x184]
call sub.MFC42.DLL_CString::CString
push str.Kav_____.UPD
mov eax, dword [ebp + 8]
push eax
push 0x4341d0
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push 0
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::FindFile
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x412b84
xor eax, eax
mov al, byte [0x4331a0]
test eax, eax
jne 0x412a4f
jmp 0x412d69
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x138]
call fcn.00418720
test eax, eax
jne 0x412b7f
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x412b7f
lea ecx, [ebp - 0x18c]
push ecx
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::GetFileName
mov dword [ebp - 0x1f0], eax
mov edx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f4], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x140]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18c]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
call fcn.004040f0
push eax
lea ecx, [ebp - 0x140]
call fcn.0040aa40
test eax, eax
jg 0x412b7f
lea ecx, [ebp - 0x140]
call fcn.004040f0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1a4]
call fcn.00410fa9
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0
je 0x412b7f
cmp dword [ebp + 0x10], 0
je 0x412b7f
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x190]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1fc]
push ecx
lea ecx, [ebp - 0x140]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x190]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x140]
call fcn.004040f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x412a32
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::Close
jmp 0x412d5f
mov dword [ebp - 0x13c], 1
jmp 0x412baf
mov edx, dword [ebp - 0x13c]
add edx, 1
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x144]
jge 0x412c4e
xor ecx, ecx
mov cl, byte [0x4331a0]
test ecx, ecx
jne 0x412bd2
jmp 0x412d69
mov edx, dword [ebp - 0x13c]
push edx
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x158]
call fcn.004188f0
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x204], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x204]
push edx
lea ecx, [ebp - 0x140]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x194]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x140]
call fcn.004040f0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040aa40
test eax, eax
jle 0x412c49
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
jmp 0x412ba0
mov dword [ebp - 0x13c], 0
jmp 0x412c69
mov ecx, dword [ebp - 0x13c]
add ecx, 1
mov dword [ebp - 0x13c], ecx
mov edx, dword [ebp - 0x13c]
cmp edx, dword [ebp - 0x144]
jge 0x412d5f
xor eax, eax
mov al, byte [0x4331a0]
test eax, eax
jne 0x412c8b
jmp 0x412d69
mov ecx, dword [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x198]
push edx
lea ecx, [ebp - 0x158]
call fcn.004188f0
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x20c], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x140]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x198]
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x140]
push eax
call fcn.00418960
and eax, 0xff
test eax, eax
je 0x412d5a
cmp dword [ebp + 0x10], 0
je 0x412d5a
lea ecx, [ebp - 0x140]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x19c]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x214], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x214]
push edx
lea ecx, [ebp - 0x140]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x19c]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x140]
call fcn.004040f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x412c5a
mov dword [ebp - 0x15c], 1
lea ecx, [ebp - 0x158]
call fcn.004188d0
cmp dword [ebp - 0x15c], 0
je 0x412d8e
push 0
push str.Backup_and_delete_Old_Virus_DB_Success.
call fcn.00410257
add esp, 8
jmp 0x412d9d
push 0
push str.Backup_and_delete_Old_Virus_DB_Failed.
call fcn.00410257
add esp, 8
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x138]
call fcn.0042292c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.0042296e
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0x10