Function at 0x1800db129
Capabilities:
Check mutex on windows

Disassembly:
test rdx, rdx
je 0x1800db4b8
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rdx
mov rdi, rcx
mov rcx, rdx
call qword [sym.imp.2345MiniUI.dll_public:_int___cdecl_RC::RCMiniUIView::GetID_void_const___ptr64]
cmp eax, 0x4bd
jne 0x1800db494
mov rcx, qword [rdi - 8]
xor r12d, r12d
test rcx, rcx
jne 0x1800db184
mov r15d, r12d
jmp 0x1800db191
add rcx, 0x40
mov rax, qword [rcx]
call qword [rax + 8]
mov r15, rax
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1800db1a1
mov r15, qword [rcx + 0x88]
mov edx, 0x9cbe
mov rcx, r15
call qword [sym.imp.USER32.dll_UnregisterHotKey]
lea rdx, [rbp - 0x28]
mov rcx, r14
call qword [sym.imp.2345MiniUI.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_RC::RCMiniUIComboBox::GetCurText_void____ptr64]
nop
lea rbx, [rdi + 0x18]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x1800db1ce
mov rcx, qword [rax]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800db1db
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rdx, qword [rax + 0x10]
jne 0x1800db209
test rdx, rdx
je 0x1800db204
sub r8, rcx
nop dword [rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1800db209
add rcx, 2
sub rdx, 1
jne 0x1800db1f0
xor sil, sil
jmp 0x1800db20c
mov sil, 1
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800db24f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800db24a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800db24a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
test sil, sil
je 0x1800db316
lea rdx, [rbp - 0x28]
mov rcx, r14
call qword [sym.imp.2345MiniUI.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_RC::RCMiniUIComboBox::GetCurText_void____ptr64]
nop
cmp qword [rax + 0x18], 8
jb 0x1800db282
mov rax, qword [rax]
movzx r9d, word [rax]
mov edx, 0x9cbe
mov r8d, 3
mov rcx, r15
call qword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
setne sil
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800db2e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800db2de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800db2de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
lea rcx, [rdi - 0x10]
test sil, sil
je 0x1800db30a
xor edx, edx
call fcn.1800dac90
jmp 0x1800db464
mov dl, 1
call fcn.1800dac90
jmp 0x1800db464
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800db323
mov rax, qword [rbx]
movzx r9d, word [rax]
mov edx, 0x9cbe
mov r8d, 3
mov rcx, r15
call qword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
je 0x1800db34f
lea rcx, [rdi - 0x10]
xor edx, edx
call fcn.1800dac90
jmp 0x1800db464
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r12w
mov r8d, 0x26
lea rdx, str.F9CEBD4A_CEC5_4857_9191_8E7E54635DAF
lea rcx, [rbp - 0x28]
call fcn.180005cd0
nop
mov qword [rbp - 0x40], r12
mov word [rbp - 0x38], 0
mov word [rbp - 0x38], 0
xor r14b, r14b
cmp qword [rbp - 0x18], 0
je 0x1800db3a9
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r8, qword [rbp - 0x28]
jmp 0x1800db3ac
mov r8, r12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rsi, rax
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1800db3de
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx r14d, r14b
mov ecx, 1
cmp eax, 0xb7
cmove r14d, ecx
mov byte [rbp - 0x37], r14b
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800db421
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800db41c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800db41c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r12w
test rsi, rsi
je 0x1800db440
test r14b, r14b
je 0x1800db440
xor edx, edx
jmp 0x1800db442
mov dl, 1
lea rcx, [rdi - 0x10]
call fcn.1800dac90
nop
test rsi, rsi
je 0x1800db45e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x40], r12
mov word [rbp - 0x38], 0
mov edx, 0x9cbe
mov rcx, r15
call qword [sym.imp.USER32.dll_UnregisterHotKey]
cmp qword [rbx + 0x18], 8
jb 0x1800db47c
mov rbx, qword [rbx]
movzx r9d, word [rbx]
mov edx, 0x9cbe
mov r8d, 3
mov rcx, r15
call qword [sym.imp.USER32.dll_RegisterHotKey]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180393f50
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret