Function at 0x56f160
Capabilities:
Authenticate hmac

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x56f3fe
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, [0x005e25e0]
call fcn.0040ea60
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 [0x00807190], 0
je 0x56f1c4
call fcn.0046b0c0
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 [0x00807190], 0
je 0x56f1f4
call fcn.0046b0c0
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.0056f440
cmp byte [rsp + 0x27], 0
je 0x56f3ea
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, [0x005b7da0]
call fcn.0044edc0
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
mov qword [rdx + 0x20], rcx
mov qword [rdx + 0x28], rcx
cmp dword [0x00807190], 0
je 0x56f26a
call fcn.0046b0c0
mov qword [r11], rax
mov rsi, qword [rdx + 0x18]
mov qword [r11 + 8], rsi
mov qword [rdx + 0x18], rax
lea rax, [0x005b7da0]
mov rbx, rcx
call fcn.0044edc0
mov rdx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x38]
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], rdx
cmp dword [0x00807190], 0
je 0x56f2a7
call fcn.0046b0c0
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 0x56f2bb
mov rax, qword [rsp + 0x60]
jmp 0x56f2f5
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 0x56f334
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rax
mov rbx, rax
mov rcx, r8
mov rax, rdx
nop dword [rax]
call fcn.0046be20
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 0x56f35a
mov rbx, rax
mov rcx, r8
mov rax, rdx
call fcn.0046be20
mov rsi, qword [rsp + 0x38]
mov rdx, qword [rsi + 0x20]
xor eax, eax
jmp 0x56f376
mov r8, qword [rsi + 0x18]
movzx r9d, byte [rax + r8]
xor r9d, 0x36
mov byte [r8 + rax], r9b
inc rax
cmp rax, rdx
jge 0x56f387
mov rcx, qword [rsi + 0x20]
nop
cmp rax, rcx
jb 0x56f362
jmp 0x56f3e5
mov rdx, qword [rsi + 8]
xor eax, eax
jmp 0x56f3a2
mov r8, qword [rsi]
movzx r9d, byte [rax + r8]
xor r9d, 0x5c
mov byte [r8 + rax], r9b
inc rax
cmp rax, rdx
jge 0x56f3b2
mov rcx, qword [rsi + 8]
cmp rax, rcx
jb 0x56f38f
jmp 0x56f3de
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, [0x00658740]
mov rbx, qword [rsp + 0x38]
add rsp, 0x48
pop rbp
ret
nop
call fcn.0046b460
call fcn.0046b460
lea rax, [0x005b7d20]
lea rbx, [0x006568f0]
call fcn.00438100
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00469180
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0056f160