Function at 0x6010edf0
Capabilities:
Delete file
Get common file path
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60148e50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov eax, dword [sym.scnkrnl.dll_class_CAVLog__g_pLog]
push ebx
push esi
push edi
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x10], esp
mov edi, ecx
je 0x6010ee36
push str.CAVQuarantine::StoreQuarantineIndex_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 + 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x130]
push ecx
push ebx
push 0x6014ea04
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp eax, ebx
je 0x6010ee8f
lea edx, [ebp - 0x130]
push 0x6014ea00
push edx
call dword [sym.imp.MSVCR71.dll_fopen]
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [ebp - 0x20], esi
jne 0x6010eea4
mov eax, dword [sym.scnkrnl.dll_class_CAVLog__g_pLog]
cmp eax, ebx
je 0x6010ee8f
push str.CAVQuarantine::StoreQuarantineIndex_Cant_create_temporary_index_file
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
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
push 0xc
push esi
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x18], ebx
call dword [sym.imp.MSVCR71.dll_fseek]
mov eax, dword [edi + 0x40]
mov eax, dword [eax]
add esp, 0xc
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
cmp eax, dword [edi + 0x40]
je 0x6010ef1f
lea ebx, [eax + 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push eax
mov ecx, edi
call fcn.6010ebb0
test al, al
je 0x6010ef05
mov ecx, dword [ebp - 0x18]
push 0
push 0
inc ecx
push esi
mov dword [ebp - 0x18], ecx
push ebx
mov ecx, edi
call fcn.6010e860
test al, al
jne 0x6010ef05
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
mov byte [ebp - 0x11], 0
jmp 0x6010ef1f
lea ecx, [ebp - 0x1c]
call fcn.60113b50
mov eax, dword [ebp - 0x1c]
jmp 0x6010eec3
mov al, byte [ebp - 0x11]
test al, al
mov dword [ebp - 4], 0xffffffff
je 0x6010efc8
push esi
mov byte [ebp - 0x2c], 2
call dword [sym.imp.MSVCR71.dll_ftell]
add esp, 4
cmp eax, 0xffffffff
mov dword [ebp - 0x28], eax
jne 0x6010ef4e
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x18]
push 0
push 0
push esi
mov dword [ebp - 0x24], ecx
call dword [sym.imp.MSVCR71.dll_fseek]
push esi
push 1
lea edx, [ebp - 0x2c]
push 0xc
push edx
call dword [sym.imp.MSVCR71.dll_fwrite]
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
mov eax, dword [ebp + 8]
push 0x6014e3f4
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.60114b00
mov esi, dword [ebp + 8]
add esp, 0x2c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
setne bl
add esi, 0xfffffff0
mov byte [ebp - 0x11], bl
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x6010efc4
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
test bl, bl
jne 0x6010efd5
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8