Function at 0x1800d6e69
Capabilities:
Check mutex on windows

Disassembly:
test rdx, rdx
je 0x1800d72ba
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 [0x1804ca010]
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 0x1800d7294
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
movzx edx, al
mov rcx, r14
call fcn.1800d72c0
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x30]
movzx edx, al
mov rcx, r14
call fcn.1800d7330
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VarUI4FromDisp]
mov edx, eax
mov rcx, r14
call fcn.1800d73a0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
movzx edx, al
mov rcx, r14
call fcn.1800d7430
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
movzx edx, al
mov rcx, r14
call fcn.1800d74a0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xf0]
mov edx, eax
mov rcx, r14
call fcn.1800d7510
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x70]
movzx edx, al
mov rcx, r14
call fcn.1800d75a0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x80]
mov edx, eax
mov rcx, r14
call fcn.1800d7700
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x78]
mov rbx, rax
test rax, rax
je 0x1800d7294
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
movzx edx, al
mov rcx, r14
call fcn.1800d77a0
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 0x1800d7240
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x1800d7240
lea r15, [r14 + 0x28]
lea rax, [rbp - 0x48]
cmp r15, rax
je 0x1800d6fe7
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov rcx, r15
call fcn.180004e70
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1800d7240
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 0x1800d7240
mov r10d, r12d
lea r9, [0x1804cbb90]
lea r13, [0x1804cbe50]
mov rbx, qword [rbp - 0x30]
mov r11, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x48]
nop dword [rax]
mov rcx, r9
cmp qword [r9 + 0x18], 8
jb 0x1800d703d
mov rcx, qword [r9]
lea r8, [rbp - 0x48]
cmp rbx, 8
cmovae r8, rdi
cmp r11, qword [r9 + 0x10]
jne 0x1800d7076
mov rdx, r11
test r11, r11
je 0x1800d7082
sub r8, rcx
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1800d7076
add rcx, 2
sub rdx, 1
je 0x1800d7082
jmp 0x1800d7060
inc r10d
add r9, 0x20
cmp r9, r13
jne 0x1800d7030
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 0x1800d709c
mov rdi, r12
jmp 0x1800d70a9
add rcx, 0x40
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, rax
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x1800d70b9
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 0x1800d7100
xor edx, edx
mov rcx, r14
call fcn.1800d78f0
jmp 0x1800d720f
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.180004e70
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 0x1800d7159
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r8, qword [rbp - 0x28]
jmp 0x1800d715c
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 0x1800d718b
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 0x1800d71ce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d71c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d71c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r12w
test rsi, rsi
je 0x1800d71ec
test bl, bl
je 0x1800d71ec
xor edx, edx
jmp 0x1800d71ee
mov dl, 1
mov rcx, r14
call fcn.1800d78f0
nop
test rsi, rsi
je 0x1800d7209
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 0x1800d7227
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 0x1800d7283
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d727e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d727e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
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.180385c10
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret