Function at 0x140032430
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, 0x688
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x5f0], xmm6
mov qword [rbp + 0x5e8], 0xfffffffffffffffe
mov byte [rbp + 0x470], r9b
mov qword [rbp + 0x430], r8
mov rbx, rdx
mov qword [rbp + 0x4f0], rcx
mov r15, qword [rdx + 0x60]
movzx eax, byte [rdx + 0x68]
test al, al
mov qword [rbp + 0x5b8], rdx
jne 0x1400324a1
test r15, r15
jne 0x1400324a1
mov qword [rbp + 0x410], 0
xor r12d, r12d
jmp 0x1400331d4
mov qword [rbp + 0x530], 0
mov qword [rbp + 0x540], 0
test al, al
jne 0x1400326e1
mov qword [rbp + 0x5d0], r15
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x140035c95
lea r14, [rbp - 0x18]
lea rsi, [rbp + 0x500]
lea rdi, [rbp + 0x490]
mov qword [rbp + 0x5d8], rax
mov rbx, rax
nop word cs:[rax + rax]
cmp word [rbx], 0
je 0x1400326c6
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 0x140032520
lea rbx, [r12 + rdx*2]
cmp r15, 1
je 0x140032500
test r15, r15
je 0x140035bda
xor r13d, r13d
nop dword [rax + rax]
cmp word [r12 + r13*2 + 2], 0x3d
je 0x140032570
inc r13
add rax, 0xfffffffffffffffe
jne 0x140032550
jmp 0x140032500
lea r8, [r13 + 1]
cmp r13, r15
jae 0x140035bf2
mov rcx, rsi
mov rdx, r12
call fcn.1400271d0
add r13, 2
mov r8, r15
sub r8, r13
jb 0x140035c0c
lea rdx, [r12 + r13*2]
mov rcx, rdi
call fcn.1400271d0
movups xmm0, xmmword [rbp + 0x500]
movups xmm1, xmmword [rbp + 0x510]
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rbp + 0x490]
movups xmm1, xmmword [rbp + 0x4a0]
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 + 0x550], xmm0
movaps xmmword [rbp + 0x560], xmm1
movaps xmmword [rbp + 0x570], xmm2
movaps xmmword [rbp + 0x580], xmm3
cmp byte [rbp + 0x568], 2
je 0x1400326c6
mov rax, qword [rbp + 0x550]
mov rcx, qword [rbp + 0x560]
add rcx, rax
mov qword [rbp + 0x490], rax
mov qword [rbp + 0x498], rcx
mov word [rbp + 0x4a0], 0
mov rcx, rsi
mov rdx, rdi
call fcn.140036df0
movaps xmm0, xmmword [rbp + 0x550]
movaps xmm1, xmmword [rbp + 0x560]
movups xmmword [r14 + 0x10], xmm1
movups xmmword [r14], xmm0
movdqu xmm0, xmmword [rbp + 0x500]
movdqa xmmword [rbp - 0x30], xmm0
mov rax, qword [rbp + 0x510]
mov qword [rbp - 0x20], rax
mov byte [rbp + 0x5b7], 0
mov rcx, rdi
lea rdx, [rbp + 0x530]
lea r8, [rbp - 0x30]
lea r9, [rbp + 0x570]
call fcn.1400376f0
cmp byte [rbp + 0x4a8], 2
je 0x140032500
cmp qword [rbp + 0x498], 0
je 0x140032500
mov r8, qword [rbp + 0x490]
mov rcx, qword [0x14140dbb0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140032500
mov rcx, qword [rbp + 0x5d8]
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rbp + 0x5b8]
mov r15, qword [rbp + 0x5d0]
mov rax, qword [rbx + 0x50]
mov rdi, qword [rbx + 0x58]
xor r8d, r8d
test rax, rax
setne r8b
cmove r15, rax
xor esi, esi
jmp 0x140032709
lea r8, [0x1413fa6a8]
mov ecx, 1
xor edx, edx
call fcn.1400509c0
jmp 0x140035dc2
lea rax, [0x1413fa678]
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.140050aa0
jmp 0x140035dc2
lea r8, [0x1413fa690]
mov rcx, r13
mov rdx, r15
call fcn.1400509c0
jmp 0x140035dc2
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x490], rax
lea rax, [rbp + 0x490]
mov qword [rbp + 0x550], rax
lea rax, [0x140029cc0]
mov qword [rbp + 0x558], rax
lea rax, [0x1413fa6e8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x10], 0
lea rax, [rbp + 0x550]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rdx, [0x1413fa6f8]
lea rcx, [rbp - 0x30]
call fcn.140050980
jmp 0x140035dc2