Function at 0x595dc0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x596246
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdi
mov rdx, qword [rax + 8]
mov rsi, qword [rax + 0x10]
mov rdx, qword [rdx + 0x30]
mov rax, rsi
call rdx
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rcx + 0x10]
test rdx, rdx
jne 0x595e12
xor ebx, ebx
jmp 0x595e27
cmp byte [rcx], 0
je 0x595e22
mov rbx, 0xffffffffffffffff
nop
jmp 0x595e27
mov ebx, 1
test rbx, rbx
jl 0x59605d
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsi + 0x10]
nop dword [rax]
test rdi, rdi
jne 0x595e49
xor ebx, ebx
jmp 0x595e60
cmp byte [rsi], 0
je 0x595e57
mov rbx, 0xffffffffffffffff
jmp 0x595e60
mov ebx, 1
nop dword [rax]
test rbx, rbx
jl 0x59605d
lea r8, [rdx - 1]
test r8, r8
jl 0x595ed3
mov r9, qword [rcx + 8]
mov rdx, qword [r9 + rdx*8 - 8]
mov r9, rdx
shr rdx, 1
or r9, rdx
mov rdx, r9
shr r9, 2
or r9, rdx
mov rdx, r9
shr r9, 4
or rdx, r9
mov r9, rdx
shr rdx, 8
or r9, rdx
mov rdx, r9
shr r9, 0x10
or r9, rdx
mov rdx, r9
shr r9, 0x20
or r9, rdx
shl r8, 6
bsr rdx, r9
mov r9, 0xffffffffffffffff
cmove rdx, r9
lea rdx, [r8 + rdx]
lea rdx, [rdx + 1]
jmp 0x595edc
mov r9, 0xffffffffffffffff
xor edx, edx
mov r8, qword [rax + 0x28]
cmp rdx, r8
jg 0x59602d
lea rdx, [rdi - 1]
test rdx, rdx
jl 0x595f4c
mov r10, qword [rsi + 8]
mov rdi, qword [r10 + rdi*8 - 8]
mov r10, rdi
shr rdi, 1
or r10, rdi
mov rdi, r10
shr r10, 2
or r10, rdi
mov rdi, r10
shr r10, 4
or rdi, r10
mov r10, rdi
shr rdi, 8
or r10, rdi
mov rdi, r10
shr r10, 0x10
or r10, rdi
mov rdi, r10
shr r10, 0x20
or r10, rdi
shl rdx, 6
bsr rdi, r10
cmove rdi, r9
lea rdx, [rdx + rdi]
lea rdx, [rdx + 1]
jmp 0x595f4e
xor edx, edx
cmp rdx, r8
jg 0x59602d
lea rdx, [r8 + 7]
sar rdx, 0x3f
shr rdx, 0x3d
lea rdx, [rdx + r8]
lea rdx, [rdx + 7]
sar rdx, 3
mov qword [rsp + 0x20], rdx
lea rcx, [rdx + rdx]
lea rcx, [rcx + 1]
mov qword [rsp + 0x30], rcx
lea rax, [0x006972e0]
mov rbx, rcx
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x30]
test rdx, rdx
jbe 0x596239
mov byte [rax], 4
mov rcx, qword [rsp + 0x20]
lea rsi, [rcx + 1]
cmp rdx, rsi
jb 0x596231
cmp rsi, 1
jb 0x596225
mov qword [rsp + 0x58], rax
mov rbx, rcx
shl rbx, 1
mov rdi, rbx
neg rdi
sar rdi, 0x3f
and edi, 1
add rdi, rax
test rcx, rcx
je 0x596015
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x38], rbx
mov rax, rdi
mov rbx, rcx
call sym.runtime.memclrNoHeapPointers
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x80]
mov r9, qword [r8 + 8]
mov r8, qword [r8 + 0x10]
mov r10, rcx
xor r11d, r11d
jmp 0x596090
lea rax, [0x006b24e0]
call sym.runtime.newobject
mov qword [rax + 8], 0x16
lea rcx, [0x006fc057]
mov qword [rax], rcx
lea rbx, [0x00778540]
mov rcx, rax
xor eax, eax
add rsp, 0x60
pop rbp
ret
lea rax, [0x006b24e0]
call sym.runtime.newobject
mov qword [rax + 8], 0x13
lea rcx, [0x006fa949]
mov qword [rax], rcx
lea rbx, [0x00778540]
mov rcx, rax
xor eax, eax
add rsp, 0x60
pop rbp
ret
inc r11
cmp r11, r8
jge 0x5960a5
mov r12, qword [r9 + r11*8]
xor r13d, r13d
nop dword [rax]
jmp 0x5961e2
test rcx, rcx
jge 0x5960b1
xor ecx, ecx
jmp 0x5960b1
inc rcx
cmp rcx, r10
jge 0x5960c6
jae 0x5961cd
movzx r8d, byte [rcx + rdi]
test r8b, r8b
je 0x5960ae
mov rdi, r10
sub r10, rbx
sar r10, 0x3f
and r10, rsi
sub rbx, rdi
lea rsi, [r10 + rax]
test rbx, rbx
je 0x596105
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x48], rsi
mov rax, rsi
call sym.runtime.memclrNoHeapPointers
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x88]
mov r8, qword [rdi + 8]
mov rdi, qword [rdi + 0x10]
mov rcx, rbx
xor r9d, r9d
jmp 0x596120
inc r9
cmp r9, rdi
jge 0x59612e
mov r10, qword [r8 + r9*8]
xor r11d, r11d
jmp 0x59618f
test rbx, rbx
jge 0x59613a
xor ebx, ebx
jmp 0x59613a
inc rbx
cmp rbx, rcx
jge 0x59614b
nop
jae 0x596178
movzx edi, byte [rbx + rsi]
test dil, dil
je 0x596137
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rdx]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x30]
mov rsi, rcx
mov rcx, rdi
call rsi
add rsp, 0x60
pop rbp
ret
mov rax, rbx
nop dword [rax + rax]
call sym.runtime.panicIndex
inc r11
shr r10, 8
mov rbx, r12
cmp r11, 8
jge 0x59611d
lea r12, [rbx - 1]
test r12, r12
jl 0x5961ac
nop
cmp rcx, r12
jbe 0x5961c5
mov byte [rbx + rsi - 1], r10b
jmp 0x596185
test r10b, r10b
je 0x596185
lea rax, [0x00697260]
lea rbx, [0x00777a40]
nop
call sym.runtime.gopanic
mov rax, r12
call sym.runtime.panicIndex
mov rax, rcx
mov rcx, r10
call sym.runtime.panicIndex
inc r13
shr r12, 8
mov rcx, r15
cmp r13, 8
jge 0x59608d
lea r15, [rcx - 1]
test r15, r15
jl 0x596202
cmp r10, r15
jbe 0x59621a
mov byte [rcx + rdi - 1], r12b
nop
jmp 0x5961d8
test r12b, r12b
je 0x5961d8
lea rax, [0x00697260]
lea rbx, [0x00777a40]
call sym.runtime.gopanic
mov rax, r15
mov rcx, r10
call sym.runtime.panicIndex
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
mov rcx, rsi
call sym.runtime.panicSliceAcap
xor eax, eax
mov rcx, rax
nop
call sym.runtime.panicIndex
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_ecdsa._nistCurve_go.shape.uint8__.pointFromAffine