Function at 0x14017a400
Capabilities:
Create process on windows
Query environment variable
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x148
movaps xmmword [rsp + 0x130], xmm7
movaps xmmword [rsp + 0x120], xmm6
mov r15, r9
mov r13, r8
mov rbp, rdx
mov rbx, rcx
mov rax, qword [0x1402cb038]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov rcx, rdx
call fcn.1401cc264
mov rdx, qword [rbx + 0x50]
mov qword [rbx + 0x50], rax
test rdx, rdx
jne 0x14017ad59
mov r12, qword [r15]
mov rcx, r13
call fcn.1401cc264
mov rdi, rax
xor r14d, r14d
cmp qword [r12 + 0xa0], 0
setne r14b
shl r14d, 0x13
or r14d, 0x40c
cmp qword [rbx + 0x30], 0
je 0x14017a4a0
call fcn.1401af1d0
lea ecx, [r14 + 0x1000000]
cmp eax, 5
cmovge ecx, r14d
mov r14d, ecx
xorps xmm6, xmm6
movaps xmmword [rsp + 0xc0], xmm6
mov qword [rsp + 0xd0], 0
mov rdx, qword [r15]
cmp byte [rdx + 0x21], 0
jne 0x14017a7b6
xor eax, eax
xor ecx, ecx
xor r9d, r9d
movzx edx, byte [rdx + 0x20]
xor r8d, r8d
lea r10, [rsp + 0x100]
mov qword [r10 + 0x10], r8
movaps xmmword [r10], xmm6
or byte [r12 + 0x74], 0x80
add r12, 0x38
mov r11d, r9d
and r11b, 0x7f
test r9b, r9b
movzx r9d, r11b
cmovs r9, rcx
mov rsi, qword [rsp + 0x1b8]
lea r11, [rsp + 0xc0]
cmovs r11, rax
test r9, r9
cmove r11, r9
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], r11
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r8
mov rdx, rbp
mov r8, rdi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14017ad87
xorps xmm0, xmm0
lea rcx, [rsp + 0xe0]
movaps xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
lea rdx, [rsp + 0x100]
call fcn.140030940
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14017a599
mov rax, qword [r15]
mov rdx, qword [rax + 0xf8]
cmp rdx, qword [rax + 0x100]
je 0x14017adcc
mov rdx, qword [rsp + 0xe0]
mov rcx, r13
call fcn.140010e00
mov rax, qword [rsp + 0xe8]
lea rcx, [rsp + 0x98]
mov qword [rcx], rax
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x14017ad0d
mov rdx, qword [rsp + 0xe8]
movaps xmm0, xmmword [0x14029ca60]
lea r14, [rsp + 0xa0]
movaps xmmword [r14], xmm0
mov rcx, r14
mov r8b, 1
xor r9d, r9d
call fcn.140010a10
cmp byte [r14 + 8], 0
je 0x14017ad17
lea r14, [rsp + 0xa0]
mov rcx, r14
call fcn.140010af0
mov ebp, eax
cmp byte [r14 + 8], 0
je 0x14017a628
lea rcx, [rsp + 0xa0]
call fcn.14000e210
test bpl, bpl
jne 0x14017ad17
mov r14, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0xe0]
mov rdx, r14
call fcn.140033080
test al, al
je 0x14017ad37
lea rdx, [r14 + 8]
mov rcx, qword [rsp + 0xe8]
call fcn.140033080
test al, al
je 0x14017ad37
mov eax, dword [rsp + 0xf0]
mov dword [r14 + 0x10], eax
mov eax, dword [rsp + 0xf4]
mov dword [r14 + 0x14], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140010ce0
mov qword [rbx + 0x48], rax
test rax, rax
je 0x14017adaa
lea rcx, [0x140000000]
cmp rax, rcx
jne 0x14017ad6d
mov rsi, qword [rsp + 0xe0]
mov qword [rsp + 0xe0], 0
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14017a6cd
call fcn.14017a3f0
mov qword [rsp + 0xa0], rsi
mov rsi, qword [rsp + 0xe8]
mov qword [rsp + 0xe8], 0
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14017a6f8
call fcn.14017a3f0
lea rdx, [rsp + 0xa0]
mov qword [rdx + 8], rsi
mov rax, qword [rsp + 0xf0]
mov qword [rdx + 0x10], rax
mov qword [rsp + 0xf0], 0
mov rcx, rbx
call fcn.140030940
xor ebx, ebx
lea rcx, [rsp + 0xe0]
call fcn.14000af10
cmp byte [rsp + 0xd7], 0
jns 0x14017a74a
mov rcx, qword [rsp + 0xc0]
call fcn.1401cbbbc
test rdi, rdi
je 0x14017a761
lea rcx, fcn.140163210
mov rdx, rdi
xor r8d, r8d
call fcn.14015e2b0
mov rdi, qword [r15]
mov qword [r15], 0
test rdi, rdi
je 0x14017a780
mov rcx, rdi
call fcn.140010be0
mov rcx, rdi
call fcn.1401cbbbc
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.1401ce5b0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x14017ada0
mov rsi, rax
xorps xmm7, xmm7
movaps xmmword [rsp + 0xa0], xmm7
mov qword [rsp + 0xb0], 0
movzx eax, word [rax]
test ax, ax
je 0x14017ac5f
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], r15
lea r13, [rsp + 0x100]
lea r15, [rsp + 0xe0]
mov rbp, rsi
lea rsi, str.Path
lea rdi, str.SystemDrive
mov qword [rsp + 0x60], rbp
jmp 0x14017a950
xor r8d, r8d
lea r9, str.CHROME_CRASHPAD_PIPE_NAME
movzx r10d, word [r9]
cmp r10w, word [rdx + r8*2]
jne 0x14017a86a
add r9, 2
inc r8
cmp rcx, r8
jne 0x14017a847
lea r8, str.CHROME_CRASHPAD_PIPE_NAME
jmp 0x14017a910
mov r8, rdi
cmp rcx, 0x15
jne 0x14017a910
mov ecx, 0x15
xor r8d, r8d
lea r9, str.GPU_CONFIGS_OVERRIDES
movzx r9d, word [r8 + r9]
cmp r9w, word [rdx + r8]
jne 0x14017a8a4
add r8, 2
dec rcx
jne 0x14017a87f
lea r8, str.GPU_CONFIGS_OVERRIDES
jmp 0x14017a910
mov r8, rdi
jmp 0x14017a910
xor r8d, r8d
lea r9, [0x1402b6dbe]
movzx r10d, word [r9]
cmp r10w, word [rdx + r8*2]
jne 0x14017a8ef
add r9, 2
inc r8
cmp rcx, r8
jne 0x14017a8b3
lea r8, [0x1402b6d50]
jmp 0x14017a910
lea rcx, [rsp + 0xa0]
mov rdx, rbx
mov r8, r12
call fcn.14001de40
mov al, byte [rsp + 0xf7]
jmp 0x14017a932
cmp rcx, 0xc
je 0x14017aa5d
cmp rcx, 0x19
je 0x14017a83d
mov r8, rdi
cmp rcx, 0x15
je 0x14017a87c
sub r8, rsi
test r8, r8
jle 0x14017acac
cmp r8, 0x81
jae 0x14017aca9
cmp r8, 0x80
jne 0x14017a8d3
test al, al
jns 0x14017a943
mov rcx, qword [rsp + 0xe0]
call fcn.1401cbbbc
movzx eax, word [rbp]
test ax, ax
je 0x14017ab58
mov rbx, rbp
movaps xmmword [rsp + 0xe0], xmm7
mov qword [rsp + 0xf0], 0
xor r12d, r12d
jmp 0x14017a980
movzx eax, ax
test eax, eax
je 0x14017a986
movzx eax, word [rbx + r12*2 + 2]
inc r12
add rbp, 2
cmp ax, 0x3d
jne 0x14017a96c
mov rcx, r13
mov rdx, rbx
mov r8, r12
call fcn.140206ec0
cmp byte [rsp + 0xf7], 0
js 0x14017ac97
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xf0], rax
movups xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0xe0], xmm0
nop word cs:[rax + rax]
inc r12
cmp word [rbp], 0
lea rbp, [rbp + 2]
jne 0x14017a9d0
movzx eax, byte [rsp + 0xf7]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs rcx, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xe0]
cmovns rdx, r15
test rcx, rcx
js 0x14017acb5
test rdx, rdx
jne 0x14017aa19
test rcx, rcx
jne 0x14017ace1
cmp rcx, 4
je 0x14017aa8e
cmp rcx, 0xb
je 0x14017ab2b
mov r8, rcx
cmp rcx, 0xa
je 0x14017aaea
cmp rcx, 4
je 0x14017aaba
cmp rcx, 0x14
jg 0x14017a8f9
cmp rcx, 3
je 0x14017a8a9
mov r8, rdi
cmp rcx, 0xc
jne 0x14017a910
xor r8d, r8d
lea r9, str.LOCALAPPDATA
movzx r10d, word [r9]
cmp r10w, word [rdx + r8*2]
jne 0x14017a8f9
add r9, 2
inc r8
cmp rcx, r8
jne 0x14017aa67
lea r8, str.LOCALAPPDATA
jmp 0x14017a910
xor r8d, r8d
lea r9, str.Path
movzx r9d, word [r8 + r9]
cmp r9w, word [rdx + r8]
jne 0x14017aa1f
add r8, 2
cmp r8, 8
jne 0x14017aa91
mov r8, rsi
jmp 0x14017a910
xor r8d, r8d
lea r9, str.TEMP
movzx r9d, word [r8 + r9]
cmp r9w, word [rdx + r8]
jne 0x14017aa3c
add r8, 2
cmp r8, 8
jne 0x14017aabd
lea r8, str.TEMP
jmp 0x14017a910
xor r9d, r9d
lea r10, str.SystemRoot
movzx r10d, word [r9 + r10]
cmp r10w, word [rdx + r9]
jne 0x14017aa36
add r9, 2
dec r8
jne 0x14017aaed
lea r8, str.SystemRoot
jmp 0x14017a910
cmp rcx, 0xa
jne 0x14017aa36
mov r8d, 0xa
jmp 0x14017aaea
xor r8d, r8d
lea r9, str.SystemDrive
movzx r10d, word [r9]
cmp r10w, word [rdx + r8*2]
jne 0x14017ab19
add r9, 2
inc r8
cmp rcx, r8
jne 0x14017ab35
lea r8, str.SystemDrive
jmp 0x14017a910
mov al, byte [rsp + 0xb7]
test al, al
mov r15, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
jns 0x14017ac2d
movabs r12, 0x7fffffffffffffff
and r12, qword [rsp + 0xb0]
dec r12
mov rax, qword [rsp + 0xa8]
cmp rax, r12
mov rbx, qword [rsp + 0x70]
mov r13, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
je 0x14017ac69
mov rcx, qword [rsp + 0xa0]
lea rdx, [rax + 1]
mov qword [rsp + 0xa8], rdx
mov r12, qword [rsp + 0x78]
mov dword [rcx + rax*2], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xc8], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov r9b, byte [rsp + 0xd7]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
mov rdx, qword [r15]
jmp 0x14017a4cb
cmp al, 0xa
mov rbx, qword [rsp + 0x70]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x60]
je 0x14017ac63
movzx eax, al
mov edx, eax
inc dl
and dl, 0x7f
lea rcx, [rsp + 0xa0]
mov byte [rcx + 0x17], dl
jmp 0x14017abcd
xor eax, eax
jmp 0x14017ac45
mov r12d, 0xa
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0xa0]
mov r8d, 1
mov rdx, r12
mov r9, r12
call fcn.14017a1c0
mov rax, r12
jmp 0x14017abb4
mov rcx, qword [rsp + 0xe0]
call fcn.1401cbbbc
jmp 0x14017a9a2
int3
jns 0x14017a8d3
int3
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.140207060
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.140207060
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
jmp 0x14017ad1d
mov dword [rsi], 0x542
mov rcx, qword [rsp + 0xe0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x15
jmp 0x14017a726
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [rsp + 0xe0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x17
jmp 0x14017a726
lea rcx, fcn.140163210
xor r8d, r8d
call fcn.14015e2b0
jmp 0x14017a45a
mov rcx, qword [rsp + 0xe0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x41
jmp 0x14017a726
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
xor ecx, ecx
call fcn.14025ecb0
mov ebx, 0x12
jmp 0x14017a733
mov ebx, 0x46
jmp 0x14017a74a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [rsp + 0xe0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x2b
jmp 0x14017a726
mov rdx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x14017a599
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [rsp + 0xe0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x14
jmp 0x14017a726