Function at 0x407010
Capabilities:
Check mutex on windows

Disassembly:
mov r11, rsp
sub rsp, 0x108
mov qword [r11 - 8], rbx
mov qword [r11 - 0x10], rbp
mov qword [r11 - 0x18], rsi
xor esi, esi
test rdx, rdx
mov qword [r11 - 0x20], rdi
mov rbx, r8
mov qword [0x00419420], rcx
lea rbp, str.jcpinst
mov rdi, rcx
jne 0x4070c4
lea rax, [0x00406cd0]
mov rdx, rbp
mov dword [r11 - 0x78], 3
mov dword [r11 - 0x68], esi
mov dword [r11 - 0x64], esi
mov qword [r11 - 0x60], rcx
mov qword [r11 - 0x70], rax
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0xb0], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
xor ecx, ecx
mov qword [rsp + 0xb8], rax
call qword [sym.imp.GDI32.dll_GetStockObject]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0xc0], rax
mov rax, qword [str.JCPInst]
mov qword [rsp + 0xc8], rbp
mov qword [rsp + 0xd0], rax
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x407130
lea rcx, [0x00419610]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov r8, qword [str.JCPInst]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x407137
mov rcx, qword [str.JCPInst]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
mov rbx, rax
je 0x407130
mov rcx, rax
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x407127
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x40726c
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, 0x800000
mov qword [0x00419258], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, 5
mov qword [0x00419608], rax
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, 0xc00000
mov qword [0x00419408], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
xor ecx, ecx
mov dword [0x00419130], 0x4d4d4d
mov dword [0x0041913c], 0xe0e0e0
mov dword [0x0041943c], esi
mov qword [0x00419410], rax
mov dword [0x00419404], 0xe0e0e0
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r8, qword [str.SC_Print2005_Install]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ebx
mov r9d, 0x11ce0000
mov rdx, rbp
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rax
mov qword [0x00419548], rax
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rcx, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40724e
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageA]
lea rcx, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x407221
mov rcx, qword [0x00419608]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x00419410]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [rsp + 0x70]
mov rdi, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0x100]
add rsp, 0x108
ret