Function at 0x14014dda6
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, 0x138
movaps xmmword [rsp + 0x120], xmm6
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov rbx, rcx
mov r12, qword [rsp + 0x1a0]
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov rcx, r8
call fcn.14010defc
mov rcx, qword [rbx + 0x48]
mov qword [rbx + 0x48], rax
test rcx, rcx
jne 0x14014e123
mov rbp, qword [r12]
mov rcx, rdi
call fcn.14010defc
xor r13d, r13d
cmp qword [rbp + 0xa0], 0
setne r13b
shl r13d, 0x13
mov rcx, qword [r12]
or r13d, dword [rcx + 0xa8]
mov qword [rsp + 0x58], rax
xorps xmm6, xmm6
movaps xmmword [rsp + 0x100], xmm6
mov qword [rsp + 0x110], 0
call fcn.14014e30e
test al, al
je 0x14014de94
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x14014e22a
mov r15, rax
lea rax, str.Path
lea r8, [rsp + 0xf0]
mov qword [r8], rax
mov qword [r8 + 8], 9
lea rcx, [rsp + 0x100]
mov rdx, r15
call fcn.14006ee0e
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
or r13d, 0x40c
mov rax, qword [r12]
movzx r12d, byte [rax + 0x20]
movaps xmmword [rsp + 0xd0], xmm6
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0xb8], 0x18
movups xmmword [rsp + 0xbc], xmm6
mov dword [rsp + 0xcc], 0
mov rax, qword [rbx + 0x50]
test rax, rax
jne 0x14014e156
xor r15d, r15d
add rbp, 0x38
lea rdi, [rsp + 0x100]
movzx eax, byte [rdi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs rcx, qword [rdi + 8]
cmovs rdi, qword [rdi]
test rcx, rcx
cmove rdi, rcx
lea rcx, [rbx + 0x18]
call fcn.14006ff10
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbp
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rdx, r14
mov r13, qword [rsp + 0x58]
mov r8, r13
mov r9, r15
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14014e1f0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0xa0]
mov qword [r14 + 0x10], rax
movaps xmm6, xmmword [0x14029bb90]
movaps xmmword [r14], xmm6
lea rdx, [rsp + 0xd0]
mov rcx, r14
call fcn.140089870
mov rax, qword [r14 + 8]
lea r15, [rsp + 0x98]
mov qword [r15], rax
lea r14, [rbx + 0x20]
mov rcx, r14
call fcn.14006ff10
mov rcx, r15
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
mov r12, qword [rsp + 0x1a0]
je 0x14014e252
mov rdx, qword [rsp + 0xa8]
lea r14, [rsp + 0x60]
movaps xmmword [r14], xmm6
mov rcx, r14
mov r8b, 1
xor r9d, r9d
call fcn.14014e6f0
cmp byte [r14 + 8], 0
je 0x14014e12d
lea r14, [rsp + 0x60]
mov rcx, r14
call fcn.14014e320
mov ebp, eax
cmp byte [r14 + 8], 0
je 0x14014e014
lea rcx, [rsp + 0x60]
call fcn.1400fd060
test bpl, bpl
jne 0x14014e12d
mov rcx, qword [rsp + 0x1a8]
lea rdx, [rsp + 0xa0]
call fcn.14014e340
test al, al
je 0x14014e186
mov rcx, qword [rsp + 0xa0]
call fcn.14014e7b7
mov qword [rbx + 0x40], rax
test rax, rax
je 0x14014e1b1
lea rcx, [0x140000000]
cmp rax, rcx
jne 0x14014e16b
lea rcx, [rsp + 0xa0]
lea r14, [rsp + 0x60]
mov rdx, r14
call fcn.14014c360
mov rcx, rbx
mov rdx, r14
call fcn.140069630
mov dword [rsi], 0
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x20], eax
lea rcx, [rsp + 0xa0]
call fcn.1400695d0
cmp byte [rsp + 0x117], 0
jns 0x14014e0c6
mov rcx, qword [rsp + 0x100]
call fcn.14010cc0c
test r13, r13
je 0x14014e0d3
mov rcx, r13
call fcn.1400e9dc0
mov rdi, qword [r12]
mov qword [r12], 0
test rdi, rdi
je 0x14014e0f4
mov rcx, rdi
call fcn.14014e5da
mov rcx, rdi
call fcn.14010cc0c
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.14010fba0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400e9dc0
jmp 0x14014de00
mov rax, qword [rsp + 0x1b0]
mov dword [rax], 0x542
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsi], 0x15
jmp 0x14014e08a
add rax, 8
lea r15, [rsp + 0xb8]
mov qword [r15 + 8], rax
jmp 0x14014dee6
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsi], 0x41
jmp 0x14014e08a
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rdi
mov rcx, qword [rsp + 0x1b0]
mov dword [rcx], eax
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsi], 0x17
jmp 0x14014e1da
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rdi
mov rcx, qword [rsp + 0x1b0]
mov dword [rcx], eax
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsi], 0x2b
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], 0
call rdi
jmp 0x14014e09f
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rdi
mov rcx, qword [rsp + 0x1b0]
mov dword [rcx], eax
mov dword [rsi], 0x12
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], 0
call rdi
mov dword [rsi + 0x20], eax
mov r12, qword [rsp + 0x1a0]
jmp 0x14014e0af
mov dword [rsi], 0x4b
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x20], eax
mov r13, qword [rsp + 0x58]
jmp 0x14014e0c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1b0]
mov dword [rcx], eax
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, r14
call fcn.1401dff20
xor al, 1
movzx eax, al
lea edx, [rax + rax*2]
lea rbx, [rsp + 0x80]
mov rcx, rbx
call fcn.140105958
mov dword [rsi], 0x15
lea rcx, [rsi + 8]
cmp byte [rbx + 0x17], 0
js 0x14014e2cb
mov rax, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rcx], xmm0
mov r12, qword [rsp + 0x1a0]
mov r13, qword [rsp + 0x58]
jmp 0x14014e0a2
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
call fcn.140090a56
cmp byte [rsp + 0x97], 0
mov r12, qword [rsp + 0x1a0]
mov r13, qword [rsp + 0x58]
jns 0x14014e0a2
mov rcx, qword [rsp + 0x80]
call fcn.14010cc0c
jmp 0x14014e0a2