Function at 0x140017240
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rsi, rcx
mov r15, qword [rcx + 0x30]
movzx ecx, byte [rcx + 0x158]
shr r15, cl
test r15, r15
mov qword [rbp - 0x28], r15
je 0x14001748b
mov rax, r15
shr rax, 0x3d
jne 0x1400174ca
lea rbx, [r15*4]
test rbx, rbx
je 0x1400172c1
movzx eax, byte [0x14019d171]
mov edx, 4
mov rcx, rbx
call fcn.140007cc0
mov rdi, rax
test rax, rax
je 0x1400174d1
cmp r15, 8
jae 0x1400172cc
xor eax, eax
jmp 0x140017320
mov edi, 4
cmp r15, 8
jb 0x1400172bd
mov rax, r15
and rax, 0xfffffffffffffff8
movdqa xmm0, xmmword [0x14010cec0]
xor ecx, ecx
movdqa xmm1, xmmword [0x14010ced0]
movdqa xmm2, xmmword [str._b_b_b_b]
nop dword [rax]
movdqa xmm3, xmm0
paddd xmm3, xmm1
movdqu xmmword [rdi + rcx*4], xmm0
movdqu xmmword [rdi + rcx*4 + 0x10], xmm3
add rcx, 8
paddd xmm0, xmm2
cmp rax, rcx
jne 0x1400172f0
cmp r15, rax
je 0x14001732f
nop word cs:[rax + rax]
mov dword [rdi + rax*4], eax
lea rcx, [rax + 1]
mov rax, rcx
cmp r15, rcx
jne 0x140017320
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 0
test r15, r15
je 0x1400174a8
lea r14, [rbp - 0x20]
mov rbx, r15
dec r15d
mov rcx, qword [rsi + 0x158]
and ecx, 0x3f
mov r8, qword [rsi + 0x160]
mov r9, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x30]
lea r10, [rbx - 0x80000000]
nop word cs:[rax + rax]
test rbx, rbx
je 0x140017403
dec rbx
cmp r10, 0xffffffff80000000
jbe 0x140017455
mov eax, ebx
shl rax, cl
add rax, r8
cmp rax, rdx
jae 0x14001743c
mov rax, qword [r9 + rax*8]
shr rax, 0x2a
cmp eax, 0x3ffffe
ja 0x140017380
mov qword [rbp], rdi
mov byte [rbp + 0xf], 1
mov rcx, r14
mov rdx, rsi
mov r8d, r15d
mov r9d, ebx
call fcn.140066130
mov dword [rsi + 0x170], r15d
test r15d, r15d
jne 0x140017353
mov qword [rbp], rdi
mov byte [rbp + 0xf], 1
lea rcx, [0x14010d126]
lea r8, [0x14010d160]
mov edx, 0x34
call fcn.1401091c0
jmp 0x1400174c8
movdqu xmm0, xmmword [rbp - 0x20]
movdqu xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp], rdi
mov byte [rbp + 0xf], 0
lea rcx, [rbp - 0x50]
mov rdx, rsi
call fcn.140066220
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rbp], rdi
mov byte [rbp + 0xf], 1
lea r8, [0x14010d3e0]
mov rcx, rax
call fcn.140109360
jmp 0x1400174c8
mov qword [rbp - 0x50], rbx
mov qword [rbp], rdi
mov byte [rbp + 0xf], 1
lea rax, [0x14010dce0]
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_StateID_valueC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.3_srcutilprimitives.rs
lea r9, [0x14010cef0]
lea r8, [rbp - 0x50]
mov edx, 0x15
call fcn.1401095f0
jmp 0x1400174c8
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 0
mov edi, 4
mov qword [rbp], rdi
mov byte [rbp + 0xf], 1
lea rcx, str.called__Option::unwrap____on_a__None__valueC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.3_srcdfaonepass.rs
lea r8, [0x14010d410]
mov edx, 0x2b
call fcn.1401092c0
ud2
call fcn.1400fbd70
ud2
mov ecx, 4
mov rdx, rbx
call fcn.1401090d0
ud2