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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x508
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14014dcf0]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov rsi, qword [rsp + 0x578]
movsxd r12, edx
mov dword [rbp], r9d
mov qword [rbp + 0x10], r8
mov dword [rbp + 8], r12d
mov r14, rcx
mov ebx, 0x40
cmp r12d, 0x80
jle 0x14003c05b
lea rcx, [rbp + 0x380]
call fcn.14005ab90
lea r8, [rbp + 0x380]
mov rdx, r12
mov rcx, r14
call fcn.14005ad90
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x460]
call fcn.14005ac90
mov edx, 0xe0
lea rdi, [rbp + 0x380]
mov ecx, edx
xor eax, eax
lea r14, [rbp + 0x460]
mov r12d, ebx
mov dword [rbp + 8], ebx
lea r8, [rbp + 0x380]
rep stosb byte [rdi], al
nop dword [rax]
mov byte [r8], al
inc r8
dec rdx
jne 0x14003c050
mov r15d, dword [rsp + 0x580]
mov eax, r15d
cdq
and edx, 0x3f
add eax, edx
mov r13d, eax
and eax, 0x3f
sar r13d, 6
cmp eax, edx
je 0x14003c07d
inc r13d
mov eax, r13d
lea rcx, [rbp + 0x100]
shl eax, 6
sub r15d, eax
add r15d, ebx
call fcn.14005ab90
xor edi, edi
movsxd r12, r12d
mov edx, edi
test r12, r12
jle 0x14003c0c9
lea rax, [rbp + 0x2c0]
mov r8, r14
sub r8, rax
nop
lea rcx, [rbp + rdx + 0x2c0]
inc rdx
movzx eax, byte [r8 + rcx]
xor al, 0x36
mov byte [rcx], al
cmp rdx, r12
jl 0x14003c0b0
mov eax, 0x80
lea rcx, [rbp + r12 + 0x2c0]
mov edx, 0x36
sub eax, dword [rbp + 8]
mov qword [rbp + 0x18], rcx
cdqe
mov r8, rax
mov qword [rbp + 8], rax
call fcn.1400a4ea0
lea r8, [rbp + 0x100]
lea rcx, [rbp + 0x2c0]
mov edx, 0x80
call fcn.14005ad90
lea rcx, [rbp + 0x1e0]
call fcn.14005ab90
test r12, r12
jle 0x14003c149
lea rax, [rbp + 0x2c0]
sub r14, rax
nop word [rax + rax]
lea rcx, [rbp + rdi + 0x2c0]
inc rdi
movzx eax, byte [r14 + rcx]
xor al, 0x5c
mov byte [rcx], al
cmp rdi, r12
jl 0x14003c130
mov r8, qword [rbp + 8]
mov rcx, qword [rbp + 0x18]
mov edx, 0x5c
call fcn.1400a4ea0
lea r8, [rbp + 0x1e0]
lea rcx, [rbp + 0x2c0]
mov edx, 0x80
call fcn.14005ad90
mov r12d, dword [rsp + 0x570]
mov r14, qword [rbp + 0x10]
mov edi, 1
cmp r13d, edi
jle 0x14003c1e5
mov ebx, dword [rbp]
nop dword [rax]
lea rax, [rbp + 0x20]
mov r9d, edi
mov r8d, r12d
mov edx, ebx
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14003bde0
inc edi
add rsi, 0x40
movaps xmm0, xmmword [rbp + 0x340]
movaps xmm1, xmmword [rbp + 0x350]
movups xmmword [rsi - 0x40], xmm0
movups xmmword [rsi - 0x30], xmm1
movaps xmm0, xmmword [rbp + 0x360]
movaps xmm1, xmmword [rbp + 0x370]
movups xmmword [rsi - 0x20], xmm0
movups xmmword [rsi - 0x10], xmm1
cmp edi, r13d
jl 0x14003c190
mov ebx, 0x40
mov edx, dword [rbp]
lea rax, [rbp + 0x20]
mov r9d, edi
mov r8d, r12d
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14003bde0
lea rdx, [rbp + 0x340]
movsxd r8, r15d
mov rcx, rsi
call fcn.1400a4990
mov edx, 0x360
lea rdi, [rbp + 0x20]
mov ecx, edx
xor eax, eax
lea r11, [rbp + 0x20]
rep stosb byte [rdi], al
mov byte [r11], al
inc r11
dec rdx
jne 0x14003c224
lea rdi, [rbp + 0x460]
mov rcx, rbx
lea rdx, [rbp + 0x460]
rep stosb byte [rdi], al
mov byte [rdx], al
inc rdx
dec rbx
jne 0x14003c242
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1400a4e70
add rsp, 0x508
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret