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

Disassembly:
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
mov rcx, qword [rcx + 8]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.180033000
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.180033000
mov r8, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
sub r8, rcx
mov edx, 0x36
call fcn.18017cc00
mov r8, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x28]
sub r8, rcx
mov edx, 0x5c
call fcn.18017cc00
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r9, rdi
mov r8, rbx
cmp rdi, rax
jbe 0x18005fc14
lea rdx, [rsp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.180020b70
mov r9, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
sub r9, rcx
mov rdx, qword [rbp + 0x10]
mov r8, rcx
cmp r9, 0x10
jb 0x18005fb64
mov r10, r9
shr r10, 4
imul rax, r10, 0xfffffffffffffff0
add r9, rax
nop dword [rax + rax]
mov rcx, qword [r8 + 8]
mov rax, qword [rdx]
xor rax, qword [r8]
xor qword [rdx + 8], rcx
mov qword [rdx], rax
add rdx, 0x10
add r8, 0x10
sub r10, 1
jne 0x18005fb40
mov rcx, qword [rsp + 0x28]
test r9, r9
je 0x18005fb86
sub r8, rdx
nop dword [rax]
movzx eax, byte [r8 + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r9, 1
jne 0x18005fb70
mov rcx, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
sub r9, rcx
mov rdx, qword [rbp + 0x28]
mov r8, rcx
cmp r9, 0x10
jb 0x18005fbd8
mov r10, r9
shr r10, 4
imul rax, r10, 0xfffffffffffffff0
add r9, rax
nop dword [rax]
mov rcx, qword [rdx]
xor rcx, qword [r8]
mov rax, qword [rdx + 8]
xor rax, qword [r8 + 8]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
add rdx, 0x10
add r8, 0x10
sub r10, 1
jne 0x18005fbb0
mov rcx, qword [rsp + 0x28]
test r9, r9
je 0x18005fbf6
sub r8, rdx
movzx eax, byte [r8 + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r9, 1
jne 0x18005fbe0
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x18005fc0f
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov r8d, 1
call fcn.1800302d0
nop
jmp 0x18005fcd0
mov rdx, qword [rbp + 0x10]
cmp rdi, 0x10
jb 0x18005fc50
mov r10, rdi
shr r10, 4
imul r9, r10, 0xfffffffffffffff0
add r9, rdi
nop dword [rax]
mov rcx, qword [r8 + 8]
xor rcx, qword [rdx + 8]
mov rax, qword [r8]
xor qword [rdx], rax
mov qword [rdx + 8], rcx
add rdx, 0x10
add r8, 0x10
sub r10, 1
jne 0x18005fc30
test r9, r9
je 0x18005fc71
sub r8, rdx
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r9, 1
jne 0x18005fc60
mov rax, qword [rbp + 0x28]
cmp rdi, 0x10
jb 0x18005fcb0
mov r8, rdi
shr r8, 4
imul rcx, r8, 0xfffffffffffffff0
add rdi, rcx
nop dword [rax]
mov rdx, qword [rbx + 8]
xor rdx, qword [rax + 8]
mov rcx, qword [rbx]
xor qword [rax], rcx
mov qword [rax + 8], rdx
add rax, 0x10
add rbx, 0x10
sub r8, 1
jne 0x18005fc90
test rdi, rdi
je 0x18005fcd0
sub rbx, rax
nop dword [rax + rax]
movzx ecx, byte [rbx + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdi, 1
jne 0x18005fcc0
mov rcx, qword [rbp + 8]
mov rdx, qword [rbp + 0x10]
mov rax, qword [rcx]
mov r8, qword [rbp + 0x18]
sub r8, rdx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
jmp qword [rax + 0x10]