Function at 0x1400d8cc0
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, 0x718
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x680], xmm6
mov qword [rbp + 0x678], 0xfffffffffffffffe
mov qword [rbp + 0x600], r8
mov r13, rdx
mov qword [rbp + 0x5f8], rcx
movzx eax, byte [rdx + 0xa0]
mov r14, qword [rdx + 0x98]
test al, al
mov qword [rbp + 0x5f0], rdx
jne 0x1400d8d30
test r14, r14
jne 0x1400d8d30
mov qword [rbp + 0x460], 0
xor r12d, r12d
jmp 0x1400d9975
mov qword [rbp + 0x560], 0
mov qword [rbp + 0x570], 0
test al, al
jne 0x1400d8f71
mov qword [rbp + 0x658], r14
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400dbe32
lea r14, [rbp + 0x40]
lea rsi, [rbp + 0x580]
lea rdi, [rbp + 0x20]
mov qword [rbp + 0x638], rax
mov rbx, rax
nop dword [rax]
cmp word [rbx], 0
je 0x1400d8f56
mov r12, rbx
mov r15, 0xffffffffffffffff
mov rcx, 0xfffffffffffffffe
nop dword [rax + rax]
mov rax, rcx
cmp word [r12 + r15*2 + 2], 0
lea r15, [r15 + 1]
lea rcx, [rcx + 2]
jne 0x1400d8da0
lea rbx, [r12 + r15*2]
add rbx, 2
cmp r15, 1
je 0x1400d8d80
test r15, r15
je 0x1400dbd5a
xor r13d, r13d
nop
cmp word [r12 + r13*2 + 2], 0x3d
je 0x1400d8df0
inc r13
add rax, 0xfffffffffffffffe
jne 0x1400d8dd0
jmp 0x1400d8d80
lea r8, [r13 + 1]
cmp r13, r15
jae 0x1400dbd72
mov rcx, rsi
mov rdx, r12
call fcn.1400d2150
add r13, 2
mov r8, r15
sub r8, r13
jb 0x1400dbd8c
lea rdx, [r12 + r13*2]
mov rcx, rdi
call fcn.1400d2150
mov r9, qword [rbp + 0x580]
mov r8, qword [rbp + 0x588]
movdqu xmm6, xmmword [rbp + 0x590]
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [r14 - 0x10]
movaps xmmword [rbp + 0x610], xmm0
movabs rax, 0x8000000000000000
cmp r9, rax
je 0x1400d8f56
mov qword [rbp + 0x650], r9
mov qword [rbp + 0x668], rdx
mov qword [rbp + 0x608], rcx
movq rax, xmm6
add rax, r8
mov qword [rbp + 0x580], r8
mov qword [rbp + 0x588], rax
mov word [rbp + 0x590], 0
lea r15, [rbp + 0x4a0]
mov rcx, r15
mov rdx, rsi
mov qword [rbp + 0x648], r8
call fcn.1400dd060
mov rax, qword [rbp + 0x650]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x648]
mov qword [rbp + 0x28], rax
movdqu xmmword [rbp + 0x30], xmm6
mov rax, qword [rbp + 0x4b0]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rbp + 0x4a0]
movups xmmword [r14], xmm0
mov rax, qword [rbp + 0x668]
mov qword [rbp + 0x580], rax
mov rax, qword [rbp + 0x608]
mov qword [rbp + 0x588], rax
movaps xmm0, xmmword [rbp + 0x610]
lea rax, [rbp + 0x590]
movups xmmword [rax], xmm0
mov byte [rbp + 0x647], 0
mov rcx, r15
lea rdx, [rbp + 0x560]
mov r8, rdi
mov r9, rsi
call fcn.1400dd290
mov rax, qword [rbp + 0x4a0]
shl rax, 1
test rax, rax
je 0x1400d8d80
mov r8, qword [rbp + 0x4a8]
mov rcx, qword [0x1401aa478]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1400d8d80
mov rcx, qword [rbp + 0x638]
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov r13, qword [rbp + 0x5f0]
mov r14, qword [rbp + 0x658]
mov rax, qword [r13 + 0x88]
mov r12, qword [r13 + 0x90]
xor ecx, ecx
test rax, rax
setne cl
mov qword [rbp + 0x650], rcx
cmove r14, rax
xor ecx, ecx
mov qword [rbp + 0x630], rcx
xor esi, esi
jmp 0x1400d8fa2
lea r8, str.library_std_src_syspalwindowsos.rs
mov ecx, 1
xor edx, edx
call fcn.140104810
jmp 0x1400dbf03
lea rax, str.library_std_src_syspalwindowsos.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.140104890
jmp 0x1400dbf03
lea r8, str.library_std_src_syspalwindowsos.rs
mov rcx, r13
mov rdx, r15
call fcn.140104810
jmp 0x1400dbf03
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x4a0], rax
lea rax, [rbp + 0x4a0]
mov qword [rbp + 0x580], rax
lea rax, [0x1400d4290]
mov qword [rbp + 0x588], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 1
mov qword [rbp + 0x40], 0
lea rax, [rbp + 0x580]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 1
lea rdx, str.library_std_src_syspalwindowsos.rs
lea rcx, [rbp + 0x20]
call fcn.1401047d0
jmp 0x1400dbf03