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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x1402295b8]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor r14d, r14d
mov esi, r14d
mov dword [rbp - 9], r14d
xor r8d, r8d
xor edx, edx
lea rcx, str.CommonProgramW6432
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r14w
test eax, eax
je 0x140070631
mov edx, ebx
cmp rbx, 7
ja 0x140070471
mov qword [rbp + 0x17], rbx
test eax, eax
je 0x140070469
movzx eax, r14w
lea rdi, [rbp + 7]
mov ecx, ebx
rep stosw word [rdi], ax
mov word [rbp + rbx*2 + 7], r14w
jmp 0x140070483
mov word [rsp + 0x20], r14w
mov r9, rdx
lea rcx, [rbp + 7]
call fcn.140002fe0
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r8d, ebx
lea rcx, str.CommonProgramW6432
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rdx, qword [rbp + 0x17]
test rdx, rdx
je 0x140070631
lea rax, [rbp + 7]
mov rcx, qword [rbp + 7]
mov rdi, qword [rbp + 0x1f]
cmp rdi, 8
cmovae rax, rcx
cmp word [rax + rdx*2 - 2], 0
jne 0x14007051e
movdqa xmm0, xmmword [0x1401f8bd0]
movdqu xmmword [rbp + 0x37], xmm0
mov word [rbp + 0x27], r14w
lea r8, [rdx - 1]
cmp rdx, r8
cmovb r8, rdx
lea rdx, [rbp + 7]
cmp rdi, 8
cmovae rdx, rcx
lea rcx, [rbp + 0x27]
call fcn.140003280
mov esi, 1
lea rcx, [rbp + 7]
call fcn.1400034d0
movups xmm0, xmmword [rbp + 0x27]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rbp + 0x37]
movups xmmword [rbp + 0x17], xmm1
mov rdx, qword [rbp + 0x17]
movdqa xmm0, xmmword [0x1401f8bd0]
movdqu xmmword [rbp + 0x37], xmm0
mov word [rbp + 0x27], r14w
or esi, 2
mov dword [rbp - 9], esi
add rdx, 0x20
lea rcx, [rbp + 0x27]
call fcn.14000ec30
lea r9, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae r9, qword [rbp + 7]
mov rbx, qword [rbp + 0x17]
mov rsi, qword [rbp + 0x37]
mov rcx, qword [rbp + 0x3f]
mov rax, rcx
sub rax, rsi
cmp rbx, rax
ja 0x140070598
lea rax, [rbx + rsi]
mov qword [rbp + 0x37], rax
lea rdi, [rbp + 0x27]
cmp rcx, 8
cmovae rdi, qword [rbp + 0x27]
lea r8, [rbx + rbx]
lea rcx, [rdi + rsi*2]
mov rdx, r9
call sub.msvcrt.dll_memmove
lea rax, [rsi + rbx]
mov word [rdi + rax*2], r14w
jmp 0x1400705a9
mov qword [rsp + 0x20], rbx
mov rdx, rbx
lea rcx, [rbp + 0x27]
call fcn.140002820
mov rcx, qword [rbp + 0x37]
mov rdx, qword [rbp + 0x3f]
mov rax, rdx
sub rax, rcx
cmp rax, 0x20
jb 0x1400705ef
lea rbx, [rcx + 0x20]
mov qword [rbp + 0x37], rbx
lea rdi, [rbp + 0x27]
cmp rdx, 8
cmovae rdi, qword [rbp + 0x27]
lea rcx, [rdi + rcx*2]
mov r8d, 0x40
lea rdx, str.microsoft_sharedinkTabTip.exe
call sub.msvcrt.dll_memmove
mov word [rdi + rbx*2], r14w
jmp 0x14007060d
mov qword [rsp + 0x20], 0x20
lea r9, str.microsoft_sharedinkTabTip.exe
mov edx, 0x20
lea rcx, [rbp + 0x27]
call fcn.140002820
lea rcx, [rbp + 7]
call fcn.1400034d0
movups xmm0, xmmword [rbp + 0x27]
movups xmmword [rbp + 7], xmm0
movdqu xmm1, xmmword [rbp + 0x37]
movups xmmword [rbp + 0x17], xmm1
movq rax, xmm1
test rax, rax
jne 0x140070647
mov r8d, 0x3e
lea rdx, str.C:Program_FilesCommon_Filesmicrosoft_sharedinkTabTip.exe
lea rcx, [rbp + 7]
call fcn.140003280
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae r8, qword [rbp + 7]
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400706b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400706ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400706da
call fcn.14017b7ac
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1401c4d70
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1401b08a0
int3