Function at 0x14002f810
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1400a0038]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, rcx
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140046ba0
nop
xor r15d, r15d
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], r15b
mov qword [rbp - 0x40], 0xf
mov qword [rbp - 0x48], 0xc
movsd xmm0, qword [str.InstallDir64]
movsd qword [rbp - 0x58], xmm0
mov eax, dword [0x140090ac0]
mov dword [rbp - 0x50], eax
mov byte [rbp - 0x4c], r15b
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x60]
call fcn.1400404b0
test eax, eax
jne 0x14002fc9f
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1e
jb 0x14002f8fb
lea rax, [rcx + 0x1e]
mov qword [rbp - 0x68], rax
lea rdi, [rbp - 0x78]
cmp rdx, 0x10
cmovae rdi, qword [rbp - 0x78]
add rdi, rcx
lea r8d, [r15 + 0x1e]
lea rdx, str.IntelPTTEkRecertification.exe
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 0x1e], r15b
lea rax, [rbp - 0x78]
jmp 0x14002f919
mov qword [rsp + 0x20], 0x1e
lea r9, str.IntelPTTEkRecertification.exe
mov edx, 0x1e
lea rcx, [rbp - 0x78]
call fcn.1400289e0
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140027020
nop
lea r14, [0x1400ad770]
mov rdi, r14
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rsi, [0x1400ad7f8]
mov rdi, rsi
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [0x1400ad770], 0x68
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x68]
call fcn.140027020
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140021210
nop
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
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
je 0x14002fbbd
lea rax, vtable.LogItem.0
mov qword [rbp - 0x10], rax
call fcn.140021430
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.140027020
nop
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x70]
call fcn.140027020
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.140021210
nop
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x68]
call fcn.140027020
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.140021210
mov dword [rbp + 0x58], 1
mov dword [rbp + 0x5c], 2
lea rdx, [0x14008f5e4]
lea rcx, [rbp - 0x10]
call fcn.140021ea0
mov dword [rax + 0x68], r15d
mov rdx, rbx
mov rcx, rax
call fcn.140029850
mov dword [rax + 0x68], 1
lea rdx, [0x14008f5e8]
mov rcx, rax
call fcn.140021ea0
mov rcx, rax
lea rdx, [0x14008f5ec]
call fcn.140021ea0
mov rcx, rax
lea rdx, str.TPMProvisioningService::TPMProvisioning::RunPTTEKRecertification
call fcn.140021ea0
mov rcx, rax
lea rdx, [0x14008f5e8]
call fcn.140021ea0
mov rcx, rax
lea rdx, str.IntelPTTEKRecertification_has_been_started.
call fcn.140021ea0
nop
lea rcx, [rbp - 0x10]
call fcn.1400219a0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x14002facf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002faca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002faca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140053a0c
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r15w
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14002fb1f
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fb19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fb19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140053a0c
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14002fb5d
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fb58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fb58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140053a0c
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov eax, 0x80000000
mov rcx, qword [rsp + 0x60]
add rax, rcx
cmp rax, 3
jbe 0x14002fb8f
cmp rcx, 0xffffffff80000005
je 0x14002fb8f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140053760
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
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x58], r15d
lea rcx, [rbp - 0x10]
call fcn.140021760
nop
mov rcx, rax
call fcn.140022090
mov rcx, rax
lea rdx, [0x14008f5e4]
call fcn.140021ea0
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.140029a70
mov rcx, rax
mov rdx, rbx
call fcn.140029850
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140029a70
mov rcx, rax
lea rdx, [0x14008f5e8]
call fcn.140021ea0
mov rcx, rax
lea rdx, [0x14008f5ec]
call fcn.140021ea0
mov rcx, rax
lea rdx, str.TPMProvisioningService::TPMProvisioning::RunPTTEKRecertification
call fcn.140021ea0
mov rcx, rax
lea rdx, [0x14008f5e8]
call fcn.140021ea0
mov rcx, rax
lea rdx, str.Cannot_run_IntelPTTEKRecertification.exe_process.
call fcn.140021ea0
nop
lea rcx, [rbp - 0x10]
call fcn.1400219a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, str.TPMProvisioningService::TPMProvisioning::RunPTTEKRecertification
lea rcx, [rbp + 0x70]
call fcn.1400204e0
nop
mov r8d, edi
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.14002ae50
lea rdx, [0x14009c6f8]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Cannot_read_iCLS_Client_installation_directory_from_registry.
lea rcx, [rbp - 0x58]
call fcn.1400204e0
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x10]
call fcn.140020ea0
lea rdx, [0x14009c608]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3