Function at 0x14003d6e0
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, 0x678
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x5e0], xmm6
mov qword [rbp + 0x5d8], 0xfffffffffffffffe
mov qword [rbp + 0x440], r8
mov r14, rdx
mov qword [rbp + 0x4e8], rcx
movzx eax, byte [rdx + 0xa0]
mov rbx, qword [rdx + 0x98]
test al, al
jne 0x14003d74c
test rbx, rbx
jne 0x14003d74c
mov qword [rbp + 0x400], 0
xor r15d, r15d
xor r12d, r12d
jmp 0x14003e35b
mov qword [rbp + 0x4d0], 0
mov qword [rbp + 0x4e0], 0
test al, al
jne 0x14003d985
mov qword [rbp + 0x560], rbx
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x140040c93
lea rbx, [rbp - 0x10]
lea rsi, [rbp + 0x450]
mov qword [rbp + 0x5a8], rax
mov rdi, rax
nop word cs:[rax + rax]
cmp word [rdi], 0
je 0x14003d971
mov r12, rdi
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 0x14003d7c0
lea rdi, [r12 + rdx*2]
cmp r15, 1
je 0x14003d7a0
test r15, r15
je 0x140040be7
xor r13d, r13d
nop dword [rax + rax]
cmp word [r12 + r13*2 + 2], 0x3d
je 0x14003d810
inc r13
add rax, 0xfffffffffffffffe
jne 0x14003d7f0
jmp 0x14003d7a0
lea r8, [r13 + 1]
cmp r13, r15
jae 0x140040bff
mov rcx, rsi
mov rdx, r12
call fcn.140035680
add r13, 2
mov r8, r15
sub r8, r13
jb 0x140040c19
lea rdx, [r12 + r13*2]
lea rcx, [rbp - 0x30]
call fcn.140035680
mov r9, qword [rbp + 0x450]
mov r8, qword [rbp + 0x458]
movdqu xmm6, xmmword [rbp + 0x460]
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
movups xmm0, xmmword [rbx - 0x10]
movaps xmmword [rbp + 0x4b0], xmm0
movabs rax, 0x8000000000000000
cmp r9, rax
je 0x14003d971
mov qword [rbp + 0x5b8], r9
mov qword [rbp + 0x5c8], rdx
mov qword [rbp + 0x598], rcx
movq rax, xmm6
add rax, r8
mov qword [rbp + 0x450], r8
mov qword [rbp + 0x458], rax
mov word [rbp + 0x460], 0
lea r15, [rbp + 0x570]
mov rcx, r15
mov rdx, rsi
mov qword [rbp + 0x5c0], r8
call fcn.140042160
mov rax, qword [rbp + 0x5b8]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x5c0]
mov qword [rbp - 0x28], rax
movdqu xmmword [rbp - 0x20], xmm6
mov rax, qword [rbp + 0x580]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rbp + 0x570]
movups xmmword [rbx], xmm0
mov rax, qword [rbp + 0x5c8]
mov qword [rbp + 0x450], rax
mov rax, qword [rbp + 0x598]
mov qword [rbp + 0x458], rax
movaps xmm0, xmmword [rbp + 0x4b0]
lea rax, [rbp + 0x460]
movups xmmword [rax], xmm0
mov byte [rbp + 0x597], 0
mov rcx, r15
lea rdx, [rbp + 0x4d0]
lea r8, [rbp - 0x30]
mov r9, rsi
call fcn.140042390
mov rax, qword [rbp + 0x570]
shl rax, 1
test rax, rax
je 0x14003d7a0
mov rcx, qword [rbp + 0x578]
mov edx, 1
call fcn.140010c70
jmp 0x14003d7a0
mov rcx, qword [rbp + 0x5a8]
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rbp + 0x560]
mov rax, qword [r14 + 0x88]
mov qword [rbp + 0x558], r14
mov rcx, qword [r14 + 0x90]
mov qword [rbp + 0x5c8], rcx
xor edi, edi
test rax, rax
setne dil
cmove rbx, rax
xor esi, esi
jmp 0x14003d9c2
mov rcx, qword [r14 + 0x10]
lea rbx, str.program_path_has_no_file_name
test rcx, rcx
je 0x14003e6b7
mov rdx, qword [r14 + 8]
cmp rcx, 4
mov qword [rbp + 0x5c8], rcx
jae 0x14003e389
lea rax, [0x1400440d0]
jmp 0x14003e3b8
mov eax, dword [rdx]
bswap eax
xor ecx, ecx
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
adc ecx, 0xffffffff
lea rcx, [0x1400440c0]
lea rax, [0x1400440d0]
cmove rax, rcx
mov rcx, qword [rbp + 0x5c8]
mov qword [rbp + 0x5b8], rdx
movzx esi, byte [rcx + rdx - 1]
mov byte [rbp + 0x5d7], 1
mov ecx, esi
call rax
test al, al
jne 0x14003e6b7
mov r8, qword [rbp + 0x5c8]
cmp r8, 3
jbe 0x14003e456
mov rdx, qword [rbp + 0x5b8]
movzx eax, byte [r8 + rdx - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x14003e456
movzx eax, byte [rdx + r8 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x14003e456
movzx eax, byte [rdx + r8 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x14003e82a
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
mov r8, qword [rbp + 0x5c8]
jmp 0x14003e458
xor eax, eax
mov rsi, qword [rbp + 0x5b8]
lea rbx, [rsi + r8]
xor ecx, ecx
nop word cs:[rax + rax]
cmp qword [rbp + 0x5c8], rcx
je 0x14003e4da
movzx edx, byte [rsi + rcx]
cmp edx, 0x2f
je 0x14003e48a
inc rcx
cmp edx, 0x5c
jne 0x14003e470
test al, al
je 0x14003e5b3
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp - 0x30]
mov rdx, rsi
mov r8, qword [rbp + 0x5c8]
call fcn.140033bb0
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
movabs rdx, 0x8000000000000000
cmp rcx, rdx
jne 0x14003e75c
xchg ebp, eax
add al, byte [rax]
invalid
mov qword [rbp + 0x4d8], rax
mov qword [rbp + 0x4d0], rdx
jmp 0x14003edfa
mov rdi, qword [rbp + 0x5c8]
test rdi, rdi
js 0x140040d24
movzx eax, byte [0x1400c12d8]
xor ecx, ecx
mov rdx, rdi
call fcn.140048c30
test rax, rax
je 0x140040d35
mov r12, rax
mov rcx, rax
mov rdx, rsi
mov r8, rdi
call fcn.140052bbb
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], rdi
mov byte [rbp - 0x18], 0
lea rdx, str..exeprogram_not_found
lea rcx, [rbp - 0x30]
mov r8d, 4
mov qword [rbp + 0x5c0], r12
call fcn.140039970
mov r13, qword [rbp - 0x30]
mov r12, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov qword [rbp + 0x3e8], r12
mov qword [rbp + 0x3e0], r13
mov byte [rbp + 0x596], 1
lea rcx, [rbp + 0x4f0]
mov rdx, r12
mov r8, rsi
call fcn.1400441b0
movabs rdi, 0x8000000000000000
cmp qword [rbp + 0x4f0], rdi
jne 0x14003e788
mov qword [rbp + 0x5c0], r13
mov qword [rbp + 0x5c8], r12
mov rcx, r12
mov rdx, rsi
call fcn.14003ce30
test rax, rax
je 0x14003e838
cmp rdx, 2
jne 0x14003e7e7
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x14003e7e7
mov ecx, 2
xor r8d, r8d
mov r10, qword [rbp + 0x5c8]
jmp 0x14003ed6e
mov rsi, rbx
mov rax, qword [rbp + 0x4e8]
mov qword [rax], rsi
mov qword [rax + 0x10], 2
test r15, r15
je 0x14003e72b
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp + 0x4d0]
lea rdx, [rbp - 0x30]
call fcn.1400440e0
jmp 0x14003edfa
mov rax, qword [rbp + 0x500]
mov qword [rbp + 0x4e0], rax
movups xmm0, xmmword [rbp + 0x4f0]
movaps xmmword [rbp + 0x4d0], xmm0
jmp 0x14003ede8
mov rcx, rdx
mov r10, qword [rbp + 0x5c8]
nop word cs:[rax + rax]
test rcx, rcx
je 0x14003e866
invalid
mov r9, rcx
dec rcx
cmp byte [rax + r9 - 1], 0x2e
jne 0x14003e800
test rcx, rcx
je case.0x14003b6f0.61
sub rdx, r9
mov r8, rax
add r8, r9
jmp 0x14003ed6e
xor eax, eax
mov r8, qword [rbp + 0x5c8]
jmp 0x14003e458
mov r10, qword [rbp + 0x5c8]
jmp 0x14003ed8e
mov r8, rax
xor eax, eax
jmp 0x14003ed6e
lea r8, str.library_std_src_syspalwindowsos.rs
mov ecx, 1
xor edx, edx
call fcn.140052e60
jmp 0x140040dcf
lea rax, str.library_std_src_syspalwindowsos.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.140052f60
jmp 0x140040dcf
lea r8, str.library_std_src_syspalwindowsos.rs
mov rcx, r13
mov rdx, r15
call fcn.140052e60
jmp 0x140040dcf
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 + 0x450], rax
lea rax, [0x140038690]
mov qword [rbp + 0x458], 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 + 0x450]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rdx, str._b6_v_
lea rcx, [rbp - 0x30]
call fcn.140052e20
jmp 0x140040dcf
mov byte [rbp + 0x5d7], 1
call fcn.140010ec0
jmp 0x140040dcf
mov byte [rbp + 0x5d7], 1
mov ecx, 1
mov rdx, rdi
call fcn.140052d50
jmp 0x140040dcf