Function at 0x4095d0
Capabilities:
Check if file exists
Check mutex on windows
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x48b4cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push edi
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_3
mov eax, str.Q360MonMutex
xor edi, edi
test eax, eax
mov dword [esp + 0x130], edi
mov byte [esp + 0x24], 0
je 0x40961c
push eax
lea ecx, [esp + 0x28]
push 0x104
push ecx
call fcn.00409820
push ebp
push esi
mov dword [esp + 0x24], edi
lea edx, [esp + 0x14]
mov byte [esp + 0x138], 1
push edx
call fcn.0041e3a0
add esp, 4
test eax, eax
je 0x4097c7
lea eax, [esp + 0xc]
push eax
call fcn.00409880
mov eax, dword [eax]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 4
push eax
call ebp
lea ecx, [esp + 0xc]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
cmp esi, edi
je 0x4097c7
lea ecx, [esp + 0x2c]
push ecx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov dword [esp + 0x28], eax
je 0x409695
cmp eax, 5
jne 0x4097cb
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x4096a8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x24], edi
lea edx, [esp + 0x18]
push edi
push edx
call fcn.004020b0
add esp, 8
push 0x495ae4
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x140], 2
push eax
call sub.MFC42u.DLL_operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
push 0x4b0708
lea edx, [esp + 0x10]
push ecx
push edx
call sub.MFC42u.DLL_operator_2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push eax
push ecx
mov byte [esp + 0x140], 5
call edi
lea edx, [esp + 0x14]
push str._safemon
lea eax, [esp + 0x20]
push edx
push eax
call sub.MFC42u.DLL_operator_2
mov esi, dword [eax]
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x13c], 6
call fcn.00409880
mov eax, dword [eax]
push 0
push 0x3e8
push esi
push str._LoadSDRule
push eax
push 0
mov byte [esp + 0x154], 7
call fcn.0041e5a0
add esp, 0x1c
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 5
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x10]
push edx
call ebp
test eax, eax
je 0x409791
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40979d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
call edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x138], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 1
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x28]
xor edi, edi
jmp 0x4097cb
mov eax, dword [esp + 0x28]
pop esi
cmp eax, edi
pop ebp
jne 0x4097eb
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4097eb
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x130], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x128]
pop edi
mov dword fs:[0], ecx
add esp, 0x130
ret