Function at 0x1402bf440
Capabilities:
Authenticate hmac

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x118
mov rax, qword [0x14034e010]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x140]
mov edx, eax
mov rcx, qword [rsp + 0x130]
call fcn.1400161b0
mov rax, qword [rsp + 0x130]
add rax, 8
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x60], rcx
mov rcx, rax
mov rax, qword [rsp + 0x60]
call qword [rax + 0x38]
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x130]
call qword [rax + 0x78]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x48]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x1402bf530
lea rdx, str.HMAC:_can_only_be_used_with_a_block_based_hash_function
lea rcx, [rsp + 0x98]
call fcn.14001ea10
nop
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xc0]
call fcn.140014360
lea rdx, [0x14034b9d8]
lea rcx, [rsp + 0xc0]
call fcn.1402cd5b8
nop
lea rcx, [rsp + 0x98]
call fcn.14001e930
nop
mov rax, qword [rsp + 0x130]
add rax, 0x10
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x130]
call qword [rax + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x130]
call qword [rax + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x40]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
call qword [rdx + 0x48]
mov ecx, dword [rsp + 0x38]
lea eax, [rcx + rax*2]
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.140272ab0
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x140], eax
ja 0x1402bf621
mov rcx, qword [rsp + 0x130]
call fcn.1402bf140
test rax, rax
je 0x1402bf61c
cmp qword [rsp + 0x138], 0
je 0x1402bf61c
cmp dword [rsp + 0x140], 0
je 0x1402bf61c
mov eax, dword [rsp + 0x140]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x130]
call fcn.1402bf140
mov rdi, rax
mov rsi, qword [rsp + 0x138]
mov rax, qword [rsp + 0x78]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
jmp 0x1402bf6a2
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x130]
call qword [rax + 0x78]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x130]
call fcn.1402bf140
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x140]
mov r9d, eax
mov r8, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x88]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x40]
mov dword [rsp + 0x140], eax
mov eax, dword [rsp + 0x140]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x130]
call fcn.1402bf140
mov ecx, dword [rsp + 0x140]
add rax, rcx
mov rdi, rax
xor eax, eax
mov rcx, qword [rsp + 0x90]
rep stosb byte [rdi], al
mov dword [rsp + 0x24], 0
jmp 0x1402bf6f5
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jae 0x1402bf761
mov rcx, qword [rsp + 0x130]
call fcn.1402bf140
mov ecx, dword [rsp + 0x24]
movzx eax, byte [rax + rcx]
xor eax, 0x5c
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x130]
call fcn.1402bf160
mov ecx, dword [rsp + 0x24]
movzx edx, byte [rsp + 0x20]
mov byte [rax + rcx], dl
mov rcx, qword [rsp + 0x130]
call fcn.1402bf140
mov ecx, dword [rsp + 0x24]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
xor eax, 0x36
mov rcx, qword [rsp + 0x58]
mov byte [rcx], al
jmp 0x1402bf6eb
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140269770
add rsp, 0x118
pop rdi
pop rsi
ret