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

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xb0
lea r13, [rsp + 0x7f]
mov r15, rcx
mov r12, rdx
mov rbx, r8
and r13, 0xffffffffffffffc0
lea r14, [rcx + 0x80]
cmp r8, 0x40
ja 0x574d90
call fcn.0054d820
mov esi, 0x40
lea rdi, [r13 + rbx]
sub rsi, rbx
test rbx, rbx
je 0x574e00
cmp rbx, 0x1f
jbe 0x574df0
vmovdqu xmm3, xmmword [r12]
vmovdqu ymm1, ymmword [str.66666666666666666666666666666666_]
mov rax, rbx
vinserti128 ymm0, ymm3, xmmword [r12 + 0x10], 1
shr rax, 5
vpxor ymm0, ymm0, ymm1
vmovdqu ymmword [r13], ymm0
cmp rax, 2
jne 0x574cd3
vmovdqu xmm4, xmmword [r12 + 0x20]
vinserti128 ymm0, ymm4, xmmword [r12 + 0x30], 1
vpxor ymm0, ymm0, ymm1
vmovdqu ymmword [r13 + 0x20], ymm0
vzeroupper
movabs r8, 0x3636363636363636
mov eax, esi
cmp esi, 8
jae 0x574d50
test sil, 4
jne 0x574e85
test eax, eax
je 0x574bd5
mov byte [rdi], 0x36
test al, 2
jne 0x574e76
mov r8d, 0x40
mov rdx, r13
mov rcx, r15
call fcn.0054d850
mov rcx, r14
call fcn.0054d820
lea rax, [rbx - 1]
cmp rax, 0x1e
jbe 0x574e5a
vmovdqu xmm2, xmmword [r12]
vmovdqu ymm1, ymmword [0x006b8780]
mov rax, rbx
vinserti128 ymm0, ymm2, xmmword [r12 + 0x10], 1
shr rax, 5
vpxor ymm0, ymm0, ymm1
vmovdqu ymmword [r13], ymm0
cmp rax, 2
jne 0x574ca0
vmovdqu xmm5, xmmword [r12 + 0x20]
vinserti128 ymm0, ymm5, xmmword [r12 + 0x30], 1
vpxor ymm0, ymm0, ymm1
vmovdqu ymmword [r13 + 0x20], ymm0
vzeroupper
movabs rcx, 0x5c5c5c5c5c5c5c5c
mov eax, esi
cmp esi, 8
jae 0x574d08
and esi, 4
jne 0x574e61
test eax, eax
je 0x574c72
mov byte [rdi], 0x5c
test al, 2
jne 0x574e98
mov r8d, 0x40
mov rdx, r13
mov rcx, r14
call fcn.0054d850
nop
add rsp, 0xb0
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
cmp rbx, 0x20
je 0x574ea7
mov eax, 0x20
vzeroupper
nop word [rax + rax]
movzx edx, byte [r12 + rax]
add rax, 1
xor edx, 0x5c
mov byte [rax + r13 - 1], dl
cmp rax, rbx
jb 0x574cb8
jmp 0x574c45
cmp rbx, 0x20
je 0x574eaf
mov eax, 0x20
vzeroupper
nop dword [rax]
movzx edx, byte [r12 + rax]
add rax, 1
xor edx, 0x36
mov byte [rax + r13 - 1], dl
cmp rbx, rax
ja 0x574ce8
jmp 0x574ba7
mov eax, esi
lea r8, [rdi + 8]
mov qword [rdi], rcx
and r8, 0xfffffffffffffff8
mov qword [rdi + rax - 8], rcx
mov rax, rdi
sub rax, r8
add eax, esi
and eax, 0xfffffff8
cmp eax, 8
jb 0x574c72
and eax, 0xfffffff8
xor edx, edx
mov r9d, edx
add edx, 8
mov qword [r8 + r9], rcx
cmp edx, eax
jb 0x574d33
jmp 0x574c72
mov eax, esi
lea rcx, [rdi + 8]
mov qword [rdi], r8
and rcx, 0xfffffffffffffff8
mov qword [rdi + rax - 8], r8
mov rax, rdi
sub rax, rcx
add eax, esi
and eax, 0xfffffff8
cmp eax, 8
jb 0x574bd5
and eax, 0xfffffff8
xor edx, edx
mov r9d, edx
add edx, 8
mov qword [rcx + r9], r8
cmp edx, eax
jb 0x574d7b
jmp 0x574bd5
call fcn.0054d820
mov r8, rbx
mov rdx, r12
mov rcx, r15
lea r12, [rsp + 0x20]
lea rdi, [r13 + 0x20]
mov esi, 0x20
mov ebx, 0x20
call fcn.0054d850
mov rdx, r12
mov rcx, r15
call fcn.0054da40
mov rcx, r15
call fcn.0054d820
vmovdqu xmm4, xmmword [rsp + 0x20]
vinserti128 ymm0, ymm4, xmmword [rsp + 0x30], 1
vpxor ymm0, ymm0, ymmword [str.66666666666666666666666666666666_]
vmovdqu ymmword [r13], ymm0
vzeroupper
jmp 0x574ba7
xor eax, eax
jmp 0x574ce8
movabs rdx, 0x3636363636363636
mov r8d, 0x40
mov rcx, r15
mov rdi, r13
movabs rax, 0x3636363636363636
mov qword [r13 + 8], rdx
mov esi, 0x40
mov qword [r13 + 0x18], rdx
mov qword [r13 + 0x28], rdx
mov qword [r13 + 0x38], rdx
mov rdx, r13
mov qword [r13], rax
mov qword [r13 + 0x10], rax
mov qword [r13 + 0x20], rax
mov qword [r13 + 0x30], rax
call fcn.0054d850
mov rcx, r14
call fcn.0054d820
jmp 0x574c45
xor eax, eax
jmp 0x574cb8
mov edx, eax
mov dword [rdi], 0x5c5c5c5c
mov dword [rdi + rdx - 4], 0x5c5c5c5c
jmp 0x574c72
mov edx, 0x3636
mov word [rdi + rax - 2], dx
jmp 0x574bd5
mov dword [rdi], 0x36363636
mov dword [rdi + rax - 4], 0x36363636
jmp 0x574bd5
mov ecx, 0x5c5c
mov word [rdi + rax - 2], cx
jmp 0x574c72
vzeroupper
jmp 0x574c45
vzeroupper
jmp 0x574ba7