Function at 0x14008a6f0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r14d, edx
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x70], rax
test r14b, 0x3f
je 0x14008a740
mov dword [rsp + 0x20], 0x40d
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_rsa_impl.c
xor esi, esi
mov ecx, 4
xor edx, edx
mov r8d, 0x44
call fcn.14004a6a0
jmp 0x14008ac42
cmp r14d, 0x3ffffff
jl 0x14008a771
mov dword [rsp + 0x20], 0x432
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_rsa_impl.c
xor esi, esi
mov ecx, 4
xor edx, edx
mov r8d, 0x80
call fcn.14004a6a0
jmp 0x14008ac42
mov rdi, r9
mov rbp, r8
mov r15, rcx
mov r13, qword [rsp + 0xf0]
mov eax, dword [r8 + 8]
test rax, rax
je 0x14008a82b
mov rcx, qword [rbp]
mov r8, qword [rcx]
xor r8, 3
cmp eax, 2
jl 0x14008a81c
mov edx, 1
cmp eax, 5
jb 0x14008a810
lea r9, [rax - 1]
mov r10, r9
and r10, 0xfffffffffffffffc
lea rdx, [r10 + 1]
movq xmm1, r8
pxor xmm0, xmm0
xor r8d, r8d
nop word cs:[rax + rax]
movdqu xmm2, xmmword [rcx + r8*8 + 8]
por xmm1, xmm2
movdqu xmm2, xmmword [rcx + r8*8 + 0x18]
por xmm0, xmm2
add r8, 4
cmp r10, r8
jne 0x14008a7d0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq r8, xmm1
cmp r9, r10
je 0x14008a81c
nop word cs:[rax + rax]
or r8, qword [rcx + rdx*8]
inc rdx
cmp rax, rdx
jne 0x14008a810
test r8, r8
jne 0x14008a82b
cmp dword [rbp + 0x10], 0
je 0x14008a8ad
lea ebx, [r14 + r14*4]
cmp byte [r13 + 0x28], 0
jne 0x14008a8c0
mov rcx, qword [r13 + 0x10]
mov rsi, qword [r13 + 0x20]
cmp rcx, qword [r13 + 0x18]
jne 0x14008a893
mov r12d, ebx
lea rax, [rcx + rcx*2]
shr rax, 1
test rcx, rcx
mov ebx, 0x20
cmovne rbx, rax
cmp rbx, rcx
jbe 0x14008a8a1
mov rax, rbx
shr rax, 0x3d
jne 0x14008a8a1
lea rdx, [rbx*8]
mov rcx, qword [r13 + 8]
call fcn.1400936f0
test rax, rax
je 0x14008a8a1
mov qword [r13 + 8], rax
mov qword [r13 + 0x18], rbx
mov rcx, qword [r13 + 0x10]
mov ebx, r12d
jmp 0x14008a897
mov rax, qword [r13 + 8]
mov qword [rax + rcx*8], rsi
inc qword [r13 + 0x10]
jmp 0x14008a8c0
mov word [r13 + 0x28], 0x101
mov ebx, r12d
jmp 0x14008a8c0
lea ebx, [r14*8]
cmp byte [r13 + 0x28], 0
je 0x14008a83a
mov rcx, r13
call fcn.140055620
test rax, rax
je 0x14008ac20
mov r12, rax
mov qword [rsp + 0x58], rbp
mov rsi, qword [rsp + 0xf8]
test r15, r15
sete al
xor ecx, ecx
cmp qword [rsp + 0xe0], 0
setne cl
sete dl
or dl, al
mov byte [rsp + 0x3f], dl
xor edx, edx
mov rax, r15
neg rax
sbb edx, edx
or edx, ecx
mov qword [rsp + 0x60], rdx
cmp ebx, 2
mov eax, 1
cmovl ebx, eax
dec ebx
mov dword [rsp + 0x40], 0
xor ebp, ebp
mov dword [rsp + 0x44], ebx
mov rcx, r15
mov edx, r14d
xor r8d, r8d
mov r9d, 1
call fcn.1400636f0
test eax, eax
je 0x14008ac20
mov rbx, rdi
mov rdi, rsi
jmp 0x14008a992
movsxd r9, dword [rax + 8]
mov r8, qword [rax]
movsxd rdx, dword [r15 + 8]
mov rcx, qword [r15]
call fcn.140055040
mov ecx, eax
neg ecx
test esi, esi
cmove ecx, eax
test ecx, ecx
jg 0x14008aa4f
xor esi, esi
mov rcx, r15
mov edx, r14d
xor r8d, r8d
mov r9d, 1
call fcn.1400636f0
inc ebp
test eax, eax
je 0x14008ac22
test rdi, rdi
je 0x14008a9ac
xor esi, esi
xor ecx, ecx
mov edx, ebp
mov r8, rdi
call qword [rioctlsocket + 8]
test eax, eax
je 0x14008ac22
test rbx, rbx
je 0x14008aa20
mov rcx, r12
mov rdx, r15
mov r8, rbx
mov r9, r13
call fcn.14005fed0
test eax, eax
je 0x14008ac20
cmp qword [rsp + 0xe8], 0
je 0x14008a972
mov esi, dword [r12 + 0x10]
mov rax, qword [rsp + 0xe8]
cmp esi, dword [rax + 0x10]
jne 0x14008aa0e
movsxd r9, dword [rax + 8]
mov r8, qword [rax]
movsxd rdx, dword [r12 + 8]
mov rcx, qword [r12]
call fcn.140055040
mov ecx, eax
neg ecx
test esi, esi
cmove ecx, eax
test ecx, ecx
jg 0x14008aa20
jmp 0x14008a972
test esi, esi
jne 0x14008a972
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x60]
mov ecx, eax
cmp byte [rsp + 0x3f], 0
jne 0x14008a96a
mov esi, dword [r15 + 0x10]
mov rax, qword [rsp + 0xe0]
cmp esi, dword [rax + 0x10]
je 0x14008a94e
test esi, esi
jne 0x14008a972
mov qword [rsp + 0x48], r12
mov eax, dword [r15 + 8]
mov qword [rsp + 0x50], rax
cmp eax, 0x11
setge r13b
mov si, 3
mov rcx, r15
mov dx, 3
call fcn.140057fe0
test ax, ax
je 0x14008aac1
xor r12d, r12d
mov r12b, r13b
shl r12, 9
add r12, 0x200
mov r13d, 2
lea rax, [0x1402d9cd0]
movzx esi, word [rax + r13*2]
mov rcx, r15
mov edx, esi
call fcn.140057fe0
test ax, ax
je 0x14008aab8
inc r13
cmp r12, r13
jne 0x14008aa90
jmp 0x14008ab53
cmp r13, r12
jae 0x14008ab53
movzx edx, si
mov r10, qword [rsp + 0x50]
test r10, r10
je 0x14008ab3f
mov rax, qword [r15]
xor rdx, qword [rax]
cmp r10d, 2
jl 0x14008ab3f
mov ecx, 1
cmp r10d, 5
jb 0x14008ab33
lea r8, [r10 - 1]
mov r9, r8
and r9, 0xfffffffffffffffc
lea rcx, [r9 + 1]
movq xmm1, rdx
pxor xmm0, xmm0
xor edx, edx
movdqu xmm2, xmmword [rax + rdx*8 + 8]
por xmm1, xmm2
movdqu xmm2, xmmword [rax + rdx*8 + 0x18]
por xmm0, xmm2
add rdx, 4
cmp r9, rdx
jne 0x14008aaff
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq rdx, xmm1
cmp r8, r9
je 0x14008ab3f
or rdx, qword [rax + rcx*8]
inc rcx
cmp r10, rcx
jne 0x14008ab33
test rdx, rdx
jne 0x14008abdc
cmp dword [r15 + 0x10], 0
jne 0x14008abdc
lea rcx, [0x140398828]
lea rdx, [0x140054700]
call fcn.14009c410
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
mov rdx, r15
lea r8, [0x140398830]
call fcn.140053fe0
test eax, eax
mov r13, qword [rsp + 0xf0]
je 0x14008ac20
lea rcx, [rsp + 0x6c]
mov rdx, rsi
mov r8, qword [rsp + 0x58]
mov r9, r13
call fcn.14005cee0
test eax, eax
je 0x14008ac20
cmp dword [rsp + 0x6c], 0
je 0x14008abdc
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x68]
mov rdx, r15
xor r8d, r8d
mov r9, r13
call fcn.140062460
test eax, eax
je 0x14008ac20
cmp dword [rsp + 0x68], 0
jne 0x14008ac8f
mov edx, dword [rsp + 0x40]
cmp edx, dword [rsp + 0x44]
je 0x14008ac62
inc edx
mov rsi, rdi
test rdi, rdi
mov r13, qword [rsp + 0xf0]
mov dword [rsp + 0x40], edx
je 0x14008ac09
mov ecx, 2
mov r8, rsi
call qword [rsi + ioctlsocket]
jmp 0x14008ac0e
mov eax, 1
mov rdi, rbx
inc ebp
test eax, eax
mov r12, qword [rsp + 0x48]
jne 0x14008a92a
xor esi, esi
cmp byte [r13 + 0x28], 0
jne 0x14008ac42
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
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14025dfe0
mov eax, esi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x20], 0x477
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_rsa_impl.c
xor esi, esi
mov ecx, 4
xor edx, edx
mov r8d, 0x8d
call fcn.14004a6a0
mov r13, qword [rsp + 0xf0]
jmp 0x14008ac22
mov esi, 1
jmp 0x14008ac22