Function at 0x1000beb0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a45c
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x10045070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x428]
push eax
call fcn.10009da0
mov dword [ebp - 4], 0
mov eax, dword [0x100485ac]
test al, 1
jne 0x1000bf3a
or eax, 1
mov dword [0x100485ac], eax
mov byte [ebp - 4], 1
mov dword [0x100485a0], 0
mov dword [0x100485a4], 0
mov dword [0x100485a8], 0
call fcn.10002ff0
push 0x1002d2b0
call fcn.10027354
add esp, 4
mov byte [ebp - 4], 0
mov esi, dword [0x100485a4]
test esi, esi
je 0x1000c1f5
lea ecx, [ebp - 0x428]
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::IsEmpty_void_const]
test eax, eax
jne 0x1000c1f5
push 0x1003040c
lea ecx, [ebp - 0x444]
call fcn.100096c0
xor eax, eax
push 0x206
mov byte [ebp - 4], 2
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [esi]
add esp, 0xc
lea ecx, [ebp - 0x448]
push ecx
lea ecx, [ebp - 0x420]
push ecx
mov ecx, esi
mov dword [ebp - 0x448], 0x104
call dword [eax + 0x10]
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
test eax, eax
jne 0x1000c01d
mov eax, dword [ebp - 0x448]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10026ff4
mov edx, dword [esi]
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x448]
push eax
push ebx
mov ecx, esi
call dword [edx + 0x10]
push ebx
test eax, eax
jne 0x1000bff8
call edi
add esp, 4
xor bl, bl
jmp 0x1000c1c2
lea ecx, [ebp - 0x460]
call fcn.100096c0
push eax
lea ecx, [ebp - 0x444]
call fcn.10009680
lea ecx, [ebp - 0x460]
call fcn.10009cb0
push ebx
jmp 0x1000c04a
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x460]
call fcn.100096c0
push eax
lea ecx, [ebp - 0x444]
call fcn.10009680
cmp dword [ebp - 0x44c], 8
jb 0x1000c04f
push dword [ebp - 0x460]
call edi
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [ebp - 0x430], 8
lea esi, [ebp - 0x444]
cmovae esi, dword [ebp - 0x444]
push 0
lea ecx, [ebp - 0x428]
call dword [sym.imp.ouilibx.dll_public:_wchar_t____thiscall_OUI::COString::GetBuffer_int_]
push eax
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.Kernel32.dll
mov dword [ebp - 0x42c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, eax
test esi, esi
je 0x1000c0db
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000c0d8
lea ecx, [ebp - 0x42c]
push ecx
call eax
push esi
call ebx
lea eax, [ebp - 0x218]
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x218]
push eax
je 0x1000c17d
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1000c18b
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x424]
mov esi, eax
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_void_]
push esi
lea eax, [ebp - 0x424]
push str.click.virusscan.quarantine.deletefail__d
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.ouilibx.dll_public:_int___cdecl_OUI::COString::Format_wchar_t_const__]
add esp, 0xc
call dword [sym.imp.isafepxy.dll_public:_static_class_elex::commumod::SCommuMod____cdecl_elex::commumod::SCommuMod::instance_void_]
lea ecx, [ebp - 0x424]
call dword [sym.imp.ouilibx.dll_public:_wchar_t_const____thiscall_OUI::COString::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.isafepxy.dll_public:_static_int___cdecl_elex::commumod::SCommuMod::SendAction_wchar_t_const__]
add esp, 4
lea eax, [ebp - 0x218]
push esi
push eax
push str.CVirusScanRecoveryView::DeleteQuarantineItem_DeleteFile_failed:_path__s__err___d_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0xc
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 3
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
xor bl, bl
jmp 0x1000c18d
push str.CVirusScanRecoveryView::DeleteQuarantineItem__s_not_exists__return_true_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
mov bl, 1
push str.Kernel32.dll
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000c1c2
push str.Wow64RevertWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000c1ba
push dword [ebp - 0x42c]
call eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call eax
cmp dword [ebp - 0x430], 8
jb 0x1000c1d6
push dword [ebp - 0x444]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x430], 7
mov dword [ebp - 0x434], 0
mov word [ebp - 0x444], ax
jmp 0x1000c1f7
xor bl, bl
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10027146
mov esp, ebp
pop ebp
ret