Function at 0x1800da1c0
Capabilities:
Check mutex on windows

Disassembly:
test rdx, rdx
je 0x1800da61a
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov r14, rcx
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x40]
mov rdi, rax
test rax, rax
je 0x1800da5f4
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
movzx edx, al
mov rcx, r14
call fcn.1800da620
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x30]
movzx edx, al
mov rcx, r14
call fcn.1800da690
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x120]
mov edx, eax
mov rcx, r14
call fcn.1800da700
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
mov edx, eax
mov rcx, r14
call fcn.1800da790
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
movzx edx, al
mov rcx, r14
call fcn.1800da840
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x100]
mov edx, eax
mov rcx, r14
call fcn.1800da8b0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x80]
movzx edx, al
mov rcx, r14
call fcn.1800da940
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x90]
mov edx, eax
mov rcx, r14
call fcn.1800daaa0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x78]
mov rbx, rax
test rax, rax
je 0x1800da5f4
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
movzx edx, al
mov rcx, r14
call fcn.1800dab40
xor r12d, r12d
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r12w
mov rax, qword [rbx]
lea rdx, [rbp - 0x48]
mov rcx, rbx
call qword [rax + 0x50]
test al, al
je 0x1800da5a0
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x1800da5a0
lea r15, [r14 + 0x28]
lea rax, [rbp - 0x48]
cmp r15, rax
je 0x1800da349
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov rcx, r15
call fcn.180005cd0
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1800da5a0
add rcx, 0x40
mov edx, 0x4bd
call qword [sym.imp.2345MiniUI.dll_public:_class_RC::RCMiniUIView____ptr64___cdecl_RC::RCMiniUIDialogView::GetViewByID_int_const___ptr64]
mov rsi, rax
test rax, rax
je 0x1800da5a0
mov r10d, r12d
lea r9, [0x1804e2010]
lea r13, [0x1804e22d0]
mov rbx, qword [rbp - 0x30]
mov r11, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x48]
nop
mov rcx, r9
cmp qword [r9 + 0x18], 8
jb 0x1800da39d
mov rcx, qword [r9]
lea r8, [rbp - 0x48]
cmp rbx, 8
cmovae r8, rdi
cmp r11, qword [r9 + 0x10]
jne 0x1800da3d6
mov rdx, r11
test r11, r11
je 0x1800da3e2
sub r8, rcx
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1800da3d6
add rcx, 2
sub rdx, 1
je 0x1800da3e2
jmp 0x1800da3c0
inc r10d
add r9, 0x20
cmp r9, r13
jne 0x1800da390
mov edx, r10d
mov rcx, rsi
call qword [sym.imp.2345MiniUI.dll_public:_int___cdecl_RC::RCMiniUIComboBox::SetCurSel_int____ptr64]
mov rcx, qword [r14 + 8]
test rcx, rcx
jne 0x1800da3fc
mov rdi, r12
jmp 0x1800da409
add rcx, 0x40
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, rax
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x1800da419
mov rdi, qword [rax + 0x88]
mov edx, 0x9cbe
mov rcx, rdi
call qword [sym.imp.USER32.dll_UnregisterHotKey]
lea rax, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rax, qword [rbp - 0x48]
movzx r9d, word [rax]
mov edx, 0x9cbe
mov r8d, 3
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
je 0x1800da460
xor edx, edx
mov rcx, r14
call fcn.1800dac90
jmp 0x1800da56f
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 - 0x60], r12
mov word [rbp - 0x58], 0
mov word [rbp - 0x58], 0
xor bl, bl
cmp qword [rbp - 0x18], 0
je 0x1800da4b9
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r8, qword [rbp - 0x28]
jmp 0x1800da4bc
mov r8, r12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rsi, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1800da4eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, bl
mov ecx, 1
cmp eax, 0xb7
cmove ebx, ecx
mov byte [rbp - 0x57], bl
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800da52e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800da529
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800da529
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 0x1800da54c
test bl, bl
je 0x1800da54c
xor edx, edx
jmp 0x1800da54e
mov dl, 1
mov rcx, r14
call fcn.1800dac90
nop
test rsi, rsi
je 0x1800da569
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x60], r12
mov word [rbp - 0x58], 0
mov edx, 0x9cbe
mov rcx, rdi
call qword [sym.imp.USER32.dll_UnregisterHotKey]
cmp qword [r15 + 0x18], 8
jb 0x1800da587
mov r15, qword [r15]
movzx r9d, word [r15]
mov edx, 0x9cbe
mov r8d, 3
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterHotKey]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1800da5e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800da5de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800da5de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r12w
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180393f50
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret