Function at 0x583b40
Capabilities:
Authenticate hmac

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x583dde
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, [0x00639320]
call fcn.0040d520
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 [0x00865770], 0
je 0x583ba4
call fcn.0045f320
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 [0x00865770], 0
je 0x583bd4
call fcn.0045f320
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.00583e20
cmp byte [rsp + 0x27], 0
je 0x583dca
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, [0x0060be60]
call fcn.00447780
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
mov qword [rdx + 0x20], rcx
mov qword [rdx + 0x28], rcx
cmp dword [0x00865770], 0
je 0x583c4a
call fcn.0045f320
mov qword [r11], rax
mov rsi, qword [rdx + 0x18]
mov qword [r11 + 8], rsi
mov qword [rdx + 0x18], rax
lea rax, [0x0060be60]
mov rbx, rcx
call fcn.00447780
mov rdx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x38]
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], rdx
cmp dword [0x00865770], 0
je 0x583c87
call fcn.0045f320
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 0x583c9b
mov rax, qword [rsp + 0x60]
jmp 0x583cd5
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 0x583d14
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rax
mov rbx, rax
mov rcx, r8
mov rax, rdx
nop dword [rax]
call fcn.004600a0
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 0x583d3a
mov rbx, rax
mov rcx, r8
mov rax, rdx
call fcn.004600a0
mov rsi, qword [rsp + 0x38]
mov rdx, qword [rsi + 0x20]
xor eax, eax
jmp 0x583d56
mov r8, qword [rsi + 0x18]
movzx r9d, byte [rax + r8]
xor r9d, 0x36
mov byte [r8 + rax], r9b
inc rax
cmp rax, rdx
jge 0x583d67
mov rcx, qword [rsi + 0x20]
nop
cmp rax, rcx
jb 0x583d42
jmp 0x583dc5
mov rdx, qword [rsi + 8]
xor eax, eax
jmp 0x583d82
mov r8, qword [rsi]
movzx r9d, byte [rax + r8]
xor r9d, 0x5c
mov byte [r8 + rax], r9b
inc rax
cmp rax, rdx
jge 0x583d92
mov rcx, qword [rsi + 8]
cmp rax, rcx
jb 0x583d6f
jmp 0x583dbe
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, [0x006be5e0]
mov rbx, qword [rsp + 0x38]
add rsp, 0x48
pop rbp
ret
nop
call fcn.0045f6c0
call fcn.0045f6c0
lea rax, [0x0060bde0]
lea rbx, [0x006bbf40]
call fcn.00433580
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045d3e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00583b40