Function at 0x1400db0e0
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 0x1400db10f
lea rax, [rdx - 1]
test rax, rdx
je 0x1400db10c
mov rcx, rdx
call fcn.140050cf0
mov rdi, rax
jmp 0x1400db10f
mov rdi, rdx
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x1400db12b
mov rcx, rsi
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp 0x1400db1f0
jae 0x1400db1dc
cmp rbx, 3
jb 0x1400db144
lea rax, [rbx - 1]
test rax, rbx
sete bpl
jmp 0x1400db146
xor ebp, ebp
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x1400db156
cvtsi2ss xmm0, rax
jmp 0x1400db16b
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 0x1400db1c4
cmp rax, 2
jb 0x1400db1cc
add rax, 0xffffffffffffffff
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x1400db1cc
mov rcx, rax
call fcn.140050cf0
cmp rdi, rax
cmovb rdi, rax
cmp rdi, rbx
jb 0x1400db118
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 0x1400db256
mov r12, rdx
mov rax, rdx
shr rax, 0x3d
jne 0x1400db3e5
lea rcx, [r12*8]
call fcn.140190820
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x1400db235
call fcn.140190860
mov qword [rsi + 8], r12
lea r15, [r12 - 1]
mov eax, r12d
and eax, 3
cmp r15, 3
jae 0x1400db277
xor ecx, ecx
test rax, rax
jne 0x1400db2c0
jmp 0x1400db2d5
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400db26a
call fcn.140190860
mov qword [rsi + 8], 0
jmp 0x1400db3d4
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 0x1400db280
test rax, rax
je 0x1400db2d5
nop
mov rdx, qword [rsi]
mov qword [rdx + rcx*8], 0
add rcx, 1
add rax, 0xffffffffffffffff
jne 0x1400db2c0
mov r13, qword [rsi + 0x10]
test r13, r13
je 0x1400db3d4
lea rcx, [rsi + 0x10]
mov r14, qword [r13 + 8]
test r15, r12
je 0x1400db301
cmp r14, r12
jb 0x1400db304
mov rax, r14
xor edx, edx
div r12
mov r14, rdx
jmp 0x1400db304
and r14, r15
mov rax, qword [rsi]
mov qword [rax + r14*8], rcx
jmp 0x1400db313
mov r13, rdi
mov rdi, qword [r13]
test rdi, rdi
je 0x1400db3d4
mov rbx, qword [rdi + 8]
test r15, r12
je 0x1400db340
cmp rbx, r12
jb 0x1400db339
mov rax, rbx
xor edx, edx
div r12
mov rbx, rdx
cmp rbx, r14
je 0x1400db310
jmp 0x1400db348
and rbx, r15
cmp rbx, r14
je 0x1400db310
mov rax, qword [rsi]
cmp qword [rax + rbx*8], 0
je 0x1400db3c5
mov rax, qword [rdi]
mov rbp, rdi
test rax, rax
je 0x1400db3a0
mov rdx, qword [rax + 0x10]
mov rcx, qword [rdi + 0x10]
call fcn.14007add0
mov rbp, rdi
test al, al
je 0x1400db3a0
mov rbp, rdi
nop word cs:[rax + rax]
nop
mov rbp, qword [rbp]
mov rax, qword [rbp]
test rax, rax
je 0x1400db3a0
mov rdx, qword [rax + 0x10]
mov rcx, qword [rdi + 0x10]
call fcn.14007add0
test al, al
jne 0x1400db380
nop
mov rax, qword [rbp]
mov qword [r13], rax
mov rax, qword [rsi]
mov rax, qword [rax + rbx*8]
mov rax, qword [rax]
mov qword [rbp], rax
mov rax, qword [rsi]
mov rax, qword [rax + rbx*8]
mov qword [rax], rdi
jmp 0x1400db313
mov qword [rax + rbx*8], r13
mov r13, rdi
mov r14, rbx
jmp 0x1400db313
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1401a6a70
ud2