Function at 0x14001fbf0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x78
mov rax, qword [0x1400b34a8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov r14, rdx
mov rdi, rcx
test rcx, rcx
je 0x14001feb2
mov rcx, qword [rcx]
test rcx, rcx
je 0x14001feb2
cmp qword [rdi + 0x10], 0
je 0x14001feb2
movzx eax, byte [rcx + 0xd]
cmp r8, rax
jbe 0x14001fcfc
mov rcx, rdi
call fcn.14001f7b0
mov ebx, eax
test eax, eax
jne 0x14001fe9a
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.14001fa10
mov ebx, eax
test eax, eax
jne 0x14001fe9a
mov rax, qword [rdi]
test rax, rax
je case.default.0x14001fc96
mov eax, dword [rax + 8]
dec eax
cmp eax, 6
ja case.default.0x14001fc96
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x1fed0]
add rcx, rdx
jmp rcx
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x20]
call fcn.140049e70
jmp 0x14001fce6
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x20]
call fcn.140049070
jmp 0x14001fce6
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x20]
call fcn.14004ba20
jmp 0x14001fce6
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x20]
call fcn.140024920
jmp 0x14001fce6
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x20]
call fcn.140030170
mov ebx, eax
test eax, eax
jne 0x14001fe9a
mov rcx, qword [rdi]
lea r14, [rsp + 0x20]
movzx esi, byte [rcx + 0xc]
mov qword [rsp + 0xb8], rbp
mov edx, 0x36
mov rbp, qword [rdi + 0x10]
mov qword [rsp + 0x70], r15
movzx r15d, byte [rcx + 0xd]
mov rcx, rbp
mov r8d, r15d
lea rbx, [r15 + rbp]
call fcn.14006c5b0
mov rax, qword [rdi]
mov edx, 0x5c
mov rcx, rbx
movzx r8d, byte [rax + 0xd]
call fcn.14006c5b0
xor eax, eax
test rsi, rsi
je 0x14001fe6a
cmp rsi, 8
jb 0x14001fe38
lea rcx, [rbx - 1]
lea r8, [r14 - 1]
add rcx, rsi
add r8, rsi
cmp rbx, r8
ja 0x14001fd6c
cmp rcx, r14
jae 0x14001fe38
lea rdx, [rbp - 1]
add rdx, rsi
cmp rbx, rdx
ja 0x14001fd81
cmp rcx, rbp
jae 0x14001fe38
cmp rbp, r8
ja 0x14001fd8f
cmp rdx, r14
jae 0x14001fe38
mov rdx, r14
cmp rsi, 0x10
jb 0x14001fdf1
mov r8, rsi
mov r9, rsi
and r8d, 0xf
sub r9, r8
mov rcx, rbp
sub rdx, rbp
nop dword [rax + rax]
movdqu xmm1, xmmword [rdx + rcx]
add rax, 0x10
movdqu xmm0, xmmword [rcx]
lea rcx, [rcx + 0x10]
xorps xmm0, xmm1
movdqu xmmword [rcx - 0x10], xmm0
movdqu xmm0, xmmword [r15 + rcx - 0x10]
xorps xmm1, xmm0
movdqu xmmword [r15 + rcx - 0x10], xmm1
cmp rax, r9
jb 0x14001fdb0
cmp r8, 8
jb 0x14001fe33
jmp 0x14001fdf4
mov ebx, 0xffffaf00
jmp 0x14001fe9a
sub rdx, rbp
mov r8, rsi
and r8, 0xfffffffffffffff8
lea rcx, [rax + rbp]
nop
movq xmm0, qword [rcx]
add rax, 8
movq xmm2, qword [rdx + rcx]
lea rcx, [rcx + 8]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movq xmm0, qword [r15 + rcx - 8]
movq qword [rcx - 8], xmm1
xorps xmm2, xmm0
movq qword [r15 + rcx - 8], xmm2
cmp rax, r8
jb 0x14001fe00
cmp rax, rsi
jae 0x14001fe6a
mov rcx, rbp
lea r8, [r14 + rax]
sub rcx, r14
sub rbx, r14
sub rsi, rax
nop dword [rax + rax]
movzx eax, byte [r8]
xor byte [rcx + r8], al
movzx eax, byte [r8]
xor byte [rbx + r8], al
lea r8, [r8 + 1]
sub rsi, 1
jne 0x14001fe50
mov rcx, rdi
call fcn.14001f7b0
mov r15, qword [rsp + 0x70]
mov ebx, eax
test eax, eax
jne 0x14001fe92
mov rax, qword [rdi]
mov rdx, rbp
mov rcx, rdi
movzx r8d, byte [rax + 0xd]
call fcn.14001fa10
mov ebx, eax
mov rbp, qword [rsp + 0xb8]
mov rax, qword [fcn.14006c5b0]
lea rcx, [rsp + 0x20]
xor edx, edx
lea r8d, [rdx + 0x40]
call rax
mov eax, ebx
jmp 0x14001feb7
mov eax, 0xffffaf00
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140068c30
add rsp, 0x78
pop r14
pop rdi
pop rsi
pop rbx
ret