Function at 0x1400b8d50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x1400b8dbc
lea rcx, [rsp + 0x48]
call fcn.1400b5c50
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x20]
call fcn.1400d01c4
lea rdx, [0x140108b50]
lea rcx, [rsp + 0x20]
call fcn.1400cdcf8
nop
lea eax, [r9 - 0x10]
test eax, 0xffffffe7
jne 0x1400b9238
cmp r9d, 0x28
je 0x1400b9238
movsxd rcx, dword [rsp + 0x100]
lea eax, [rcx - 0x10]
test eax, 0xffffffe7
jne 0x1400b9202
cmp ecx, 0x28
je 0x1400b9202
mov dword [rbx + 0x3cc], r9d
mov dword [rbx + 0x3d0], ecx
mov r8, rcx
lea rcx, [rbx + 0x3d8]
mov rdx, rdi
call fcn.1400cd790
movsxd r8, dword [rbx + 0x3d0]
lea rcx, [rbx + 0x3f8]
mov rdx, rdi
call fcn.1400cd790
mov eax, dword [rbx + 0x3cc]
cmp eax, 0x10
je 0x1400b8e4f
cmp eax, 0x18
mov eax, 0xe
jne 0x1400b8e6f
mov ecx, 0xc
cmp dword [rbx + 0x3d0], 0x20
cmovne eax, ecx
jmp 0x1400b8e6f
mov edx, dword [rbx + 0x3d0]
cmp edx, 0x10
jne 0x1400b8e5f
lea eax, [rdx - 6]
jmp 0x1400b8e6f
mov eax, 0xe
mov ecx, 0xc
cmp edx, 0x18
cmove eax, ecx
mov dword [rbx + 0x3d4], eax
mov eax, dword [rbx + 0x3d0]
cdq
and edx, 3
add eax, edx
sar eax, 2
movsxd r15, eax
xor edx, edx
mov r14, r15
cmp dword [rbx + 0x3d4], edx
jl 0x1400b8eb5
lea r8, [rbx + 0xc]
test r15d, r15d
jle 0x1400b8ea7
mov rdi, r8
xor eax, eax
mov rcx, r15
rep stosd dword [rdi], eax
inc edx
add r8, 0x20
cmp edx, dword [rbx + 0x3d4]
jle 0x1400b8e98
xor edx, edx
cmp dword [rbx + 0x3d4], edx
jl 0x1400b8ee3
lea r8, [rbx + 0x1ec]
test r15d, r15d
jle 0x1400b8ed5
mov rdi, r8
xor eax, eax
mov rcx, r15
rep stosd dword [rdi], eax
inc edx
add r8, 0x20
cmp edx, dword [rbx + 0x3d4]
jle 0x1400b8ec6
mov ebp, dword [rbx + 0x3d4]
inc ebp
imul ebp, r15d
mov eax, dword [rbx + 0x3cc]
cdq
and edx, 3
add eax, edx
sar eax, 2
movsxd r13, eax
lea rdx, [rbx + 0x418]
test eax, eax
jle 0x1400b8f3d
mov edi, r13d
nop
movzx ecx, byte [rsi]
shl ecx, 0x18
mov dword [rdx], ecx
movzx eax, byte [rsi + 1]
shl eax, 0x10
or dword [rdx], eax
movzx eax, byte [rsi + 2]
shl eax, 8
or dword [rdx], eax
movzx eax, byte [rsi + 3]
or dword [rdx], eax
lea rsi, [rsi + 4]
lea rdx, [rdx + 4]
dec rdi
jne 0x1400b8f10
xor r9d, r9d
xor r11d, r11d
test r13d, r13d
jle 0x1400b8f98
lea r10, [rbx + 0x418]
nop
cmp r9d, ebp
jge 0x1400b9168
mov eax, r9d
cdq
idiv r15d
movsxd rdi, eax
movsxd r8, edx
lea rcx, [r8 + rdi*8]
mov eax, dword [r10]
mov dword [rbx + rcx*4 + 0xc], eax
movsxd rax, dword [rbx + 0x3d4]
sub rax, rdi
lea rcx, [r8 + rax*8]
mov eax, dword [r10]
mov dword [rbx + rcx*4 + 0x1ec], eax
inc r11
add r10, 4
inc r9d
cmp r11, r13
jl 0x1400b8f50
cmp r9d, ebp
jge 0x1400b9168
lea r10, [0x1400ee310]
lea r14, [0x140000000]
nop
mov edi, dword [rbx + r13*4 + 0x414]
movsxd rdx, edi
mov rax, rdx
sar rax, 0x10
movzx ecx, al
movsx r8d, byte [rcx + r14 + 0xeb110]
movsx eax, byte [r10]
xor r8d, eax
shl r8d, 8
mov rax, rdx
sar rax, 8
movzx ecx, al
movzx eax, byte [rcx + r14 + 0xeb110]
xor r8d, eax
shl r8d, 8
movzx eax, dl
movzx eax, byte [rax + r14 + 0xeb110]
xor r8d, eax
shl r8d, 8
mov eax, edi
shr rax, 0x18
movzx eax, byte [rax + r14 + 0xeb110]
xor r8d, eax
xor dword [rbx + 0x418], r8d
inc r10
mov qword [rsp + 0xe8], r10
cmp r13d, 8
je 0x1400b9063
cmp r13, 1
jle 0x1400b90fe
lea rcx, [rbx + 0x41c]
lea rdx, [r13 - 1]
nop word [rax + rax]
mov eax, dword [rcx - 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
dec rdx
jne 0x1400b9050
jmp 0x1400b90fe
lea rcx, [rbx + 0x41c]
mov edx, 3
nop
mov eax, dword [rcx - 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
dec rdx
jne 0x1400b9070
mov eax, dword [rbx + 0x424]
movsxd rdx, eax
mov ecx, eax
shr rcx, 0x18
movsx edi, byte [rcx + r14 + 0xeb110]
shl edi, 8
mov rax, rdx
sar rax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r14 + 0xeb110]
xor edi, eax
shl edi, 8
mov rax, rdx
sar rax, 8
movzx ecx, al
movzx eax, byte [rcx + r14 + 0xeb110]
xor edi, eax
shl edi, 8
movzx eax, dl
movzx eax, byte [rax + r14 + 0xeb110]
xor edi, eax
xor dword [rbx + 0x428], edi
cmp r13, 5
jle 0x1400b90fe
lea rax, [rbx + 0x42c]
lea rdx, [r13 - 5]
nop
mov ecx, dword [rax - 4]
xor dword [rax], ecx
lea rax, [rax + 4]
dec rdx
jne 0x1400b90f0
xor r11d, r11d
test r13d, r13d
jle 0x1400b915c
lea r10, [rbx + 0x418]
nop dword [rax]
cmp r9d, ebp
jge 0x1400b9165
mov eax, r9d
cdq
idiv r15d
movsxd rdi, eax
movsxd r8, edx
lea rcx, [r8 + rdi*8]
mov eax, dword [r10]
mov dword [rbx + rcx*4 + 0xc], eax
movsxd rax, dword [rbx + 0x3d4]
sub rax, rdi
lea rcx, [r8 + rax*8]
mov eax, dword [r10]
mov dword [rbx + rcx*4 + 0x1ec], eax
inc r11
add r10, 4
inc r9d
cmp r11, r13
jl 0x1400b9110
mov r10, qword [rsp + 0xe8]
cmp r9d, ebp
jl 0x1400b8fb0
mov r14, r15
mov r10d, 1
cmp dword [rbx + 0x3d4], r10d
jle 0x1400b91fc
lea r11, [rbx + 0x20c]
test r14, r14
jle 0x1400b91ec
mov r8, r11
mov r9, r14
lea rsi, [0x140000000]
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [r8]
movsxd rdi, eax
mov edx, eax
shr rdx, 0x18
mov rax, rdi
sar rax, 0x10
movzx ecx, al
mov edx, dword [rsi + rdx*4 + 0xed310]
xor edx, dword [rsi + rcx*4 + 0xed710]
mov rax, rdi
sar rax, 8
movzx ecx, al
xor edx, dword [rsi + rcx*4 + 0xedb10]
movzx eax, dil
xor edx, dword [rsi + rax*4 + 0xedf10]
mov dword [r8], edx
lea r8, [r8 + 4]
dec r9
jne 0x1400b91a0
inc r10d
add r11, 0x20
cmp r10d, dword [rbx + 0x3d4]
jl 0x1400b9182
mov byte [rbx + 8], 1
jmp 0x1400b926e
lea rcx, [rsp + 0x66]
call fcn.1400b6510
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x20]
call fcn.1400d01c4
lea rdx, [0x140108b50]
lea rcx, [rsp + 0x20]
call fcn.1400cdcf8
nop
lea rcx, [rsp + 0x66]
call fcn.1400b6c60
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x20]
call fcn.1400d01c4
lea rdx, [0x140108b50]
lea rcx, [rsp + 0x20]
call fcn.1400cdcf8
nop
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret