Function at 0x1400a7bb0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
cmp dword [rdx + 8], 0
jle 0x1400a7bd1
mov rbx, rdx
mov rax, qword [rdx]
test byte [rax], 1
jne 0x1400a7c0c
mov dword [rsp + 0x20], 0x49
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_jacobi.c
mov ecx, 3
xor edx, edx
mov r8d, 0x68
call fcn.14009b3a0
mov r14d, 0xfffffffe
mov eax, r14d
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp dword [rbx + 0x10], 0
je 0x1400a7c30
mov dword [rsp + 0x20], 0x4f
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_jacobi.c
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x1400a7bed
mov r13, r8
mov rsi, rcx
cmp byte [r8 + 0x28], 0
jne 0x1400a7c5b
mov rcx, qword [r13 + 0x10]
mov rdi, qword [r13 + 0x20]
cmp rcx, qword [r13 + 0x18]
je 0x1400a7fae
mov rax, qword [r13 + 8]
mov qword [rax + rcx*8], rdi
inc qword [r13 + 0x10]
mov rcx, r13
call fcn.14009f720
mov r12, rax
mov rcx, r13
call fcn.14009f720
mov r14d, 0xfffffffe
test rax, rax
je 0x1400a8013
mov rdi, rax
cmp r12, rsi
je 0x1400a8159
movsxd rdx, dword [rsi + 8]
mov rcx, r12
call fcn.14009d600
test eax, eax
je 0x1400a8013
movsxd r8, dword [rsi + 8]
test r8, r8
je 0x1400a8044
shl r8, 3
mov rcx, qword [r12]
mov rdx, qword [rsi]
call fcn.1400f23d0
mov eax, dword [rsi + 8]
mov dword [r12 + 8], eax
mov eax, dword [rsi + 0x10]
mov dword [r12 + 0x10], eax
cmp rdi, rbx
je 0x1400a7d0b
movsxd rdx, dword [rbx + 8]
mov rcx, rdi
call fcn.14009d600
test eax, eax
je 0x1400a8013
movsxd r8, dword [rbx + 8]
test r8, r8
je 0x1400a804b
shl r8, 3
mov rcx, qword [rdi]
mov rdx, qword [rbx]
call fcn.1400f23d0
mov eax, dword [rbx + 8]
mov dword [rdi + 8], eax
mov eax, dword [rbx + 0x10]
mov dword [rdi + 0x10], eax
movsxd rsi, dword [r12 + 8]
mov r14d, 1
test rsi, rsi
je 0x1400a8002
mov rax, qword [r12]
lea rcx, [rsi - 1]
mov edx, esi
and edx, 7
mov ebp, 7
cmp rcx, rbp
jae 0x1400a7d3c
xor ebx, ebx
xor ebp, ebp
jmp 0x1400a7d77
mov rcx, rsi
and rcx, 0xfffffffffffffff8
xor ebx, ebx
xor ebp, ebp
or rbp, qword [rax + rbx*8]
or rbp, qword [rax + rbx*8 + 8]
or rbp, qword [rax + rbx*8 + 0x10]
or rbp, qword [rax + rbx*8 + 0x18]
or rbp, qword [rax + rbx*8 + 0x20]
or rbp, qword [rax + rbx*8 + 0x28]
or rbp, qword [rax + rbx*8 + 0x30]
or rbp, qword [rax + rbx*8 + 0x38]
add rbx, 8
cmp rcx, rbx
jne 0x1400a7d47
test rdx, rdx
je 0x1400a7d8e
lea rcx, [rax + rbx*8]
xor ebx, ebx
or rbp, qword [rcx + rbx*8]
inc rbx
cmp rdx, rbx
jne 0x1400a7d82
test rbp, rbp
je 0x1400a8002
mov r14d, 1
mov qword [rsp + 0x40], r13
mov rbx, r12
mov r12, rdi
movsxd rdx, esi
mov ebp, 0xffffffff
mov r15, 0xffffffffffffffff
inc ebp
mov edi, ebp
shr edi, 6
cmp rdi, rdx
jae 0x1400a8052
mov rsi, qword [rax + rdi*8]
mov ecx, ebp
shr rsi, cl
and esi, 1
inc r15
test esi, esi
je 0x1400a7db7
mov rcx, rbx
call fcn.14009d600
test eax, eax
je 0x1400a803c
movsxd r13, dword [rbx + 8]
mov rsi, qword [rbx]
cmp r13, rdi
jbe 0x1400a8059
mov eax, ebp
and eax, 0x3f
jne 0x1400a8073
mov r8, r13
sub r8, rdi
je 0x1400a7e1d
shl r8, 3
lea rdx, [rsi + rdi*8]
mov rcx, rsi
call fcn.1400f23d0
test edi, edi
je 0x1400a7e36
shl rdi, 3
lea rcx, [rsi + r13*8]
sub rcx, rdi
xor edx, edx
mov r8, rdi
call fcn.1400f27e0
movsxd rcx, dword [rbx + 8]
mov edx, ecx
sar edx, 0x1f
and edx, ecx
lea eax, [rcx + 1]
mov r13, qword [rsp + 0x40]
test rcx, rcx
jle 0x1400a8167
mov rdi, qword [rbx]
dec eax
cmp qword [rdi + rcx*8 - 8], 0
lea rcx, [rcx - 1]
je 0x1400a7e49
mov dword [rbx + 8], eax
test eax, eax
je 0x1400a814d
test bpl, 1
je 0x1400a7e96
cmp dword [r12 + 8], 0
je 0x1400a7fa0
mov rcx, qword [r12]
mov rcx, qword [rcx]
and ecx, 7
lea rdx, [0x140138140]
imul r14d, dword [rdx + rcx*4]
mov esi, r14d
cmp dword [rbx + 0x10], 0
je 0x1400a7f83
test eax, eax
je 0x1400a7f99
mov rax, qword [rbx]
mov rdi, qword [rax]
not rdi
cmp dword [r12 + 8], 0
je 0x1400a7f92
mov rax, qword [r12]
mov rbp, qword [rax]
mov rcx, r12
mov rdx, r12
mov r8, rbx
mov r9, r13
call fcn.1400a03b0
test eax, eax
je 0x1400a803c
and edi, ebp
mov r14d, esi
neg r14d
test dil, 2
cmove r14d, esi
xor eax, eax
mov dword [rbx + 0x10], eax
movsxd rsi, dword [r12 + 8]
test rsi, rsi
je 0x1400a8005
mov rax, qword [r12]
lea rcx, [rsi - 1]
mov edx, esi
and edx, 7
mov ebp, 7
cmp rcx, rbp
jae 0x1400a7f20
xor edi, edi
xor ebp, ebp
jmp 0x1400a7f5b
mov rcx, rsi
and rcx, 0xfffffffffffffff8
xor edi, edi
xor ebp, ebp
or rbp, qword [rax + rdi*8]
or rbp, qword [rax + rdi*8 + 8]
or rbp, qword [rax + rdi*8 + 0x10]
or rbp, qword [rax + rdi*8 + 0x18]
or rbp, qword [rax + rdi*8 + 0x20]
or rbp, qword [rax + rdi*8 + 0x28]
or rbp, qword [rax + rdi*8 + 0x30]
or rbp, qword [rax + rdi*8 + 0x38]
add rdi, 8
cmp rcx, rdi
jne 0x1400a7f2b
test rdx, rdx
je 0x1400a7f72
lea rcx, [rax + rdi*8]
xor edi, edi
or rbp, qword [rcx + rdi*8]
inc rdi
cmp rdx, rdi
jne 0x1400a7f66
mov rdi, rbx
test rbp, rbp
jne 0x1400a7da2
jmp 0x1400a8005
test eax, eax
je 0x1400a7fa7
mov rax, qword [rbx]
mov rdi, qword [rax]
jmp 0x1400a7eb4
xor ebp, ebp
jmp 0x1400a7ec7
xor edi, edi
jmp 0x1400a7eb1
xor ecx, ecx
jmp 0x1400a7e87
xor edi, edi
jmp 0x1400a7eb4
lea rax, [rcx + rcx*2]
shr rax, 1
test rcx, rcx
mov ebp, 0x20
cmovne rbp, rax
cmp rbp, rcx
jbe 0x1400a8141
mov rax, rbp
shr rax, 0x3d
jne 0x1400a8141
lea rdx, [rbp*8]
mov rcx, qword [r13 + 8]
call fcn.1400c6860
test rax, rax
je 0x1400a8141
mov qword [r13 + 8], rax
mov qword [r13 + 0x18], rbp
mov rcx, qword [r13 + 0x10]
jmp 0x1400a7c53
mov rbx, rdi
mov rcx, rbx
call fcn.14009f350
test eax, eax
cmove r14d, eax
cmp byte [r13 + 0x28], 0
jne 0x1400a7bf8
mov rax, qword [r13 + 8]
mov rcx, qword [r13 + 0x10]
lea rdx, [rcx - 1]
mov qword [r13 + 0x10], rdx
mov rax, qword [rax + rcx*8 - 8]
mov qword [r13 + 0x20], rax
jmp 0x1400a7bf8
mov r14d, 0xfffffffe
jmp 0x1400a8013
xor eax, eax
jmp 0x1400a7cbd
xor eax, eax
jmp 0x1400a7d02
xor esi, esi
jmp 0x1400a7dd3
test r13d, r13d
je 0x1400a7e36
shl r13, 3
mov rcx, rsi
xor edx, edx
mov r8, r13
jmp 0x1400a7e31
lea r9, [r13 - 1]
mov rcx, r9
mov r10d, eax
sub rcx, rdi
mov qword [rsp + 0x38], rcx
jbe 0x1400a8128
mov r11d, 0x40
sub r11d, eax
mov eax, edi
not eax
add eax, r13d
lea r8, [r13 - 2]
test al, 1
jne 0x1400a80a8
mov rax, rdi
jmp 0x1400a80ce
mov rax, qword [rsi + rdi*8]
mov ecx, r10d
shr rax, cl
mov qword [rsp + 0x30], rax
mov rdx, qword [rsi + rdi*8 + 8]
mov ecx, r11d
shl rdx, cl
lea rax, [rdi + 1]
or rdx, qword [rsp + 0x30]
mov qword [rsi], rdx
cmp r8, rdi
je 0x1400a8128
shr r15, 3
and r15, 0xfffffffffffffff8
mov r8, rsi
sub r8, r15
add r8, 8
mov r15, qword [rsi + rax*8]
mov ecx, r10d
shr r15, cl
mov rdx, qword [rsi + rax*8 + 8]
mov ecx, r11d
shl rdx, cl
or rdx, r15
mov qword [r8 + rax*8 - 8], rdx
mov r15, qword [rsi + rax*8 + 8]
mov ecx, r10d
shr r15, cl
mov rdx, qword [rsi + rax*8 + 0x10]
mov ecx, r11d
shl rdx, cl
or rdx, r15
mov qword [r8 + rax*8], rdx
add rax, 2
cmp r9, rax
jne 0x1400a80e5
mov rax, qword [rsi + r13*8 - 8]
mov ecx, r10d
shr rax, cl
mov rcx, qword [rsp + 0x38]
mov qword [rsi + rcx*8], rax
jmp 0x1400a7e1d
mov word [r13 + 0x28], 0x101
jmp 0x1400a7c5b
mov dword [rbx + 0x10], 0
jmp 0x1400a7e6e
test rsi, rsi
jne 0x1400a7cca
jmp 0x1400a8013
mov eax, edx
jmp 0x1400a7e63