Function at 0x140052480
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xchg rbp, r13
mov qword [rsp + 0x10], r13
xchg rbp, r13
mov qword [rsp + 0x18], rsi
nop
sub rsp, 8
mov qword [rsp], rdi
nop
sub rsp, 8
mov qword [rsp], r12
nop
sub rsp, 8
mov qword [rsp], r13
push r14
nop
mov qword [rsp - 8], r15
sub rsp, 8
nop
add rsp, 0x4d340216
sub rsp, 0x4d340236
mov r13, qword [r8 + 0x38]
mov rsp, rsp
mov r15, rdx
add r13, qword [rdx + 0x38]
mov r14, rcx
mov dword [rsp - 0x44], 0x3caf65eb
mov eax, 0x869cf18
add eax, 0x2f97e91f
xor eax, 0x5a4d70ae
sub eax, 0x4411b252
sub eax, 0x1e3b1645
nop
movabs rdi, 0xffffffff5ff16065
sub rdi, 0x5e7ebca7
add rdi, 0x32b7d107
add rdi, 0x485ca841
add rdi, 0x7fffffff
add rdi, 0x378e2fa
xchg r8, rdi
mov r12, rdi
xchg rdi, r8
lea r9, [r13 + 1]
mul r9
xchg r12, r12
cmovb rax, rdi
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
call fcn.140098010
mov dword [rsp - 0x30], 0x45dd5a
xor ebp, ebp
mov ebx, 0x227bd6e7
sub ebx, 0x15b5cfd
xor ebx, 0x2c4931ea
xor ebx, 0x41001cf5
add ebx, 0x1052fb4d
xchg r13, rsi
mov r13, rax
xchg r13, rsi
mov eax, ebx
mov r8d, ebp
mov r14, r14
mov r10d, 0x2a5438e4
add r10d, 0x28e78c4
add r10d, 0x48338a21
xor r10d, 0x780564c4
sub r10d, 0xd135e0e
cmp qword [r15 + 0x38], rbp
jbe 0x140052607
mov dword [rsp - 0x1c], 0x284f707b
nop word [rax + rax]
xchg rbp, rcx
mov rbp, qword [r15]
xchg rbp, rcx
movzx edx, ax
mov dword [rsp - 0x40], 0x1b0e6774
and dx, r10w
ror eax, 1
ror eax, 3
ror eax, 3
ror eax, 1
xor dx, word [rcx + r8*2]
xchg rsp, rsp
mov word [rsi + r8*2], dx
inc r8
cmp r8, qword [r15 + 0x38]
jb 0x1400525c3
mov dword [rsp - 0x28], 0x7171bc25
mov r8d, ebx
xchg r13, r9
mov r13, rbp
xchg r9, r13
cmp qword [r12 + 0x38], rbp
jbe 0x14005267c
mov dword [rsp - 0x28], 0x674d3e35
nop dword [rax]
xchg rsp, rax
mov rsp, qword [r12]
xchg rsp, rax
movzx edx, r8w
mov rdx, rdx
xchg rcx, r10
mov r10, qword [r15 + 0x38]
xchg r10, rcx
and dx, r10w
add rcx, r9
xchg r13, r13
ror r8d, 2
ror r8d, 3
ror r8d, 1
ror r8d, 1
ror r8d, 1
xor dx, word [rax + r9*2]
inc r9
mov word [rsi + rcx*2], dx
mov dword [rsp - 0x24], 0x2bf3c65
cmp r9, qword [r12 + 0x38]
jb 0x140052629
lea rax, [r14 + 8]
xchg r11, r11
mov word [rsi + r13*2], bp
xorps xmm0, xmm0
mov qword [r14], rax
xchg rdi, rax
movups xmmword [rdi], xmm0
xchg rdi, rax
xchg rsp, rax
movups xmmword [rsp + 0x10], xmm0
xchg rsp, rax
xchg r13, rax
movups xmmword [r13 + 0x20], xmm0
xchg r13, rax
inc rdi
xchg r15, r15
cmp word [rsi + rdi*2], bp
jne 0x1400526a7
xchg r11, rdx
mov r11, rdi
xchg rdx, r11
mov qword [r14 + 0x38], rdi
xchg r8, r8
xchg rcx, r15
mov r15, r14
xchg rcx, r15
call fcn.14000ef40
mov dword [rsp - 0xc], 0x63de6448
cmp qword [r14 + 0x38], rbp
jbe 0x14005274d
xchg rbx, rsi
mov rdx, rbx
xchg rbx, rsi
mov r8d, 0x36168541
xor r8d, 0x724872f6
xor r8d, 0x3d90f1bb
sub r8d, 0x3c4ffd71
sub r8d, 0x3d7e079c
sub rdx, rax
nop
mov dword [rsp - 0x10], edi
movzx ecx, bx
lea rax, [rax + 2]
and cx, r8w
mov r15, r15
ror ebx, 5
ror ebx, 2
ror ebx, 1
xor cx, word [rax + rdx - 2]
xchg rcx, rcx
inc rbp
mov word [rax - 2], cx
cmp rbp, qword [r14 + 0x38]
jb 0x14005271b
mov r8, r8
xchg rcx, rsi
mov rsi, rcx
xchg rsi, rcx
call fcn.140098020
mov dword [rsp - 0x28], 0x132b2851
xchg r9, rbx
mov r9, qword [rsp + 0x50]
xchg r9, rbx
xchg r13, rax
mov r13, r14
xchg r13, rax
xchg r13, rbp
mov r13, qword [rsp + 0x58]
xchg rbp, r13
xchg rsi, r12
mov r12, qword [rsp + 0x60]
xchg rsi, r12
sub rsp, 0xffffffffffffffe0
nop
add rsp, 8
mov r15, qword [rsp - 8]
nop
mov r14, qword [rsp]
add rsp, 8
pop r13
mov dword [rsp - 0x44], ebx
nop
add rsp, 8
mov r12, qword [rsp - 8]
pop rdi
ret