Function at 0x140034260
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x300
mov rax, qword [0x1400b0068]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x60], rax
lea rdx, [0x1400bfe50]
lea rcx, [rsp + 0x38]
call fcn.14002c510
mov rdi, rax
lea rdx, [0x1400bff10]
lea rcx, [rsp + 0xf0]
call fcn.14002c510
mov rbx, rax
lea rdx, [0x1400bff70]
lea rcx, [rsp + 0x138]
call fcn.14002c510
nop
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.1400450e0
nop
mov ecx, 0x50
call fcn.140058830
mov rsi, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
lea rax, vtable.IntelPTTEKRecertificationMutex::IPERMutex.0
mov qword [rsi], rax
xor edi, edi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x18], rdi
mov qword [rsi + 0x20], 0xf
mov byte [rsi + 8], dil
lea r8d, [rdi + 0x25]
lea rdx, str.IntelPTTEKRecertificationIPERSTARTED
lea rcx, [rsi + 8]
call fcn.14002b560
nop
lea rax, str.IntelPTTEKRecertificationServiceBoundary
mov qword [rsi + 0x28], rax
lea rax, [0x14009e8f8]
mov qword [rsi + 0x30], rax
mov word [rsi + 0x48], di
mov rcx, rsi
call fcn.140033ad0
mov byte [rsi + 0x48], al
lea rdx, [rsi + 8]
lea rcx, [rsp + 0xf0]
call fcn.14002c510
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14002ca50
cmp qword [rax + 0x18], 8
jb 0x14003439a
mov rax, qword [rax]
mov r8, rax
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsi + 0x38], rax
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400343f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400343ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400343ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b8c
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], di
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14003441e
cmp qword [rsi + 0x38], 0
je 0x14003441e
mov al, 1
jmp 0x140034433
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140034431
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x38], rdi
xor al, al
mov byte [rsi + 0x49], al
mov qword [rsp + 0x110], rsi
test al, al
jne 0x14003457c
lea rax, vtable.LogItem.0
mov qword [rsp + 0x70], rax
call fcn.14002cde0
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14002c510
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.14002c510
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14002ca50
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x138]
call fcn.14002c510
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.14002ca50
mov dword [rsp + 0xd8], 1
mov dword [rsp + 0xdc], 1
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x108], 0xf
mov byte [rsp + 0xf0], 0
mov r8d, 0x43
lea rdx, str.IntelPTTEKRecertification_already_running._Closing_this_instance...
lea rcx, [rsp + 0xf0]
call fcn.14002b560
nop
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x70]
call fcn.14002d540
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x140034556
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034550
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034550
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b8c
nop
lea rcx, [rsp + 0x70]
call fcn.14002cfc0
nop
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
mov rax, qword [rax]
call qword [0x140093828]
xor eax, eax
jmp 0x1400348bb
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x130], 0xf
mov byte [rsp + 0x118], 0
lea r14, vtable.TpmHelper.0
mov qword [rsp + 0xf0], r14
mov dword [rsp + 0xf8], 0x81010000
mov dword [rsp + 0xfc], 0x8101ffff
mov byte [rsp + 0x100], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x160], xmm0
movups xmmword [rsp + 0x170], xmm0
movups xmmword [rsp + 0x180], xmm0
movups xmmword [rsp + 0x190], xmm0
movups xmmword [rsp + 0x1a0], xmm0
movups xmmword [rsp + 0x1b0], xmm0
movups xmmword [rsp + 0x1c0], xmm0
movups xmmword [rsp + 0x1d0], xmm0
movups xmmword [rsp + 0x1e0], xmm0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
xor r8d, r8d
lea rdx, [0x14009da30]
lea rcx, [rsp + 0x38]
call fcn.14002b560
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x160]
call fcn.14003e720
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140034698
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034693
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034693
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b8c
lea rax, vtable.iclsClientCaller.0
mov qword [rsp + 0x160], rax
lea rax, vtable.iclsClientCaller.1.0
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], rdi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1d0], xmm0
mov qword [rsp + 0x1e0], rdi
mov ecx, 0xd0
call fcn.140058830
mov rbx, rax
mov qword [rsp + 0x60], rax
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 0xf
xor r8d, r8d
lea rdx, [0x14009da30]
lea rcx, [rsp + 0x38]
call fcn.14002b560
lea r9, [rsp + 0x38]
mov rcx, rbx
call fcn.140047d80
lea rax, vtable.IclsClientLoader.0
mov qword [rbx], rax
mov rcx, qword [rsp + 0x1c8]
mov qword [rsp + 0x1c8], rbx
test rcx, rcx
je 0x140034759
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [0x140093828]
nop
lea rax, vtable.EkRecertificationUtils.0
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x138]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x118]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
call fcn.14002eaa0
mov ebx, eax
lea rax, vtable.IEkRecertificationUtils.0
mov qword [rsp + 0x138], rax
lea rcx, [rsp + 0x160]
call fcn.14004ae50
nop
mov qword [rsp + 0xf0], r14
mov byte [rsp + 0x100], 0
mov rcx, qword [0x1400bfbb0]
test rcx, rcx
je 0x1400347fa
call fcn.140001780
mov rcx, qword [0x1400bfbb0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x1400bfbb0], rdi
mov rcx, qword [0x1400bfba8]
test rcx, rcx
je 0x14003482f
cmp dword [rcx + 8], 1
jb 0x140034822
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x140034822
call qword [0x140093828]
mov rcx, qword [0x1400bfba8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x1400bfba8], rdi
jmp 0x14003483c
mov rdx, qword [rsp + 0x130]
cmp rdx, 0x10
jb 0x140034882
inc rdx
mov rcx, qword [rsp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003487d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003487d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b8c
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x130], 0xf
mov byte [rsp + 0x118], 0
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov edx, 1
mov rcx, rsi
call qword [0x140093828]
mov eax, ebx
jmp 0x1400348bb
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140058810
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret