Function at 0x180192740
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r13, rcx
xor r12d, r12d
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r12w
lea r8d, [r12 + 0x35]
lea rdx, str.5339F83D_43A2_4502_9D4D_4F06C2CE80C2_RCPdfConverter
lea rcx, [rbp - 0x38]
call fcn.180007110
nop
mov qword [rsp + 0x30], r12
mov word [rsp + 0x38], r12w
mov word [rsp + 0x38], r12w
xor bl, bl
cmp qword [rbp - 0x28], r12
je 0x1801927d7
lea r8, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae r8, qword [rbp - 0x38]
jmp 0x1801927da
mov r8, r12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov r15, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18019280b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, bl
cmp eax, 0xb7
mov eax, 1
cmove ebx, eax
mov byte [rsp + 0x39], bl
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x18019284e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180192849
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180192849
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r12w
test r15, r15
je 0x18019286f
test bl, bl
je 0x18019286f
xor bl, bl
jmp 0x180192da5
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x180192da3
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + InitCommonControls]
cmp eax, 1
je 0x180192da3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
movdqa xmm1, xmmword [0x180291a20]
movdqu xmmword [rbp - 0x68], xmm1
mov word [rbp - 0x78], r12w
mov r8d, 3
lea rdx, [0x18028d380]
lea rcx, [rbp - 0x78]
call fcn.180007110
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x60]
mov esi, 0x3b
cmp rcx, rdx
jae 0x1801928ea
lea rax, [rcx + 1]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
cmp rdx, 8
cmovae rax, qword [rbp - 0x78]
mov dword [rax + rcx*2], esi
jmp 0x1801928fd
mov r9d, esi
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x78]
call fcn.180023220
mov r9, r14
cmp qword [r14 + 0x18], 8
jb 0x18019290a
mov r9, qword [r14]
mov rdx, qword [r14 + 0x10]
mov rcx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x60]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x18019294d
lea rdi, [rcx + rdx]
mov qword [rbp - 0x68], rdi
lea rbx, [rbp - 0x78]
cmp r8, 8
cmovae rbx, qword [rbp - 0x78]
lea r8, [rdx + rdx]
lea rcx, [rbx + rcx*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r12w
jmp 0x18019295b
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x78]
call fcn.180007c90
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x60]
cmp rcx, rdx
jae 0x180192986
lea rax, [rcx + 1]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
cmp rdx, 8
cmovae rax, qword [rbp - 0x78]
mov dword [rax + rcx*2], 0x3b
jmp 0x180192999
mov r9d, esi
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x78]
call fcn.180023220
lea rcx, [rsp + 0x58]
call fcn.180115450
nop
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.1801157e0
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x58]
call fcn.180115630
nop
lea r9, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae r9, qword [rbp + 8]
mov rdi, qword [rbp + 0x18]
mov r14, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x180192a15
lea rax, [r14 + rdi]
mov qword [rbp - 0x68], rax
lea rbx, [rbp - 0x78]
cmp rcx, 8
cmovae rbx, qword [rbp - 0x78]
lea r8, [rdi + rdi]
lea rcx, [rbx + r14*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r12w
jmp 0x180192a26
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.180007c90
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x60]
cmp rcx, rdx
jae 0x180192a51
lea rax, [rcx + 1]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
cmp rdx, 8
cmovae rax, qword [rbp - 0x78]
mov dword [rax + rcx*2], 0x3b
jmp 0x180192a64
mov r9d, esi
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x78]
call fcn.180023220
xor edx, edx
lea rcx, [rbp - 0x58]
call fcn.180110ca0
nop
lea rdx, [0x1802890a0]
lea rcx, [rbp - 0x58]
call fcn.1800897b0
mov r9, rax
cmp rax, 0xffffffffffffffff
je 0x180192add
mov r8, qword [rbp - 0x48]
cmp r8, rax
jb 0x180192de2
mov qword [rsp + 0x48], r8
mov rax, r8
sub rax, r9
mov qword [rsp + 0x50], rax
mov rdx, r8
cmp rax, r8
cmovb rdx, rax
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rax, qword [rbp - 0x58]
lea rcx, [rax + r9*2]
sub r8, rdx
mov qword [rbp - 0x48], r8
sub r8, r9
lea r8, [r8*2 + 2]
lea rdx, [rcx + rdx*2]
call sub.VCRUNTIME140.dll_memmove
lea r9, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae r9, qword [rbp - 0x58]
mov rdi, qword [rbp - 0x48]
mov r14, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x180192b32
lea rax, [r14 + rdi]
mov qword [rbp - 0x68], rax
lea rbx, [rbp - 0x78]
cmp rcx, 8
cmovae rbx, qword [rbp - 0x78]
lea r8, [rdi + rdi]
lea rcx, [rbx + r14*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r12w
jmp 0x180192b43
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.180007c90
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x60]
cmp rcx, rdx
jae 0x180192b6e
lea rax, [rcx + 1]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
cmp rdx, 8
cmovae rax, qword [rbp - 0x78]
mov dword [rax + rcx*2], 0x3b
jmp 0x180192b81
mov r9d, esi
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x78]
call fcn.180023220
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
movdqa xmm1, xmmword [0x180291a20]
movdqu xmmword [rbp - 8], xmm1
mov word [rbp - 0x18], r12w
mov r8d, 0xb
lea rdx, str.upgrade.hzt
lea rcx, [rbp - 0x18]
call fcn.180007110
nop
lea rdx, [r13 + 8]
lea r8, [rbp - 0x18]
lea rcx, [rbp + 0x28]
call fcn.1800f8180
nop
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x180192c07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180192c02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180192c02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r12w
lea rcx, [rbp + 0x28]
call fcn.18010a9d0
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x78]
call fcn.180190bc0
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x180192c73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180192c6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180192c6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp + 0x38], xmm0
mov word [rbp + 0x28], r12w
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x180192cc8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180192cc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180192cc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r12w
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x180192d1c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180192d17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180192d17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r12w
lea rcx, [rsp + 0x70]
call fcn.180109550
nop
lea rax, vtable.RC::RCFileHash.0
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x68], 1
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180192d8d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180192d88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180192d88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r12w
xor bl, bl
jmp 0x180192da5
mov bl, 1
test r15, r15
je 0x180192db8
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], r12
mov word [rsp + 0x38], 0
movzx eax, bl
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.18022a7d0
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800094e0
nop
int3