Function at 0x594820
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x594a93
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rcx
mov rsi, qword [rax + 0x48]
test rsi, rsi
jle 0x59495e
cmp rsi, 0x10
ja 0x594a85
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
lea rdx, [rsi - 0x10]
mov r8, rdx
neg rdx
sar r8, 0x3f
and r8, rsi
lea rsi, [r8 + rax]
lea rsi, [rsi + 0x38]
cmp rcx, rdx
cmovl rdx, rcx
mov qword [rsp + 0x28], rdx
cmp rbx, rsi
je 0x5948b0
mov rax, rsi
mov rcx, rdx
call sym.runtime.memmove
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rax + 0x48]
add rsi, rdx
nop word [rax + rax]
cmp rsi, 0x10
jl 0x59494d
cmp rcx, rdx
jb 0x594a79
mov qword [rax + 0x48], 0
mov qword [rsp], rax
lea rcx, [rax + 0x38]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x10
mov qword [rsp + 0x18], 0x10
call sym.vendor_golang.org_x_crypto_internal_poly1305.update.abi0
xorps xmm15, xmm15
mov r14, qword [0x008afa40]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdi, qword [rsp + 0x70]
mov rax, qword [rsp + 0x28]
sub rdi, rax
mov rcx, rdi
neg rcx
sar rcx, 0x3f
and rcx, rax
mov rdx, qword [rsp + 0x68]
sub rdx, rax
mov rax, qword [rsp + 0x60]
add rax, rcx
mov rcx, rdx
mov rbx, rax
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
jmp 0x594961
mov qword [rax + 0x48], rsi
mov rax, rcx
xor ebx, ebx
xor ecx, ecx
add rsp, 0x48
pop rbp
ret
mov rdx, rcx
mov rsi, rcx
and esi, 0xf
mov r8, rcx
sub r8, rsi
test r8, r8
jle 0x5949f8
cmp rdi, r8
jb 0x594a6e
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x20], r8
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], rdi
call sym.vendor_golang.org_x_crypto_internal_poly1305.update.abi0
xorps xmm15, xmm15
mov r14, qword [0x008afa40]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
cmp rcx, rax
jb 0x594a69
mov rdx, qword [rsp + 0x38]
mov rsi, rax
sub rax, rdx
sar rax, 0x3f
and rax, rsi
sub rcx, rsi
mov rdx, qword [rsp + 0x40]
lea rbx, [rdx + rax]
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
test rcx, rcx
je 0x594a4f
mov rsi, qword [rax + 0x48]
cmp rsi, 0x10
ja 0x594a5c
lea rdi, [rsi - 0x10]
mov r8, rdi
neg rdi
sar r8, 0x3f
and r8, rsi
lea rsi, [r8 + rax]
lea rsi, [rsi + 0x38]
cmp rcx, rdi
cmovl rdi, rcx
cmp rbx, rsi
je 0x594a4b
mov qword [rsp + 0x38], rdi
mov rax, rsi
mov rcx, rdi
call sym.runtime.memmove
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x38]
add qword [rax + 0x48], rdi
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
add rsp, 0x48
pop rbp
ret
mov rax, rsi
mov ecx, 0x10
call sym.runtime.panicSliceB
call sym.runtime.panicSliceB
mov rcx, r8
mov rdx, rdi
call sym.runtime.panicSliceAcap
mov rax, rdx
nop dword [rax]
call sym.runtime.panicSliceB
mov rax, rsi
mov ecx, 0x10
call sym.runtime.panicSliceB
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.vendor_golang.org_x_crypto_internal_poly1305._mac_.Write