Function at 0x140052090
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x738
mov rax, qword [0x1400710c0]
xor rax, rsp
mov qword [rsp + 0x720], rax
mov qword [rsp + 0x2e0], 0
lea rax, [rsp + 0x68]
lea rcx, [0x14005ab20]
mov rdi, rax
mov rsi, rcx
mov ecx, InitCommonControls
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x48], 0
lea rax, [rsp + 0x4c]
mov rdi, rax
xor eax, eax
mov ecx, 0x1c
rep stosb byte [rdi], al
mov word [rsp + 0x80], 0
lea rax, [rsp + 0x82]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x298], 0
mov r9d, 2
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov qword [rsp + 0x2e0], rax
cmp qword [rsp + 0x2e0], 0
je 0x1400522b9
mov r8d, 0x20
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140002ae0
mov dword [rsp + 0x48], 0x20
lea rax, [rsp + 0x4c]
lea rcx, [rsp + 0x68]
mov rdi, rax
mov rsi, rcx
mov ecx, InitCommonControls
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x298], 0
jne 0x1400522b9
lea r8, [rsp + 0x48]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x2e0]
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1400522b9
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 9
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x2e0]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x1400522a9
lea rdx, str.SYSTEMCurrentControlSetControlClass_
lea rcx, [rsp + 0x500]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0x500]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, str.ProviderName
lea rdx, [rsp + 0x500]
mov rcx, 0xffffffff80000002
call fcn.14000d250
test eax, eax
jne 0x1400522a9
lea rdx, str.AlpsAlpine
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400522a9
lea rax, [0x140075630]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, str.DriverDesc
lea rdx, [rsp + 0x500]
mov rcx, 0xffffffff80000002
call fcn.14000d250
mov dword [rsp + 0x298], 1
mov eax, dword [rsp + 0x78]
add eax, 1
mov dword [rsp + 0x78], eax
jmp 0x14005218c
mov dword [0x140075710], 0x114
lea rcx, [0x140075710]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdx, str.Debug
mov rcx, qword [rsp + 0x760]
call fcn.140002a90
test eax, eax
jne 0x1400522f2
mov dword [0x1400756fc], 1
lea rdx, [0x14006b7c0]
mov rcx, qword [rsp + 0x760]
call fcn.140002a90
test eax, eax
jne 0x140052347
lea r8, str.AlpsCLP_About
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x2a0], rax
mov r9d, 0x64
lea r8, [0x140075630]
mov edx, 0x2c24
mov rcx, qword [rsp + 0x750]
call fcn.14004f9e0
jmp 0x140052363
lea r8, [0x14006b7f0]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x2a0], rax
cmp qword [rsp + 0x2a0], 0
je 0x14005237f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140052432
lea rdx, str.AlpsAlpine_GlidePoint
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rsp + 0x710], rax
lea rdx, str.AlpsAlpine_Precision_Touchpad
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rsp + 0x718], rax
cmp qword [rsp + 0x710], 0
je 0x1400523ed
mov rcx, qword [rsp + 0x710]
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1400523dd
mov edx, 9
mov rcx, qword [rsp + 0x710]
call qword [sym.imp.USER32.dll_ShowWindowAsync]
mov rcx, qword [rsp + 0x710]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x14005242b
cmp qword [rsp + 0x718], 0
je 0x14005242b
mov rcx, qword [rsp + 0x718]
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x14005241d
mov edx, 9
mov rcx, qword [rsp + 0x718]
call qword [sym.imp.USER32.dll_ShowWindowAsync]
mov rcx, qword [rsp + 0x718]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x140052671
mov rcx, qword [rsp + 0x750]
call fcn.140051c30
call fcn.140017990
movzx eax, al
test eax, eax
je 0x140052492
call fcn.14001b150
movzx eax, byte [0x14007d995]
test eax, eax
je 0x140052490
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
lea r9, str._shell32.dll_Control_RunDLL_main.cpl__0
lea r8, str.rundll32.exe
lea rdx, [0x14006b8e0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
jmp 0x140052671
jmp 0x1400524ed
cmp dword [0x1400756fc], 0
je 0x1400524cd
call fcn.140018ec0
call fcn.140016b60
mov dword [0x14007d980], 0x2820011
mov byte [0x14007d991], 0
mov byte [0x14007d992], 1
mov byte [0x14007d993], 1
mov byte [0x14007d994], 1
jmp 0x1400524ed
xor r9d, r9d
lea r8, str.Missing_dll
lea rdx, str.This_configuration_cannot_run_without_vxdif.dll_properly_installed.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x140052671
lea rdx, str.About
mov rcx, qword [rsp + 0x760]
call fcn.140002a90
test eax, eax
jne 0x14005254d
mov qword [rsp + 0x20], 0
lea r9, [0x1400546e0]
xor r8d, r8d
mov edx, 0x1f6
mov rcx, qword [rsp + 0x750]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp qword [rsp + 0x2a0], 0
je 0x140052544
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
jmp 0x140052671
lea r8, str.Apf_OpenMouseProp
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x290], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140052591
call fcn.140017990
movzx eax, al
test eax, eax
je 0x140052591
cmp dword [0x14007da18], 0
jne 0x140052591
call qword [0x140078478]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [rsp + 0x768]
mov rcx, qword [rsp + 0x750]
call fcn.140051d00
test eax, eax
jne 0x1400525d7
cmp qword [rsp + 0x2a0], 0
je 0x1400525d0
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
jmp 0x140052671
mov edx, 0x3e8
mov rcx, qword [rsp + 0x750]
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [rsp + 0x2a8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14005264c
lea r8, [rsp + 0x2b0]
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14005264a
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400525f2
cmp qword [rsp + 0x2a0], 0
je 0x140052665
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.14000ce70
mov eax, dword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x720]
xor rcx, rsp
call fcn.140002580
add rsp, 0x738
pop rdi
pop rsi
ret