Function at 0x14005af40
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x410
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x380], xmm6
mov qword [rbp + 0x378], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x310], r9
mov qword [rbp + 0x318], rax
lea rax, [rbp + 0x310]
mov qword [rbp + 0x1e0], rax
lea rax, [0x1400065c0]
mov qword [rbp + 0x1e8], rax
lea rax, str.___Encrypting_Shellcode_Using__Encryption_n
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 2
mov qword [rbp - 0x10], 0
lea rax, [rbp + 0x1e0]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rcx, [rbp - 0x30]
call fcn.14006d580
mov qword [rbp + 0x320], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x328], xmm0
mov dword [rbp - 0x30], 0
movups xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 7
mov qword [rbp - 0x14], 0
mov word [rbp - 0xc], 0
mov byte [rbp - 0x10], 1
lea rcx, [rbp - 0x30]
mov rdx, rbx
mov r8, rdi
call fcn.14006b6c0
test rax, rax
jne 0x14005b6ad
mov qword [rbp + 0x308], rdx
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x308]
lea r8, [rbp + 0x320]
call fcn.14006b620
cmp qword [rbp - 0x30], 0
jne 0x14005b6de
call fcn.14005e930
mov rdi, rax
mov qword [rbp + 0x2e8], rax
lea rcx, [rbp + 0x1c0]
mov rdx, rax
call fcn.1400571e0
lea rcx, [rbp - 0x50]
mov rdx, rdi
call fcn.1400571e0
mov rax, qword [rbp + 0x318]
cmp rax, 3
jne 0x14005b0b5
mov rax, qword [rbp + 0x310]
movzx ecx, word [rax]
xor ecx, 0x4541
movzx eax, byte [rax + 2]
xor eax, 0x53
or ax, cx
je 0x14005b0d8
pxor xmm6, xmm6
mov r14d, 1
jmp 0x14005b301
pxor xmm6, xmm6
mov r14d, 1
cmp rax, 5
je 0x14005b1ab
cmp rax, 3
je 0x14005b301
jmp 0x14005b56c
mov qword [rbp + 0x368], 1
mov qword [rbp + 0x360], 0
mov byte [rbp + 0x377], 1
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x1c0]
call fcn.140061530
mov rax, qword [rbp + 0x320]
mov rcx, qword [rbp + 0x330]
mov qword [rbp + 0x368], 1
mov qword [rbp + 0x360], 0
mov byte [rbp + 0x377], 1
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x338]
lea rdx, [rbp - 0x30]
lea r8, [rbp - 0x50]
mov r9d, 0x20
call fcn.1400616c0
lea rcx, [rbp + 0x1e0]
lea rdx, [rbp + 0x338]
mov r8d, 1
call fcn.14005d980
mov r14, qword [rbp + 0x1e0]
movdqu xmm6, xmmword [rbp + 0x1e8]
mov rdx, qword [rbp + 0x340]
test rdx, rdx
je 0x14005b19a
mov rcx, qword [rbp + 0x338]
mov r8d, 1
call fcn.140007f00
mov rax, qword [rbp + 0x318]
cmp rax, 5
jne 0x14005b0c9
mov rax, qword [rbp + 0x310]
mov ecx, 0x4d5a4c45
xor ecx, dword [rax]
movzx eax, byte [rax + 4]
xor eax, 0x41
or eax, ecx
jne 0x14005b56c
mov qword [rbp - 0x30], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp + 0x368], r14
movq qword [rbp + 0x360], xmm6
mov byte [rbp + 0x377], 1
lea rcx, [rbp + 0x1e0]
lea rdx, [rbp - 0x30]
mov r8d, 9
call fcn.14005be60
mov qword [rbp + 0x350], r14
movq qword [rbp + 0x358], xmm6
mov rdx, qword [rbp + 0x320]
mov r8, qword [rbp + 0x330]
mov byte [rbp + 0x376], 1
lea rcx, [rbp + 0x1e0]
call fcn.14005bc20
test rax, rax
jne 0x14005b716
lea rbx, [rbp - 0x30]
lea rdx, [rbp + 0x1e0]
mov r8d, 0xb8
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + 0x376], 0
lea rcx, [rbp + 0x338]
mov rdx, rbx
call fcn.14005c170
cmp qword [rbp + 0x338], 0
je 0x14005b744
mov rax, qword [rbp + 0x348]
mov qword [rbp + 0x300], rax
movups xmm0, xmmword [rbp + 0x338]
movaps xmmword [rbp + 0x2f0], xmm0
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x2f0]
mov r8d, 1
call fcn.14005d980
mov rdx, qword [rbp + 0x358]
test rdx, rdx
je 0x14005b2c9
mov r8d, 1
mov rcx, qword [rbp + 0x350]
call fcn.140007f00
mov r14, qword [rbp - 0x30]
movdqu xmm6, xmmword [rbp - 0x28]
mov rdx, qword [rbp + 0x2f8]
test rdx, rdx
je 0x14005b2f0
mov rcx, qword [rbp + 0x2f0]
mov r8d, 1
call fcn.140007f00
mov rax, qword [rbp + 0x318]
cmp rax, 3
jne 0x14005b56c
mov rax, qword [rbp + 0x310]
movzx ecx, word [rax]
xor ecx, 0x4352
movzx eax, byte [rax + 2]
xor eax, 0x34
or ax, cx
jne 0x14005b56c
xorps xmm0, xmm0
movaps xmmword [rbp + 0x2d0], xmm0
movaps xmmword [rbp + 0x2c0], xmm0
movaps xmmword [rbp + 0x2b0], xmm0
movaps xmmword [rbp + 0x2a0], xmm0
movaps xmmword [rbp + 0x290], xmm0
movaps xmmword [rbp + 0x280], xmm0
movaps xmmword [rbp + 0x270], xmm0
movaps xmmword [rbp + 0x260], xmm0
movaps xmmword [rbp + 0x250], xmm0
movaps xmmword [rbp + 0x240], xmm0
movaps xmmword [rbp + 0x230], xmm0
movaps xmmword [rbp + 0x220], xmm0
movaps xmmword [rbp + 0x210], xmm0
movaps xmmword [rbp + 0x200], xmm0
movaps xmmword [rbp + 0x1f0], xmm0
movaps xmmword [rbp + 0x1e0], xmm0
movaps xmmword [rbp + 0xc0], xmm0
movaps xmmword [rbp + 0xb0], xmm0
movaps xmmword [rbp + 0xa0], xmm0
movaps xmmword [rbp + 0x90], xmm0
movaps xmmword [rbp + 0x80], xmm0
movaps xmmword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
xor eax, eax
nop word cs:[rax + rax]
lea rcx, [rax + 1]
mov byte [rbp + rax + 0x1e0], al
mov edx, eax
and edx, 0x1e
movzx edx, byte [rbp + rdx + 0x1c0]
mov byte [rbp + rax - 0x30], dl
mov byte [rbp + rax + 0x1e1], cl
and ecx, 0x1f
movzx ecx, byte [rbp + rcx + 0x1c0]
mov byte [rbp + rax - 0x2f], cl
add rax, 2
cmp rax, 0x100
jne 0x14005b3f0
mov eax, 1
xor ecx, ecx
nop word cs:[rax + rax]
movzx edx, byte [rbp + rax + 0x1df]
add cl, dl
add cl, byte [rbp + rax - 0x31]
movzx ecx, cl
movzx r8d, byte [rbp + rcx + 0x1e0]
mov byte [rbp + rax + 0x1df], r8b
mov byte [rbp + rcx + 0x1e0], dl
movzx edx, byte [rbp + rax + 0x1e0]
add cl, dl
add cl, byte [rbp + rax - 0x30]
movzx r8d, cl
movzx r9d, byte [rbp + r8 + 0x1e0]
mov byte [rbp + rax + 0x1e0], r9b
mov byte [rbp + r8 + 0x1e0], dl
add rax, 2
cmp rax, 0x101
jne 0x14005b440
mov rax, qword [rbp + 0x330]
test rax, rax
je 0x14005b516
mov rcx, qword [rbp + 0x320]
xor edx, edx
xor r8d, r8d
xor r9d, r9d
nop dword [rax + rax]
inc r9d
movzx r9d, r9b
movzx r10d, byte [rbp + r9 + 0x1e0]
add r8b, r10b
add r8b, byte [rbp + r9 - 0x30]
movzx r11d, r8b
movzx ebx, byte [rbp + r11 + 0x1e0]
mov byte [rbp + r9 + 0x1e0], bl
mov byte [rbp + r11 + 0x1e0], r10b
add r10b, byte [rbp + r9 + 0x1e0]
movzx r10d, r10b
movzx r10d, byte [rbp + r10 + 0x1e0]
xor byte [rcx + rdx], r10b
inc rdx
cmp rax, rdx
jne 0x14005b4c0
mov qword [rbp + 0x368], r14
movq qword [rbp + 0x360], xmm6
mov byte [rbp + 0x377], 1
lea rcx, [rbp + 0x338]
lea rdx, [rbp + 0x320]
mov r8d, 1
call fcn.14005d980
movq rdx, xmm6
test rdx, rdx
je 0x14005b55d
mov r8d, 1
mov rcx, r14
call fcn.140007f00
mov r14, qword [rbp + 0x338]
movdqu xmm6, xmmword [rbp + 0x340]
lea rax, str.___Shellcode_Encrypted_np_f_v_
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
lea rax, fcn.140001780
mov qword [rbp - 0x20], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp + 0x368], r14
movq qword [rbp + 0x360], xmm6
mov byte [rbp + 0x377], 1
lea rcx, [rbp - 0x30]
call fcn.14006d580
mov qword [rbp + 0x350], r14
movq qword [rbp + 0x358], xmm6
movups xmm0, xmmword [rbp + 0x1c0]
movups xmm1, xmmword [rbp + 0x1d0]
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x30], xmm0
lea rcx, [rbp + 0x338]
lea rdx, [rbp - 0x30]
mov r8d, 1
call fcn.14005d750
movups xmm0, xmmword [rbp - 0x50]
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x30], xmm0
lea rcx, [rbp + 0x1e0]
lea rdx, [rbp - 0x30]
mov r8d, 1
call fcn.14005d750
mov rax, qword [rbp + 0x350]
mov qword [rsi], rax
movdqu xmmword [rsi + 8], xmm6
movups xmm0, xmmword [rbp + 0x338]
movups xmmword [rsi + 0x18], xmm0
mov rax, qword [rbp + 0x348]
mov qword [rsi + 0x28], rax
movups xmm0, xmmword [rbp + 0x1e0]
movups xmmword [rsi + 0x30], xmm0
mov rax, qword [rbp + 0x1f0]
mov qword [rsi + 0x40], rax
dec qword [rdi]
jne 0x14005b66a
dec qword [rdi + 8]
jne 0x14005b66a
mov edx, 0x170
mov r8d, 0x10
mov rcx, rdi
call fcn.140007f00
mov rcx, qword [rbp + 0x308]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x328]
test rdx, rdx
je 0x14005b695
mov rcx, qword [rbp + 0x320]
mov r8d, 1
call fcn.140007f00
mov rax, rsi
movaps xmm6, xmmword [rbp + 0x380]
add rsp, 0x410
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x30], rdx
lea rax, [0x1400b0bf8]
mov qword [rsp + 0x20], rax
lea rcx, str.Unable_to_open_the_file
lea r9, fcn.140001780
lea r8, [rbp - 0x30]
mov edx, 0x17
call fcn.1400a8120
jmp 0x14005b777
mov rax, qword [rbp - 0x28]
mov qword [rbp + 0x1e0], rax
lea rax, [0x1400b0c28]
mov qword [rsp + 0x20], rax
lea rcx, str.Unable_to_read_the_file
lea r9, fcn.140001780
lea r8, [rbp + 0x1e0]
mov edx, 0x17
call fcn.1400a8120
jmp 0x14005b777
mov qword [rbp - 0x30], rax
lea rax, [0x1400b0c40]
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value____Selected_Process_to_Suspend:__n
lea r9, fcn.140001780
lea r8, [rbp - 0x30]
mov edx, 0x2b
call fcn.1400a8120
jmp 0x14005b777
mov rax, qword [rbp + 0x340]
mov qword [rbp - 0x30], rax
lea rax, str.3_a_v_
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value____Selected_Process_to_Suspend:__n
lea r9, fcn.140001780
lea r8, [rbp - 0x30]
mov edx, 0x2b
call fcn.1400a8120
ud2