Function at 0x1000b5a98
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r9
mov ebp, edx
mov r12, rcx
lea r10, [0x100331948]
cmp rcx, r14
jne 0x1000b5b14
mov ebx, 0x80070057
mov rcx, qword [0x100331948]
lea rax, [0x100331948]
cmp rcx, rax
je 0x1000b5afb
test byte [rcx + 0x3c], 2
je 0x1000b5afb
mov rcx, qword [rcx + 0x30]
lea r8, [0x100021050]
mov edx, 0x12
mov r9d, ebx
call fcn.100050618
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov r13, qword [rsp + 0x70]
cmp r13, r14
je 0x1000b5ac5
lea edi, [rdx + 2]
mov r9d, 0x80070216
cmp edi, edx
jb 0x1000b5b37
mov rcx, qword [0x100331948]
mov ebx, r14d
jmp 0x1000b5b73
mov ebx, r9d
mov rcx, qword [0x100331948]
cmp rcx, r10
je 0x1000b5b6f
test byte [rcx + 0x3c], 2
je 0x1000b5b6f
mov rcx, qword [rcx + 0x30]
lea r8, [0x100021570]
mov edx, 0xa
call fcn.100050618
mov rcx, qword [0x100331948]
lea r10, [0x100331948]
mov edi, dword [rsp + 0x50]
cmp ebx, r14d
jl 0x1000b5ad1
mov eax, 0xaaaaaaab
mov ebx, r14d
mul edi
shr edx, 1
je 0x1000b5bd1
mov r8d, edx
shl r8d, 2
mov eax, r8d
shr eax, 2
cmp eax, edx
je 0x1000b5bcc
mov ebx, 0x80070216
cmp rcx, r10
je 0x1000b5bd4
test byte [rcx + 0x3c], 2
je 0x1000b5bd4
mov rcx, qword [rcx + 0x30]
lea r8, [0x100021570]
mov edx, 0xc
mov r9d, ebx
call fcn.100050618
mov rcx, qword [0x100331948]
jmp 0x1000b5bd4
mov edi, r8d
jmp 0x1000b5bd4
mov edi, r14d
cmp ebx, r14d
jl 0x1000b5ad1
cmp rsi, r14
jne 0x1000b5c39
lea eax, [rdi + 1]
cmp eax, edi
jb 0x1000b5bf2
mov dword [r13], eax
mov ebx, r14d
jmp 0x1000b5c28
mov ebx, 0x80070216
lea rax, [0x100331948]
cmp rcx, rax
je 0x1000b5c28
test byte [rcx + 0x3c], 2
je 0x1000b5c28
mov rcx, qword [rcx + 0x30]
lea r8, [0x100021570]
mov edx, 0xa
mov r9d, ebx
call fcn.100050618
mov rcx, qword [0x100331948]
cmp ebx, r14d
jl 0x1000b5ad1
mov ebx, r14d
jmp 0x1000b5afb
lea edx, [rdi + 1]
cmp edx, edi
jb 0x1000b5c45
mov ebx, r14d
jmp 0x1000b5c7f
mov ebx, 0x80070216
lea rax, [0x100331948]
cmp rcx, rax
je 0x1000b5c7b
test byte [rcx + 0x3c], 2
je 0x1000b5c7b
mov rcx, qword [rcx + 0x30]
lea r8, [0x100021570]
mov edx, 0xa
mov r9d, ebx
call fcn.100050618
mov rcx, qword [0x100331948]
mov edx, dword [rsp + 0x50]
cmp ebx, r14d
jl 0x1000b5ad1
cmp dword [r13], edx
jae 0x1000b5c98
mov ebx, 0x8007007a
jmp 0x1000b5ad1
cmp ebp, r14d
mov eax, edx
lea r10, [rsi + rax*2]
jle 0x1000b5d8d
lea r8, [rsi + 6]
lea r11, [0x10003a570]
mov dil, byte [r12]
xor r9d, r9d
inc r12
mov word [rsp + 0x50], r9w
cmp ebp, 1
jbe 0x1000b5cdc
mov cl, byte [r12]
inc r12
cmp ebp, 2
jbe 0x1000b5ce0
mov r9b, byte [r12]
inc r12
jmp 0x1000b5ce0
mov cl, byte [rsp + 0x51]
cmp r8, r10
jae 0x1000b5d9c
movzx eax, dil
shr rax, 2
movzx eax, byte [rax + r11]
movzx r11d, cl
mov word [rsi], ax
movzx eax, dil
mov ecx, r11d
shl eax, 4
shr ecx, 4
or rcx, rax
lea rax, [0x10003a570]
and ecx, 0x3f
movzx eax, byte [rcx + rax]
mov word [rsi + 2], ax
cmp ebp, 1
jbe 0x1000b5d46
mov eax, r11d
movzx ecx, r9b
lea r11, [0x10003a570]
shl eax, 2
shr rcx, 6
or rcx, rax
and ecx, 0x3f
movzx eax, byte [rcx + r11]
jmp 0x1000b5d52
mov eax, 0x3d
lea r11, [0x10003a570]
mov word [rsi + 4], ax
cmp ebp, 2
jbe 0x1000b5d69
movzx eax, r9b
and eax, 0x3f
movzx ecx, byte [rax + r11]
jmp 0x1000b5d6e
mov ecx, 0x3d
add ebp, 0xfffffffd
mov word [rsi + 6], cx
add rsi, 8
add r8, 8
cmp ebp, r14d
jg 0x1000b5cb2
mov rcx, qword [0x100331948]
cmp rsi, r10
jb 0x1000b5da6
mov ebx, 0x8000ffff
jmp 0x1000b5ad1
mov ebx, 0x8000ffff
jmp 0x1000b5aca
mov word [rsi], r14w
mov dword [r13], edx
jmp 0x1000b5afb