Function at 0x4b5f73
Capabilities:
Delete file

Disassembly:
mov eax, 0x547a98
call fcn.004f8378
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.0051379e
mov byte [ebp - 4], 1
call fcn.0052dc74
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.0051379e
push 0x5c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0050f2e1
inc eax
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0050f269
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00513869
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00513730
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0051395f
lea eax, [ebp - 0x14]
push str.VirusScan.pre
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 4
call fcn.005139c5
lea eax, [ebp - 0x14]
push str.VirusScan.new
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 5
call fcn.005139c5
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004f0cff
push ebx
lea ecx, [ebp - 0x48]
push dword [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.004f0dc2
cmp eax, ebx
jne 0x4b60bd
push ebx
lea ecx, [ebp - 0x48]
push dword [ebp - 0x1c]
call fcn.004f0dc2
cmp eax, ebx
jne 0x4b60bd
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004f0d3c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00513730
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00513730
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00513730
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00513730
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00513730
push 3
jmp 0x4b63bd
push ebx
lea ecx, [ebp - 0x48]
push dword [ebp - 0x20]
call fcn.004f0dc2
cmp eax, ebx
je 0x4b614a
push dword [ebp - 0x20]
call fcn.004d69e0
cmp eax, ebx
pop ecx
jne 0x4b6128
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004f0d3c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00513730
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00513730
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00513730
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00513730
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00513730
push 5
jmp 0x4b63bd
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.004fb2bc
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.004fb2bc
add esp, 0x10
mov eax, dword [0x59fe84]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.004d69e0
cmp eax, ebx
pop ecx
jne 0x4b61f9
push ebx
lea ecx, [ebp - 0x48]
push dword [ebp - 0x1c]
call fcn.004f0dc2
cmp eax, ebx
jne 0x4b61d1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00513730
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004f0d3c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00513730
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00513730
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00513730
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00513730
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00513730
push 4
jmp 0x4b63bd
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.004fb2bc
pop ecx
pop ecx
push ebx
mov ecx, edi
push dword [ebp + 8]
call fcn.004b5f73
mov esi, eax
jmp 0x4b62fe
mov eax, dword [edi]
push 1
push str.WT_AutoVirusCheck
push str.System
mov ecx, edi
call dword [eax + 0xa4]
cmp eax, ebx
jne 0x4b6272
cmp dword [ebp + 0xc], ebx
jne 0x4b6272
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00513730
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004f0d3c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00513730
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00513730
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00513730
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00513730
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00513730
push 2
jmp 0x4b63bd
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
je 0x4b6368
push str.DoVirusScan
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [edi + 0xfc], eax
je 0x4b6361
mov eax, dword [0x59fe84]
mov dword [ebp + 0xc], eax
push 0x80ac
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
call fcn.00518bf6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edi + 0xfc]
cmp eax, 1
jne 0x4b62da
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.00513730
jmp 0x4b6218
cmp eax, 2
jne 0x4b6355
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
push 4
mov ecx, edi
call fcn.004b5f73
lea ecx, [ebp + 0xc]
mov esi, eax
mov byte [ebp - 4], 8
call fcn.00513730
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00513730
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004f0d3c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00513730
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00513730
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00513730
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00513730
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00513730
mov eax, esi
jmp 0x4b63c8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.00513730
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00513730
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004f0d3c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00513730
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00513730
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00513730
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00513730
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00513730
push 1
pop eax
jmp 0x4b63c8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8