Function at 0x4f9ea0
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x8e0]
cmp r12, qword [r14 + 0x10]
jbe 0x4fa91a
push rbp
mov rbp, rsp
sub rsp, 0x958
mov qword [rsp + 0x968], rax
mov byte [rsp + 0x988], sil
mov qword [rsp + 0x980], rdi
mov qword [rsp + 0x978], rcx
mov qword [rsp + 0x970], rbx
cmp qword [rax + 0x20], 2
jg 0x4f9f2c
nop
call sym.crypto_internal_boring_sig.StandardCrypto.abi0
xorps xmm15, xmm15
mov r14, qword [0x006fffd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x968]
mov rcx, qword [rsp + 0x978]
mov rbx, qword [rsp + 0x970]
movzx esi, byte [rsp + 0x988]
mov rdi, qword [rsp + 0x980]
nop
lea rdi, [rsp + 0x548]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004662b4
mov rbp, qword [rbp]
mov qword [rsp + 0x910], 0
movups xmmword [rsp + 0x918], xmm15
lea r8, [rsp + 0x548]
mov qword [rsp + 0x910], r8
mov qword [rsp + 0x918], 0
mov qword [rsp + 0x920], 0x20
mov r8, qword [rax + 0x60]
test r8, r8
je 0x4fa593
mov qword [rsp + 0x890], r8
mov rcx, qword [rax + 0x68]
mov qword [rsp + 0x870], rcx
mov rdx, qword [rax + 0x70]
mov qword [rsp + 0x868], rdx
lea rdi, [rsp + 0x248]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004662b4
mov rbp, qword [rbp]
mov qword [rsp + 0x8c8], 0
movups xmmword [rsp + 0x8d0], xmm15
lea rbx, [rsp + 0x248]
mov qword [rsp + 0x8c8], rbx
mov qword [rsp + 0x8d0], 0
mov qword [rsp + 0x8d8], 0x20
mov rbx, qword [rax + 0x40]
mov rax, rbx
nop dword [rax]
call sym.math_big._Int_.Bytes
mov rdi, rcx
mov rsi, qword [rsp + 0x870]
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0x8c8]
nop
call sym.crypto_internal_bigmod._Nat_.SetBytes
test rbx, rbx
jne 0x4fa575
mov qword [rsp + 0x860], rax
lea rdi, [rsp + 0x148]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004662b4
mov rbp, qword [rbp]
mov qword [rsp + 0x8b0], 0
movups xmmword [rsp + 0x8b8], xmm15
lea rdx, [rsp + 0x148]
mov qword [rsp + 0x8b0], rdx
mov qword [rsp + 0x8b8], 0
mov qword [rsp + 0x8c0], 0x20
lea rax, [rsp + 0x8b0]
mov rbx, qword [rsp + 0x970]
mov rcx, qword [rsp + 0x978]
mov rdi, qword [rsp + 0x980]
mov rsi, qword [rsp + 0x890]
call sym.crypto_internal_bigmod._Nat_.SetBytes
nop dword [rax]
test rbx, rbx
je 0x4fa103
mov rdi, qword [0x006a3ff0]
mov rsi, qword [0x006a3ff8]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x958
pop rbp
ret
mov qword [rsp + 0x858], rax
lea rdi, [rsp + 0x48]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004662b4
mov rbp, qword [rbp]
mov qword [rsp + 0x898], 0
movups xmmword [rsp + 0x8a0], xmm15
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x898], rdx
mov qword [rsp + 0x8a0], 0
mov qword [rsp + 0x8a8], 0x20
mov rbx, rax
mov rcx, qword [rsp + 0x870]
lea rax, [rsp + 0x910]
call sym.crypto_internal_bigmod._Nat_.Mod
mov qword [rsp + 0x888], rax
mov rdx, qword [rsp + 0x968]
mov rsi, qword [rdx + 0x30]
mov rax, rsi
nop dword [rax]
call sym.math_big._Int_.Bytes
mov rdi, rbx
mov rsi, rcx
mov r8, qword [rsp + 0x870]
mov rbx, qword [rsp + 0x888]
mov rcx, rax
lea rax, [rsp + 0x898]
call sym.crypto_internal_bigmod._Nat_.Exp
mov qword [rsp + 0x850], rax
lea rdi, [rsp + 0x748]
nop dword [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004662b4
mov rbp, qword [rbp]
mov qword [rsp + 0x940], 0
movups xmmword [rsp + 0x948], xmm15
lea rdx, [rsp + 0x748]
mov qword [rsp + 0x940], rdx
mov qword [rsp + 0x948], 0
mov qword [rsp + 0x950], 0x20
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x868]
lea rax, [rsp + 0x910]
call sym.crypto_internal_bigmod._Nat_.Mod
mov qword [rsp + 0x888], rax
mov rdx, qword [rsp + 0x968]
mov rsi, qword [rdx + 0x38]
mov rax, rsi
call sym.math_big._Int_.Bytes
mov rdi, rbx
mov rsi, rcx
mov r8, qword [rsp + 0x868]
mov rbx, qword [rsp + 0x888]
mov rcx, rax
lea rax, [rsp + 0x940]
call sym.crypto_internal_bigmod._Nat_.Exp
mov qword [rsp + 0x848], rax
mov rbx, rax
mov rcx, qword [rsp + 0x870]
lea rax, [rsp + 0x910]
call sym.crypto_internal_bigmod._Nat_.Mod
mov rbx, rax
mov rcx, qword [rsp + 0x870]
mov rax, qword [rsp + 0x850]
call sym.crypto_internal_bigmod._Nat_.Sub
mov rax, qword [rsp + 0x850]
mov rbx, qword [rsp + 0x860]
mov rcx, qword [rsp + 0x870]
nop
call sym.crypto_internal_bigmod._Nat_.Mul
mov rcx, qword [rsp + 0x890]
mov rdx, qword [rcx]
mov rbx, qword [rdx + 8]
mov rdx, qword [rsp + 0x850]
mov rsi, qword [rdx + 8]
cmp rsi, rbx
jg 0x4fa906
mov qword [rsp + 0x40], rbx
mov rdi, qword [rdx + 0x10]
cmp rdi, rbx
jl 0x4fa374
mov r8, qword [rdx]
mov r9, rsi
sub rsi, rdi
mov rdi, r9
shl r9, 3
sar rsi, 0x3f
and rsi, r9
mov r9, rbx
sub r9, rdi
lea rax, [r8 + rsi]
test r9, r9
je 0x4fa35e
shl r9, 3
mov rbx, r9
call sym.runtime.memclrNoHeapPointers
mov rcx, qword [rsp + 0x890]
mov rdx, qword [rsp + 0x850]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rdx + 0x10]
cmp rsi, rbx
jb 0x4fa8fb
mov qword [rdx + 8], rbx
jmp 0x4fa3fc
lea rax, [0x0054d0e0]
mov rcx, rbx
nop
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x850]
mov rbx, qword [rdx]
mov rsi, qword [rdx + 8]
mov rcx, qword [rsp + 0x40]
cmp rsi, rcx
mov rdi, rcx
cmovl rdi, rsi
cmp rax, rbx
je 0x4fa3d1
mov qword [rsp + 0x880], rax
shl rdi, 3
mov rcx, rdi
call sym.runtime.memmove
mov rax, qword [rsp + 0x880]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x850]
mov qword [rdx + 8], rcx
mov qword [rdx + 0x10], rcx
cmp dword [0x00700060], 0
je 0x4fa3f1
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rdx]
mov qword [r11 + 8], rsi
mov qword [rdx], rax
mov rcx, qword [rsp + 0x890]
mov rdx, qword [rsp + 0x868]
mov rbx, qword [rdx]
lea rax, [rsp + 0x910]
call sym.crypto_internal_bigmod._Nat_.Mod
mov rbx, rax
mov rcx, qword [rsp + 0x890]
mov rax, qword [rsp + 0x850]
call sym.crypto_internal_bigmod._Nat_.Mul
mov rcx, qword [rsp + 0x890]
mov rdx, qword [rcx]
mov rbx, qword [rdx + 8]
mov rdx, qword [rsp + 0x848]
mov rsi, qword [rdx + 8]
cmp rsi, rbx
jg 0x4fa8e8
mov qword [rsp + 0x38], rbx
mov rdi, qword [rdx + 0x10]
cmp rdi, rbx
jl 0x4fa4bc
mov r8, qword [rdx]
mov r9, rsi
sub rsi, rdi
mov rdi, r9
shl r9, 3
sar rsi, 0x3f
and rsi, r9
mov r9, rbx
sub r9, rdi
lea rax, [r8 + rsi]
nop
test r9, r9
je 0x4fa4a6
shl r9, 3
mov rbx, r9
call sym.runtime.memclrNoHeapPointers
mov rcx, qword [rsp + 0x890]
mov rdx, qword [rsp + 0x848]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rdx + 0x10]
cmp rsi, rbx
jb 0x4fa8dd
mov qword [rdx + 8], rbx
jmp 0x4fa548
lea rax, [0x0054d0e0]
mov rcx, rbx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x848]
mov rdx, qword [rbx]
mov rsi, qword [rbx + 8]
mov rcx, qword [rsp + 0x38]
cmp rsi, rcx
mov rdi, rcx
cmovl rdi, rsi
cmp rax, rdx
je 0x4fa51a
mov qword [rsp + 0x880], rax
shl rdi, 3
mov rbx, rdx
mov rcx, rdi
call sym.runtime.memmove
mov rax, qword [rsp + 0x880]
mov rcx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x848]
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rcx
cmp dword [0x00700060], 0
je 0x4fa53a
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rdx, qword [rbx]
mov qword [r11 + 8], rdx
mov qword [rbx], rax
mov rcx, qword [rsp + 0x890]
mov rdx, rbx
mov rax, qword [rsp + 0x850]
mov rbx, rdx
call sym.crypto_internal_bigmod._Nat_.Add
mov rax, qword [rsp + 0x850]
mov rcx, qword [rsp + 0x890]
mov rdx, qword [rsp + 0x858]
jmp 0x4fa6fb
mov rdi, qword [0x006a3ff0]
mov rsi, qword [0x006a3ff8]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x958
pop rbp
ret
mov rcx, qword [rax]
mov rax, rcx
call sym.crypto_internal_bigmod.NewModulusFromBig
nop
test rbx, rbx
jne 0x4fa84c
mov qword [rsp + 0x878], rax
lea rdi, [rsp + 0x448]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004662b4
mov rbp, qword [rbp]
mov qword [rsp + 0x8f8], 0
movups xmmword [rsp + 0x900], xmm15
lea rdx, [rsp + 0x448]
mov qword [rsp + 0x8f8], rdx
mov qword [rsp + 0x900], 0
mov qword [rsp + 0x908], 0x20
mov rbx, qword [rsp + 0x970]
mov rcx, qword [rsp + 0x978]
mov rdi, qword [rsp + 0x980]
mov rsi, rax
lea rax, [rsp + 0x8f8]
call sym.crypto_internal_bigmod._Nat_.SetBytes
nop dword [rax + rax]
test rbx, rbx
jne 0x4fa82e
mov qword [rsp + 0x858], rax
lea rdi, [rsp + 0x348]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004662b4
mov rbp, qword [rbp]
mov qword [rsp + 0x8e0], 0
movups xmmword [rsp + 0x8e8], xmm15
lea rcx, [rsp + 0x348]
mov qword [rsp + 0x8e0], rcx
mov qword [rsp + 0x8e8], 0
mov qword [rsp + 0x8f0], 0x20
mov rcx, qword [rsp + 0x968]
mov rax, qword [rcx + 0x10]
nop dword [rax]
call sym.math_big._Int_.Bytes
mov rdi, rbx
mov rsi, rcx
mov r8, qword [rsp + 0x878]
mov rbx, qword [rsp + 0x858]
mov rcx, rax
lea rax, [rsp + 0x8e0]
call sym.crypto_internal_bigmod._Nat_.Exp
mov rcx, qword [rsp + 0x878]
mov rdx, qword [rsp + 0x858]
mov qword [rsp + 0x850], rax
movzx esi, byte [rsp + 0x988]
test sil, sil
je 0x4fa7b9
mov qword [rsp + 0x858], rdx
mov qword [rsp + 0x878], rcx
lea rdi, [rsp + 0x648]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004662b4
mov rbp, qword [rbp]
mov qword [rsp + 0x928], 0
movups xmmword [rsp + 0x930], xmm15
lea rdx, [rsp + 0x648]
mov qword [rsp + 0x928], rdx
mov qword [rsp + 0x930], 0
mov qword [rsp + 0x938], 0x20
mov rdx, qword [rsp + 0x968]
mov rdx, qword [rdx + 8]
mov rbx, rax
mov rdi, rcx
lea rax, [rsp + 0x928]
mov rcx, rdx
call sym.crypto_internal_bigmod._Nat_.ExpShort
mov rbx, qword [rsp + 0x858]
call sym.crypto_internal_bigmod._Nat_.Equal
cmp rax, 1
jne 0x4fa810
mov rcx, qword [rsp + 0x878]
mov rdx, qword [rcx]
mov rdx, qword [rdx + 8]
shl rdx, 6
sub rdx, qword [rcx + 8]
lea rsi, [rdx + 7]
sar rsi, 0x3f
shr rsi, 0x3d
lea rcx, [rsi + rdx]
lea rcx, [rcx + 7]
sar rcx, 3
mov qword [rsp + 0x30], rcx
nop
lea rax, [0x0054d0a0]
mov rbx, rcx
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x850]
mov rsi, qword [rdx]
mov rdx, qword [rdx + 8]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
xor ebx, ebx
jmp 0x4fa870
mov rdi, qword [0x006a3ff0]
mov rsi, qword [0x006a3ff8]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x958
pop rbp
ret
mov rdi, qword [0x006a3ff0]
mov rsi, qword [0x006a3ff8]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x958
pop rbp
ret
mov rdi, qword [0x006a3ff0]
mov rsi, qword [0x006a3ff8]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x958
pop rbp
ret
inc rbx
mov rdi, r10
cmp rbx, rdx
jge 0x4fa88c
mov r8, qword [rsi + rbx*8]
xor r9d, r9d
jmp 0x4fa8ab
test r8, r8
je 0x4fa86a
jmp 0x4fa8c2
mov r10, rdi
jmp 0x4fa86a
mov rbx, rcx
xor edi, edi
xor esi, esi
add rsp, 0x958
pop rbp
ret
mov byte [rdi + rax - 1], r8b
inc r9
shr r8, 8
mov rdi, r10
cmp r9, 8
jge 0x4fa887
lea r10, [rdi - 1]
test r10, r10
jl 0x4fa880
cmp rcx, r10
ja 0x4fa89c
nop
jmp 0x4fa8d5
lea rax, [0x0054cd60]
lea rbx, [0x005c87c0]
call sym.runtime.gopanic
mov rax, r10
call sym.runtime.panicIndex
mov rcx, rbx
mov rdx, rsi
call sym.runtime.panicSliceAcap
lea rax, [0x0054cd60]
lea rbx, [0x005c87f0]
call sym.runtime.gopanic
mov rcx, rbx
mov rdx, rsi
call sym.runtime.panicSliceAcap
lea rax, [0x0054cd60]
lea rbx, [0x005c87f0]
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
mov byte [rsp + 0x28], sil
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]
movzx esi, byte [rsp + 0x28]
jmp sym.crypto_rsa.decrypt