Function at 0x14009b750
Capabilities:
Create process on windows
Encode data using base64
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, 0x668
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x5d0], xmm6
mov qword [rbp + 0x5c8], 0xfffffffffffffffe
mov byte [rbp + 0x450], r9b
mov qword [rbp + 0x418], r8
mov qword [rbp + 0x4d0], rcx
mov r15, qword [rdx + 0x60]
movzx eax, byte [rdx + 0x68]
test al, al
mov qword [rbp + 0x538], rdx
jne 0x14009b7be
test r15, r15
jne 0x14009b7be
mov qword [rbp + 0x3f8], 0
xor r13d, r13d
jmp 0x14009c423
mov qword [rbp + 0x510], 0
mov qword [rbp + 0x520], 0
test al, al
jne 0x14009b9ec
mov qword [rbp + 0x5a8], r15
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x14009ed38
lea r14, [rbp - 0x18]
lea rsi, [rbp + 0x4e0]
lea rdi, [rbp + 0x470]
mov qword [rbp + 0x5b8], rax
mov rbx, rax
nop
cmp word [rbx], 0
je 0x14009b9d1
mov r12, rbx
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 0x14009b830
lea rbx, [r12 + rdx*2]
cmp r15, 1
je 0x14009b810
test r15, r15
je 0x14009ec7d
xor r13d, r13d
nop dword [rax + rax]
cmp word [r12 + r13*2 + 2], 0x3d
je 0x14009b880
inc r13
add rax, 0xfffffffffffffffe
jne 0x14009b860
jmp 0x14009b810
lea r8, [r13 + 1]
cmp r13, r15
jae 0x14009ec95
mov rcx, rsi
mov rdx, r12
call fcn.1400902a0
add r13, 2
mov r8, r15
sub r8, r13
jb 0x14009ecaf
lea rdx, [r12 + r13*2]
mov rcx, rdi
call fcn.1400902a0
movups xmm0, xmmword [rbp + 0x4e0]
movups xmm1, xmmword [rbp + 0x4f0]
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rbp + 0x470]
movups xmm1, xmmword [rbp + 0x480]
movups xmmword [r14 + 0x18], xmm1
movups xmmword [r14 + 8], xmm0
movdqa xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
movaps xmm2, xmmword [rbp - 0x10]
movaps xmm3, xmmword [rbp]
movdqa xmmword [rbp + 0x540], xmm0
movaps xmmword [rbp + 0x550], xmm1
movaps xmmword [rbp + 0x560], xmm2
movaps xmmword [rbp + 0x570], xmm3
cmp byte [rbp + 0x558], 2
je 0x14009b9d1
mov rax, qword [rbp + 0x540]
mov rcx, qword [rbp + 0x550]
add rcx, rax
mov qword [rbp + 0x470], rax
mov qword [rbp + 0x478], rcx
mov word [rbp + 0x480], 0
mov rcx, rsi
mov rdx, rdi
call fcn.14009fe50
movaps xmm0, xmmword [rbp + 0x540]
movaps xmm1, xmmword [rbp + 0x550]
movups xmmword [r14 + 0x10], xmm1
movups xmmword [r14], xmm0
movdqu xmm0, xmmword [rbp + 0x4e0]
movdqa xmmword [rbp - 0x30], xmm0
mov rax, qword [rbp + 0x4f0]
mov qword [rbp - 0x20], rax
mov byte [rbp + 0x5a7], 0
mov rcx, rdi
lea rdx, [rbp + 0x510]
lea r8, [rbp - 0x30]
lea r9, [rbp + 0x560]
call fcn.1400a0720
cmp byte [rbp + 0x488], 2
je 0x14009b810
cmp qword [rbp + 0x478], 0
je 0x14009b810
mov rcx, qword [rbp + 0x470]
mov edx, 1
call fcn.140041fe0
jmp 0x14009b810
mov rcx, qword [rbp + 0x5b8]
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rdx, qword [rbp + 0x538]
mov r15, qword [rbp + 0x5a8]
mov rax, qword [rdx + 0x50]
mov rdi, qword [rdx + 0x58]
xor r8d, r8d
test rax, rax
setne r8b
cmove r15, rax
xor esi, esi
jmp 0x14009ba19
lea r8, str.library_std_src_syswindowsos.rs
mov ecx, 1
xor edx, edx
call fcn.14011a320
jmp 0x14009ee65
lea rax, str.library_std_src_syswindowsos.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.14011a400
jmp 0x14009ee65
lea r8, str.library_std_src_syswindowsos.rs
mov rcx, r13
mov rdx, r15
call fcn.14011a320
jmp 0x14009ee65
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x470], rax
lea rax, [rbp + 0x470]
mov qword [rbp + 0x540], rax
lea rax, [fcn.140092dd0]
mov qword [rbp + 0x548], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x10], 0
lea rax, [rbp + 0x540]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rdx, str.library_std_src_syswindowsos.rs
lea rcx, [rbp - 0x30]
call fcn.14011a2e0
jmp 0x14009ee65