Function at 0x1400462cc
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd8
mov qword [rax - 0x28], rbx
xorps xmm0, xmm0
mov qword [rax - 0x30], rsi
xor r14d, r14d
mov qword [rdx], r14
mov r12, rdx
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], 0x3ead8304
sub qword [rdx + 0x18], 0x5506da6
sub qword [rdx + 0x18], 0x395d155d
mov rsi, qword [rcx + 0x870]
mov rbx, qword [rcx + 0x838]
mov qword [rax - 0x38], r13
mov r13, rcx
lea rax, [rbp - 0x29]
lea rdx, [rsi + 1]
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x31]
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
call fcn.14000ef40
mov r8, rax
mov ecx, 0x1013898f
add ecx, 0x506d8d4e
sub ecx, 0x3c4c69b
mov r9d, 0x6013025a
add r9d, 0x1cba1e22
sub r9d, 0x2172fa57
xor r9d, 0x5b5a26da
test rsi, rsi
je 0x140046398
mov rdx, rax
sub rbx, rax
mov rdi, rsi
movzx eax, cx
lea rdx, [rdx + 2]
and ax, r9w
ror ecx, 8
xor ax, word [rbx + rdx - 2]
mov word [rdx - 2], ax
sub rdi, 1
jne 0x140046377
mov word [r8 + rsi*2], r14w
mov r14, qword [rbp - 0x31]
cmp word [r14], 0
je 0x140046857
mov qword [rsp + 0xb8], r15
nop dword [rax + rax]
mov edx, 0x128515ab
xor edx, 0x41782705
sub edx, 0x53fd32a4
mov rcx, r14
call 0x140099130
mov qword [rbp + 0x6f], rax
nop
movabs r15, 0xffffffff118db2e5
add r15, 0x3974ed8a
add r15, 0x7fffffff
add r15, 0x34fd5f91
test rax, rax
je 0x14004640d
mov rbx, rax
sub rbx, r14
sar rbx, 1
jmp 0x140046424
mov rbx, r15
nop dword [rax + rax]
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x140046415
lea rdi, [rbx + 1]
mov eax, 0xc604481
add eax, 0x528cadb8
xor eax, 0x702736ca
xor eax, 0x2ecbc4f1
mul rdi
cmovb rax, r15
mov rcx, rax
call fcn.140098010
mov r9, rbx
mov qword [rbp + 0x7f], rax
mov r8, r14
mov rdx, rdi
mov rcx, rax
mov rsi, rax
call fcn.140099210
cmp byte [r13 + 0x88c], 0
je 0x140046506
xor ebx, ebx
nop word [rax + rax]
lea rdx, [rbp + 7]
mov rcx, r13
call fcn.140038330
mov rcx, qword [rbp + 0x77]
mov rdx, rsi
mov rdi, rax
call fcn.1400334a0
cmp eax, dword [rdi]
jle 0x140046506
mov edx, 0xc83e42f
xor edx, 0x4371ac72
sub edx, 0x4476c6af
xor edx, 0xb7b818e
mov rcx, rsi
call fcn.1400992e0
test rax, rax
jne 0x1400464e8
mov rax, r15
inc rax
cmp word [rsi + rax*2], bx
jne 0x1400464ca
cmp rax, 1
jbe 0x1400466fa
dec rax
lea rax, [rsi + rax*2]
mov word [rax], bx
sub rax, rsi
sar rax, 1
lea rax, [r14 + rax*2]
mov qword [rbp + 0x6f], rax
cmp byte [r13 + 0x88c], bl
jne 0x14004647c
xor r14d, r14d
xorps xmm0, xmm0
lea rax, [rbp - 0x69]
mov qword [rbp - 0x71], rax
mov rdx, r15
movups xmmword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
inc rdx
cmp word [rsi + rdx*2], 0
jne 0x140046523
lea rcx, [rbp - 0x71]
mov qword [rbp - 0x39], rdx
call fcn.14000ef40
cmp qword [rbp - 0x39], 0
pushf
mov edx, 0x5a47f2f0
xor edx, 0x6ec5d482
add edx, 0xf6d58c3
add edx, 0x18ccd10d
popf
mov rdi, r14
jbe 0x1400465b6
mov r8, rsi
mov r9d, 0xb4824d7
xor r9d, 0x7dd9b83
add r9d, 0x36136597
sub r9d, 0x42a923ec
sub r8, rax
nop word [rax + rax]
movzx ecx, dx
lea rax, [rax + 2]
and cx, r9w
ror edx, 8
xor cx, word [r8 + rax - 2]
inc rdi
mov word [rax - 2], cx
cmp rdi, qword [rbp - 0x39]
jb 0x140046591
mov rax, qword [r12 + 8]
test rax, rax
je 0x140046746
mov rcx, qword [r12 + 0x10]
cmp rax, rcx
jb 0x14004673d
add rcx, qword [r12 + 0x18]
mov qword [r12 + 0x10], rcx
shl rcx, 6
call fcn.1400984c0
mov rcx, qword [r12 + 8]
mov r13, rax
mov qword [rbp - 0x79], rax
mov r15, r14
test rcx, rcx
je 0x1400466aa
nop
movabs rsi, 0xffffffff46ae90be
add rsi, 0x1ecd6585
add rsi, 0x7fffffff
xor rsi, 0x1a84098a
lea rbx, [rax + 0x38]
sub rsi, rax
xor r13d, r13d
nop dword [rax]
mov r14, qword [r12]
lea rax, [rbx - 0x30]
mov qword [rbx - 0x38], rax
lea rcx, [rbx - 0x38]
xorps xmm0, xmm0
add r14, rsi
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov rdx, qword [r14 + rbx + 0x38]
mov qword [rbx], rdx
call fcn.14000ef40
mov rdi, r13
cmp qword [rbx], r13
jbe 0x14004668a
nop word [rax + rax]
mov rcx, qword [r14 + rbx]
movzx edx, word [rcx + rdi*2]
mov word [rax + rdi*2], dx
inc rdi
cmp rdi, qword [rbx]
jb 0x140046672
mov rcx, qword [r12 + 8]
inc r15
add rbx, 0x40
cmp r15, rcx
jb 0x14004662e
mov rsi, qword [rbp + 0x7f]
xor r14d, r14d
mov r13, qword [rbp - 0x79]
cmp qword [r12], 0
je 0x140046731
test rcx, rcx
je 0x140046728
xor ebx, ebx
nop
mov rax, qword [r12]
mov rcx, qword [rbx + rax]
lea rdi, [rax + 8]
add rdi, rbx
cmp rcx, rdi
jne 0x140046706
xor eax, eax
mov ecx, 0x4a924855
xor ecx, 0x6342717c
sub ecx, 0x1a965ad2
sub ecx, 0xf39de27
rep stosb byte [rdi], al
jmp 0x14004670b
xor r14d, r14d
mov qword [rbp + 0x6f], r14
jmp 0x140046509
call fcn.140098180
inc r14
nop
add rbx, 0x5d01aa34
sub rbx, 0x5d01a9f4
cmp r14, qword [r12 + 8]
jb 0x1400466c2
mov rcx, qword [r12]
call fcn.140098180
mov qword [r12], r13
xor r14d, r14d
jmp 0x14004676d
mov r13, qword [r12]
jmp 0x14004676d
mov r13, qword [r12]
test r13, r13
jne 0x14004676d
mov rcx, qword [r12 + 0x18]
mov qword [r12 + 0x10], rcx
shl rcx, 6
call fcn.1400984c0
mov r13, rax
mov qword [r12], rax
mov rax, qword [r12 + 8]
xorps xmm0, xmm0
mov rbx, rax
shl rbx, 6
add rbx, r13
inc rax
mov rcx, rbx
mov qword [r12 + 8], rax
lea rax, [rbx + 8]
mov qword [rbx], rax
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov rax, qword [rbp - 0x39]
mov qword [rbx + 0x38], rax
mov rdx, qword [rbp - 0x39]
call fcn.14000ef40
cmp qword [rbx + 0x38], 0
mov rdi, r14
jbe 0x1400467e1
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbp - 0x71]
movzx edx, word [rcx + rdi*2]
mov word [rax + rdi*2], dx
inc rdi
cmp rdi, qword [rbx + 0x38]
jb 0x1400467c8
mov rcx, qword [rbp - 0x71]
lea rax, [rbp - 0x69]
cmp rcx, rax
jne 0x140046810
lea rdi, [rbp - 0x69]
xor eax, eax
mov ecx, 0x24392f0c
add ecx, 0x2e87c4df
xor ecx, 0x52c0f3db
rep stosb byte [rdi], al
jmp 0x140046815
call fcn.140098180
mov rcx, rsi
call fcn.140098020
mov rax, qword [rbp + 0x6f]
test rax, rax
je 0x14004684b
mov r13, qword [rbp + 0x67]
cmp byte [r13 + 0x88c], 0
je 0x14004684b
cmp word [rax + 2], 0
lea r14, [rax + 2]
jne 0x1400463b9
mov r14, qword [rbp - 0x31]
mov r15, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xc0]
lea rax, [rbp - 0x29]
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
cmp r14, rax
jne 0x1400468ac
xor eax, eax
lea rdi, [rbp - 0x29]
mov ecx, 0x52e568d8
add ecx, 0x21bbe62a
sub ecx, 0x20e186e0
sub ecx, 0x53bfc7f2
rep stosb byte [rdi], al
mov rax, r12
add rsp, 0xd8
pop r14
pop r12
pop rdi
pop rbp
ret
mov rcx, r14
call fcn.140098180
mov rax, r12
sub rsp, 0xffffffffffffff28
pop r14
pop r12
pop rdi
pop rbp
ret