Function at 0x68f0bbf9
Capabilities:
Check mutex on windows
Get file size

Disassembly:
push 0x58
mov eax, 0x68f5dee1
call fcn.68f54c95
mov esi, dword [ebp + 8]
xor ebx, ebx
mov byte [ebp - 0x15], bl
mov dword [ebp - 4], ebx
push ebx
call sym.GrooveUtil.DLL_public:_static_void___stdcall_GCCriticalErrorInfo::StartErrorBlock_bool_
mov byte [ebp - 4], 1
push str.IPC_CSM_SHARED_MUTEX
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x68f0bc44
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], bl
call sym.GrooveUtil.DLL_public:_static_void___stdcall_GCCriticalErrorInfo::EndErrorBlock_void_
call fcn.68f54d3a
ret 4
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x68f0bc34
cmp eax, 0x102
je 0x68f0bc34
cmp word [0x68fa87e0], bx
jne 0x68f0bd11
lea ecx, [ebp - 0x64]
call sym.GrooveUtil.DLL_public:_void___thiscall_GCStorageURIPathInfo::constructor_void_
mov byte [ebp - 4], 2
push dword [ebp - 0x44]
lea ecx, [ebp - 0x24]
call sym.GrooveUtil.DLL_public:_void___thiscall_GCStr::constructor_wchar_t_const__
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0x105
mov edi, 0x68fa87e0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x20], ebx
je 0x68f0bcbd
movzx ecx, word [eax]
cmp cx, bx
je 0x68f0bcc8
mov edx, dword [ebp - 0x1c]
mov word [edx], cx
add dword [ebp - 0x1c], 2
inc eax
inc eax
mov dword [ebp - 0x2c], eax
dec dword [ebp - 0x20]
jmp 0x68f0bc9c
sub dword [ebp - 0x1c], 2
mov dword [ebp - 0x28], 0x8007007a
mov eax, dword [ebp - 0x1c]
mov word [eax], bx
cmp dword [ebp - 0x28], ebx
jge 0x68f0bcf7
mov word [0x68fa87e0], bx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.68ef1154
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call sym.GrooveUtil.DLL_public:_void___thiscall_GCStorageURIPathInfo::destructor_void_
jmp 0x68f0bc34
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.68ef1154
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call sym.GrooveUtil.DLL_public:_void___thiscall_GCStorageURIPathInfo::destructor_void_
jmp 0x68f0bd16
mov edi, 0x68fa87e0
lea eax, [esi + 0x14]
push edi
push eax
call fcn.68f0deca
push 0x68f72a40
lea eax, [esi + 0x14]
push eax
call fcn.68f0deca
lea eax, [esi + 0x18]
push edi
push eax
call fcn.68f0deca
push str.CSMIPC.tmp
lea eax, [esi + 0x18]
push eax
call fcn.68f0deca
or dword [esi + 4], 0xffffffff
mov dword [esi + 8], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [esi + 0x14]
push ebx
push 0x80
push 4
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x68f0bc34
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x68f0bd93
mov byte [ebp - 0x15], 1
mov dword [esi + 0x24], 0x186a0
jmp 0x68f0bda0
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x24], eax
mov eax, 0x186a0
cmp dword [esi + 0x24], eax
jae 0x68f0bdad
mov dword [esi + 0x24], eax
push ebx
push dword [esi + 0x24]
push ebx
push 4
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x68f0bdd7
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi + 4], 0xffffffff
jmp 0x68f0bc34
push ebx
push ebx
push ebx
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x20], eax
cmp eax, ebx
jne 0x68f0bdff
push dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov dword [esi + 8], ebx
push dword [esi + 4]
call edi
jmp 0x68f0bdce
mov dword [esi + 0x1c], eax
mov ecx, dword [eax + 8]
mov edi, dword [esi + 0x24]
cmp ecx, edi
ja 0x68f0be15
cmp ecx, ebx
sete cl
cmp cl, bl
je 0x68f0be19
mov byte [ebp - 0x15], 1
cmp byte [ebp - 0x15], bl
je 0x68f0be42
push edi
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov eax, dword [esi + 0x1c]
mov dword [eax], ebx
mov eax, dword [esi + 0x1c]
add eax, 4
mov dword [eax], ebx
mov eax, dword [esi + 0x1c]
add eax, 8
mov dword [eax], 0xc
mov eax, dword [esi + 0x1c]
cmp dword [eax], 0x3e8
setb al
cmp al, bl
je 0x68f0be58
mov byte [esi + 0x10], 1
jmp 0x68f0be78
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov dword [esi + 8], ebx
push dword [esi + 4]
call edi
or dword [esi + 4], 0xffffffff
mov byte [ebp - 4], bl
call sym.GrooveUtil.DLL_public:_static_void___stdcall_GCCriticalErrorInfo::EndErrorBlock_void_
or dword [ebp - 4], 0xffffffff
jmp 0x68f0bc3c