Function at 0x239118840
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x239118adf
push rbp
mov rbp, rsp
sub rsp, 0x68
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x78], rax
xor edx, edx
jmp 0x239118880
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov qword [rsp + 0x60], rdx
mov rcx, qword [rax + 0x30]
mov rax, rbx
call rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rcx + 0x10]
lea rbx, [rdx - 1]
nop
test rbx, rbx
jl 0x239118906
mov rsi, qword [rcx + 8]
mov rdx, qword [rsi + rdx*8 - 8]
mov rsi, rdx
shr rdx, 1
or rsi, rdx
mov rdx, rsi
shr rsi, 2
or rdx, rsi
mov rsi, rdx
shr rdx, 4
or rsi, rdx
mov rdx, rsi
shr rsi, 8
or rdx, rsi
mov rsi, rdx
shr rdx, 0x10
or rsi, rdx
mov rdx, rsi
shr rsi, 0x20
or rdx, rsi
shl rbx, 6
bsr rdx, rdx
mov rsi, 0xffffffffffffffff
cmove rdx, rsi
lea rdx, [rbx + rdx]
lea rdx, [rdx + 1]
jmp 0x239118908
xor edx, edx
lea rsi, [rdx + 7]
sar rsi, 0x3f
shr rsi, 0x3d
lea rcx, [rsi + rdx]
lea rcx, [rcx + 7]
sar rcx, 3
mov qword [rsp + 0x38], rcx
lea rax, [0x2391b0880]
mov rbx, rcx
call dbg.runtime.makeslice
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x90]
mov rcx, rax
mov rdi, qword [rsp + 0x38]
mov rsi, rdi
mov r8, rsi
mov rax, qword [rsp + 0x88]
call dbg.io.ReadAtLeast
nop dword [rax]
test rbx, rbx
jne 0x239118ac9
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rdx + 0x10]
lea rdi, [rsi - 1]
test rdi, rdi
jl 0x2391189dc
mov r8, qword [rdx + 8]
mov rsi, qword [r8 + rsi*8 - 8]
mov r8, rsi
shr rsi, 1
or r8, rsi
mov rsi, r8
shr r8, 2
or rsi, r8
mov r8, rsi
shr rsi, 4
or r8, rsi
mov rsi, r8
shr r8, 8
or rsi, r8
mov r8, rsi
shr rsi, 0x10
or r8, rsi
mov rsi, r8
shr r8, 0x20
or rsi, r8
shl rdi, 6
bsr rsi, rsi
mov r8, 0xffffffffffffffff
cmove rsi, r8
lea rsi, [rdi + rsi]
lea rsi, [rsi + 1]
jmp 0x2391189de
xor esi, esi
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x30], rbx
mov rdi, qword [rsp + 0x38]
mov r8, rdi
shl rdi, 3
sub rdi, rsi
test rdi, rdi
jle 0x239118a24
nop dword [rax]
test r8, r8
jbe 0x239118ad4
mov rsi, qword [rsp + 0x58]
movzx r9d, byte [rsi]
mov rcx, rdi
shr r9b, cl
cmp rcx, 8
sbb edi, edi
and r9d, edi
mov byte [rsi], r9b
lea rax, [0x2391c5e80]
call sym.runtime.newobject
mov qword [rsp + 0x40], rax
mov rbx, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rdx, qword [rax + 8]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x38]
mov r8, rsi
mov rax, rdx
call dbg.math/big.nat.setBytes
mov rdx, qword [rsp + 0x40]
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], rcx
cmp dword [0x23938d1d0], 0
je 0x239118a7c
call dbg.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rcx, qword [rdx + 8]
mov qword [r11 + 8], rcx
mov qword [rdx + 8], rax
mov byte [rdx], 0
cmp qword [rdx + 0x10], 0
setne cl
movzx ecx, cl
test rcx, rcx
je 0x239118873
mov rax, rdx
mov rbx, qword [rsp + 0x50]
nop
call dbg.math/big.(*Int).Cmp
test rax, rax
jl 0x239118ab4
mov rdx, qword [rsp + 0x40]
jmp 0x239118873
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rax, qword [rsp + 0x60]
add rsp, 0x68
pop rbp
ret
xor eax, eax
mov rcx, rax
call dbg.runtime.panicIndex
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp dbg.crypto/ecdsa.randFieldElement