Function at 0x50f380
Capabilities:
Authenticate hmac

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x50f626
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], rcx
lea rax, [0x00530700]
call fcn.0040d3a0
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdx]
call rcx
mov rdi, qword [rsp + 0x38]
mov qword [rdi + 0x30], rax
cmp dword [0x0069b1b0], 0
jne 0x50f3df
mov qword [rdi + 0x38], rbx
jmp 0x50f3eb
lea rax, [rdi + 0x38]
mov rdi, rax
call fcn.00460700
mov rdx, qword [rsp + 0x58]
mov rax, qword [rdx]
call rax
mov rdi, qword [rsp + 0x38]
mov qword [rdi + 0x40], rax
cmp dword [0x0069b1b0], 0
jne 0x50f40d
mov qword [rdi + 0x48], rbx
jmp 0x50f41f
lea rcx, [rdi + 0x48]
mov rax, rdi
mov rdi, rcx
call fcn.00460700
mov rdi, rax
mov byte [rsp + 0x27], 1
mov rax, rdi
lea rbx, [rsp + 0x27]
call fcn.0050f660
cmp byte [rsp + 0x27], 0
je 0x50f610
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, [0x0051e200]
call fcn.00447120
mov rcx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x38]
mov qword [rdi + 0x20], rcx
mov qword [rdi + 0x28], rcx
cmp dword [0x0069b1b0], 0
nop
jne 0x50f488
mov qword [rdi + 0x18], rax
jmp 0x50f494
lea rdx, [rdi + 0x18]
mov rdi, rdx
call fcn.004605c0
lea rax, [0x0051e200]
mov rbx, rcx
nop
call fcn.00447120
mov rdx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x38]
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], rdx
cmp dword [0x0069b1b0], 0
nop
jne 0x50f4c7
mov qword [rdi], rax
jmp 0x50f4cc
call fcn.004605c0
mov rcx, qword [rsp + 0x68]
cmp rdx, rcx
jl 0x50f4dd
mov rax, qword [rsp + 0x60]
jmp 0x50f517
mov rdx, qword [rdi + 0x30]
mov rax, qword [rdi + 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 rdi, qword [rsp + 0x38]
mov rcx, rbx
mov rdx, qword [rdi + 0x20]
cmp rcx, rdx
cmovl rdx, rcx
mov rsi, qword [rdi + 0x18]
cmp rax, rsi
je 0x50f554
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rax
mov rbx, rax
mov rcx, rdx
mov rax, rsi
nop
call fcn.004613e0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rdi + 8]
cmp rcx, rdx
cmovl rdx, rcx
mov rsi, qword [rdi]
cmp rax, rsi
je 0x50f57a
mov rbx, rax
mov rcx, rdx
mov rax, rsi
call fcn.004613e0
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rdi + 0x20]
xor eax, eax
jmp 0x50f592
movzx r8d, byte [rax + rsi]
xor r8d, 0x36
mov byte [rsi + rax], r8b
inc rax
cmp rax, rdx
jge 0x50f5a7
mov rsi, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x20]
nop
cmp rax, rcx
jb 0x50f582
jmp 0x50f60b
mov rdx, qword [rdi + 8]
xor eax, eax
jmp 0x50f5c0
movzx r8d, byte [rax + rsi]
xor r8d, 0x5c
mov byte [rsi + rax], r8b
inc rax
nop
cmp rax, rdx
jge 0x50f5d3
mov rsi, qword [rdi]
mov rcx, qword [rdi + 8]
cmp rax, rcx
jb 0x50f5af
jmp 0x50f606
mov rdx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x48]
mov rdx, qword [rdx + 0x38]
mov rbx, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x20]
mov rsi, qword [rdi + 0x28]
mov rdi, rsi
call rdx
lea rax, [0x005838e8]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
call fcn.00460a60
call fcn.00460a60
lea rax, [0x0051e080]
lea rbx, [0x00582c40]
nop
call fcn.00434640
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045e400
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0050f380