Function at 0x14010fb70
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov r13d, dword [rsp + 0xc0]
xor r12d, r12d
mov edi, edx
mov dword [rsp + 0xc0], r12d
test r8, r8
mov rbp, rcx
lea ecx, [rdx + 2]
mov ebx, r12d
sete bl
mov rsi, r9
mov eax, 0xaaaaaaab
mov dword [rsp + 0xa8], ebx
mul ecx
mov eax, r12d
mov r11d, r12d
shr edx, 1
mov r10d, r12d
shl edx, 2
mov r9d, r12d
mov r15d, r12d
lea ecx, [rdx + 0x3f]
shr ecx, 6
cmp r13d, 2
cmovne eax, ecx
add edx, eax
mov dword [rsp + 0x40], edx
test rsi, rsi
je 0x14010ff60
mov r14d, dword [rsi]
cmp edx, r14d
jbe 0x14010fc00
test r8, r8
jne 0x14010ff60
cmp edi, 2
jbe 0x14010fc9e
mov edx, ebx
nop dword [rax + rax]
mov eax, r9d
inc r9d
movzx ecx, byte [rax + rbp]
movzx esi, byte [r9 + rbp]
movzx ebx, cl
movzx eax, sil
inc r9d
shr al, 4
and bl, 3
and sil, 0xf
shl bl, 4
or bl, al
shl sil, 2
movzx ebp, byte [r9 + rbp]
inc r9d
movzx eax, bpl
mov dword [rsp + 0xb0], r9d
shr al, 6
lea r9d, [r10 + 1]
or sil, al
and bpl, 0x3f
mov eax, ecx
lea rcx, [0x1401ce440]
shr rax, 2
movzx ecx, byte [rax + rcx]
cmp r9d, r14d
jbe 0x14010fcce
test rdx, rdx
jne 0x14010fcda
mov r11d, 0xffffff7c
mov rbp, qword [rsp + 0xa0]
mov r9d, dword [rsp + 0xb0]
mov ebx, dword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb8]
mov eax, r11d
test edi, edi
je 0x14010fedc
test eax, eax
jne 0x14010ff16
mov eax, r9d
movzx ebx, byte [rax + rbp]
cmp edi, 2
jne 0x14010fde6
lea eax, [r9 + 1]
movzx esi, byte [rax + rbp]
jmp 0x14010fde9
test rdx, rdx
jne 0x14010fcda
mov eax, r10d
mov byte [rax + r8], cl
lea rcx, [0x1401ce440]
movzx eax, bl
mov r10d, r9d
mov dword [rsp + 0xc0], r9d
movzx ebx, byte [rax + rcx]
lea ecx, [r9 + 1]
cmp ecx, r14d
jbe 0x14010fd07
test rdx, rdx
je 0x14010fc79
jmp 0x14010fd10
test rdx, rdx
jne 0x14010fd10
mov byte [r9 + r8], bl
movzx eax, sil
lea r9d, [rcx + 1]
mov dword [rsp + 0xc0], ecx
lea rsi, [0x1401ce440]
mov r10d, ecx
movzx ebx, byte [rax + rsi]
cmp r9d, r14d
jbe 0x14010fd3d
test rdx, rdx
je 0x14010fc79
jmp 0x14010fd46
test rdx, rdx
jne 0x14010fd46
mov byte [rcx + r8], bl
movzx eax, bpl
lea ecx, [r9 + 1]
mov dword [rsp + 0xc0], r9d
mov r10d, r9d
movzx ebx, byte [rax + rsi]
cmp ecx, r14d
jbe 0x14010fd6d
test rdx, rdx
je 0x14010fc79
jmp 0x14010fd76
test rdx, rdx
jne 0x14010fd76
mov byte [r9 + r8], bl
add edi, 0xfffffffd
mov dword [rsp + 0xc0], ecx
mov r10d, ecx
cmp r13d, 2
je 0x14010fdc8
inc r15d
test r15b, 0xf
jne 0x14010fdc8
test edi, edi
je 0x14010fc7f
lea r9d, [rcx + 1]
cmp r9d, r14d
jbe 0x14010fdb3
test rdx, rdx
jne 0x14010fdbd
mov r11d, 0xffffff7c
jmp 0x14010ff16
test rdx, rdx
jne 0x14010fdbd
mov byte [rcx + r8], 0xa
mov r10d, r9d
mov dword [rsp + 0xc0], r9d
mov r9d, dword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa0]
cmp edi, 2
jbe 0x14010fc8f
jmp 0x14010fc10
xor sil, sil
mov r15d, dword [rsp + 0xa8]
lea r9, [rsp + 0xc0]
movzx edx, bl
mov dword [rsp + 0x30], r15d
movzx ebp, sil
shr dl, 2
and bpl, 0xf
mov dword [rsp + 0x28], r12d
mov ecx, r13d
shl bpl, 2
mov dword [rsp + 0x20], r14d
call fcn.14010ff80
mov r11d, eax
test eax, eax
jne 0x14010ff0e
and bl, 3
shr sil, 4
mov dword [rsp + 0x30], r15d
lea r9, [rsp + 0xc0]
shl bl, 4
mov ecx, r13d
or bl, sil
mov dword [rsp + 0x28], r12d
mov rsi, qword [rsp + 0xb8]
movzx edx, bl
mov eax, dword [rsi]
mov dword [rsp + 0x20], eax
call fcn.14010ff80
mov r11d, eax
test eax, eax
jne 0x14010ff0e
mov ecx, dword [rsi]
lea r9, [rsp + 0xc0]
movzx eax, bpl
cmp edi, 2
mov edx, 0x3d
mov ebx, r15d
cmove edx, eax
mov dword [rsp + 0x30], ebx
mov eax, r12d
setne al
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov ecx, r13d
call fcn.14010ff80
mov r11d, eax
test eax, eax
jne 0x14010ff0e
mov eax, dword [rsi]
lea r9, [rsp + 0xc0]
mov dword [rsp + 0x30], ebx
mov dl, 0x3d
mov dword [rsp + 0x28], 1
mov ecx, r13d
mov dword [rsp + 0x20], eax
call fcn.14010ff80
mov r10d, dword [rsp + 0xc0]
mov r11d, eax
test r11d, r11d
jne 0x14010ff16
cmp r13d, 2
je 0x14010ff16
mov eax, dword [rsi]
lea r9, [rsp + 0xc0]
mov dword [rsp + 0x30], ebx
mov dl, 0xa
mov dword [rsp + 0x28], 1
mov ecx, r13d
mov dword [rsp + 0x20], eax
call fcn.14010ff80
mov r11d, eax
mov r10d, dword [rsp + 0xc0]
cmp r10d, dword [rsp + 0x40]
je 0x14010ff29
test r11d, r11d
jne 0x14010ff29
mov eax, 0xffffff66
jmp 0x14010ff65
mov rax, qword [rsp + 0xb8]
test r8, r8
je 0x14010ff42
cmp dword [rax], r10d
jbe 0x14010ff42
mov ecx, r10d
mov byte [rcx + r8], r12b
mov dword [rax], r10d
test r11d, r11d
jne 0x14010ff5b
mov eax, 0xffffff36
test r8, r8
cmove r12d, eax
mov eax, r12d
jmp 0x14010ff65
mov eax, r11d
jmp 0x14010ff65
mov eax, 0xffffff53
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret