Function at 0x1801ef080
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x18028e088]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov r15, rdx
mov rsi, rcx
xor r12d, r12d
mov rax, qword [0x1802972d0]
test rax, rax
je 0x1801ef1c2
lea rcx, [0x1802972d0]
call fcn.18009be80
mov rax, qword [0x1802972d0]
cmp byte [rax + 0x78], r12b
je 0x1801ef1c2
cmp dword [rax + 0x80], 5
jb 0x1801ef1c2
movzx ebx, byte [rax + 0x84]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov r8, r15
lea rdx, str._f:yjE
lea rcx, [rsp + 0x58]
call fcn.18009cfe0
mov dword [rsp + 0x28], 0xe2
lea r8, [rsp + 0x58]
lea edx, [r12 + 5]
lea rcx, [0x1802972d0]
call fcn.18009cb00
test bl, bl
je 0x1801ef165
lea rdx, [rsp + 0x58]
lea rcx, [0x1802972d0]
call fcn.18009cea0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1801ef1a7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801ef1a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801ef81b
call fcn.1801ccd54
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov rax, qword [0x1802972d0]
test r15, r15
jne 0x1801ef2de
test rax, rax
je 0x1801ef2ba
lea rcx, [0x1802972d0]
call fcn.18009be80
mov rax, qword [0x1802972d0]
cmp byte [rax + 0x78], r15b
je 0x1801ef2ba
cmp dword [rax + 0x80], 5
jb 0x1801ef2ba
movzx ebx, byte [rax + 0x84]
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
lea r8d, [r15 + 0x1d]
lea rdx, [0x180219ed0]
lea rcx, [rsp + 0x78]
call fcn.1800089e0
mov dword [rsp + 0x28], 0xe5
lea r8, [rsp + 0x78]
lea edx, [r15 + 5]
lea rcx, [0x1802972d0]
call fcn.18009cb00
test bl, bl
je 0x1801ef267
lea rdx, [rsp + 0x78]
lea rcx, [0x1802972d0]
call fcn.18009cea0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1801ef2a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801ef2a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801ef821
call fcn.1801ccd54
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov dword [rsi + 0x1104], 4
mov dword [rsp + 0x30], 5
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1801ed990
jmp 0x1801ef7ed
lea r8, str.11F534A9_9B5A_4BAA_9E8A_05304229D5D6
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsi + 8], rax
test rax, rax
jne 0x1801ef410
cmp qword [0x1802972d0], rax
je 0x1801ef3ec
lea rcx, [0x1802972d0]
call fcn.18009be80
mov rax, qword [0x1802972d0]
cmp byte [rax + 0x78], 0
je 0x1801ef3ec
cmp dword [rax + 0x80], 5
jb 0x1801ef3ec
movzx ebx, byte [rax + 0x84]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
mov r8d, 0xa
lea rdx, [0x180219f60]
lea rcx, [rbp - 0x68]
call fcn.1800089e0
mov dword [rsp + 0x28], 0xee
lea r8, [rbp - 0x68]
mov edx, 5
lea rcx, [0x1802972d0]
call fcn.18009cb00
test bl, bl
je 0x1801ef39b
lea rdx, [rbp - 0x68]
lea rcx, [0x1802972d0]
call fcn.18009cea0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1801ef3db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801ef3d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801ef827
call fcn.1801ccd54
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
mov dword [rsi + 0x1104], 5
mov dword [rsp + 0x34], 5
lea rdx, [rsp + 0x34]
mov rcx, rsi
call fcn.1801ed990
jmp 0x1801ef7ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1801ef513
mov edx, 5
lea rcx, [0x1802972d0]
call fcn.18009cab0
mov ebx, eax
test eax, eax
je 0x1801ef4ef
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 r8d, 9
lea rdx, str.Mutex
lea rcx, [rbp - 0x48]
call fcn.1800089e0
mov dword [rsp + 0x28], 0xf6
lea r8, [rbp - 0x48]
mov edx, 5
lea rcx, [0x1802972d0]
call fcn.18009cb00
cmp ebx, 1
jbe 0x1801ef49e
lea rdx, [rbp - 0x48]
lea rcx, [0x1802972d0]
call fcn.18009cea0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1801ef4de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801ef4d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801ef82d
call fcn.1801ccd54
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r12w
mov dword [rsi + 0x1104], 6
mov dword [rsp + 0x38], 5
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.1801ed990
jmp 0x1801ef7ed
mov ecx, 0x140
call fcn.1801cd4e0
mov r14, rax
mov qword [rsp + 0x50], rax
xor edx, edx
mov r8d, 0x140
mov rcx, rax
call fcn.1801cf320
mov edx, 0x67
mov rcx, r14
call fcn.180010880
nop
lea rax, vtable.RC::RCRcmdBrowserDlg.0
mov qword [r14], rax
lea rax, vtable.RC::RCRcmdBrowserDlg.1.0
mov qword [r14 + 0x48], rax
mov qword [r14 + 0xe0], rsi
lea rbx, [r14 + 0xe8]
mov qword [rsp + 0x40], rbx
lea rdx, [rsi + 0x1110]
mov rcx, rbx
call fcn.1800090e0
nop
lea rdx, [rsi + 0x1130]
lea rcx, [rbx + 0x20]
call fcn.1800090e0
nop
mov qword [r14 + 0x128], r12
mov qword [r14 + 0x130], r15
mov dword [r14 + 0x138], r12d
mov byte [r14 + 0x13c], 0
mov eax, 1
lock xadd dword [0x1802973c0], eax
inc eax
cmp eax, 1
jne 0x1801ef5c2
call fcn.1801eca30
mov qword [0x180296390], r14
mov qword [rsi + 0x1158], r14
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call fcn.180010a50
mov edx, 5
test rax, rax
jne 0x1801ef6ec
lea rcx, [0x1802972d0]
call fcn.18009cab0
mov ebx, eax
test eax, eax
je 0x1801ef6b2
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 r8, r15
lea rdx, [0x180219f90]
lea rcx, [rbp - 0x28]
call fcn.18009cfe0
mov dword [rsp + 0x28], 0x100
lea r8, [rbp - 0x28]
mov edx, 5
lea rcx, [0x1802972d0]
call fcn.18009cb00
cmp ebx, 1
jbe 0x1801ef661
lea rdx, [rbp - 0x28]
lea rcx, [0x1802972d0]
call fcn.18009cea0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1801ef6a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801ef69c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801ef833
call fcn.1801ccd54
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r12w
mov rcx, rsi
call fcn.1801ed5c0
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 8], r12
mov dword [rsi + 0x1104], 7
mov dword [rsp + 0x3c], 5
lea rdx, [rsp + 0x3c]
mov rcx, rsi
call fcn.1801ed990
jmp 0x1801ef7ed
mov rcx, qword [rsi + 0x1158]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi + 0x1158]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov dword [rsp + 0x40], 3
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1801ed990
mov edx, 5
lea rcx, [0x1802972d0]
call fcn.18009cab0
mov ebx, eax
test eax, eax
je 0x1801ef7ed
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r12w
mov r8d, 9
lea rdx, [0x180219fc8]
lea rcx, [rbp - 8]
call fcn.1800089e0
mov dword [rsp + 0x28], VarUI4FromDisp
lea r8, [rbp - 8]
mov edx, 5
lea rcx, [0x1802972d0]
call fcn.18009cb00
cmp ebx, 1
jbe 0x1801ef7a0
lea rdx, [rbp - 8]
lea rcx, [0x1802972d0]
call fcn.18009cea0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x1801ef7dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801ef7d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801ef815
call fcn.1801ccd54
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r12w
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1801ccd30
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1801d1a6c
int3
call fcn.1801d1a6c
int3
call fcn.1801d1a6c
int3
call fcn.1801d1a6c
int3
call fcn.1801d1a6c
int3
call fcn.1801d1a6c
int3