Function at 0x140012160
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x6a0]
sub rsp, 0x7a0
mov rax, qword [0x1400367c0]
xor rax, rsp
mov qword [rbp + 0x690], rax
lea rcx, str._PDVDLaunchPolicy___tWinMain_start
call fcn.140010390
lea rcx, [rbp + 0x62]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x60], di
call fcn.140017230
lea rcx, [rbp + 0x482]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x480], di
call fcn.140017230
lea r9d, [rdi + 1]
lea r8, str.SOFTWARECyberLinkPowerDVD20
lea rcx, [rsp + 0x48]
mov rdx, 0xffffffff80000002
call fcn.1400103d0
lea r8, [rbp + 0x60]
lea rdx, str.WER_ModulePath
lea rcx, [rsp + 0x48]
mov r9d, 0x104
call fcn.140010910
lea rcx, [rbp + 0x272]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x270], di
call fcn.140017230
lea rcx, str.BoomerangLib.dll
mov edx, 0x104
mov qword [rsp + 0x38], rdi
call fcn.140016f84
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
lea r8, str.BoomerangLib.dll
lea rcx, [rbp + 0x60]
mov r9, rax
mov edx, 0x104
mov dword [rsp + 0x20], edi
call fcn.140010000
test eax, eax
js 0x14001227a
mov r8, qword [rsp + 0x38]
lea rcx, [rbp + 0x270]
mov edx, 0x104
call fcn.140017050
lea rcx, [rsp + 0x38]
call fcn.140010310
xor edx, edx
lea rcx, [rbp + 0x270]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r15, rdi
mov rsi, rdi
mov r14, rax
test rax, rax
je 0x1400122ff
lea rdx, str.CreateBoomerangClient
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ReleaseBoomerangClient
mov rcx, r14
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
call rbx
lea r8, [rbp + 0x480]
lea rdx, str.WER_SettingPath
lea rcx, [rsp + 0x48]
mov r9d, 0x104
mov rsi, rax
call fcn.140010910
mov r8, qword [rsi]
lea rdx, [rbp + 0x480]
mov rcx, rsi
call qword [r8 + 8]
lea rcx, [0x140029a00]
call fcn.140010a40
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rbp - 0x70]
mov rdx, rax
call fcn.140014890
mov ebx, dword [rbp - 0x28]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.1400112c0
mov r8, rax
cmp qword [rax + 0x18], 8
jb 0x14001233b
mov r8, qword [rax]
mov rdx, qword [rbp - 0x68]
lea rcx, str._PDVDLaunchPolicy__AN:_d__all_argu:_s__isAutoResume:_d
mov r9d, ebx
sub rdx, qword [rbp - 0x70]
sar rdx, 5
call fcn.140010390
cmp qword [rbp - 0x80], 8
jb 0x140012367
mov rcx, qword [rsp + 0x68]
call fcn.140016e38
mov eax, dword [rbp - 0x34]
mov qword [rsp + 0x40], rdi
cmp eax, 1
jne 0x14001249b
lea rcx, str._PDVDLaunchPolicy__yes__try_to_switch_PDVD.
call fcn.140010390
lea rcx, str.PowerDVD20
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
lea rcx, str._PDVDLaunchPolicy__handle_value:_d
mov rdx, rax
mov rbx, rax
call fcn.140010390
lea rcx, [rsp + 0x30]
call fcn.140012740
test rbx, rbx
jne 0x14001242a
lea rcx, str.PDVDCM_switch_to_PDVD_start
call fcn.140010390
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov dword [rsp + 0x68], 1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
call sub.gdiplus.dll_GdiplusStartup
lea rcx, str.PowerDVDCinema20
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
lea rdx, [0x140038238]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rbp + 0x50]
mov dword [0x140038248], ecx
test ecx, ecx
je 0x140012422
lea rcx, [rsp + 0x30]
mov edx, 1
call fcn.1400141e0
mov rcx, rbx
call fcn.140011190
lea rcx, [rbp - 0x70]
xor edx, edx
call fcn.140011670
lea r9, str.A1F2F2AF_3E3A_47ec_A9BC_1EBB084ADC05
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
test rax, rax
je 0x140012480
lea rcx, str._PDVDLaunchPolicy__before_wait_hUIWaitingEvent
call fcn.140010390
mov edx, 0x4e20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, str._PDVDLaunchPolicy__after_wait_hUIWaitingEvent
call fcn.140010390
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.PDVDCM_switch_to_PDVD_end
call fcn.140010390
lea rcx, [rsp + 0x30]
call fcn.140012ee0
jmp 0x14001261c
cmp eax, 3
jne 0x1400125cd
lea rcx, str._PDVDLaunchPolicy__yes__try_to_relaunch_PDVD.
call fcn.140010390
lea rcx, str.PowerDVD20
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
lea rcx, str._PDVDLaunchPolicy__handle_value:_d
mov rdx, rax
mov rbx, rax
call fcn.140010390
lea rcx, [rsp + 0x30]
call fcn.140012740
test rbx, rbx
je 0x14001255f
lea rcx, str.PDVD_relaunch_start
call fcn.140010390
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov dword [rsp + 0x68], 1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
call sub.gdiplus.dll_GdiplusStartup
lea rdx, [0x140038238]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x50]
mov dword [0x140038248], eax
test eax, eax
je 0x14001253c
lea rcx, [rsp + 0x30]
mov edx, 1
call fcn.1400141e0
lea rcx, str._PDVDLaunchPolicy__PostMessage_to_PDVD_to_close.
call fcn.140010390
lea rcx, str.PowerDVD20
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rcx, rax
call fcn.140011190
lea rcx, [rbp - 0x70]
xor edx, edx
call fcn.140011670
lea r9, str.A1F2F2AF_3E3A_47ec_A9BC_1EBB084ADC05
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
test rax, rax
je 0x1400125b5
lea rcx, str._PDVDLaunchPolicy__before_wait_hUIWaitingEvent
call fcn.140010390
mov edx, 0x4e20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, str._PDVDLaunchPolicy__after_wait_hUIWaitingEvent
call fcn.140010390
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.PDVD_relaunch_end
call fcn.140010390
lea rcx, [rsp + 0x30]
call fcn.140012ee0
jmp 0x14001261c
lea r8, str.LocalB673A61A_F68B_4aed_9891_C519FAC102F5
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400125f3
cmp eax, 5
jne 0x1400125f8
mov edi, 1
test rbx, rbx
je 0x140012606
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x70]
test edi, edi
je 0x140012615
mov edx, 1
jmp 0x140012617
xor edx, edx
call fcn.140011670
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001262b
call sub.gdiplus.dll_GdiplusShutdown
test rsi, rsi
je 0x140012636
mov rcx, rsi
call r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, str._PDVDLaunchPolicy___tWinMain_end
call fcn.140010390
lea rcx, [rbp - 0x70]
call fcn.1400110c0
lea rcx, [rsp + 0x48]
call fcn.140010610
xor eax, eax
mov rcx, qword [rbp + 0x690]
xor rcx, rsp
call fcn.140017200
lea r11, [rsp + 0x7a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret