Function at 0x1400b4910
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [0x14018a008]
and dword [rax + 0x40], 0xfffffffe
call fcn.1400b1688
cmp byte [0x14019b319], 0
mov r15d, 0xc
je 0x1400b4a05
mov eax, dword [0x14019b31c]
and eax, 3
lea eax, [rax*4 + 4]
test eax, eax
je 0x1400b49b1
mov esi, eax
lea rbx, [rbp - 0x18]
mov rax, qword [0x14019a028]
sub qword [0x14019a030], 1
js 0x1400b4996
movzx ecx, byte [rax]
inc rax
mov qword [0x14019a028], rax
jmp 0x1400b49a4
call fcn.1400b1c78
mov ecx, eax
mov rax, qword [0x14019a028]
mov byte [rbx], cl
inc rbx
sub rsi, 1
jne 0x1400b497d
jmp 0x1400b49b8
mov rax, qword [0x14019a028]
sub qword [0x14019a030], 1
js 0x1400b49d0
mov cl, byte [rax]
inc rax
mov qword [0x14019a028], rax
jmp 0x1400b49de
call fcn.1400b1c78
mov ecx, eax
mov rax, qword [0x14019a028]
sub qword [0x14019a030], 1
mov byte [rbp - 0x40], cl
js 0x1400b49f9
mov cl, byte [rax]
inc rax
mov qword [0x14019a028], rax
jmp 0x1400b4a00
call fcn.1400b1c78
mov ecx, eax
mov byte [rbp - 0x3f], cl
jmp 0x1400b4a45
mov rax, qword [0x14019a028]
lea rbx, [rbp - 0x28]
mov rsi, r15
sub qword [0x14019a030], 1
js 0x1400b4a2c
movzx ecx, byte [rax]
inc rax
mov qword [0x14019a028], rax
jmp 0x1400b4a3a
call fcn.1400b1c78
mov ecx, eax
mov rax, qword [0x14019a028]
mov byte [rbx], cl
inc rbx
sub rsi, 1
jne 0x1400b4a13
mov rax, qword [0x14018a008]
or dword [rax + 0x40], 1
call fcn.1400b1e8c
cmp dword [0x140189fbc], 0
lea rsi, [0x14019b184]
je 0x1400b4b04
and dword [0x140189fbc], 0
cmp byte [0x140157840], 0
je 0x1400b4ae7
cmp byte [0x14019b284], 0
jne 0x1400b4af8
mov edx, 2
lea rax, [0x140157740]
mov rcx, rsi
lea r8d, [rdx + 0x7e]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r8
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400b4a95
movzx eax, word [rax]
mov word [rcx], ax
jmp 0x1400b4af8
cmp byte [0x14019b284], 0
je 0x1400b4af8
mov rcx, rsi
call fcn.14008b1cc
mov al, byte [0x14019b284]
mov byte [0x140189fc0], al
movzx ebx, word [rbp - 0x40]
lea r14, [0x14019b320]
mov r12d, dword [rbp - 0x20]
cmp byte [0x14019b284], 0
jne 0x1400b4b38
mov r8, rsi
lea rdx, [0x14019a15c]
mov ecx, 1
call fcn.14009099c
test al, al
je 0x1400b4c6c
cmp byte [0x14019b319], 0
je 0x1400b4b65
mov ecx, dword [0x14019b31c]
lea r9, [rbp - 0x3c]
lea r8, [rbp - 0x18]
mov qword [rsp + 0x20], r14
mov rdx, rsi
call fcn.1400b5294
cmp bx, word [rbp - 0x3c]
jmp 0x1400b4c3e
mov rcx, rsi
call fcn.1400b4d1c
movsd xmm0, qword [rbp - 0x28]
xor esi, esi
movsd qword [rbp - 0x38], xmm0
mov dword [rbp - 0x30], r12d
mov ecx, dword [0x14019b180]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
movzx ecx, al
movzx eax, byte [rbp + rsi - 0x38]
xor ecx, eax
mov byte [rbp + rsi - 0x38], cl
movzx ecx, cl
call fcn.1400b4dc0
inc rsi
cmp rsi, r15
jl 0x1400b4b7d
mov rax, qword [0x14018a008]
movzx ecx, byte [0x14019a09f]
test byte [rax + 0x40], 2
movzx eax, byte [0x14019a097]
cmovne ecx, eax
movzx eax, byte [rbp - 0x2d]
cmp eax, ecx
je 0x1400b4bde
or eax, 0xffffffff
jmp 0x1400b4c35
movsxd rsi, dword [0x14019a030]
cmp rsi, qword [0x140189fd8]
mov r14, qword [0x14019a028]
cmovg esi, dword [0x140189fd8]
test esi, esi
je 0x1400b4c2c
mov ecx, dword [0x14019b180]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [r14], al
movzx ecx, byte [r14]
call fcn.1400b4dc0
inc r14
sub esi, 1
jne 0x1400b4bfe
xor eax, eax
lea r14, [0x14019b320]
test eax, eax
lea rsi, [0x14019b184]
setne al
test al, al
je 0x1400b4c7f
mov rcx, rsi
call fcn.14008b1cc
cmp byte [0x140189fc0], 0
lea rdx, [0x14019a15c]
jne 0x1400b4c73
mov ecx, 0x7a
call fcn.14004a31c
jmp 0x1400b4b13
mov eax, 9
jmp 0x1400b4cd4
mov ecx, 6
call fcn.14004a31c
jmp 0x1400b4c82
xor r15d, r15d
cmp byte [0x14019b319], 0
je 0x1400b4cd1
cmp qword [0x140189fd8], 0xa
jge 0x1400b4c9c
mov eax, 2
jmp 0x1400b4cd4
mov rcx, qword [0x140189fd8]
sub rcx, 0xa
cmp qword [0x14019a030], rcx
mov edx, ecx
mov qword [0x140189fd8], rcx
cmovl edx, dword [0x14019a030]
test edx, edx
je 0x1400b4cd1
mov rcx, qword [0x14019a028]
mov r8, r14
call fcn.1400b51dc
mov eax, r15d
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400eeae0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret