Function at 0x1401070e0
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, 0x748
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x6b0], xmm6
mov qword [rbp + 0x6a8], 0xfffffffffffffffe
mov byte [rbp + 0x530], r9b
mov qword [rbp + 0x498], r8
mov qword [rbp + 0x648], rcx
movzx eax, byte [rdx + 0xa0]
test al, al
sete cl
mov qword [rbp + 0x540], rdx
mov r8, qword [rdx + 0x98]
test r8, r8
sete dl
and dl, cl
je 0x140107159
mov qword [rbp + 0x460], 0
xor r12d, r12d
jmp 0x140107b73
mov byte [rbp + 0x678], dl
mov qword [rbp + 0x5c0], 0
mov qword [rbp + 0x5d0], 0
test al, al
jne 0x140107309
mov qword [rbp + 0x668], r8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x140109e8b
mov qword [rbp + 0x500], rax
lea rsi, [rbp + 0x508]
mov qword [rbp + 0x508], rax
lea r13, [rbp + 0x600]
mov rdi, rbp
lea rbx, [rbp + 0x570]
lea r14, [rbp + 0x4a0]
lea r15, [rbp + 0x5c0]
lea r12, [rbp + 0x5e0]
nop
mov rcx, rdi
mov rdx, rsi
call fcn.140105b80
mov rcx, qword [rbp]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x1401072f5
mov qword [rbp + 0x670], rcx
mov rcx, qword [rbp + 8]
movups xmm6, xmmword [rbp + 0x10]
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x10]
add rax, rcx
mov qword [rbp + 0x660], rcx
mov qword [rbp + 0x4a0], rcx
mov qword [rbp + 0x4a8], rax
mov word [rbp + 0x4b0], 0
mov rcx, rbx
mov rdx, r14
call fcn.1400f7720
mov rax, qword [rbp + 0x670]
mov qword [rbp + 0x5e0], rax
mov rax, qword [rbp + 0x660]
mov qword [rbp + 0x5e8], rax
movups xmmword [rbp + 0x5f0], xmm6
mov rax, qword [rbp + 0x580]
mov qword [r13 + 0x10], rax
movups xmm0, xmmword [rbp + 0x570]
movups xmmword [r13], xmm0
mov rax, qword [rbp + 0x688]
mov qword [rbp + 0x4a0], rax
mov rax, qword [rbp + 0x698]
mov qword [rbp + 0x4a8], rax
lea rax, [rbp + 0x30]
movups xmm0, xmmword [rax]
lea rax, [rbp + 0x4b0]
movups xmmword [rax], xmm0
mov byte [rbp + 0x686], 0
mov rcx, rbx
mov rdx, r15
mov r8, r12
mov r9, r14
call fcn.1400f3710
mov rdx, qword [rbp + 0x570]
lea rax, [rdx*2]
test rax, rax
je 0x1401071d0
mov rcx, qword [rbp + 0x578]
mov r8d, 1
call fcn.14000f6f0
jmp 0x1401071d0
mov rcx, qword [rbp + 0x500]
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov r8, qword [rbp + 0x668]
mov rcx, qword [rbp + 0x540]
mov rax, qword [rcx + 0x88]
mov rcx, qword [rcx + 0x90]
xor edx, edx
test rax, rax
cmove r8, rax
setne dl
mov qword [rbp + 0x570], rdx
mov qword [rbp + 0x578], 0
mov qword [rbp + 0x580], rax
mov qword [rbp + 0x588], rcx
mov qword [rbp + 0x590], rdx
mov qword [rbp + 0x598], 0
mov qword [rbp + 0x5a0], rax
mov qword [rbp + 0x5a8], rcx
mov qword [rbp + 0x5b0], r8
lea r14, [rbp + 0x570]
mov r12, rbp
nop dword [rax + rax]
mov rcx, r14
call fcn.1400f1270
mov r15, rax
test rax, rax
je 0x140107997
mov rbx, rdx
movabs rax, 0x8000000000000000
cmp qword [rdx], rax
jne 0x140107580
mov rbx, qword [rbp + 0x5c0]
test rbx, rbx
je 0x140107380
mov r9, qword [r15 + 0x28]
mov rax, qword [r15 + 0x30]
mov r15, qword [rbp + 0x5c8]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x500]
mov rdx, rbx
mov r8, r15
call fcn.1400f6b20
cmp qword [rbp + 0x500], 0
jne 0x140107380
mov rax, qword [rbp + 0x508]
mov rdx, qword [rbp + 0x510]
mov rcx, qword [rbp + 0x518]
mov byte [rbp + 0x408], 0
test rdx, rdx
je 0x14010771f
mov rcx, qword [rax + rcx*8 + 0x3d8]
mov rax, rdx
dec rax
je 0x1401074de
mov r8, rax
and r8, 7
je 0x14010744b
xor r9d, r9d
nop dword [rax + rax]
movzx r10d, word [rcx + 0x3d2]
mov rcx, qword [rcx + r10*8 + 0x3d8]
inc r9
cmp r8, r9
jne 0x140107430
sub rax, r9
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x1401074de
nop dword [rax]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
add rax, 0xfffffffffffffff8
jne 0x140107460
movzx eax, word [rcx + 0x3d2]
dec rax
mov qword [rbp + 0x550], rcx
mov qword [rbp + 0x558], 0
mov qword [rbp + 0x560], rax
mov rcx, r12
lea rdx, [rbp + 0x550]
lea r8, [rbp + 0x408]
call fcn.1400f60e0
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x4f0], rax
movups xmm0, xmmword [rbp + 0x40]
movaps xmmword [rbp + 0x4e0], xmm0
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 0x10]
movups xmm2, xmmword [rbp + 0x20]
movups xmm3, xmmword [rbp + 0x30]
movaps xmmword [rbp + 0x4d0], xmm3
movaps xmmword [rbp + 0x4c0], xmm2
movaps xmmword [rbp + 0x4b0], xmm1
movaps xmmword [rbp + 0x4a0], xmm0
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x68]
movzx eax, word [rdx + 0x3d2]
cmp rcx, rax
jae 0x140107753
mov rax, rdx
jmp 0x140107789
mov rsi, qword [r15 + 8]
mov rdi, qword [r15 + 0x10]
test rdi, rdi
je 0x1401075b1
js 0x140109d54
movzx eax, byte [0x140214be1]
mov edx, 1
mov rcx, rdi
call fcn.14000f6e0
test rax, rax
jne 0x1401075b6
jmp 0x140109d42
mov eax, 1
mov qword [rbp + 0x698], rax
mov rcx, rax
mov rdx, rsi
mov r8, rdi
call fcn.140145bd0
movzx r13d, byte [r15 + 0x18]
mov rsi, qword [r15 + 0x28]
mov r14, qword [r15 + 0x30]
test r14, r14
mov qword [rbp + 0x688], rdi
je 0x140107617
mov rax, r14
shr rax, 0x3e
jne 0x140109d70
lea rdi, [r14 + r14]
movzx eax, byte [0x140214be1]
mov edx, 2
mov rcx, rdi
call fcn.14000f6e0
test rax, rax
je 0x140109d5e
mov r15, rax
jmp 0x14010761f
mov r15d, 2
xor edi, edi
mov rcx, r15
mov rdx, rsi
mov r8, rdi
call fcn.140145bd0
mov rax, qword [rbp + 0x688]
mov qword [rbp], rax
mov rcx, qword [rbp + 0x698]
mov qword [rbp + 8], rcx
mov qword [rbp + 0x10], rax
mov byte [rbp + 0x18], r13b
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], r14
mov rdi, qword [rbx + 8]
mov rsi, qword [rbx + 0x10]
test rsi, rsi
je 0x140107692
lea r14, [rbp + 0x570]
js 0x140109d31
movzx eax, byte [0x140214be1]
mov edx, 1
mov rcx, rsi
call fcn.14000f6e0
mov r15, rax
test rax, rax
jne 0x14010769f
jmp 0x140109d7a
mov r15d, 1
lea r14, [rbp + 0x570]
mov rcx, r15
mov rdx, rdi
mov r8, rsi
call fcn.140145bd0
movzx eax, byte [rbx + 0x18]
mov qword [rbp + 0x5e0], rsi
mov qword [rbp + 0x5e8], r15
mov qword [rbp + 0x5f0], rsi
mov byte [rbp + 0x5f8], al
mov byte [rbp + 0x687], 0
lea rcx, [rbp + 0x4a0]
lea rdx, [rbp + 0x5c0]
mov r8, r12
lea r9, [rbp + 0x5e0]
call fcn.1400f3710
mov rdx, qword [rbp + 0x4a0]
lea rax, [rdx*2]
test rax, rax
je 0x140107380
mov rcx, qword [rbp + 0x4a8]
mov r8d, 1
call fcn.14000f6f0
jmp 0x140107380
mov qword [rbp + 0x5e0], rax
mov qword [rbp + 0x5e8], 0
mov qword [rbp + 0x5f0], rcx
mov rcx, r12
lea rdx, [rbp + 0x5e0]
lea r8, [rbp + 0x408]
call fcn.1400f60e0
jmp 0x140107879
mov r8, qword [rbp + 0x60]
nop word [rax + rax]
mov rax, qword [rdx + 0x160]
test rax, rax
je 0x140107784
inc r8
movzx ecx, word [rdx + 0x3d0]
mov rdx, rax
cmp cx, word [rax + 0x3d2]
jae 0x140107760
jmp 0x140107789
xor eax, eax
mov rcx, r8
imul rdx, rcx, 0x38
shl rcx, 5
mov r8, qword [rax + rdx + 0x198]
mov qword [rbp + 0x610], r8
movups xmm0, xmmword [rax + rdx + 0x168]
movups xmm1, xmmword [rax + rdx + 0x178]
movups xmm2, xmmword [rax + rdx + 0x188]
movaps xmmword [rbp + 0x600], xmm2
movaps xmmword [rbp + 0x5f0], xmm1
movaps xmmword [rbp + 0x5e0], xmm0
mov r8, qword [rbp + 0x4d0]
mov qword [rax + rdx + 0x198], r8
movaps xmm0, xmmword [rbp + 0x4a0]
movaps xmm1, xmmword [rbp + 0x4b0]
movaps xmm2, xmmword [rbp + 0x4c0]
movups xmmword [rax + rdx + 0x188], xmm2
movups xmmword [rax + rdx + 0x178], xmm1
movups xmmword [rax + rdx + 0x168], xmm0
movups xmm0, xmmword [rax + rcx]
movups xmm1, xmmword [rax + rcx + 0x10]
lea rdx, [rbp + 0x618]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rdx, [rbp + 0x4d8]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + rcx], xmm0
movups xmmword [rax + rcx + 0x10], xmm1
movaps xmm0, xmmword [rbp + 0x5e0]
movaps xmm1, xmmword [rbp + 0x5f0]
movaps xmm2, xmmword [rbp + 0x600]
movaps xmm3, xmmword [rbp + 0x610]
movaps xmmword [rbp], xmm0
movaps xmmword [rbp + 0x10], xmm1
movaps xmmword [rbp + 0x20], xmm2
movaps xmmword [rbp + 0x30], xmm3
movaps xmm0, xmmword [rbp + 0x620]
movaps xmmword [rbp + 0x40], xmm0
mov rax, qword [rbp + 0x630]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x630], rax
movaps xmm0, xmmword [rbp + 0x40]
movaps xmmword [rbp + 0x620], xmm0
movaps xmm0, xmmword [rbp]
movaps xmm1, xmmword [rbp + 0x10]
movaps xmm2, xmmword [rbp + 0x20]
movaps xmm3, xmmword [rbp + 0x30]
movaps xmmword [rbp + 0x610], xmm3
movaps xmmword [rbp + 0x600], xmm2
dec qword [rbp + 0x5d0]
movaps xmmword [rbp + 0x5f0], xmm1
movaps xmmword [rbp + 0x5e0], xmm0
cmp byte [rbp + 0x408], 0
je 0x14010790a
test r15, r15
je 0x140109e19
mov rax, qword [rbx + 0x3d8]
mov qword [rbp + 0x5c0], rax
dec r15
mov qword [rbp + 0x5c8], r15
mov qword [rax + 0x160], 0
mov edx, 0x438
mov r8d, 8
mov rcx, rbx
call fcn.14000f6f0
mov rdx, qword [rbp + 0x5e0]
mov rcx, qword [rbp + 0x5e8]
mov rsi, qword [rbp + 0x600]
mov rdi, qword [rbp + 0x608]
mov rbx, qword [rbp + 0x618]
mov r15, qword [rbp + 0x620]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x140107380
test rdx, rdx
je 0x140107957
mov r8d, 1
call fcn.14000f6f0
test rsi, rsi
je 0x140107970
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.14000f6f0
lea rax, [rbx*2]
test rax, rax
je 0x140107380
mov r8d, 1
mov rcx, r15
mov rdx, rbx
call fcn.14000f6f0
jmp 0x140107380
movups xmm0, xmmword [rbp + 0x5c0]
movups xmmword [rbp + 0x468], xmm0
mov rax, qword [rbp + 0x5d0]
mov qword [rbp + 0x478], rax
mov qword [rbp + 0x460], 1
cmp byte [rbp + 0x678], 0
je 0x1401079cf
xor r12d, r12d
jmp 0x140107b73
movzx eax, byte [0x140214be1]
mov ecx, 4
mov edx, 1
call fcn.14000f6e0
test rax, rax
je 0x140109e70
mov dword [rax], 0x48544150
mov rcx, rax
add rcx, 4
mov qword [rbp + 0x5e0], rax
mov qword [rbp + 0x5e8], rcx
mov word [rbp + 0x5f0], 0
lea rcx, [rbp + 0x4a0]
lea rdx, [rbp + 0x5e0]
mov qword [rbp + 0x670], rax
call fcn.1400f7720
mov qword [rbp], 4
mov rcx, qword [rbp + 0x670]
mov qword [rbp + 8], rcx
mov qword [rbp + 0x10], 4
add dh, al
sbb byte [r8], r8b
mov byte [rbp + 0x687], 1
call fcn.140117470
jmp 0x140109f4b
mov ecx, 1
mov rdx, rdi
call fcn.14014ad70
jmp 0x140109f4b
call fcn.140117470
jmp 0x140109f4b
mov ecx, 2
mov rdx, rdi
call fcn.14014ad70
jmp 0x140109f4b
call fcn.140117470
jmp 0x140109f4b
mov byte [rbp + 0x687], 1
mov ecx, 1
mov rdx, rsi
call fcn.14014ad70
jmp 0x140109f4b
lea rcx, str.assertion_failed:_self.height___0
lea r8, str._rustc_fc3800f65777a365b5125706d60f97e4d0675efelibrary_alloc_srccollections_btree_node.rsassertion_failed:_edge.height__self.height___1
mov edx, 0x21
call fcn.14014af80
jmp 0x140109f4b
mov byte [rbp + 0x6a7], 1
mov ecx, 1
mov edx, 4
call fcn.14014ad70
jmp 0x140109f4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x4a0], rax
lea rax, [rbp + 0x4a0]
mov qword [rbp + 0x5e0], rax
lea rax, [fcn.1400fab70]
mov qword [rbp + 0x5e8], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rbp], rax
mov qword [rbp + 8], 1
mov qword [rbp + 0x20], 0
lea rax, [rbp + 0x5e0]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 1
lea rdx, str.library_std_src_syspalwindowsos.rs
mov rcx, rbp
call fcn.14014aeb0
jmp 0x140109f4b