Function at 0x1400a0420
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
cmp dword [r8 + 0x10], 0
je 0x1400a046d
mov dword [rsp + 0x20], 0x1cf
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_div.c
xor ebp, ebp
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
call fcn.14009b3a0
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, r9
cmp dword [r9 + 0x10], 0
jne 0x1400a0437
movsxd rax, dword [rsi + 8]
test rax, rax
je 0x1400a07b3
mov rdi, r8
mov r14, rdx
mov r12, rcx
mov rcx, qword [rsi]
lea rdx, [rax - 1]
mov ebp, eax
and ebp, 7
mov ebx, 7
cmp rdx, rbx
jae 0x1400a04a9
xor ebx, ebx
xor edx, edx
jmp 0x1400a04e1
and rax, 0xfffffffffffffff8
xor ebx, ebx
xor edx, edx
or rdx, qword [rcx + rbx*8]
or rdx, qword [rcx + rbx*8 + 8]
or rdx, qword [rcx + rbx*8 + 0x10]
or rdx, qword [rcx + rbx*8 + 0x18]
or rdx, qword [rcx + rbx*8 + 0x20]
or rdx, qword [rcx + rbx*8 + 0x28]
or rdx, qword [rcx + rbx*8 + 0x30]
or rdx, qword [rcx + rbx*8 + 0x38]
add rbx, 8
cmp rax, rbx
jne 0x1400a04b1
test rbp, rbp
je 0x1400a04f8
lea rax, [rcx + rbx*8]
xor ecx, ecx
or rdx, qword [rax + rcx*8]
inc rcx
cmp rbp, rcx
jne 0x1400a04ec
test rdx, rdx
je 0x1400a07b3
mov r13, qword [rsp + 0xd0]
cmp byte [r13 + 0x28], 0
jne 0x1400a052e
mov rcx, qword [r13 + 0x10]
mov r15, qword [r13 + 0x20]
cmp rcx, qword [r13 + 0x18]
je 0x1400a07d6
mov rax, qword [r13 + 8]
mov qword [rax + rcx*8], r15
inc qword [r13 + 0x10]
test r12, r12
je 0x1400a0540
cmp r12, rdi
je 0x1400a0540
mov r15, r12
cmp r12, rsi
jne 0x1400a054b
mov rcx, r13
call fcn.14009f720
mov r15, rax
test r14, r14
je 0x1400a055d
cmp r14, rdi
je 0x1400a055d
mov rbx, r14
cmp r14, rsi
jne 0x1400a0568
mov rcx, r13
call fcn.14009f720
mov rbx, rax
mov rcx, r13
call fcn.14009f720
mov qword [rsp + 0x30], rax
xor ebp, ebp
test r15, r15
je 0x1400a08cb
test rbx, rbx
je 0x1400a08cb
cmp qword [rsp + 0x30], 0
je 0x1400a08cb
movsxd rdx, dword [rdi + 8]
mov rcx, r15
call fcn.14009d600
test eax, eax
je 0x1400a08cb
movsxd rdx, dword [rsi + 8]
mov rcx, rbx
call fcn.14009d600
test eax, eax
je 0x1400a08cb
movsxd rdx, dword [rsi + 8]
mov rcx, qword [rsp + 0x30]
call fcn.14009d600
test eax, eax
je 0x1400a08cb
movsxd r8, dword [rdi + 8]
xor ebp, ebp
mov eax, 0
test r8, r8
je 0x1400a05f4
shl r8, 3
mov rcx, qword [r15]
xor edx, edx
call fcn.1400f27e0
mov eax, dword [rdi + 8]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r14
mov dword [r15 + 8], eax
mov qword [rsp + 0x38], r15
mov dword [r15 + 0x10], 0
movsxd r8, dword [rsi + 8]
test r8, r8
je 0x1400a0629
shl r8, 3
mov rcx, qword [rbx]
xor edx, edx
call fcn.1400f27e0
mov ebp, dword [rsi + 8]
mov dword [rbx + 8], ebp
mov dword [rbx + 0x10], 0
mov eax, dword [rdi + 8]
test eax, eax
jle 0x1400a082a
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rbx
mov rbp, rax
add rax, 0xffffffffffffffff
mov qword [rsp + 0x50], rax
mov r10d, 0x3f
movsxd rcx, dword [rsi + 8]
mov rax, qword [rbx]
test rcx, rcx
je 0x1400a07ab
xor edx, edx
sub r15, r15
jmp 0x1400a0680
mov r15, qword [rax + rdx*8]
adc r15, qword [rax + rdx*8]
mov qword [rax + rdx*8], r15
lea rdx, [rdx + 1]
dec rcx
jne 0x1400a0680
sbb r15, r15
and r15d, 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
mov r9, rbp
mov rdx, qword [rcx + rbp*8 - 8]
mov ecx, r10d
shr rdx, cl
and edx, 1
or qword [rax], rdx
movsxd r14, dword [rsi + 8]
test r14, r14
je 0x1400a08fc
mov rax, qword [rsp + 0x30]
mov rdi, qword [rax]
mov rbx, qword [rbx]
mov r13, rsi
mov rax, qword [rsi]
xor edx, edx
mov rcx, r14
sub rbp, rbp
jmp 0x1400a06e0
mov rbp, qword [rbx + rdx*8]
sbb rbp, qword [rax + rdx*8]
mov qword [rdi + rdx*8], rbp
lea rdx, [rdx + 1]
dec rcx
jne 0x1400a06e0
sbb rbp, rbp
and ebp, 1
sub r15, rbp
mov rcx, r15
mov rbp, r15
not rbp
mov eax, 0
cmp r14d, 1
je 0x1400a0751
mov r11, r14
and r11, 0xfffffffffffffffe
xor eax, eax
mov r8, qword [rbx + rax*8]
and r8, rcx
mov r12, qword [rdi + rax*8]
and r12, rbp
or r12, r8
mov qword [rbx + rax*8], r12
mov rsi, qword [rbx + rax*8 + 8]
and rsi, rcx
mov rdx, qword [rdi + rax*8 + 8]
and rdx, rbp
or rdx, rsi
mov qword [rbx + rax*8 + 8], rdx
add rax, 2
cmp r11, rax
jne 0x1400a071b
test r14b, 1
je 0x1400a0766
and rcx, qword [rbx + rax*8]
and rbp, qword [rdi + rax*8]
or rbp, rcx
mov qword [rbx + rax*8], rbp
mov rbp, r9
not r15d
and r15d, 1
mov ecx, r10d
shl r15, cl
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
or qword [rax + r9*8 - 8], r15
sub r10, 1
mov rsi, r13
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
jae 0x1400a065a
cmp rbp, 2
mov rax, qword [rsp + 0x50]
jge 0x1400a0648
jmp 0x1400a082a
xor r15d, r15d
jmp 0x1400a069f
mov dword [rsp + 0x20], 0x1d3
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_div.c
xor ebp, ebp
mov ecx, 3
xor edx, edx
mov r8d, 0x69
jmp 0x1400a0455
lea rax, [rcx + rcx*2]
shr rax, 1
test rcx, rcx
mov ebx, 0x20
cmovne rbx, rax
cmp rbx, rcx
jbe 0x1400a0904
mov rax, rbx
shr rax, 0x3d
jne 0x1400a0904
lea rdx, [rbx*8]
mov rcx, qword [r13 + 8]
call fcn.1400c6860
test rax, rax
je 0x1400a0904
mov qword [r13 + 8], rax
mov qword [r13 + 0x18], rbx
mov rcx, qword [r13 + 0x10]
jmp 0x1400a0526
mov rsi, qword [rsp + 0x40]
test rsi, rsi
mov rdi, qword [rsp + 0x48]
mov r13, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0x38]
je 0x1400a0888
cmp rbp, rsi
je 0x1400a0888
movsxd rdx, dword [rbp + 8]
mov rcx, rsi
call fcn.14009d600
test eax, eax
je 0x1400a0910
movsxd r8, dword [rbp + 8]
test r8, r8
je 0x1400a08f4
shl r8, 3
mov rcx, qword [rsi]
mov rdx, qword [rbp]
call fcn.1400f23d0
mov eax, dword [rbp + 8]
mov dword [rsi + 8], eax
mov eax, dword [rbp + 0x10]
mov dword [rsi + 0x10], eax
mov ebp, 1
test rdi, rdi
je 0x1400a08cb
cmp rbx, rdi
je 0x1400a08cb
movsxd rdx, dword [rbx + 8]
mov rcx, rdi
call fcn.14009d600
test eax, eax
je 0x1400a0910
movsxd r8, dword [rbx + 8]
test r8, r8
je 0x1400a08f8
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
cmp byte [r13 + 0x28], 0
jne 0x1400a045a
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 0x1400a045a
xor eax, eax
jmp 0x1400a087f
xor eax, eax
jmp 0x1400a08c2
mov r13, rsi
jmp 0x1400a0766
mov word [r13 + 0x28], 0x101
jmp 0x1400a052e
xor ebp, ebp
jmp 0x1400a08cb