Function at 0x1400daba0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov edi, 2
cmp rdx, 1
je 0x1400dabcf
lea rax, [rdx - 1]
test rax, rdx
je 0x1400dabcc
mov rcx, rdx
call fcn.140050cf0
mov rdi, rax
jmp 0x1400dabcf
mov rdi, rdx
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x1400dabeb
mov rcx, rsi
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp 0x1400dacb0
jae 0x1400dac9c
cmp rbx, 3
jb 0x1400dac04
lea rax, [rbx - 1]
test rax, rbx
sete bpl
jmp 0x1400dac06
xor ebp, ebp
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x1400dac16
cvtsi2ss xmm0, rax
jmp 0x1400dac2b
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.1401ab560
movss xmm1, dword [0x1401c8a60]
movaps xmm2, xmm0
subss xmm2, xmm1
cvttss2si rax, xmm2
movabs rcx, 0x8000000000000000
xor rcx, rax
cvttss2si rax, xmm0
ucomiss xmm0, xmm1
cmovae rax, rcx
test bpl, bpl
je 0x1400dac84
cmp rax, 2
jb 0x1400dac8c
add rax, 0xffffffffffffffff
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x1400dac8c
mov rcx, rax
call fcn.140050cf0
cmp rdi, rax
cmovb rdi, rax
cmp rdi, rbx
jb 0x1400dabd8
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
test rdx, rdx
je 0x1400dad16
mov r12, rdx
mov rax, rdx
shr rax, 0x3d
jne 0x1400dae92
lea rcx, [r12*8]
call fcn.140190820
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x1400dacf5
call fcn.140190860
mov qword [rsi + 8], r12
lea r8, [r12 - 1]
mov eax, r12d
and eax, 3
cmp r8, 3
jae 0x1400dad37
xor ecx, ecx
test rax, rax
jne 0x1400dad80
jmp 0x1400dad95
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400dad2a
call fcn.140190860
mov qword [rsi + 8], 0
jmp 0x1400dae81
mov rdx, r12
sub rdx, rax
xor ecx, ecx
nop
mov rbp, qword [rsi]
mov qword [rbp + rcx*8], 0
mov rbp, qword [rsi]
mov qword [rbp + rcx*8 + 8], 0
mov rbp, qword [rsi]
mov qword [rbp + rcx*8 + 0x10], 0
mov rbp, qword [rsi]
mov qword [rbp + rcx*8 + 0x18], 0
add rcx, 4
cmp rdx, rcx
jne 0x1400dad40
test rax, rax
je 0x1400dad95
nop
mov rdx, qword [rsi]
mov qword [rdx + rcx*8], 0
add rcx, 1
add rax, 0xffffffffffffffff
jne 0x1400dad80
mov r13, qword [rsi + 0x10]
test r13, r13
je 0x1400dae81
lea rcx, [rsi + 0x10]
mov rbp, qword [r13 + 8]
test r8, r12
je 0x1400dadc1
cmp rbp, r12
jb 0x1400dadc4
mov rax, rbp
xor edx, edx
div r12
mov rbp, rdx
jmp 0x1400dadc4
and rbp, r8
mov rax, qword [rsi]
mov qword [rax + rbp*8], rcx
jmp 0x1400dadd3
mov r13, rdi
mov rdi, qword [r13]
test rdi, rdi
je 0x1400dae81
mov rbx, qword [rdi + 8]
test r8, r12
je 0x1400dae00
cmp rbx, r12
jb 0x1400dadf9
mov rax, rbx
xor edx, edx
div r12
mov rbx, rdx
cmp rbx, rbp
je 0x1400dadd0
jmp 0x1400dae08
and rbx, r8
cmp rbx, rbp
je 0x1400dadd0
mov qword [rsp + 0x20], rbp
mov r14, r8
mov rax, qword [rsi]
cmp qword [rax + rbx*8], 0
mov rbp, rdi
je 0x1400dae6f
nop dword [rax]
mov r15, rbp
mov rbp, qword [rbp]
test rbp, rbp
je 0x1400dae47
mov r8, qword [rbp + 0x18]
cmp qword [rdi + 0x18], r8
jne 0x1400dae47
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rbp + 0x10]
call fcn.140193490
test eax, eax
je 0x1400dae20
mov qword [r13], rbp
mov rax, qword [rsi]
mov rax, qword [rax + rbx*8]
mov rax, qword [rax]
mov qword [r15], rax
mov rax, qword [rsi]
mov rax, qword [rax + rbx*8]
mov qword [rax], rdi
mov r8, r14
mov rbp, qword [rsp + 0x20]
jmp 0x1400dadd3
mov qword [rax + rbx*8], r13
mov r13, rdi
mov rbp, rbx
mov r8, r14
jmp 0x1400dadd3
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1401a6a70
ud2