Function at 0x60110ab0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x60148f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
push ebp
mov dword [esp + 0x10], 0
mov eax, dword [sym.scnkrnl.dll_class_CAVLog__g_pLog]
test eax, eax
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
je 0x60110afb
push str.CAVQuarantine::PerformIntegrityCheck_started
push 1
push 0x80
push eax
call sym.scnkrnl.dll_public:_void___cdecl_CAVLog::AddLogEntry_unsigned_long_int__unsigned_int__char_const__
add esp, 0x10
mov eax, dword [ebp + 0x40]
mov esi, dword [eax]
cmp esi, eax
mov byte [esp + 0x17], 0
je 0x60110d44
lea ecx, [ecx]
mov eax, dword [esp + 0x188]
mov edi, dword [eax]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x60110b28
or eax, 0xffffffff
jmp 0x60110b43
push 0x6014df50
push eax
call dword [sym.imp.MSVCR71.dll__mbsstr]
add esp, 8
test eax, eax
jne 0x60110b40
or eax, 0xffffffff
jmp 0x60110b43
sub eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x28]
cmp eax, 0xffffffff
setne al
cmp ecx, 1
jne 0x60110b6a
test al, al
je 0x60110b6a
mov eax, dword [esi + 0x10]
push 1
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
neg eax
sbb al, al
inc al
jmp 0x60110b74
mov eax, dword [ebp + 0x54]
mov al, byte [eax]
cmp byte [edi], al
sete al
test al, al
je 0x60110cf5
mov ecx, dword [esp + 0x188]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
test ecx, ecx
lea ebx, [esi + 0x14]
jl 0x60110e3d
mov dl, byte [eax]
lea eax, [esp + 0x10]
mov byte [esp + 0x10], dl
push eax
lea edx, [esp + 0x24]
lea ecx, [ebp + 0x94]
push edx
call fcn.60114630
mov ecx, dword [ebp + 0x98]
mov eax, dword [esp + 0x20]
cmp eax, ecx
je 0x60110c05
mov ebp, dword [eax + 0x14]
lea edi, [eax + 0x10]
push ebx
mov ecx, edi
call fcn.60109270
cmp eax, dword [edi + 4]
mov dword [esp + 0x24], eax
je 0x60110bed
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.MSVCR71.dll__mbscmp]
add esp, 8
test eax, eax
jl 0x60110bed
lea eax, [esp + 0x24]
jmp 0x60110bf8
mov eax, dword [edi + 4]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
cmp dword [eax], ebp
mov ebp, dword [esp + 0x1c]
setne al
test al, al
jne 0x60110c39
mov ecx, dword [esp + 0x188]
push ebx
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.60114a50
mov edi, dword [esp + 0x24]
mov eax, dword [eax]
add esp, 0xc
or edi, 1
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov byte [esp + 0x10], 0
jne 0x60110c3e
mov byte [esp + 0x10], 1
test byte [esp + 0x18], 1
je 0x60110c6e
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
and edx, 0xfffffffe
add eax, 0xfffffff0
mov dword [esp + 0x18], edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60110c6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x10]
test al, al
mov eax, dword [esi + 0x24]
je 0x60110ced
test eax, 0x200000
jne 0x60110c9a
push esi
lea eax, [esp + 0x38]
push eax
lea ecx, [ebp + 0x3c]
call fcn.60115cd0
mov esi, dword [eax]
mov byte [esp + 0x17], 1
jmp 0x60110d3b
mov ecx, dword [esp + 0x188]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x60110e3d
movsx edx, byte [eax]
push edx
call dword [sym.imp.MSVCR71.dll_tolower]
add esp, 4
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [ebp + 0x94]
call fcn.60114630
mov eax, dword [ebp + 0x98]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
je 0x60110cf5
push ebx
add ecx, 0x10
call fcn.60116580
jmp 0x60110cf5
and eax, 0xffdfffff
mov dword [esi + 0x24], eax
mov al, byte [esi + 0x31]
test al, al
jne 0x60110d3b
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x31]
test cl, cl
jne 0x60110d1e
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x31]
test cl, cl
jne 0x60110d3b
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x31]
test cl, cl
je 0x60110d11
jmp 0x60110d3b
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x31]
test cl, cl
jne 0x60110d39
cmp esi, dword [eax + 8]
jne 0x60110d39
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x31]
test cl, cl
je 0x60110d28
mov esi, eax
cmp esi, dword [ebp + 0x40]
jne 0x60110b10
mov edx, dword [esp + 0x188]
push 0x6014ef5c
push edx
lea eax, [esp + 0x34]
push eax
call fcn.60114b00
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x20], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x60110d90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp esi, 0xffffffff
je 0x60110fce
mov eax, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov edx, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
mov dword [esp + 0x180], 0
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x180], 1
lea eax, [esp + 0x64]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x60110de0
sub eax, edx
push eax
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x20]
call fcn.60104370
mov edi, dword [esp + 0x18]
mov esi, dword [sym.imp.MSVCR71.dll__mbscmp]
push 0x6014dfc8
push edi
call esi
add esp, 8
test eax, eax
je 0x60110f64
push 0x6014dfcc
push edi
call esi
add esp, 8
test eax, eax
je 0x60110f64
push 0x5c
push edi
call dword [sym.imp.MSVCR71.dll__mbsrchr]
add esp, 8
test eax, eax
jne 0x60110e47
or eax, 0xffffffff
jmp 0x60110e49
push 0x80070057
call fcn.601040a0
sub eax, edi
inc eax
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x20]
call fcn.60109ff0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x184], 2
call fcn.6010a570
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x180], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x60110e91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x18]
push 0x6014e3f4
push edi
call dword [sym.imp.MSVCR71.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x60110f64
mov ecx, dword [ebp + 0x40]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x24], eax
je 0x60110f03
lea esp, [esp]
lea esi, [eax + 0x10]
mov eax, dword [esp + 0x188]
mov eax, dword [eax]
push esi
push eax
mov ecx, ebp
call fcn.6010ebb0
test al, al
je 0x60110eef
mov esi, dword [esi + 4]
push esi
push edi
call dword [sym.imp.MSVCR71.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x60110f64
lea ecx, [esp + 0x24]
call fcn.60113b50
mov ecx, dword [ebp + 0x40]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jne 0x60110ec0
mov ecx, dword [esp + 0x188]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b], 1
call fcn.6010a570
lea eax, [esp + 0x64]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x60110f20
sub eax, edx
push eax
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x24]
call fcn.601044e0
mov ebx, dword [esp + 0x1c]
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x60110f64
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x60110f64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x60110dd5
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebx - 0x10]
mov byte [esp + 0x180], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60110fa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x180], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60110fce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [sym.scnkrnl.dll_class_CAVLog__g_pLog]
test eax, eax
je 0x60110fec
push str.CAVQuarantine::PerformIntegrityCheck_finished
push 1
push 0x80
push eax
call sym.scnkrnl.dll_public:_void___cdecl_CAVLog::AddLogEntry_unsigned_long_int__unsigned_int__char_const__
add esp, 0x10
mov ecx, dword [esp + 0x178]
mov al, byte [esp + 0x17]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x174
ret 4