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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1800630c0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, r8
mov rbx, rdx
mov r14, rcx
xor r15d, r15d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x180]
call fcn.1800305d0
mov r8d, 0x104
lea rdx, [rbp + 0x180]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x18000e7c9
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], r15
mov qword [rbp + 0x138], r15
lea rax, [rbp + 0x180]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x18000e450
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x120]
call fcn.1800013d0
nop
movups xmm1, xmmword [rdi]
mov rsi, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x138]
mov rax, rcx
sub rax, rsi
mov rdi, qword [rdi + 8]
cmp rdi, rax
ja 0x18000e4c9
lea rax, [rsi + rdi]
mov qword [rbp + 0x130], rax
lea rbx, [rbp + 0x120]
cmp rcx, 7
cmova rbx, qword [rbp + 0x120]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
movq rdx, xmm1
call fcn.18002ff30
lea rax, [rdi + rsi]
mov word [rbx + rax*2], r15w
jmp 0x18000e4e8
mov qword [rsp + 0x20], rdi
movq r9, xmm1
movzx r8d, byte [rsp + 0x50]
mov rdx, rdi
lea rcx, [rbp + 0x120]
call fcn.180006cd0
lea rdx, [rbp + 0x120]
cmp qword [rbp + 0x138], 7
cmova rdx, qword [rbp + 0x120]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rcx, [rbp + 0x10]
call fcn.18000c0b0
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x10], rdi
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xc], edx
cmp qword [rbp + 0x98], 0
je 0x18000e721
mov rdx, qword [r14]
mov r8d, dword [rdx]
add rdx, 4
lea rcx, [rbp + 0x10]
call fcn.1800139b0
lea rcx, [rbp + 0x18]
call fcn.180011150
test rax, rax
jne 0x18000e5a1
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx + 0x58], 0
cmovne eax, edx
or eax, dword [rbp + rcx + 0x20]
and eax, 0x17
mov dword [rbp + rcx + 0x20], eax
mov edx, dword [rbp + rcx + 0x24]
and edx, eax
jne 0x18000e7f5
mov dword [rbp - 0x60], 0x68
mov qword [rbp - 0x58], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
mov dword [rbp - 0x20], r15d
mov qword [rbp - 0x18], r15
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp], r15
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp - 0x78], xmm1
mov qword [rbp - 0x68], rax
lea rax, str.msiexec.exe__i_____Qn
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x17
lea rax, [rbp + 0x120]
cmp qword [rbp + 0x138], 7
cmova rax, qword [rbp + 0x120]
mov qword [rbp + 0x170], rax
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x178], rax
movabs rax, 0xc000000000000000
mov qword [rbp + 0x168], rax
mov qword [rsp + 0x70], 1
lea rax, [rbp + 0x168]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm1
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x140]
call fcn.18000bed0
lea rdx, [rbp + 0x140]
cmp qword [rbp + 0x158], 7
cmova rdx, qword [rbp + 0x140]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
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 ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
mov rdx, qword [rbp + 0x158]
cmp rdx, 7
jbe 0x18000e708
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e703
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000e84d
call fcn.180015d34
test ebx, ebx
je 0x18000e721
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x10], rdi
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x18]
call fcn.18000cd10
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x10], rax
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0xc], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xb8], rax
lea rcx, [rbp + 0xb8]
call fcn.1800157e0
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 7
jbe 0x18000e7c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e7c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000e7ef
call fcn.180015d34
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1800162e0
mov rbx, qword [rsp + 0x4e8]
add rsp, 0x4a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.18001cb14
nop
test dl, 4
je 0x18000e803
lea rbx, str.ios_base::badbit_set
jmp 0x18000e818
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.180012f20
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x140]
call fcn.18000c890
lea rdx, [0x1800617c0]
lea rcx, [rbp + 0x140]
call fcn.18001702c
int3
call fcn.18001cb14
int3