Function at 0x401300
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x298
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push str.MxToProtectReLaunch
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebp
mov dword [0x410440], eax
je 0x401582
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x401582
mov esi, dword [esp + 0x2ac]
push esi
mov dword [0x410448], esi
call fcn.00401140
add esp, 4
test eax, eax
je 0x401582
lea eax, [esp + 0x5c]
push 0x64
mov ebx, 1
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_LoadStringA]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x65
push esi
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x1c], 0x100b
mov dword [esp + 0x20], 0x4015a0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], esi
call edi
push 0x7f00
push ebp
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [esp + 0x5c]
push 0x66
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
push edx
mov dword [esp + 0x38], 6
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ecx
call edi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x401413
push ebp
push esi
push ebp
push ebp
push 0x120
push 0x160
push ebp
push 0x80000000
push 0x2cf0000
lea ecx, [esp + 0x80]
push str.monitor_pad
push ecx
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, ebp
mov dword [0x40ff50], eax
jne 0x401429
call fcn.004012f0
cmp dword [0x40ff54], ebp
je 0x401575
jmp 0x40156f
cmp dword [0x4103b0], ebp
je 0x40143a
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x7a
xor eax, eax
lea edi, [esp + 0xc0]
push str.Shell32.dll
rep stosd dword es:[edi], eax
call fcn.00401790
add esp, 4
cmp edx, 0x50000
jb 0x401472
ja 0x401465
cmp eax, ebp
jb 0x401472
mov dword [esp + 0xc0], 0x1e8
jmp 0x40147d
mov dword [esp + 0xc0], 0x1f8
mov eax, dword [0x40ff50]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebp
push 0x32
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], 7
call edi
push eax
push 0x31
call edi
push eax
push ebx
push 0x65
push esi
call dword [sym.imp.USER32.dll_LoadImageA]
lea ecx, [esp + 0xd8]
push str.GL_CAM_sys_tray
push ecx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xd8], 0x800a
call fcn.00402ae7
mov eax, dword [0x4103b4]
add esp, 8
cmp eax, ebp
je 0x4014f5
lea edx, [esp + 0xc0]
push edx
push ebp
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [0x4103a8]
mov ecx, dword [0x40ff50]
push ebp
push eax
push 0x65
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 0x67
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push ebp
push ebp
lea edx, [esp + 0x48]
push ebp
push edx
mov esi, eax
call edi
test eax, eax
je 0x40156a
mov ebx, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x40]
push eax
push esi
push ecx
call ebx
test eax, eax
jne 0x401559
lea edx, [esp + 0x40]
push edx
call ebp
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
lea ecx, [esp + 0x48]
push 0
push ecx
call edi
test eax, eax
jne 0x401536
call fcn.004012f0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [0x410440]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x298
ret 0x10