Function at 0x140057b50
Capabilities:
Authenticate hmac

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rax, qword [rcx]
mov qword [rsp + 0xa8], rdx
mov rbx, rcx
mov esi, r8d
mov rdx, qword [rax + 0x80]
lea rcx, [method.CryptoPP::HMAC_Base.Restart__]
cmp rdx, rcx
jne 0x140057f48
cmp byte [rbx + 0x30], 0
jne 0x140057f10
mov rcx, rbx
lea r12, [method.CryptoPP::HashTransformation.BlockSize___const]
call qword [rax + 0xa8]
mov rbp, rax
mov rax, qword [rax]
mov rax, qword [rax + 0x50]
cmp rax, r12
jne 0x140057c10
mov ecx, 0x30
lea rdi, [rsp + 0x30]
call sym.__cxa_allocate_exception
lea rdx, str.HMAC:_can_only_be_used_with_a_block_based_hash_function
mov rcx, rdi
mov rsi, rax
call fcn.1403526b0
mov r8, rdi
mov edx, 1
mov rcx, rsi
call fcn.140244f70
lea rax, fcn.1402132b0
mov rcx, rdi
mov qword [rsi], rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
lea r8, [fcn.1402132b0]
lea rdx, [0x1403982a0]
mov rcx, rsi
call sym.__cxa_throw
nop word [rax + rax]
mov rcx, rbp
call rax
mov r13d, eax
test r13d, r13d
je 0x140057bb1
mov rax, qword [rbx]
mov rcx, rbx
xor edi, edi
call qword [rax + 0xa8]
mov rcx, rax
mov rax, qword [rax]
mov rax, qword [rax + 0x50]
cmp rax, r12
jne 0x140057f58
mov rax, qword [rbx]
mov rcx, rbx
lea r14, [method.non_virtual_thunk_to_CryptoPP::HMAC_Base.DigestSize___const]
call qword [rax + 0xa8]
mov rcx, rax
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
cmp rax, r14
jne 0x140057c84
mov rax, qword [rcx - 8]
lea rdx, [rcx - 8]
mov rcx, rdx
call qword [rax + 0xa8]
mov rcx, rax
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
cmp rax, r14
je 0x140057ef8
call rax
mov rdx, qword [rbx + 0x28]
lea r15d, [rax + rdi]
mov rdi, qword [rbx + 0x20]
mov r10, rdx
cmp r15, rdi
je 0x140057cfc
test r15, r15
je 0x140057f30
mov rcx, r15
mov qword [rsp + 0x20], rdx
call method.CryptoPP.UnalignedAllocate_unsigned_long_long_
mov rdx, qword [rsp + 0x20]
mov r10, rax
test rdx, rdx
je 0x140057cfc
test rax, rax
je 0x140057f33
cmp r15, rdi
mov r8, rdi
mov rcx, rax
cmovbe r8, r15
call sym.memcpy
mov rdx, qword [rsp + 0x20]
mov r10, rax
mov rcx, rdi
mov qword [rsp + 0x20], r10
mov rdi, rdx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, rdx
call method.CryptoPP.UnalignedDeallocate_void_
mov r10, qword [rsp + 0x20]
mov qword [rbx + 0x28], r10
mov edi, esi
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x18], 0xffffffffffffffff
cmp r13d, esi
jb 0x140057db0
test r10, r10
je 0x140057d30
cmp qword [rsp + 0xa8], 0
je 0x140057d30
test esi, esi
jne 0x140057f88
nop
mov r8d, r13d
lea rcx, [r10 + rdi]
xor edx, edx
sub r8d, esi
xor esi, esi
call sym.memset
jmp 0x140057d5f
mov byte [rbp], dil
mov rax, qword [rbx + 0x28]
add rax, rsi
add rsi, 1
xor byte [rax], 0x36
cmp r13, rsi
je 0x140057d98
mov rbp, qword [rbx + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
add rbp, rsi
movzx edi, byte [rbp]
call qword [rax + 0xa8]
mov rcx, rax
mov rax, qword [rax]
xor edi, 0x5c
mov rax, qword [rax + 0x50]
cmp rax, r12
je 0x140057d48
call rax
mov eax, eax
mov byte [rbp + rax], dil
jmp 0x140057d4c
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xa8]
mov rdx, qword [rbx + 0x28]
mov rsi, rax
mov rax, qword [rax]
mov qword [rsp + 0x20], rdx
lea rdx, [method.CryptoPP::HashTransformation.CalculateDigest_unsigned_char__unsigned_char_const__unsigned_long_long_]
mov r10, qword [rax + 0x68]
cmp r10, rdx
jne 0x140057fa8
mov rax, qword [rax + 0x28]
lea rdx, [method.non_virtual_thunk_to_CryptoPP::HMAC_Base.Update_unsigned_char_const__unsigned_long_long_]
cmp rax, rdx
jne 0x140058014
cmp byte [rsi + 0x28], 0
lea rcx, [rsi - 8]
je 0x140057ff0
mov rax, qword [rsi - 8]
call qword [rax + 0xa8]
lea rdx, [method.non_virtual_thunk_to_CryptoPP::HMAC_Base.Update_unsigned_char_const__unsigned_long_long_]
mov rcx, rax
mov rax, qword [rax]
mov rax, qword [rax + 0x28]
cmp rax, rdx
je 0x140057f68
mov rdx, qword [rsp + 0xa8]
mov r8, rdi
call rax
mov rax, qword [rsi]
lea rdx, [method.CryptoPP::HashTransformation.Final_unsigned_char_]
mov r8, qword [rax + 0x38]
cmp r8, rdx
jne 0x140058004
mov r15, qword [rax + 0x80]
mov rax, qword [rax + 0x48]
cmp rax, r14
jne 0x140057fe2
mov rax, qword [rsi - 8]
lea rcx, [rsi - 8]
call qword [rax + 0xa8]
mov rcx, rax
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
cmp rax, r14
jne 0x140057fe5
sub rcx, 8
call method.CryptoPP::HMAC_Base.DigestSize___const
mov r8d, eax
lea rax, [method.non_virtual_thunk_to_CryptoPP::HMAC_Base.TruncatedFinal_unsigned_char__unsigned_long_long_]
cmp r15, rax
jne 0x140058029
mov rdx, qword [rsp + 0x20]
lea rcx, [rsi - 8]
call method.CryptoPP::HMAC_Base.TruncatedFinal_unsigned_char__unsigned_long_long_
mov rax, qword [rbp]
mov rax, qword [rax + 0x48]
cmp rax, r14
jne 0x140057fcf
mov rax, qword [rbp - 8]
lea rcx, [rbp - 8]
call qword [rax + 0xa8]
mov rcx, rax
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
cmp rax, r14
jne 0x140057fd2
sub rcx, 8
call method.CryptoPP::HMAC_Base.DigestSize___const
mov r10, qword [rbx + 0x28]
mov edi, eax
mov rsi, rdi
jmp 0x140057d30
sub rcx, 8
call method.CryptoPP::HMAC_Base.DigestSize___const
jmp 0x140057c86
mov rcx, rbx
call qword [rax + 0xa8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x40]
mov byte [rbx + 0x30], 0
mov rax, qword [rbx]
jmp 0x140057b92
xor r10d, r10d
test rdx, rdx
je 0x140057cfc
jmp 0x140057ce0
mov rcx, rbx
call rdx
mov rax, qword [rbx]
jmp 0x140057b92
call rax
lea edi, [rax + rax]
jmp 0x140057c3e
mov rdx, qword [rsp + 0xa8]
sub rcx, 8
mov r8, rdi
call method.CryptoPP::HMAC_Base.Update_unsigned_char_const__unsigned_long_long_
jmp 0x140057e32
mov rdx, qword [rsp + 0xa8]
mov rcx, r10
mov r8, rdi
call sym.memcpy
mov r10, qword [rbx + 0x28]
jmp 0x140057d30
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x20]
mov r9, rdi
mov rcx, rsi
call r10
mov rax, qword [rbp]
mov rax, qword [rax + 0x48]
cmp rax, r14
je 0x140057eb9
mov rcx, rbp
call rax
mov r10, qword [rbx + 0x28]
mov edi, eax
mov rsi, rdi
jmp 0x140057d30
mov rcx, rsi
call rax
jmp 0x140057e87
mov qword [rsp + 0x28], rcx
call method.CryptoPP::HMAC_Base.KeyInnerHash__
mov rcx, qword [rsp + 0x28]
jmp 0x140057e01
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
call r8
jmp 0x140057ea8
mov rdx, qword [rsp + 0xa8]
mov r8, rdi
mov rcx, rsi
call rax
jmp 0x140057e32
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
call r15
jmp 0x140057ea8