Function at 0x1400b9120
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rax + 0x10], r12
mov rsi, rdx
mov rdi, rcx
mov qword [rax - 0x30], r13
add rcx, 0x48
mov qword [rax - 0x38], r15
lea rdx, [rbp - 0x38]
call fcn.1400bb280
mov r14, rax
cmp qword [rax + 0x18], 8
jb 0x1400b9161
mov r14, qword [rax]
lea rcx, [rdi + 0x44]
lea rdx, [rbp - 0x58]
call fcn.1400bb280
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x1400b917b
mov rbx, qword [rax]
lea rcx, [rdi + 0x40]
lea rdx, [rbp - 0x78]
call fcn.1400bb280
mov r11, rax
cmp qword [rax + 0x18], 8
jb 0x1400b9195
mov r11, qword [rax]
cmp qword [rdi + 0x20], 0x10
lea r15, [rdi + 8]
mov eax, dword [rdi + 0x30]
mov r12d, dword [rdi + 0x3c]
mov r13d, dword [rdi + 0x38]
mov r9d, dword [rdi + 0x34]
mov dword [rbp + 0xb0], eax
mov eax, dword [rdi + 4]
mov dword [rbp + 0xc0], eax
mov eax, dword [rdi + 0x28]
mov dword [rbp + 0xc8], eax
mov eax, dword [rdi + 0x2c]
mov dword [rbp - 0x80], eax
mov eax, dword [rdi]
mov dword [rbp - 0x7c], eax
jb 0x1400b91d5
mov r15, qword [r15]
movups xmm0, xmmword [0x140112560]
xor eax, eax
cmp dword [0x140248200], 2
mov r8d, eax
movups xmm1, xmmword [0x140112570]
movups xmmword [rbp - 0x18], xmm0
movups xmm0, xmmword [0x140112580]
movups xmmword [rbp + 8], xmm0
movsd xmm0, qword [0x1401125a0]
movups xmmword [rbp - 8], xmm1
movups xmm1, xmmword [0x140112590]
movsd qword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x18], xmm1
jl 0x1400b9395
movdqa xmm5, xmmword [0x14010c2c0]
lea rcx, [rbp - 0x18]
movdqa xmm4, xmmword [0x14010e1a0]
mov eax, 4
movaps xmmword [rsp + 0x160], xmm6
movaps xmmword [rsp + 0x150], xmm7
movdqa xmm7, xmmword [0x14010e180]
movaps xmmword [rsp + 0x140], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x130], xmm9
movdqa xmm9, xmmword [0x140110dc0]
movd xmm8, eax
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x20
jl 0x1400b9280
movaps xmm9, xmmword [rsp + 0x130]
movaps xmm8, xmmword [rsp + 0x140]
movaps xmm7, xmmword [rsp + 0x150]
movaps xmm6, xmmword [rsp + 0x160]
cmp r8d, 0x24
jge 0x1400b93d6
movsxd rax, r8d
lea r10, [rbp - 0x18]
lea r10, [r10 + rax*2]
mov eax, 0x5397829d
lea r10, [r10 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x31
add cx, r8w
inc r8d
xor word [r10 - 2], cx
cmp r8d, 0x24
jl 0x1400b93a0
mov eax, dword [rbp + 0xb0]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x68], r14
mov r8, r15
mov qword [rsp + 0x60], rbx
mov rcx, rsi
mov qword [rsp + 0x58], r11
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x40], r9d
mov r9d, dword [rbp - 0x7c]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0xc0]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0xc8]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x20], eax
call fcn.1400a8420
mov rdx, qword [rbp - 0x60]
mov r15, qword [rsp + 0x170]
mov r13, qword [rsp + 0x178]
mov r12, qword [rsp + 0x1b8]
cmp rdx, 8
jb 0x1400b9484
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b947f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b9616
call fcn.1400dcd18
mov rdx, qword [rbp - 0x40]
xor ebx, ebx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], bx
cmp rdx, 8
jb 0x1400b94d6
mov rcx, qword [rbp - 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b94d1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b9616
call fcn.1400dcd18
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], bx
cmp rdx, 8
jb 0x1400b9526
mov rcx, qword [rbp - 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b9521
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b9616
call fcn.1400dcd18
mov rbx, qword [rdi + 0x50]
mov rdi, qword [rdi + 0x58]
cmp rbx, rdi
je 0x1400b9605
mov r14d, 0x5f
nop dword [rax]
mov eax, dword [0x1401125b0]
lea rdx, [rsp + 0x70]
movsd xmm0, qword [0x1401125a8]
lea rcx, [rbp - 0x38]
movzx r9d, word [rbx + 2]
movzx r8d, word [rbx]
mov dword [rsp + 0x78], eax
movzx eax, word [0x1401125b4]
xor word [rsp + 0x78], 0x35
xor ax, 0x37
xor word [rsp + 0x7a], 0x36
movsd qword [rsp + 0x70], xmm0
xor word [rsp + 0x72], 0x32
xor word [rsp + 0x74], 0x33
xor word [rsp + 0x76], 0x34
mov word [rsp + 0x7c], ax
mov word [rsp + 0x70], r14w
call fcn.1400a8420
cmp qword [rax + 0x18], 8
mov r8, qword [rax + 0x10]
jb 0x1400b95b1
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call fcn.1400a2bf0
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1400b95f8
mov rcx, qword [rbp - 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b95f3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b961c
call fcn.1400dcd18
add rbx, 4
cmp rbx, rdi
jne 0x1400b9540
mov rax, rsi
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400e39cc
int3
call fcn.1400e39cc
int3