Function at 0x4ae1a3
Capabilities:
Delete file

Disassembly:
mov eax, 0x53d5cc
call fcn.004eec88
sub esp, 0x140
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
xor ebx, ebx
push str.VirusScan.dll
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00509ffe
mov byte [ebp - 4], 1
call fcn.005245be
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x14c]
push 0x104
push ecx
push dword [eax + 0x68]
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp - 0x14c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00509ffe
push 0x5c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00505b61
inc eax
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00505ae9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0050a0c9
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00509f90
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0050a1bf
lea eax, [ebp - 0x14]
push str.VirusScan.pre
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 4
call fcn.0050a225
lea eax, [ebp - 0x14]
push str.VirusScan.new
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 5
call fcn.0050a225
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004e7545
push ebx
lea ecx, [ebp - 0x48]
push dword [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.004e7608
cmp eax, ebx
jne 0x4ae2ed
push ebx
lea ecx, [ebp - 0x48]
push dword [ebp - 0x1c]
call fcn.004e7608
cmp eax, ebx
jne 0x4ae2ed
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004e7582
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00509f90
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00509f90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00509f90
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00509f90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00509f90
push 3
jmp 0x4ae5ed
push ebx
lea ecx, [ebp - 0x48]
push dword [ebp - 0x20]
call fcn.004e7608
cmp eax, ebx
je 0x4ae37a
push dword [ebp - 0x20]
call fcn.004cdc70
cmp eax, ebx
pop ecx
jne 0x4ae358
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004e7582
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00509f90
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00509f90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00509f90
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00509f90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00509f90
push 5
jmp 0x4ae5ed
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.004f19cc
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.004f19cc
add esp, 0x10
mov eax, dword [0x5927d4]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.004cdc70
cmp eax, ebx
pop ecx
jne 0x4ae429
push ebx
lea ecx, [ebp - 0x48]
push dword [ebp - 0x1c]
call fcn.004e7608
cmp eax, ebx
jne 0x4ae401
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00509f90
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004e7582
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00509f90
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00509f90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00509f90
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00509f90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00509f90
push 4
jmp 0x4ae5ed
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.004f19cc
pop ecx
pop ecx
push ebx
mov ecx, edi
push dword [ebp + 8]
call fcn.004ae1a3
mov esi, eax
jmp 0x4ae52e
mov eax, dword [edi]
push 1
push str.WT_AutoVirusCheck
push str.System
mov ecx, edi
call dword [eax + 0xa4]
cmp eax, ebx
jne 0x4ae4a2
cmp dword [ebp + 0xc], ebx
jne 0x4ae4a2
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00509f90
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004e7582
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00509f90
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00509f90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00509f90
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00509f90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00509f90
push 2
jmp 0x4ae5ed
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
cmp esi, ebx
je 0x4ae598
push str.DoVirusScan
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, ebx
mov dword [edi + 0xfc], eax
je 0x4ae591
mov eax, dword [0x5927d4]
mov dword [ebp + 0xc], eax
push 0x80ac
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
call fcn.0050f456
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edi + 0xfc]
cmp eax, 1
jne 0x4ae50a
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.00509f90
jmp 0x4ae448
cmp eax, 2
jne 0x4ae585
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push ebx
push 4
mov ecx, edi
call fcn.004ae1a3
lea ecx, [ebp + 0xc]
mov esi, eax
mov byte [ebp - 4], 8
call fcn.00509f90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00509f90
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004e7582
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00509f90
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00509f90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00509f90
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00509f90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00509f90
mov eax, esi
jmp 0x4ae5f8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.00509f90
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00509f90
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004e7582
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00509f90
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00509f90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00509f90
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00509f90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00509f90
push 1
pop eax
jmp 0x4ae5f8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8