Function at 0x180019aa0
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 0x180019b19
mov qword [rbp + 0x460], 0
xor r12d, r12d
jmp 0x18001a533
mov byte [rbp + 0x678], dl
mov qword [rbp + 0x5c0], 0
mov qword [rbp + 0x5d0], 0
test al, al
jne 0x180019cc9
mov qword [rbp + 0x668], r8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x18001c84b
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.180017870
mov rcx, qword [rbp]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x180019cb5
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.18000ad90
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.180006d70
mov rdx, qword [rbp + 0x570]
lea rax, [rdx*2]
test rax, rax
je 0x180019b90
mov rcx, qword [rbp + 0x578]
mov r8d, 1
call fcn.180004430
jmp 0x180019b90
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.180004830
mov r15, rax
test rax, rax
je 0x18001a357
mov rbx, rdx
movabs rax, 0x8000000000000000
cmp qword [rdx], rax
jne 0x180019f40
mov rbx, qword [rbp + 0x5c0]
test rbx, rbx
je 0x180019d40
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.18000a180
cmp qword [rbp + 0x500], 0
jne 0x180019d40
mov rax, qword [rbp + 0x508]
mov rdx, qword [rbp + 0x510]
mov rcx, qword [rbp + 0x518]
mov byte [rbp + 0x408], 0
test rdx, rdx
je 0x18001a0df
mov rcx, qword [rax + rcx*8 + 0x3d8]
mov rax, rdx
dec rax
je 0x180019e9e
mov r8, rax
and r8, 7
je 0x180019e0b
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 0x180019df0
sub rax, r9
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x180019e9e
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 0x180019e20
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.180009740
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 0x18001a113
mov rax, rdx
jmp 0x18001a149
mov rsi, qword [r15 + 8]
mov rdi, qword [r15 + 0x10]
test rdi, rdi
je 0x180019f71
js 0x18001c714
movzx eax, byte [0x180058b41]
mov edx, 1
mov rcx, rdi
call fcn.180004420
test rax, rax
jne 0x180019f76
jmp 0x18001c702
mov eax, 1
mov qword [rbp + 0x698], rax
mov rcx, rax
mov rdx, rsi
mov r8, rdi
call fcn.18003e720
movzx r13d, byte [r15 + 0x18]
mov rsi, qword [r15 + 0x28]
mov r14, qword [r15 + 0x30]
test r14, r14
mov qword [rbp + 0x688], rdi
je 0x180019fd7
mov rax, r14
shr rax, 0x3e
jne 0x18001c730
lea rdi, [r14 + r14]
movzx eax, byte [0x180058b41]
mov edx, 2
mov rcx, rdi
call fcn.180004420
test rax, rax
je 0x18001c71e
mov r15, rax
jmp 0x180019fdf
mov r15d, 2
xor edi, edi
mov rcx, r15
mov rdx, rsi
mov r8, rdi
call fcn.18003e720
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 0x18001a052
lea r14, [rbp + 0x570]
js 0x18001c6f1
movzx eax, byte [0x180058b41]
mov edx, 1
mov rcx, rsi
call fcn.180004420
mov r15, rax
test rax, rax
jne 0x18001a05f
jmp 0x18001c73a
mov r15d, 1
lea r14, [rbp + 0x570]
mov rcx, r15
mov rdx, rdi
mov r8, rsi
call fcn.18003e720
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.180006d70
mov rdx, qword [rbp + 0x4a0]
lea rax, [rdx*2]
test rax, rax
je 0x180019d40
mov rcx, qword [rbp + 0x4a8]
mov r8d, 1
call fcn.180004430
jmp 0x180019d40
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.180009740
jmp 0x18001a239
mov r8, qword [rbp + 0x60]
nop word [rax + rax]
mov rax, qword [rdx + 0x160]
test rax, rax
je 0x18001a144
inc r8
movzx ecx, word [rdx + 0x3d0]
mov rdx, rax
cmp cx, word [rax + 0x3d2]
jae 0x18001a120
jmp 0x18001a149
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 0x18001a2ca
test r15, r15
je 0x18001c7d9
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.180004430
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 0x180019d40
test rdx, rdx
je 0x18001a317
mov r8d, 1
call fcn.180004430
test rsi, rsi
je 0x18001a330
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.180004430
lea rax, [rbx*2]
test rax, rax
je 0x180019d40
mov r8d, 1
mov rcx, r15
mov rdx, rbx
call fcn.180004430
jmp 0x180019d40
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 0x18001a38f
xor r12d, r12d
jmp 0x18001a533
movzx eax, byte [0x180058b41]
mov byte [rbp + 0x687], 1
call fcn.180029e20
jmp 0x18001c90b
mov ecx, 1
mov rdx, rdi
call fcn.18003ff40
jmp 0x18001c90b
call fcn.180029e20
jmp 0x18001c90b
mov ecx, 2
mov rdx, rdi
call fcn.18003ff40
jmp 0x18001c90b
call fcn.180029e20
jmp 0x18001c90b
mov byte [rbp + 0x687], 1
mov ecx, 1
mov rdx, rsi
call fcn.18003ff40
jmp 0x18001c90b
lea rcx, str.assertion_failed:_self.height___0
lea r8, str._rustc_a4472498d7e88041f6206faf4503eb1f246fd427library_alloc_srccollections_btree_node.rsassertion_failed:_edge.height__self.height___1
mov edx, 0x21
call fcn.1800400d0
jmp 0x18001c90b
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, [0x18000cbd0]
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.180040000
jmp 0x18001c90b