Function at 0x14002fed0
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 [0x1400ae030]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, rcx
lea rcx, [rsp + 0x60]
call fcn.140048270
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.1400482e0
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14003fd40
test eax, eax
je 0x14002ff7a
lea rdx, str.Cannot_read_iCLS_Client_installation_directory_from_registry.
lea rcx, [rbp - 0x50]
call fcn.140021f90
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140023150
lea rdx, [0x1400aa220]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov r8d, 0x1e
lea rdx, str.IntelPTTEkRecertification.exe
lea rcx, [rbp - 0x70]
call fcn.140028390
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.140022500
nop
lea r14, [0x1400afb80]
mov rdi, r14
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rsi, [0x1400afc08]
mov rdi, rsi
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [0x1400afb80], 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.140022500
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140023570
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 0x14003013a
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], r15d
lea rcx, [rbp - 0x10]
call fcn.140023870
nop
mov rcx, rax
call fcn.140024090
mov rcx, rax
lea rdx, [0x1400969f4]
call fcn.140023ec0
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.14002bbd0
mov rcx, rax
mov rdx, rbx
call fcn.14002b850
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.14002bbd0
mov rcx, rax
lea rdx, [0x1400969f8]
call fcn.140023ec0
mov rcx, rax
lea rdx, [0x1400969fc]
call fcn.140023ec0
mov rcx, rax
lea rdx, str.TPMProvisioningService::TPMProvisioning::RunPTTEKRecertification
call fcn.140023ec0
mov rcx, rax
lea rdx, [0x1400969f8]
call fcn.140023ec0
mov rcx, rax
lea rdx, str.Cannot_run_IntelPTTEKRecertification.exe_process.
call fcn.140023ec0
nop
lea rcx, [rbp - 0x10]
call fcn.140023a60
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
lea rdx, str.TPMProvisioningService::TPMProvisioning::RunPTTEKRecertification
lea rcx, [rbp + 0x70]
call fcn.140021f90
nop
mov r8d, edi
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.14002c980
lea rdx, [0x1400aa2a0]
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, [0x1400969f4]
lea rcx, [rbp - 0x10]
call fcn.140023ec0
mov dword [rax + 0x48], r15d
mov rdx, rbx
mov rcx, rax
call fcn.14002b850
mov dword [rax + 0x48], 1
lea rdx, [0x1400969f8]
mov rcx, rax
call fcn.140023ec0
mov rcx, rax
lea rdx, [0x1400969fc]
call fcn.140023ec0
mov rcx, rax
lea rdx, str.TPMProvisioningService::TPMProvisioning::RunPTTEKRecertification
call fcn.140023ec0
mov rcx, rax
lea rdx, [0x1400969f8]
call fcn.140023ec0
mov rcx, rax
lea rdx, str.IntelPTTEKRecertification_has_been_started.
call fcn.140023ec0
nop
lea rcx, [rbp - 0x10]
call fcn.140023a60
mov rcx, rbx
call fcn.14002f750
nop
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x14003020f
inc r8
mov rdx, qword [rbp - 0x30]
call fcn.140022690
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r15
mov word [rbp - 0x30], r15w
mov rax, qword [rbp - 0x78]
cmp rax, 0x10
jb 0x14003027b
inc rax
mov rcx, qword [rsp + 0x70]
cmp rax, 0x1000
jb 0x140030276
test cl, 0x1f
je 0x140030246
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 0x140030256
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 0x140030266
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140030273
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140052a38
mov qword [rbp - 0x78], 0xf
mov qword [rbp - 0x80], r15
mov byte [rsp + 0x70], 0
mov rax, qword [rbp - 0x58]
cmp rax, 0x10
jb 0x1400302e6
inc rax
mov rcx, qword [rbp - 0x70]
cmp rax, 0x1000
jb 0x1400302e1
test cl, 0x1f
je 0x1400302b1
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 0x1400302c1
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 0x1400302d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1400302de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140052a38
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 0x140030318
cmp rcx, 0xffffffff80000005
je 0x140030318
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140052730
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