Function at 0x4878e0
Capabilities:
Authenticate hmac

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x487b7e
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, [0x0050e4c0]
call sym.runtime.newobject
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 [0x00698550], 0
je 0x487944
call sym.runtime.gcWriteBarrier2
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 [0x00698550], 0
je 0x487974
call sym.runtime.gcWriteBarrier2
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 sym.crypto_hmac.New.func1
cmp byte [rsp + 0x27], 0
je 0x487b6a
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, [0x004fbb40]
call sym.runtime.makeslice
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
mov qword [rdx + 0x20], rcx
mov qword [rdx + 0x28], rcx
cmp dword [0x00698550], 0
je 0x4879ea
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rdx + 0x18]
mov qword [r11 + 8], rsi
mov qword [rdx + 0x18], rax
lea rax, [0x004fbb40]
mov rbx, rcx
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x38]
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], rdx
cmp dword [0x00698550], 0
je 0x487a27
call sym.runtime.gcWriteBarrier2
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 0x487a3b
mov rax, qword [rsp + 0x60]
jmp 0x487a75
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 0x487ab4
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rax
mov rbx, rax
mov rcx, r8
mov rax, rdx
nop dword [rax]
call sym.runtime.memmove
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 0x487ada
mov rbx, rax
mov rcx, r8
mov rax, rdx
call sym.runtime.memmove
mov rsi, qword [rsp + 0x38]
mov rdx, qword [rsi + 0x20]
xor eax, eax
jmp 0x487af6
mov r8, qword [rsi + 0x18]
movzx r9d, byte [rax + r8]
xor r9d, 0x36
mov byte [r8 + rax], r9b
inc rax
cmp rax, rdx
jge 0x487b07
mov rcx, qword [rsi + 0x20]
nop
cmp rax, rcx
jb 0x487ae2
jmp 0x487b65
mov rdx, qword [rsi + 8]
xor eax, eax
jmp 0x487b22
mov r8, qword [rsi]
movzx r9d, byte [rax + r8]
xor r9d, 0x5c
mov byte [r8 + rax], r9b
inc rax
cmp rax, rdx
jge 0x487b32
mov rcx, qword [rsi + 8]
cmp rax, rcx
jb 0x487b0f
jmp 0x487b5e
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, [0x005607e8]
mov rbx, qword [rsp + 0x38]
add rsp, 0x48
pop rbp
ret
nop
call sym.runtime.panicIndex
call sym.runtime.panicIndex
lea rax, [0x004fbac0]
lea rbx, [0x005600e0]
call sym.runtime.gopanic
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp sym.crypto_hmac.New