Function at 0x601126b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601490a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [sym.scnkrnl.dll_class_CAVLog__g_pLog]
push ebx
push esi
push edi
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x10], esp
mov edi, ecx
je 0x601126f3
push str.CAVQuarantine::LoadQuarantineIndex_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]
push 0x6014e3f4
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.60114b00
mov edx, dword [ebp + 8]
push 0x6014f284
push edx
mov dword [ebp - 4], esi
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebx, eax
add esp, 0x14
cmp ebx, esi
mov dword [ebp - 0x1c], ebx
je 0x601128db
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.601142a0
mov dword [ebp - 0x24], eax
mov byte [eax + 0x31], 1
mov eax, dword [ebp - 0x24]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 8], eax
mov dword [ebp - 0x20], esi
push ebx
push 1
lea eax, [ebp - 0x34]
push 0xc
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
test eax, eax
jne 0x60112779
push 0x60152a48
lea ecx, [ebp - 0x11]
push ecx
mov byte [ebp - 0x11], al
call sub.MSVCR71.dll__CxxThrowException
lea edx, [ebp - 0x34]
push ebx
push edx
call fcn.6010e270
add esp, 8
test al, al
jne 0x6011279b
mov byte [ebp - 0x12], al
push 0x60152a48
lea eax, [ebp - 0x12]
push eax
call sub.MSVCR71.dll__CxxThrowException
mov edx, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
mov edx, dword [0x6015b6f8]
add eax, 0x10
mov ecx, 0x6015b6f8
mov dword [ebp - 0x50], eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 3
lea ebx, [ebx]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [ebp - 0x2c], eax
je 0x6011282e
movsx esi, byte [ebp - 0x34]
push ebx
lea edx, [ebp - 0x54]
dec esi
push edx
mov ecx, edi
call dword [edi + esi*4 + 0x78]
push esi
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.6010e2f0
mov eax, dword [edi + 0x4c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
inc eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [edi + 0x4c], eax
call fcn.60116ac0
lea edx, [ebp - 0x54]
push edx
mov ecx, eax
call fcn.60115c80
xor esi, esi
jmp 0x601127e0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [edi + 0x3c]
call fcn.60116420
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011285e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011287b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60112898
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.601167f0
mov ecx, dword [ebp - 0x24]
push ecx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
jmp 0x601128ce
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
mov eax, dword [sym.scnkrnl.dll_class_CAVLog__g_pLog]
cmp eax, esi
je 0x601128f9
push str.CAVQuarantine::LoadQuarantineIndex_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 eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x6011291d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4