Function at 0x1400fb8c0
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 0x1400fb939
mov qword [rbp + 0x460], 0
xor r12d, r12d
jmp 0x1400fc353
mov byte [rbp + 0x678], dl
mov qword [rbp + 0x5c0], 0
mov qword [rbp + 0x5d0], 0
test al, al
jne 0x1400fbae9
mov qword [rbp + 0x668], r8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400fe66b
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.1400fa380
mov rcx, qword [rbp]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x1400fbad5
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.1400ee280
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.1400ea330
mov rdx, qword [rbp + 0x570]
lea rax, [rdx*2]
test rax, rax
je 0x1400fb9b0
mov rcx, qword [rbp + 0x578]
mov r8d, 1
call fcn.140004f70
jmp 0x1400fb9b0
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.1400e80d0
mov r15, rax
test rax, rax
je 0x1400fc177
mov rbx, rdx
movabs rax, 0x8000000000000000
cmp qword [rdx], rax
jne 0x1400fbd60
mov rbx, qword [rbp + 0x5c0]
test rbx, rbx
je 0x1400fbb60
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.1400ed740
cmp qword [rbp + 0x500], 0
jne 0x1400fbb60
mov rax, qword [rbp + 0x508]
mov rdx, qword [rbp + 0x510]
mov rcx, qword [rbp + 0x518]
mov byte [rbp + 0x408], 0
test rdx, rdx
je 0x1400fbeff
mov rcx, qword [rax + rcx*8 + 0x3d8]
mov rax, rdx
dec rax
je 0x1400fbcbe
mov r8, rax
and r8, 7
je 0x1400fbc2b
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 0x1400fbc10
sub rax, r9
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x1400fbcbe
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 0x1400fbc40
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.1400ecd00
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 0x1400fbf33
mov rax, rdx
jmp 0x1400fbf69
mov rsi, qword [r15 + 8]
mov rdi, qword [r15 + 0x10]
test rdi, rdi
je 0x1400fbd91
js 0x1400fe534
movzx eax, byte [0x1401ef221]
mov edx, 1
mov rcx, rdi
call fcn.140004f60
test rax, rax
jne 0x1400fbd96
jmp 0x1400fe522
mov eax, 1
mov qword [rbp + 0x698], rax
mov rcx, rax
mov rdx, rsi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movzx r13d, byte [r15 + 0x18]
mov rsi, qword [r15 + 0x28]
mov r14, qword [r15 + 0x30]
test r14, r14
mov qword [rbp + 0x688], rdi
je 0x1400fbdf7
mov rax, r14
shr rax, 0x3e
jne 0x1400fe550
lea rdi, [r14 + r14]
movzx eax, byte [0x1401ef221]
mov edx, 2
mov rcx, rdi
call fcn.140004f60
test rax, rax
je 0x1400fe53e
mov r15, rax
jmp 0x1400fbdff
mov r15d, 2
xor edi, edi
mov rcx, r15
mov rdx, rsi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
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 0x1400fbe72
lea r14, [rbp + 0x570]
js 0x1400fe511
movzx eax, byte [0x1401ef221]
mov edx, 1
mov rcx, rsi
call fcn.140004f60
mov r15, rax
test rax, rax
jne 0x1400fbe7f
jmp 0x1400fe55a
mov r15d, 1
lea r14, [rbp + 0x570]
mov rcx, r15
mov rdx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
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.1400ea330
mov rdx, qword [rbp + 0x4a0]
lea rax, [rdx*2]
test rax, rax
je 0x1400fbb60
mov rcx, qword [rbp + 0x4a8]
mov r8d, 1
call fcn.140004f70
jmp 0x1400fbb60
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.1400ecd00
jmp 0x1400fc059
mov r8, qword [rbp + 0x60]
nop word [rax + rax]
mov rax, qword [rdx + 0x160]
test rax, rax
je 0x1400fbf64
inc r8
movzx ecx, word [rdx + 0x3d0]
mov rdx, rax
cmp cx, word [rax + 0x3d2]
jae 0x1400fbf40
jmp 0x1400fbf69
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 0x1400fc0ea
test r15, r15
je 0x1400fe5f9
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.140004f70
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 0x1400fbb60
test rdx, rdx
je 0x1400fc137
mov r8d, 1
call fcn.140004f70
test rsi, rsi
je 0x1400fc150
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.140004f70
lea rax, [rbx*2]
test rax, rax
je 0x1400fbb60
mov r8d, 1
mov rcx, r15
mov rdx, rbx
call fcn.140004f70
jmp 0x1400fbb60
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 0x1400fc1af
xor r12d, r12d
jmp 0x1400fc353
movzx eax, byte [0x1401ef221]
mov ecx, 4
mov edx, 1
call fcn.140004f60
test rax, rax
je 0x1400fe650
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.1400ee280
mov qword [rbp], 4
mov rcx, qword [rbp + 0x670]
mov qword [rbp + 8], rcx
mov qword [rbp + 0x10], 4
mov byte [rbp + 0x18], 0
movups xmm0, xmmword [rbp + 0x4a0]
movups xmmword [rbp + 0x20], xmm0
mov rax, qword [rbp + 0x4b0]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x468]
mov rsi, qword [rbp + 0x28]
test rax, rax
je 0x1400fc326
mov ebx, dword [rbp + 0x30]
mov rcx, qword [rbp + 0x470]
mov qword [rbp + 0x688], rcx
mov rdi, qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
lea rcx, [rax + 0x168]
movzx edx, word [rax + 0x3d2]
mov qword [rbp + 0x660], rdx
imul r13, rdx, 0x38
mov qword [rbp + 0x698], rax
lea r14, [rax - 0x10]
mov r15, 0xffffffffffffffff
nop dword [rax + rax]
test r13, r13
je 0x1400fc2da
lea r12, [rcx + 0x38]
mov r8, qword [rcx + 0x28]
mov r9d, dword [rcx + 0x30]
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov edx, ebx
call rdi
add r13, 0xffffffffffffffc8
add r14, 0x20
inc r15
mov rcx, r12
cmp eax, 3
je 0x1400fc2a0
cmp eax, 1
jne 0x1400fc30d
jmp 0x1400fc2e1
mov r15, qword [rbp + 0x660]
mov rax, qword [rbp + 0x688]
sub rax, 1
jb 0x1400fc7af
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x698]
mov rax, qword [rax + r15*8 + 0x3d8]
jmp 0x1400fc26d
cmp eax, 2
jne 0x1400fe573
mov r12, qword [r14 - 8]
mov rdi, qword [r14]
mov rcx, qword [rbp + 0x670]
jmp 0x1400fc329
xor r12d, r12d
mov edx, 4
mov r8d, 1
call fcn.140004f70
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x1400fc353
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.140004f70
mov rax, qword [rbp + 0x540]
mov rdx, qword [rax + 0x10]
lea rbx, str.program_path_has_no_file_name
test rdx, rdx
je 0x1400fc865
mov r14, qword [rax + 8]
cmp rdx, 4
jae 0x1400fc381
lea rax, [0x140102b60]
jmp 0x1400fc3aa
mov eax, dword [r14]
bswap eax
xor ecx, ecx
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
adc ecx, 0xffffffff
lea rcx, [0x140102b70]
lea rax, [0x140102b60]
cmove rax, rcx
mov qword [rbp + 0x688], rdx
movzx esi, byte [rdx + r14 - 1]
mov byte [rbp + 0x6a7], 1
mov ecx, esi
call rax
test al, al
jne 0x1400fc865
mov r15, qword [rbp + 0x688]
lea r11, [r14 + r15]
cmp r15, 3
jbe 0x1400fc438
movzx eax, byte [r11 - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x1400fc461
movzx eax, byte [r11 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x1400fc461
movzx eax, byte [r11 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x1400fc461
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x1400fc463
xor eax, eax
nop word [rax + rax]
xor eax, eax
xor ecx, ecx
nop word cs:[rax + rax]
test byte [rax], al
add byte [rax], al
add byte [rax], al
xor r12d, r12d
jmp 0x1400fc31d
mov byte [rbp + 0x687], 1
call fcn.14010bdc0
jmp 0x1400fe72b
mov ecx, 1
mov rdx, rdi
call fcn.140125b70
jmp 0x1400fe72b
call fcn.14010bdc0
jmp 0x1400fe72b
mov ecx, 2
mov rdx, rdi
call fcn.140125b70
jmp 0x1400fe72b
call fcn.14010bdc0
jmp 0x1400fe72b
mov byte [rbp + 0x687], 1
mov ecx, 1
mov rdx, rsi
call fcn.140125b70
jmp 0x1400fe72b
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x570], rax
lea rax, [rbp + 0x570]
mov qword [rbp + 0x4a0], rax
lea rax, [fcn.1400eff90]
mov qword [rbp + 0x4a8], rax
lea rax, str.comparing_environment_keys_failed:
mov qword [rbp + 0x5e0], rax
mov qword [rbp + 0x5e8], 1
mov qword [rbp + 0x600], 0
lea rax, [rbp + 0x4a0]
mov qword [rbp + 0x5f0], rax
mov qword [rbp + 0x5f8], 1
lea rdx, str.library_std_src_syspalwindowsprocess.rs
lea rcx, [rbp + 0x5e0]
call fcn.140125cb0
jmp 0x1400fe72b
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.140125d80
jmp 0x1400fe72b
mov byte [rbp + 0x6a7], 1
mov ecx, 1
mov edx, 4
call fcn.140125b70
jmp 0x1400fe72b
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.1400eff90]
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.140125cb0
jmp 0x1400fe72b