Function at 0x140031460
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xc8]
sub rsp, 0x1c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400b3030]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rbx, rcx
lea rcx, [rbp + 0x70]
call fcn.14004aed0
nop
mov qword [rbp - 0x60], 0xf
xor esi, esi
mov qword [rbp - 0x68], rsi
mov byte [rbp - 0x78], sil
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x70]
call fcn.1400425f0
test eax, eax
je 0x1400314f7
lea rdx, str.Cannot_read_iCLS_Client_installation_directory_from_registry.
lea rcx, [rbp - 0x38]
call fcn.140022550
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x10]
call fcn.140023710
lea rdx, [0x1400aea80]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov r8d, 0x1e
lea rdx, str.IntelPTTEkRecertification.exe
lea rcx, [rbp - 0x78]
call fcn.140029390
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], rsi
mov byte [rsp + 0x68], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140022ac0
nop
xor edx, edx
lea r8d, [rdx + 0x68]
lea rdi, [0x1400b4b80]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov qword [0x1400b4c08], rax
mov qword [0x1400b4c10], rax
mov qword [0x1400b4c18], rax
mov dword [0x1400b4b80], 0x68
mov qword [rbp - 0x20], 0xf
mov qword [rbp - 0x28], rsi
mov byte [rbp - 0x38], al
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.140022ac0
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.140023b30
nop
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
lea rax, [0x1400b4c08]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400316ca
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], esi
lea rcx, [rbp - 0x10]
call fcn.140024000
nop
mov rcx, rax
call fcn.140024820
mov rcx, rax
lea rdx, [0x14009a458]
call fcn.140024650
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.14002d120
mov rcx, rax
mov rdx, rbx
call fcn.14002cda0
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.14002d120
mov rcx, rax
lea rdx, [0x14009a45c]
call fcn.140024650
mov rcx, rax
lea rdx, [0x14009abe4]
call fcn.140024650
mov rcx, rax
lea rdx, str.TPMProvisioningService::TPMProvisioning::RunPTTEKRecertification
call fcn.140024650
mov rcx, rax
lea rdx, [0x14009a45c]
call fcn.140024650
mov rcx, rax
lea rdx, str.Cannot_run_IntelPTTEKRecertification.exe_process.
call fcn.140024650
nop
lea rcx, [rbp - 0x10]
call fcn.1400241f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.TPMProvisioningService::TPMProvisioning::RunPTTEKRecertification
lea rcx, [rbp + 0x90]
call fcn.140022550
nop
mov r8d, ebx
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x10]
call fcn.14002df10
lea rdx, [0x1400aeb00]
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], rsi
mov word [rbp - 8], si
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rsi
mov word [rbp + 0x18], si
mov dword [rbp + 0x38], 1
mov dword [rbp + 0x3c], 1
lea rdx, [0x14009a458]
lea rcx, [rbp - 0x10]
call fcn.140024650
mov dword [rax + 0x48], esi
mov rdx, rbx
mov rcx, rax
call fcn.14002cda0
mov dword [rax + 0x48], 1
lea rdx, [0x14009a45c]
mov rcx, rax
call fcn.140024650
mov rcx, rax
lea rdx, [0x14009abe4]
call fcn.140024650
mov rcx, rax
lea rdx, str.TPMProvisioningService::TPMProvisioning::RunPTTEKRecertification
call fcn.140024650
mov rcx, rax
lea rdx, [0x14009a45c]
call fcn.140024650
mov rcx, rax
lea rdx, str.IntelPTTEKRecertification_has_been_started.
call fcn.140024650
nop
lea rcx, [rbp - 0x10]
call fcn.1400241f0
mov rcx, rbx
call fcn.140030ce0
nop
mov r8, qword [rbp - 0x40]
cmp r8, 8
jb 0x14003179c
inc r8
mov rdx, qword [rbp - 0x58]
call fcn.140022c50
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x140031807
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0x1000
jb 0x140031802
test cl, 0x1f
je 0x1400317d2
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 0x1400317e2
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 0x1400317f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1400317ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140055628
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], rsi
mov byte [rsp + 0x68], 0
mov rax, qword [rbp - 0x60]
cmp rax, 0x10
jb 0x140031873
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, 0x1000
jb 0x14003186e
test cl, 0x1f
je 0x14003183e
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 0x14003184e
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 0x14003185e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14003186b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140055628
mov qword [rbp - 0x60], 0xf
mov qword [rbp - 0x68], rsi
mov byte [rbp - 0x78], 0
mov rax, qword [rbp + 0x88]
cmp rax, 0x10
jb 0x1400318e0
inc rax
mov rcx, qword [rbp + 0x70]
cmp rax, 0x1000
jb 0x1400318db
test cl, 0x1f
je 0x1400318ab
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 0x1400318bb
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 0x1400318cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1400318d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140055628
xor eax, eax
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140055320
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret