Function at 0x5798a0
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x5a8]
cmp r12, qword [r14 + 0x10]
jbe 0x57a00e
push rbp
mov rbp, rsp
sub rsp, 0x620
mov qword [rsp + 0x660], r9
mov qword [rsp + 0x630], rax
mov qword [rsp + 0x640], rcx
mov qword [rsp + 0x658], r8
mov qword [rsp + 0x648], rdi
mov qword [rsp + 0x638], rbx
mov qword [rsp + 0x650], rsi
mov rax, r9
mov rbx, r10
mov rcx, r11
nop
call sym.crypto_ecdsa.parseSignature
test r9, r9
jne 0x579a21
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x570], rdi
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x580], rax
mov qword [rsp + 0x48], r8
mov rdx, qword [rsp + 0x630]
mov rbx, qword [rdx + 0x20]
mov rsi, qword [rsp + 0x640]
mov rcx, qword [rsi + 0x10]
mov rdi, qword [rsi + 0x18]
mov rax, qword [rsp + 0x638]
call sym.crypto_ecdsa._nistCurve_go.shape.uint8__.pointFromAffine
nop dword [rax + rax]
test rbx, rbx
jne 0x579a15
mov qword [rsp + 0x598], rax
lea rdi, [rsp + 0x460]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467734
mov rbp, qword [rbp]
mov qword [rsp + 0x608], 0
movups xmmword [rsp + 0x610], xmm15
lea rdx, [rsp + 0x460]
mov qword [rsp + 0x608], rdx
mov qword [rsp + 0x610], 0
mov qword [rsp + 0x618], 0x20
mov rdx, qword [rsp + 0x638]
mov rsi, qword [rdx + 0x18]
lea rax, [rsp + 0x608]
mov rbx, qword [rsp + 0x580]
mov rcx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
call sym.crypto_internal_bigmod._Nat_.SetBytes
nop dword [rax + rax]
test rbx, rbx
jne 0x579a2c
mov rdx, qword [rax]
mov r8, qword [rax + 8]
xor ecx, ecx
mov ebx, 1
jmp 0x579a61
xor eax, eax
add rsp, 0x620
pop rbp
nop
ret
xor eax, eax
add rsp, 0x620
pop rbp
ret
xor eax, eax
add rsp, 0x620
pop rbp
ret
mov r9, qword [rdx + rcx*8]
inc rcx
mov r10, r9
sub r9, 0
sbb r9, r9
neg r9
xor r11d, r11d
sub r11, r10
sbb r10, r10
neg r10
or r10, r9
xor r10, 1
and rbx, r10
cmp rcx, r8
jl 0x579a37
cmp rbx, 1
je 0x579a2c
mov qword [rsp + 0x588], rax
lea rdi, [rsp + 0x360]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467734
mov rbp, qword [rbp]
mov qword [rsp + 0x5f0], 0
movups xmmword [rsp + 0x5f8], xmm15
lea rdx, [rsp + 0x360]
mov qword [rsp + 0x5f0], rdx
mov qword [rsp + 0x5f8], 0
mov qword [rsp + 0x600], 0x20
mov rdx, qword [rsp + 0x638]
mov rsi, qword [rdx + 0x18]
lea rax, [rsp + 0x5f0]
mov rbx, qword [rsp + 0x570]
mov rcx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
call sym.crypto_internal_bigmod._Nat_.SetBytes
nop dword [rax + rax]
test rbx, rbx
jne 0x579b15
mov rdx, qword [rax]
mov r9, qword [rax + 8]
xor ecx, ecx
mov ebx, 1
jmp 0x579b4b
xor eax, eax
add rsp, 0x620
pop rbp
nop
ret
mov r10, qword [rdx + rcx*8]
inc rcx
mov r11, r10
sub r10, 0
sbb r10, r10
neg r10
xor r12d, r12d
sub r12, r11
sbb r11, r11
neg r11
or r11, r10
xor r11, 1
and rbx, r11
cmp rcx, r9
jl 0x579b21
cmp rbx, 1
je 0x579b15
mov qword [rsp + 0x578], rax
nop
lea rdi, [rsp + 0x260]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467734
mov rbp, qword [rbp]
mov qword [rsp + 0x5d8], 0
movups xmmword [rsp + 0x5e0], xmm15
lea rdx, [rsp + 0x260]
mov qword [rsp + 0x5d8], rdx
mov qword [rsp + 0x5e0], 0
mov qword [rsp + 0x5e8], 0x20
mov rdx, qword [rsp + 0x630]
mov rax, qword [rdx + 0x28]
mov rbx, qword [rsp + 0x638]
lea rcx, [rsp + 0x5d8]
mov rdi, qword [rsp + 0x648]
mov rsi, qword [rsp + 0x650]
mov r8, qword [rsp + 0x658]
call sym.crypto_ecdsa.hashToNat_go.shape.uint8_
nop
lea rdi, [rsp + 0x160]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467734
mov rbp, qword [rbp]
mov qword [rsp + 0x5c0], 0
movups xmmword [rsp + 0x5c8], xmm15
lea rdx, [rsp + 0x160]
mov qword [rsp + 0x5c0], rdx
mov qword [rsp + 0x5c8], 0
mov qword [rsp + 0x5d0], 0x20
mov rdx, qword [rsp + 0x630]
mov rax, qword [rdx + 0x30]
mov rbx, qword [rsp + 0x638]
lea rcx, [rsp + 0x5c0]
mov rdi, qword [rsp + 0x578]
call sym.crypto_ecdsa.inverse_go.shape.uint8_
mov rdx, qword [rsp + 0x638]
mov r9, qword [rdx]
mov r10, qword [r9]
mov rdx, r9
call r10
mov qword [rsp + 0x5a0], rax
mov rdx, qword [rsp + 0x638]
mov rcx, qword [rdx + 0x18]
lea rbx, [rsp + 0x5c0]
lea rax, [rsp + 0x5d8]
call sym.crypto_internal_bigmod._Nat_.Mul
mov qword [rsp + 0x568], rax
mov rdx, qword [rsp + 0x638]
mov r9, qword [rdx + 0x18]
mov r10, qword [r9]
mov r10, qword [r10 + 8]
shl r10, 6
sub r10, qword [r9 + 8]
lea r9, [r10 + 7]
sar r9, 0x3f
shr r9, 0x3d
lea rcx, [r10 + r9]
lea rcx, [rcx + 7]
sar rcx, 3
mov qword [rsp + 0x38], rcx
nop
mov rbx, rcx
lea rax, [0x00684ae0]
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x568]
mov r9, qword [rdx]
mov rdx, qword [rdx + 8]
mov r10, qword [rsp + 0x38]
mov rcx, r10
xor ebx, ebx
nop
jmp 0x579d28
inc rbx
mov r10, r8
cmp rbx, rdx
jge 0x579d4a
mov rsi, qword [r9 + rbx*8]
xor edi, edi
jmp 0x579fc9
test rsi, rsi
je 0x579d22
nop dword [rax]
jmp 0x579ff0
mov r8, r10
jmp 0x579d22
mov rdx, qword [rsp + 0x630]
mov rsi, qword [rdx]
mov rbx, rax
mov rdi, rcx
mov rax, qword [rsp + 0x5a0]
call rsi
test rbx, rbx
jne 0x579e02
mov qword [rsp + 0x590], rax
mov rdx, qword [rsp + 0x638]
mov rcx, qword [rdx + 0x18]
lea rax, [rsp + 0x5c0]
mov rbx, qword [rsp + 0x588]
call sym.crypto_internal_bigmod._Nat_.Mul
mov qword [rsp + 0x560], rax
mov rdx, qword [rsp + 0x638]
mov rsi, qword [rdx + 0x18]
mov rdi, qword [rsi]
mov rdi, qword [rdi + 8]
shl rdi, 6
sub rdi, qword [rsi + 8]
lea rsi, [rdi + 7]
sar rsi, 0x3f
shr rsi, 0x3d
lea rcx, [rdi + rsi]
lea rcx, [rcx + 7]
sar rcx, 3
mov qword [rsp + 0x30], rcx
nop
mov rbx, rcx
lea rax, [0x00684ae0]
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x560]
mov rsi, qword [rdx]
mov rdx, qword [rdx + 8]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
xor ebx, ebx
jmp 0x579e13
xor eax, eax
add rsp, 0x620
pop rbp
ret
inc rbx
mov rdi, r10
cmp rbx, rdx
jge 0x579e34
mov r8, qword [rsi + rbx*8]
xor r9d, r9d
nop
jmp 0x579f81
test r8, r8
je 0x579e0d
jmp 0x579f9f
mov r10, rdi
jmp 0x579e0d
mov rdx, qword [rsp + 0x630]
lea r8, [rdx + 8]
mov r9, qword [rdx + 8]
mov rbx, qword [rsp + 0x598]
mov rdi, rcx
mov rsi, rdi
mov rcx, rax
mov rax, rbx
mov rdx, r8
call r9
nop
test rbx, rbx
jne 0x579f67
mov rdx, qword [rsp + 0x630]
lea rsi, [rdx + 0x10]
mov rdi, qword [rdx + 0x10]
mov rbx, qword [rsp + 0x590]
mov rcx, rax
mov rax, rbx
mov rdx, rsi
call rdi
mov rdx, qword [rsp + 0x630]
lea rsi, [rdx + 0x18]
mov rdi, qword [rdx + 0x18]
mov rdx, rsi
nop
call rdi
test rdi, rdi
jne 0x579f5c
lea rdi, [rsp + 0x60]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467734
mov rbp, qword [rbp]
mov qword [rsp + 0x5a8], 0
movups xmmword [rsp + 0x5b0], xmm15
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x5a8], rdx
mov qword [rsp + 0x5b0], 0
mov qword [rsp + 0x5b8], 0x20
mov rdx, qword [rsp + 0x638]
mov rsi, qword [rdx + 0x18]
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0x5a8]
call sym.crypto_internal_bigmod._Nat_.SetOverflowingBytes
test rbx, rbx
je 0x579f3f
xor eax, eax
add rsp, 0x620
pop rbp
ret
mov rbx, qword [rsp + 0x588]
call sym.crypto_internal_bigmod._Nat_.Equal
cmp rax, 1
sete al
add rsp, 0x620
pop rbp
ret
xor eax, eax
add rsp, 0x620
pop rbp
ret
xor eax, eax
add rsp, 0x620
pop rbp
ret
mov byte [rdi + rax - 1], r8b
inc r9
shr r8, 8
mov rdi, r10
cmp r9, 8
jge 0x579e2f
lea r10, [rdi - 1]
test r10, r10
jl 0x579e25
cmp rcx, r10
ja 0x579f72
jmp 0x579fb2
lea rax, [0x006847a0]
lea rbx, [0x0075bf80]
call sym.runtime.gopanic
mov rax, r10
call sym.runtime.panicIndex
mov byte [r10 + rax - 1], sil
inc rdi
shr rsi, 8
mov r10, r8
cmp rdi, 8
jge 0x579d45
lea r8, [r10 - 1]
nop word [rax + rax]
test r8, r8
jl 0x579d38
cmp rcx, r8
ja 0x579fba
jmp 0x57a005
lea rax, [0x006847a0]
lea rbx, [0x0075bf80]
nop
call sym.runtime.gopanic
mov rax, r8
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
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x48], r11
nop dword [rax + rax]
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]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x48]
jmp sym.crypto_ecdsa.verifyNISTEC_go.shape.uint8_