Function at 0x140089530
Capabilities:
Create process on windows
Encode data using base64
Encrypt data using speck
Get common file path
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x698
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x600], xmm6
mov qword [rbp + 0x5f8], 0xfffffffffffffffe
mov qword [rbp + 0x450], r8
mov qword [rbp + 0x4f8], rcx
movzx eax, byte [rdx + 0xa0]
mov qword [rbp + 0x578], rdx
mov rbx, qword [rdx + 0x98]
test al, al
jne 0x14008959d
test rbx, rbx
jne 0x14008959d
mov qword [rbp + 0x410], 0
xor r14d, r14d
jmp 0x14008a187
mov qword [rbp + 0x4e0], 0
mov qword [rbp + 0x4f0], 0
test al, al
jne 0x1400897d1
mov qword [rbp + 0x5a8], rbx
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x14008cc63
lea rbx, [rbp]
lea rsi, [rbp + 0x460]
lea r14, [rbp + 0x580]
mov qword [rbp + 0x5b0], rax
mov rdi, rax
nop dword [rax]
cmp word [rdi], 0
je 0x1400897bd
mov r12, rdi
mov rcx, 0xfffffffffffffffe
xor edx, edx
nop word cs:[rax + rax]
mov r15, rdx
mov rax, rcx
inc rdx
add rcx, 2
cmp word [r12 + r15*2], 0
jne 0x140089610
lea rdi, [r12 + rdx*2]
cmp r15, 1
je 0x1400895f0
test r15, r15
je 0x14008cb9a
xor r13d, r13d
nop dword [rax + rax]
cmp word [r12 + r13*2 + 2], 0x3d
je 0x140089660
inc r13
add rax, 0xfffffffffffffffe
jne 0x140089640
jmp 0x1400895f0
lea r8, [r13 + 1]
cmp r13, r15
jae 0x14008cbb2
mov rcx, rsi
mov rdx, r12
call fcn.140081e10
add r13, 2
mov r8, r15
sub r8, r13
jb 0x14008cbcc
lea rdx, [r12 + r13*2]
lea rcx, [rbp - 0x20]
call fcn.140081e10
mov r9, qword [rbp + 0x460]
mov r8, qword [rbp + 0x468]
movdqu xmm6, xmmword [rbp + 0x470]
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x18]
movups xmm0, xmmword [rbx - 0x10]
movaps xmmword [rbp + 0x4c0], xmm0
movabs rax, 0x8000000000000000
cmp r9, rax
je 0x1400897bd
mov qword [rbp + 0x5d0], r9
mov qword [rbp + 0x5e8], rdx
mov qword [rbp + 0x5c0], rcx
movq rax, xmm6
add rax, r8
mov qword [rbp + 0x460], r8
mov qword [rbp + 0x468], rax
mov word [rbp + 0x470], 0
mov r15, r14
mov rcx, r14
mov rdx, rsi
mov qword [rbp + 0x5d8], r8
call fcn.14008e1a0
mov rax, qword [rbp + 0x5d0]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x5d8]
mov qword [rbp - 0x18], rax
movdqu xmmword [rbp - 0x10], xmm6
mov rax, qword [rbp + 0x590]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rbp + 0x580]
movups xmmword [rbx], xmm0
mov rax, qword [rbp + 0x5e8]
mov qword [rbp + 0x460], rax
mov rax, qword [rbp + 0x5c0]
mov qword [rbp + 0x468], rax
movaps xmm0, xmmword [rbp + 0x4c0]
lea rax, [rbp + 0x470]
movups xmmword [rax], xmm0
mov byte [rbp + 0x5a7], 0
mov rcx, r15
lea rdx, [rbp + 0x4e0]
lea r8, [rbp - 0x20]
mov r9, rsi
call fcn.14008e3d0
mov rax, qword [rbp + 0x580]
shl rax, 1
test rax, rax
je 0x1400895f0
mov rcx, qword [rbp + 0x588]
mov edx, 1
call fcn.140007e10
jmp 0x1400895f0
mov rcx, qword [rbp + 0x5b0]
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rbp + 0x5a8]
mov rcx, qword [rbp + 0x578]
mov rax, qword [rcx + 0x88]
mov rcx, qword [rcx + 0x90]
mov qword [rbp + 0x5e8], rcx
xor edi, edi
test rax, rax
setne dil
cmove rbx, rax
xor esi, esi
jmp 0x140089802
lea r8, str.library_std_src_syspalwindowsos.rs
mov ecx, 1
xor edx, edx
call fcn.1400a7d60
jmp 0x14008cdb6
lea rax, str.library_std_src_syspalwindowsos.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.1400a7e60
jmp 0x14008cdb6
lea r8, str.library_std_src_syspalwindowsos.rs
mov rcx, r13
mov rdx, r15
call fcn.1400a7d60
jmp 0x14008cdb6
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x580], rax
lea rax, [rbp + 0x580]
mov qword [rbp + 0x460], rax
lea rax, [fcn.140084c50]
mov qword [rbp + 0x468], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
mov qword [rbp], 0
lea rax, [rbp + 0x460]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
lea rdx, str.library_std_src_syspalwindowsos.rs
lea rcx, [rbp - 0x20]
call fcn.1400a7d20
jmp 0x14008cdb6