Function at 0x1402a2320
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push r14
push r15
mov eax, pe_nt_image_headers64
call fcn.14033cab0
sub rsp, rax
mov rax, qword [0x140462680]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbp, qword [rcx + 0x78]
mov r15, r8
mov qword [rsp + 0x48], r9
mov r14, rdx
mov qword [rsp + 0x30], rcx
mov rbx, qword [rbp + 0xc8]
lea rax, [rbx + 0x10]
cmp r9, rax
je 0x1402a2374
mov eax, 0xffffffff
jmp 0x1402a28e6
mov qword [rsp + 0x130], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x128], rdi
lea rdx, [0x1403bb470]
neg rax
mov qword [rsp + 0x120], r12
mov qword [rsp + 0x118], r13
lea rdi, [rbp + 0x20]
and eax, 0xf
mov dword [rdi], 0
lea r13, [rsp + 0x60]
mov qword [rsp + 0x20], rdi
add r13, rax
lea r12, [rbp + 0xd0]
mov r9, rbp
mov rcx, r13
lea rax, [r13 + 0x30]
mov qword [rsp + 0x38], rax
lea rsi, [r13 + 0x40]
cmp rbx, 0x40
ja 0x1402a2787
mov eax, 0x80
mov r8d, eax
mov qword [rsp + 0x40], rax
call fcn.1402c52a0
mov rdx, r13
mov rcx, r12
call fcn.1402c59e0
movups xmm0, xmmword [rbp + 0x94]
mov rcx, qword [rsp + 0x30]
mov dword [rbp + 0x70], 0
movups xmmword [r13 + 0x30], xmm0
mov qword [rbp + 0xa8], reloc.WS2_32.dll_listen
mov qword [rbp + 0xb0], rbx
call fcn.14017db90
xor edi, edi
test eax, eax
je 0x1402a261d
test rbx, rbx
je 0x1402a2760
cmp rbx, 0x10
jb 0x1402a25e1
lea rcx, [r14 - 1]
lea rdx, [rbx - 1]
add rcx, rbx
add rdx, rsi
cmp r14, rdx
ja 0x1402a2466
cmp rcx, rsi
jae 0x1402a25e1
lea rax, [r15 - 1]
add rax, rbx
cmp r14, rax
ja 0x1402a247b
cmp rcx, r15
jae 0x1402a25e1
cmp rsi, rax
ja 0x1402a2489
cmp rdx, r15
jae 0x1402a25e1
mov r9, rbx
and r9, 0xfffffffffffffff0
mov rax, r15
lea r8, [rsi + 4]
sub rax, rsi
mov rcx, r14
sub rcx, rsi
movd xmm1, dword [r8 - 4]
xorps xmm0, xmm0
movd xmm2, dword [rax + r8 - 4]
add rdi, 0x10
movd xmm3, dword [r8 + rax]
lea r8, [r8 + 0x10]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
xorps xmm0, xmm0
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1403af530]
packuswb xmm2, xmm2
movd dword [r8 - 0x14], xmm2
movd xmm1, dword [r8 - 0x10]
movd dword [rcx + r8 - 0x14], xmm2
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
xorps xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
xorps xmm0, xmm0
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1403af530]
packuswb xmm2, xmm2
movd dword [r8 - 0x10], xmm2
movd xmm1, dword [r8 - 0xc]
movd dword [r8 + rcx - 0x10], xmm2
movd xmm2, dword [rax + r8 - 0xc]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
xorps xmm0, xmm0
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1403af530]
packuswb xmm2, xmm2
movd dword [r8 - 0xc], xmm2
movd xmm1, dword [r8 - 8]
movd dword [rcx + r8 - 0xc], xmm2
movd xmm2, dword [rax + r8 - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1403af530]
packuswb xmm2, xmm2
movd dword [r8 - 8], xmm2
movd dword [rcx + r8 - 8], xmm2
cmp rdi, r9
jb 0x1402a24a0
cmp rdi, rbx
jae 0x1402a2760
mov r8, r15
lea rcx, [rdi + rsi]
mov r9, r14
sub r8, rsi
sub r9, rsi
mov rdx, rbx
sub rdx, rdi
mov rdi, rbx
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor byte [rcx], al
movzx eax, byte [rcx]
mov byte [rcx + r9], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1402a2600
jmp 0x1402a2760
test rbx, rbx
je 0x1402a2760
cmp rbx, 0x40
jb 0x1402a271f
lea rcx, [rbx - 1]
lea rdx, [r14 - 1]
add rcx, rsi
add rdx, rbx
cmp rsi, rdx
ja 0x1402a264c
cmp rcx, r14
jae 0x1402a271f
lea rax, [r15 - 1]
add rax, rbx
cmp rsi, rax
ja 0x1402a2661
cmp rcx, r15
jae 0x1402a271f
cmp r14, rax
ja 0x1402a266f
cmp rdx, r15
jae 0x1402a271f
mov r8, rbx
and r8, 0xffffffffffffffc0
mov rcx, r15
lea rax, [rsi + 0x10]
sub rcx, rsi
mov r9, r15
sub r9, r14
mov rdx, r14
sub rdx, rsi
lea r10, [rcx + 0x10]
lea r11, [rcx + 0x20]
lea r12, [rcx - 0x10]
nop dword [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
lea rcx, [rax + rdx]
add rdi, 0x40
movdqu xmm1, xmmword [rax + r12]
movdqu xmm2, xmmword [rax + r10]
xorps xmm0, xmm1
movdqu xmmword [rax + rdx - 0x10], xmm0
movdqu xmmword [rax - 0x10], xmm1
movdqu xmm0, xmmword [rax]
lea rax, [rax + 0x40]
movdqu xmm1, xmmword [r9 + rcx]
xorps xmm0, xmm1
movdqu xmmword [rcx], xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rax + r11 - 0x40]
xorps xmm0, xmm2
movdqu xmmword [rax + rdx - 0x30], xmm0
movdqu xmmword [rax - 0x30], xmm2
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmmword [rax - 0x20], xmm1
xorps xmm0, xmm1
movdqu xmmword [rax + rdx - 0x20], xmm0
cmp rdi, r8
jb 0x1402a26a0
lea r12, [rbp + 0xd0]
cmp rdi, rbx
jae 0x1402a2760
mov r10, r15
lea r8, [rdi + rsi]
mov r11, r14
sub r10, r14
sub r11, rsi
mov r9, rbx
sub r9, rdi
mov rdi, rbx
nop dword [rax + rax]
lea rcx, [r11 + r8]
movzx edx, byte [r10 + rcx]
lea r8, [r8 + 1]
movzx eax, dl
xor al, byte [r8 - 1]
mov byte [r8 - 1], dl
mov byte [rcx], al
sub r9, 1
jne 0x1402a2740
mov rbx, rdi
lea rcx, [rdi + rsi]
neg rbx
xor edx, edx
and ebx, 0xf
mov r8d, ebx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + rdi]
add rsi, rax
lea r8, [rax + 0x20]
jmp 0x1402a2851
mov eax, 0x40
mov r8d, eax
mov qword [rsp + 0x40], rax
call fcn.1402c52a0
mov rdx, r13
mov rcx, r12
call fcn.1402c59e0
mov r8d, reloc.WS2_32.dll_recv
mov dword [rdi], 1
lea rdx, [rbp + 0x94]
mov dword [rbp + 0x70], 0
mov rcx, r12
call fcn.1402c5b40
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rsi
mov qword [rbp + 0xa8], reloc.WS2_32.dll_listen
mov qword [rbp + 0xb0], rbx
call fcn.14017db90
mov r8, rbx
mov rdx, r15
test eax, eax
je 0x1402a2811
mov r9, rbp
mov qword [rsp + 0x20], rdi
mov rcx, r14
call fcn.1402c52a0
mov r8, rbx
mov rdx, r14
mov rcx, r12
call fcn.1402c5b40
jmp 0x1402a282f
mov rcx, r12
call fcn.1402c5b40
mov r9, rbp
mov qword [rsp + 0x20], rdi
mov r8, rbx
mov rdx, r15
mov rcx, r14
call fcn.1402c52a0
mov r8, rbx
lea rdx, [0x1403bb470]
neg r8
mov rcx, r12
and r8d, 0xf
call fcn.1402c5b40
mov r8d, reloc.WS2_32.dll_recv
mov rdi, rbx
movups xmm0, xmmword [rbp + 0xa8]
add r15, rdi
lea rbx, [r14 + rdi]
mov rdi, qword [rsp + 0x38]
mov rcx, r12
mov rdx, rdi
movups xmmword [rsi], xmm0
call fcn.1402c5b40
mov rdx, qword [rsp + 0x40]
mov rcx, r13
call fcn.1401dc650
mov rcx, qword [rsp + 0x30]
call fcn.14017db90
test eax, eax
lea rdx, [rbp + 0x84]
mov rcx, r12
cmove rdx, rdi
call fcn.1402c5950
mov rcx, qword [rsp + 0x30]
mov qword [rbp + 0xc8], 0xffffffffffffffff
call fcn.14017db90
mov r13, qword [rsp + 0x118]
mov r12, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x130]
test eax, eax
je 0x1402a2904
movups xmm0, xmmword [rbp + 0x84]
movups xmmword [rbx], xmm0
mov rax, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14033bfd0
add rsp, 0x138
pop r15
pop r14
pop rbp
pop rbx
ret
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r15
mov rcx, rdi
call fcn.1401deb70
test eax, eax
je 0x1402a28d9
mov rax, qword [rsp + 0x48]
xor edx, edx
sub rbx, rax
lea r8, [rax - 0x10]
lea rcx, [rbx + 0x10]
call sub.VCRUNTIME140.dll_memset
mov eax, 0xffffffff
jmp 0x1402a28de