Function at 0x595520
Capabilities:
Authenticate hmac

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5957be
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, [0x006abaa0]
call fcn.0040f6c0
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 [0x00998dc0], 0
je 0x595584
call fcn.00479d40
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 [0x00998dc0], 0
je 0x5955b4
call fcn.00479d40
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.00595800
cmp byte [rsp + 0x27], 0
je 0x5957aa
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, [0x006697c0]
call fcn.00473a60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
mov qword [rdx + 0x20], rcx
mov qword [rdx + 0x28], rcx
cmp dword [0x00998dc0], 0
je 0x59562a
call fcn.00479d40
mov qword [r11], rax
mov rsi, qword [rdx + 0x18]
mov qword [r11 + 8], rsi
mov qword [rdx + 0x18], rax
lea rax, [0x006697c0]
mov rbx, rcx
call fcn.00473a60
mov rdx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x38]
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], rdx
cmp dword [0x00998dc0], 0
je 0x595667
call fcn.00479d40
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 0x59567b
mov rax, qword [rsp + 0x60]
jmp 0x5956b5
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 0x5956f4
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rax
mov rbx, rax
mov rcx, r8
mov rax, rdx
nop dword [rax]
call fcn.0047aaa0
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 0x59571a
mov rbx, rax
mov rcx, r8
mov rax, rdx
call fcn.0047aaa0
mov rsi, qword [rsp + 0x38]
mov rdx, qword [rsi + 0x20]
xor eax, eax
jmp 0x595736
mov r8, qword [rsi + 0x18]
movzx r9d, byte [rax + r8]
xor r9d, 0x36
mov byte [r8 + rax], r9b
inc rax
cmp rax, rdx
jge 0x595747
mov rcx, qword [rsi + 0x20]
nop
cmp rax, rcx
jb 0x595722
jmp 0x5957a5
mov rdx, qword [rsi + 8]
xor eax, eax
jmp 0x595762
mov r8, qword [rsi]
movzx r9d, byte [rax + r8]
xor r9d, 0x5c
mov byte [r8 + rax], r9b
inc rax
cmp rax, rdx
jge 0x595772
mov rcx, qword [rsi + 8]
cmp rax, rcx
jb 0x59574f
jmp 0x59579e
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, [0x00712440]
mov rbx, qword [rsp + 0x38]
add rsp, 0x48
pop rbp
ret
nop
call fcn.0047a0e0
call fcn.0047a0e0
lea rax, [0x00669740]
lea rbx, [0x0070f060]
call fcn.00471b20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00477e00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00595520