Function at 0x5b1520
Capabilities:
Authenticate hmac

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5b17be
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], rcx
lea rax, [0x006d13e0]
call fcn.0040da40
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdx]
nop
call rcx
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x30], rax
cmp dword [0x00980220], 0
je 0x5b1584
call fcn.00472b00
mov qword [r11], rbx
mov rax, qword [rcx + 0x38]
mov qword [r11 + 8], rax
mov qword [rcx + 0x38], rbx
mov rdx, qword [rsp + 0x58]
mov rax, qword [rdx]
call rax
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x40], rax
cmp dword [0x00980220], 0
je 0x5b15b4
call fcn.00472b00
mov qword [r11], rbx
mov rdx, qword [rcx + 0x48]
mov qword [r11 + 8], rdx
mov qword [rcx + 0x48], rbx
mov byte [rsp + 0x27], 1
mov rax, rcx
lea rbx, [rsp + 0x27]
call fcn.005b1800
cmp byte [rsp + 0x27], 0
je 0x5b17aa
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + 0x40]
mov rax, qword [rcx + 0x48]
mov rdx, qword [rdx + 0x18]
call rdx
mov qword [rsp + 0x28], rax
mov rbx, rax
mov rcx, rbx
lea rax, [0x0068f9e0]
call fcn.0046c240
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
mov qword [rdx + 0x20], rcx
mov qword [rdx + 0x28], rcx
cmp dword [0x00980220], 0
je 0x5b162a
call fcn.00472b00
mov qword [r11], rax
mov rsi, qword [rdx + 0x18]
mov qword [r11 + 8], rsi
mov qword [rdx + 0x18], rax
lea rax, [0x0068f9e0]
mov rbx, rcx
call fcn.0046c240
mov rdx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x38]
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], rdx
cmp dword [0x00980220], 0
je 0x5b1667
call fcn.00472b00
mov qword [r11], rax
mov r8, qword [rsi]
mov qword [r11 + 8], r8
mov qword [rsi], rax
mov rcx, qword [rsp + 0x68]
cmp rdx, rcx
jl 0x5b167b
mov rax, qword [rsp + 0x60]
jmp 0x5b16b5
mov rdx, qword [rsi + 0x30]
mov rax, qword [rsi + 0x38]
mov rdx, qword [rdx + 0x38]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
call rdx
mov rdx, qword [rsp + 0x38]
mov rsi, qword [rdx + 0x30]
mov rax, qword [rdx + 0x38]
mov rsi, qword [rsi + 0x30]
xor ebx, ebx
xor ecx, ecx
mov rdi, rcx
call rsi
mov rsi, qword [rsp + 0x38]
mov rcx, rbx
mov rdx, qword [rsi + 0x18]
mov r8, qword [rsi + 0x20]
cmp rcx, r8
cmovl r8, rcx
cmp rax, rdx
je 0x5b16f4
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rax
mov rbx, rax
mov rcx, r8
mov rax, rdx
nop dword [rax]
call fcn.00473880
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
cmp rcx, r8
cmovl r8, rcx
cmp rax, rdx
je 0x5b171a
mov rbx, rax
mov rcx, r8
mov rax, rdx
call fcn.00473880
mov rsi, qword [rsp + 0x38]
mov rdx, qword [rsi + 0x20]
xor eax, eax
jmp 0x5b1736
mov r8, qword [rsi + 0x18]
movzx r9d, byte [rax + r8]
xor r9d, 0x36
mov byte [r8 + rax], r9b
inc rax
cmp rax, rdx
jge 0x5b1747
mov rcx, qword [rsi + 0x20]
nop
cmp rax, rcx
jb 0x5b1722
jmp 0x5b17a5
mov rdx, qword [rsi + 8]
xor eax, eax
jmp 0x5b1762
mov r8, qword [rsi]
movzx r9d, byte [rax + r8]
xor r9d, 0x5c
mov byte [r8 + rax], r9b
inc rax
cmp rax, rdx
jge 0x5b1772
mov rcx, qword [rsi + 8]
cmp rax, rcx
jb 0x5b174f
jmp 0x5b179e
mov rdx, qword [rsi + 0x40]
mov rax, qword [rsi + 0x48]
mov rdx, qword [rdx + 0x38]
mov rbx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x20]
mov rdi, qword [rsi + 0x28]
call rdx
lea rax, [0x00775460]
mov rbx, qword [rsp + 0x38]
add rsp, 0x48
pop rbp
ret
nop
call fcn.00472ea0
call fcn.00472ea0
lea rax, [0x0068f960]
lea rbx, [0x00772000]
call fcn.0046a560
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00470bc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.005b1520