Function at 0x1400b5c10
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r13
push r15
sub rsp, 0x88
mov rax, qword [0x1402c57e8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov r15, r9
mov edx, dword [rcx + 0x10ee0]
mov r13, r8
mov rbx, rcx
cmp dword [rcx + 0x10edc], edx
je 0x1400b5c87
imul rcx, rdx, 0x2c
mov eax, dword [rcx + rbx + 0x10ef8]
sub eax, edx
mov dword [r9], eax
mov eax, dword [rbx + 0x10ee0]
imul rcx, rax, 0x2c
mov eax, dword [rcx + rbx + 0x10efc]
mov dword [r8], eax
mov eax, dword [rbx + 0x10ee0]
imul rcx, rax, 0x2c
mov eax, dword [rcx + rbx + 0x10ef8]
mov dword [rbx + 0x10ee0], eax
jmp 0x1400b5f48
cmp dword [rsi + 0x1c], 0
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x68], r14
jne 0x1400b5d9f
cmp dword [rcx + 0x10e94], 0x80
jb 0x1400b5cb4
call fcn.1400b3fc0
cmp dword [rbx + 0x10ed8], 0x10
jb 0x1400b5d9f
xor edi, edi
lea r14, [rbx + 0x10e98]
lea rbp, [0x14027b420]
movzx eax, word [rbx + 0x71e2]
lea r14, [r14 + 4]
shr rax, 4
mov edx, edi
and edx, 1
mov r11d, edi
mov ecx, edx
shr r11d, 1
neg ecx
inc edi
shr rcx, 4
and ecx, 0x7f
lea r8d, [rdx + 2]
xor rcx, rax
mov edx, r11d
and edx, 1
shr r11d, 1
mov eax, edx
neg eax
movzx r10d, byte [rcx + rbp]
movzx ecx, word [rbx + r8*2 + 0x71e0]
lea r9d, [rdx + r8*2]
shr rax, 4
mov edx, r11d
and eax, 0x7f
shr rcx, 4
xor rcx, rax
shr r11d, 1
and edx, 1
and r11d, 1
movzx eax, byte [rcx + rbp]
movzx ecx, word [rbx + r9*2 + 0x71e0]
add r10d, eax
shr rcx, 4
mov eax, edx
neg eax
shr rax, 4
and eax, 0x7f
xor rcx, rax
movzx eax, byte [rcx + rbp]
add r10d, eax
lea eax, [rdx + r9*2]
movzx ecx, word [rbx + rax*2 + 0x71e0]
mov eax, r11d
neg eax
shr rcx, 4
shr rax, 4
and eax, 0x7f
xor rcx, rax
movzx eax, byte [rcx + rbp]
add r10d, eax
mov dword [r14 - 4], r10d
cmp edi, 0x10
jb 0x1400b5cd1
mov dword [rbx + 0x10ed8], 0
mov r14d, dword [rsp + 0xd0]
mov r9, r15
mov r8, r13
mov dword [rsp + 0x20], r14d
mov rdx, rsi
mov rcx, rbx
call fcn.1400b4500
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400b5f36
movups xmm0, xmmword [rbx + 0x2e4]
mov edi, 1
movups xmmword [rsp + 0x48], xmm0
cmp eax, edi
jbe 0x1400b5e58
mov qword [rsp + 0x70], r12
lea r8, [rbx + 0x2f4]
mov rcx, rsi
lea rdx, [rbx + 0xb84]
call fcn.1400b7f40
mov dword [rbx + 0xb88], eax
mov edx, dword [rsi + 0x60]
cmp eax, edx
jae 0x1400b5e53
mov r8d, dword [rsi + 0x18]
mov eax, 0xfff
mov ecx, dword [rsi + 0x24]
sub eax, edi
sub ecx, r8d
mov r9d, ebp
inc ecx
dec r8
cmp ecx, eax
cmovae ecx, eax
add r8, qword [rsi]
mov dword [rsp + 0x38], ecx
lea eax, [rdi + r14]
mov dword [rsp + 0x30], edx
mov rcx, rbx
mov dword [rsp + 0x28], edi
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x20], eax
call fcn.1400b4c20
inc edi
mov ebp, eax
cmp edi, eax
jb 0x1400b5de6
mov r12, qword [rsp + 0x70]
mov dword [rbx + 0x10edc], edi
mov eax, edi
imul rcx, rax, 0x2c
mov r9d, dword [rcx + rbx + 0x10ef8]
mov r10d, dword [rcx + rbx + 0x10efc]
nop dword [rax]
nop dword [rax + rax]
mov eax, edi
imul rdx, rax, 0x2c
add rdx, rbx
cmp byte [rdx + 0x10ee8], 0
je 0x1400b5ee6
mov eax, r9d
imul rcx, rax, 0x2c
lea eax, [r9 - 1]
mov dword [rcx + rbx + 0x10efc], 0xffffffff
mov byte [rcx + rbx + 0x10ee8], 0
mov dword [rcx + rbx + 0x10ef8], eax
cmp byte [rdx + 0x10ee9], 0
je 0x1400b5ee6
imul rcx, rax, 0x2c
mov byte [rcx + rbx + 0x10ee8], 0
mov eax, dword [rdx + 0x10eec]
mov dword [rcx + rbx + 0x10ef8], eax
mov eax, dword [rdx + 0x10ef0]
mov dword [rcx + rbx + 0x10efc], eax
mov r8d, r9d
mov eax, r9d
imul rcx, rax, 0x2c
mov edx, r10d
mov r9d, dword [rcx + rbx + 0x10ef8]
mov r10d, dword [rcx + rbx + 0x10efc]
mov dword [rcx + rbx + 0x10ef8], edi
mov edi, r8d
mov dword [rcx + rbx + 0x10efc], edx
test r8d, r8d
jne 0x1400b5e80
mov eax, dword [rbx + 0x10ef8]
mov dword [rbx + 0x10ee0], eax
mov dword [r15], eax
mov eax, dword [rbx + 0x10efc]
mov dword [r13], eax
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
mov r14, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401d56b0
add rsp, 0x88
pop r15
pop r13
pop rsi
pop rbx
ret