Function at 0x14002ffe0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400af030]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, rcx
lea rcx, [rsp + 0x60]
call fcn.140048510
nop
mov qword [rbp - 0x58], 0xf
xor r15d, r15d
mov qword [rbp - 0x60], r15
mov byte [rbp - 0x70], r15b
lea rcx, [rbp - 0x50]
call fcn.140048580
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14003ffe0
test eax, eax
je 0x14003008a
lea rdx, str.Cannot_read_iCLS_Client_installation_directory_from_registry.
lea rcx, [rbp - 0x50]
call fcn.140021fa0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140023160
lea rdx, [0x1400ab338]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov r8d, 0x1e
lea rdx, str.IntelPTTEkRecertification.exe
lea rcx, [rbp - 0x70]
call fcn.1400283a0
mov qword [rbp - 0x78], 0xf
mov qword [rbp - 0x80], r15
mov byte [rsp + 0x70], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140022510
nop
lea r14, [0x1400b0b80]
mov rdi, r14
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rsi, [0x1400b0c08]
mov rdi, rsi
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [0x1400b0b80], 0x68
mov qword [rbp - 0x38], 0xf
mov qword [rbp - 0x40], r15
mov byte [rbp - 0x50], al
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.140022510
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140023580
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
jne 0x14003024a
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], r15d
lea rcx, [rbp - 0x10]
call fcn.140023880
nop
mov rcx, rax
call fcn.1400240a0
mov rcx, rax
lea rdx, [0x1400979f4]
call fcn.140023ed0
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.14002bac0
mov rcx, rax
mov rdx, rbx
call fcn.14002b860
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.14002bac0
mov rcx, rax
lea rdx, [0x1400979f8]
call fcn.140023ed0
mov rcx, rax
lea rdx, [0x1400979fc]
call fcn.140023ed0
mov rcx, rax
lea rdx, str.TPMProvisioningService::TPMProvisioning::RunPTTEKRecertification
call fcn.140023ed0
mov rcx, rax
lea rdx, [0x1400979f8]
call fcn.140023ed0
mov rcx, rax
lea rdx, str.Cannot_run_IntelPTTEKRecertification.exe_process.
call fcn.140023ed0
nop
lea rcx, [rbp - 0x10]
call fcn.140023a70
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
lea rdx, str.TPMProvisioningService::TPMProvisioning::RunPTTEKRecertification
lea rcx, [rbp + 0x70]
call fcn.140021fa0
nop
mov r8d, edi
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.14002c870
lea rdx, [0x1400ab3b8]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rax, vtable.LogItem.0
mov qword [rbp - 0x10], rax
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r15
mov word [rbp - 8], r15w
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], r15
mov word [rbp + 0x18], r15w
mov dword [rbp + 0x38], 1
mov dword [rbp + 0x3c], 1
lea rdx, [0x1400979f4]
lea rcx, [rbp - 0x10]
call fcn.140023ed0
mov dword [rax + 0x48], r15d
mov rdx, rbx
mov rcx, rax
call fcn.14002b860
mov dword [rax + 0x48], 1
lea rdx, [0x1400979f8]
mov rcx, rax
call fcn.140023ed0
mov rcx, rax
lea rdx, [0x1400979fc]
call fcn.140023ed0
mov rcx, rax
lea rdx, str.TPMProvisioningService::TPMProvisioning::RunPTTEKRecertification
call fcn.140023ed0
mov rcx, rax
lea rdx, [0x1400979f8]
call fcn.140023ed0
mov rcx, rax
lea rdx, str.IntelPTTEKRecertification_has_been_started.
call fcn.140023ed0
nop
lea rcx, [rbp - 0x10]
call fcn.140023a70
nop
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x140030317
inc r8
mov rdx, qword [rbp - 0x30]
call fcn.1400226a0
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r15
mov word [rbp - 0x30], r15w
mov rax, qword [rbp - 0x78]
cmp rax, 0x10
jb 0x140030383
inc rax
mov rcx, qword [rsp + 0x70]
cmp rax, 0x1000
jb 0x14003037e
test cl, 0x1f
je 0x14003034e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14003035e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14003036e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14003037b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140053048
mov qword [rbp - 0x78], 0xf
mov qword [rbp - 0x80], r15
mov byte [rsp + 0x70], 0
mov rax, qword [rbp - 0x58]
cmp rax, 0x10
jb 0x1400303ee
inc rax
mov rcx, qword [rbp - 0x70]
cmp rax, 0x1000
jb 0x1400303e9
test cl, 0x1f
je 0x1400303b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400303c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400303d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1400303e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140053048
mov qword [rbp - 0x58], 0xf
mov qword [rbp - 0x60], r15
mov byte [rbp - 0x70], 0
mov eax, 0x80000000
mov rcx, qword [rsp + 0x60]
add rax, rcx
cmp rax, 3
jbe 0x140030420
cmp rcx, 0xffffffff80000005
je 0x140030420
call qword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140052d40
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret