Function at 0x140092930
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 rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140135028]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov rcx, rdx
call fcn.14009c434
mov rdx, qword [rbx + 0x48]
mov qword [rbx + 0x48], rax
test rdx, rdx
jne 0x140093000
mov r13, qword [r15]
mov rcx, rdi
call fcn.14009c434
xor edi, edi
cmp qword [r13 + 0xa0], 0
mov r12, rax
setne r9b
xorps xmm6, xmm6
movaps xmmword [rsp + 0xc0], xmm6
mov qword [rsp + 0xd0], 0
mov rdx, qword [r15]
cmp byte [rdx + 0x21], 0
je 0x140092a50
mov byte [rsp + 0x67], r9b
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x140092ee9
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], r15
xorps xmm7, xmm7
movaps xmmword [rsp + 0xa0], xmm7
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x68], rax
movzx eax, word [rax]
test ax, ax
je 0x140092ba8
lea r12, [rsp + 0x100]
lea rsi, [rsp + 0xe0]
lea r15, str.Path
lea rbx, str.Path
mov rbp, qword [rsp + 0x68]
jmp 0x140092b4c
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x140092c21
movzx eax, ax
test eax, eax
je 0x140092a76
movzx eax, word [r14 + r13*2 + 2]
inc r13
add rbp, 2
cmp ax, 0x3d
jne 0x140092a5c
mov rcx, r12
mov rdx, r14
mov r8, r13
call fcn.14001f4b0
cmp byte [rsp + 0xf7], 0
js 0x140092f96
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xf0], rax
movups xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0xe0], xmm0
inc r13
cmp word [rbp], 0
lea rbp, [rbp + 2]
jne 0x140092ab2
movzx eax, byte [rsp + 0xf7]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs rcx, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xe0]
cmovns r8, rsi
test rcx, rcx
js 0x140092fa8
test r8, r8
jne 0x140092afb
test rcx, rcx
jne 0x140092fd4
mov rdx, r15
cmp qword [rdx + 8], rcx
je 0x140092b6b
add rdx, 0x10
cmp rdx, rbx
jne 0x140092afe
mov rdx, rbx
sub rdx, r15
test rdx, rdx
jle 0x140092f8d
cmp rdx, 0xc1
jae 0x140092f8a
cmp rdx, 0xc0
jne 0x140092b8c
test al, al
jns 0x140092b43
mov rcx, qword [rsp + 0xe0]
call fcn.14009b57c
movzx eax, word [rbp]
test ax, ax
je 0x140092ba8
mov r14, rbp
movaps xmmword [rsp + 0xe0], xmm7
mov qword [rsp + 0xf0], 0
xor r13d, r13d
jmp 0x140092a70
test rcx, rcx
je 0x140092b10
mov r9, qword [rdx]
xor r10d, r10d
movzx r11d, word [r9 + r10*2]
cmp r11w, word [r8 + r10*2]
jne 0x140092b04
inc r10
cmp rcx, r10
jne 0x140092b76
jmp 0x140092b10
lea rcx, [rsp + 0xa0]
mov rdx, r14
mov r8, r13
call fcn.140014aa0
mov al, byte [rsp + 0xf7]
jmp 0x140092b32
lea r12, [rsp + 0xa0]
mov rcx, r12
xor edx, edx
call fcn.14006cd20
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0xd0], rax
movaps xmm0, xmmword [r12]
movaps xmmword [rsp + 0xc0], xmm0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov r15, qword [rsp + 0x90]
mov rdx, qword [r15]
mov r8b, byte [rsp + 0xd7]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
mov r12, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov r14, qword [rsp + 0x78]
mov r13, qword [rsp + 0x70]
mov r9b, byte [rsp + 0x67]
mov rsi, qword [rsp + 0x1b8]
mov dil, r9b
shl edi, 0x13
or edi, 0x40c
movzx edx, byte [rdx + 0x20]
xor r9d, r9d
lea r10, [rsp + 0xe0]
mov qword [r10 + 0x10], r9
add r13, 0x38
mov r11d, r8d
and r11b, 0x7f
test r8b, r8b
movzx r8d, r11b
cmovs r8, rcx
movaps xmmword [r10], xmm6
lea r11, [rsp + 0xc0]
cmovs r11, rax
test r8, r8
cmove r11, r8
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r11
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
mov rdx, r14
mov r8, r12
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x140092f3c
xorps xmm0, xmm0
lea r14, [rsp + 0xa0]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
lea rdx, [rsp + 0xe0]
mov rcx, r14
call fcn.140015f10
mov rax, qword [r14 + 8]
lea rcx, [rsp + 0x98]
mov qword [rcx], rax
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x140092f10
mov rdx, qword [rsp + 0xa8]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x100]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x14011bbd0]
movaps xmmword [r14], xmm0
mov rcx, r14
mov r8b, 1
xor r9d, r9d
call fcn.14001f5c0
cmp byte [r14], 0
je 0x140092ef0
lea r14, [rsp + 0x108]
mov rcx, r14
call fcn.14001f690
mov ebp, eax
cmp byte [r14 - 8], 0
je 0x140092d5b
mov rcx, r14
call fcn.1400210f0
test bpl, bpl
jne 0x140092ef0
mov r14, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0xa0]
mov rdx, r14
call fcn.140016950
test al, al
je 0x140092f1a
lea rdx, [r14 + 8]
mov rcx, qword [rsp + 0xa8]
call fcn.140016950
test al, al
je 0x140092f1a
mov eax, dword [rsp + 0xb0]
mov dword [r14 + 0x10], eax
mov eax, dword [rsp + 0xb4]
mov dword [r14 + 0x14], eax
mov rcx, qword [rsp + 0xa0]
call fcn.14001f890
mov qword [rbx + 0x40], rax
test rax, rax
je 0x140092f68
lea rcx, [0x140000000]
cmp rax, rcx
jne 0x140092f4e
mov rsi, qword [rsp + 0xa0]
mov qword [rsp + 0xa0], 0
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140092e00
call fcn.140062880
mov qword [rsp + 0x100], rsi
mov rsi, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], 0
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140092e2b
call fcn.140062880
lea rdx, [rsp + 0x100]
mov qword [rdx + 8], rsi
mov rax, qword [rsp + 0xb0]
mov qword [rdx + 0x10], rax
mov qword [rsp + 0xb0], 0
mov rcx, rbx
call fcn.140015f10
xor ebx, ebx
lea rcx, [rsp + 0xa0]
call fcn.14001e100
cmp byte [rsp + 0xd7], 0
jns 0x140092e7d
mov rcx, qword [rsp + 0xc0]
call fcn.14009b57c
test r12, r12
je 0x140092e94
lea rcx, fcn.140068d20
mov rdx, r12
xor r8d, r8d
call fcn.14006cea0
mov rdi, qword [r15]
mov qword [r15], 0
test rdi, rdi
je 0x140092eb3
mov rcx, rdi
call fcn.14001f780
mov rcx, rdi
call fcn.14009b57c
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.14009d810
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
mov ebx, 0x46
jmp 0x140092e7d
mov dword [rsi], 0x542
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x15
jmp 0x140092e59
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
jmp 0x140092ef6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x17
jmp 0x140092e59
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov ebx, 0x12
jmp 0x140092e66
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x41
jmp 0x140092e59
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x2b
jmp 0x140092e59
int3
jns 0x140092b8c
int3
mov rcx, qword [rsp + 0xe0]
call fcn.14009b57c
jmp 0x140092a92
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.1400cdc80
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.1400cdc80
lea rcx, fcn.140068d20
xor r8d, r8d
call fcn.14006cea0
jmp 0x14009298a