Function at 0x14000956f
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
test r9b, r9b
mov qword [rsp + 0xf0], rcx
mov rbx, rdx
mov r12, r8
mov rcx, r8
mov edx, 4
lea r8, [rsp + 0x40]
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
jne 0x1400095cc
call fcn.140009400
test al, al
je 0x140009bbe
jmp 0x140009fe5
call fcn.140009400
test al, al
jne 0x140009fe5
mov rax, qword [rsp + 0x40]
mov esi, 3
lea r8, [rsp + 0x48]
cqo
idiv rsi
mov edx, 6
mov rcx, rax
call fcn.14000944c
test al, al
jne 0x140009fe5
mov rcx, qword [rsp + 0x48]
test rcx, rcx
js 0x140009bf1
lea r13, [rsp + 0x90]
mov rdx, rcx
mov rcx, r13
call fcn.1400052f5
mov rax, r12
lea r8, [rsp + 0x50]
mov rcx, r12
cqo
idiv rsi
mov qword [rsp + 0x28], rdx
call fcn.140009468
test al, al
jne 0x140009fe5
lea rax, [rsp + 0x58]
mov r14, qword [rsp + 0x50]
xor r15d, r15d
xor ebp, ebp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
lea rdi, [0x140053ae0]
mov qword [rsp + 0x38], rax
cmp r14, rbp
jne 0x140009680
cmp qword [rsp + 0x28], 1
jne 0x140009896
jmp 0x1400098a7
test rbp, rbp
js 0x1400099ce
cmp r12, rbp
jle 0x1400099ce
movzx r10d, byte [rbx + rbp]
mov r8, qword [rsp + 0x30]
mov edx, 1
mov rcx, rbp
shl r10d, 0x10
call fcn.14000944c
test al, al
jne 0x140009fe5
mov rcx, qword [rsp + 0x58]
test rcx, rcx
js 0x140009ffe
cmp rcx, r12
jge 0x140009ffe
movzx r11d, byte [rbx + rcx]
mov r8, qword [rsp + 0x38]
mov edx, 1
shl r11d, 8
call fcn.14000944c
test al, al
jne 0x140009fe5
mov rcx, qword [rsp + 0x60]
test rcx, rcx
js 0x140009ffe
cmp rcx, r12
jge 0x140009ffe
movzx esi, byte [rbx + rcx]
lea r8, [rsp + 0x68]
mov edx, 1
or esi, r11d
or esi, r10d
call fcn.14000944c
test al, al
jne 0x140009fe5
mov rbp, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x90]
test r15, r15
js 0x140009a3e
cmp r15, rdx
jge 0x140009a3e
mov rcx, r13
call fcn.1400094cb
mov eax, esi
lea r8, [rsp + 0x70]
mov rcx, r15
shr eax, 0x12
mov dl, byte [rdi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r15 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r15, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
test r15, r15
js 0x140009a3e
cmp r15, rdx
jge 0x140009a3e
mov rcx, r13
call fcn.1400094cb
mov eax, esi
lea r8, [rsp + 0x78]
mov rcx, r15
shr eax, 0xc
and eax, 0x3f
mov dl, byte [rdi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r15 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r15, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
test r15, r15
js 0x140009a3e
cmp r15, rdx
jge 0x140009a3e
mov rcx, r13
call fcn.1400094cb
mov eax, esi
lea r8, [rsp + 0x80]
mov rcx, r15
shr eax, 6
and eax, 0x3f
mov dl, byte [rdi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r15 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r15, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
test r15, r15
js 0x140009a3e
cmp r15, rdx
jge 0x140009a3e
mov rcx, r13
and esi, 0x3f
call fcn.1400094cb
mov dl, byte [rdi + rsi]
mov rax, qword [rsp + 0x98]
mov rcx, r15
lea r8, [rsp + 0x88]
mov byte [rax + r15 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r15, qword [rsp + 0x88]
jmp 0x14000966a
cmp qword [rsp + 0x28], 2
jne 0x140009b9e
jmp 0x1400099c4
test r14, r14
js 0x1400099ce
cmp r12, r14
jle 0x1400099ce
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, r14
movzx ebx, byte [rbx + r14]
call fcn.14000944c
test al, al
jne 0x140009fe5
mov rdx, qword [rsp + 0x90]
test r15, r15
js 0x140009a3e
cmp r15, rdx
jge 0x140009a3e
shl ebx, 0x10
mov rcx, r13
lea rsi, [0x140053ae0]
call fcn.1400094cb
mov eax, ebx
lea r8, [rsp + 0x70]
mov rcx, r15
shr eax, 0x12
mov dl, byte [rsi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r15 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r12, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x14000a149
cmp r12, rdx
jge 0x14000a149
shr ebx, 0xc
mov rcx, r13
call fcn.1400094cb
and ebx, 0x30
lea r8, [rsp + 0x78]
mov rcx, r12
mov dl, byte [rsi + rbx]
mov rax, qword [rsp + 0x98]
mov byte [rax + r12 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r12, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x14000a149
cmp rdx, r12
jle 0x14000a149
mov rcx, r13
call fcn.1400094cb
mov rax, qword [rsp + 0x98]
mov byte [rax + r12 + 8], 0x3d
jmp 0x140009b24
test r14, r14
js 0x1400099ce
cmp r12, r14
jg 0x1400099db
lea rdx, [r12 - 1]
mov rcx, rbp
jmp 0x14000a14f
lea r8, [rsp + 0x60]
mov edx, 1
mov rcx, r14
movzx r10d, byte [rbx + r14]
call fcn.14000944c
test al, al
jne 0x140009fe5
mov rcx, qword [rsp + 0x60]
test rcx, rcx
js 0x140009ffe
cmp r12, rcx
jle 0x140009ffe
lea r8, [rsp + 0x68]
mov edx, 1
movzx ebx, byte [rbx + rcx]
call fcn.14000944c
test al, al
jne 0x140009fe5
mov rdx, qword [rsp + 0x90]
test r15, r15
js 0x140009a3e
cmp rdx, r15
jg 0x140009a46
dec rdx
jmp 0x140009fc2
shl r10d, 0x10
shl ebx, 8
mov rcx, r13
lea rsi, [0x140053ae0]
or ebx, r10d
call fcn.1400094cb
mov eax, ebx
lea r8, [rsp + 0x70]
mov rcx, r15
shr eax, 0x12
mov dl, byte [rsi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r15 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r12, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x14000a149
cmp r12, rdx
jge 0x14000a149
mov rcx, r13
call fcn.1400094cb
mov eax, ebx
lea r8, [rsp + 0x78]
mov rcx, r12
shr eax, 0xc
and eax, 0x3f
mov dl, byte [rsi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r12 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r12, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x14000a149
cmp r12, rdx
jge 0x14000a149
shr ebx, 6
mov rcx, r13
call fcn.1400094cb
and ebx, 0x3c
mov rax, qword [rsp + 0x98]
mov dl, byte [rsi + rbx]
mov byte [rax + r12 + 8], dl
lea r8, [rsp + 0x80]
mov edx, 1
mov rcx, r12
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r12, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x14000a149
cmp rdx, r12
jle 0x14000a149
mov rcx, r13
call fcn.1400094cb
mov rax, qword [rsp + 0x98]
mov edx, 1
mov rcx, r12
lea r8, [rsp + 0x88]
mov byte [rax + r12 + 8], 0x3d
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r15, qword [rsp + 0x88]
mov rdx, r15
test r15, r15
jns 0x14000a1af
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r15
jmp 0x14000a1a8
mov rax, qword [rsp + 0x40]
mov esi, 3
lea r8, [rsp + 0x48]
cqo
idiv rsi
mov edx, 6
mov rcx, rax
call fcn.14000944c
test al, al
jne 0x140009fe5
mov rcx, qword [rsp + 0x48]
test rcx, rcx
jns 0x140009c02
movabs r8, 0x7fffffffffffffff
xor edx, edx
jmp 0x14000a1a8
lea r13, [rsp + 0x90]
mov rdx, rcx
mov rcx, r13
call fcn.1400052f5
mov rax, r12
lea r8, [rsp + 0x50]
mov rcx, r12
cqo
idiv rsi
mov qword [rsp + 0x28], rdx
call fcn.140009468
test al, al
jne 0x140009fe5
mov rax, qword [rsp + 0x50]
xor r14d, r14d
xor r15d, r15d
lea rbp, [rsp + 0x58]
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
cmp r15, qword [rsp + 0x30]
jne 0x140009c75
cmp qword [rsp + 0x28], 1
jne 0x140009e89
jmp 0x140009e9a
test r15, r15
js 0x140009fbd
cmp r12, r15
jle 0x140009fbd
movzx r10d, byte [rbx + r15]
mov r8, rbp
mov edx, 1
mov rcx, r15
shl r10d, 0x10
call fcn.14000944c
test al, al
jne 0x140009fe5
mov rcx, qword [rsp + 0x58]
test rcx, rcx
js 0x140009ffe
cmp r12, rcx
jle 0x140009ffe
movzx r11d, byte [rbx + rcx]
mov r8, qword [rsp + 0x38]
mov edx, 1
shl r11d, 8
call fcn.14000944c
test al, al
jne 0x140009fe5
mov rcx, qword [rsp + 0x60]
test rcx, rcx
js 0x140009ffe
cmp r12, rcx
jle 0x140009ffe
movzx esi, byte [rbx + rcx]
lea r8, [rsp + 0x68]
mov edx, 1
or esi, r11d
or esi, r10d
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r15, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x90]
test r14, r14
js 0x14000a031
cmp r14, rdx
jge 0x14000a031
mov rcx, r13
call fcn.1400094cb
mov eax, esi
lea r8, [rsp + 0x70]
mov rcx, r14
shr eax, 0x12
mov dl, byte [rdi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r14 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r14, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
test r14, r14
js 0x14000a031
cmp rdx, r14
jle 0x14000a031
mov rcx, r13
call fcn.1400094cb
mov eax, esi
lea r8, [rsp + 0x78]
mov rcx, r14
shr eax, 0xc
and eax, 0x3f
mov dl, byte [rdi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r14 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r14, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
test r14, r14
js 0x14000a031
cmp rdx, r14
jle 0x14000a031
mov rcx, r13
call fcn.1400094cb
mov eax, esi
lea r8, [rsp + 0x80]
mov rcx, r14
shr eax, 6
and eax, 0x3f
mov dl, byte [rdi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r14 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r14, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
test r14, r14
js 0x14000a031
cmp rdx, r14
jle 0x14000a031
mov rcx, r13
and esi, 0x3f
call fcn.1400094cb
mov dl, byte [rdi + rsi]
mov rax, qword [rsp + 0x98]
mov rcx, r14
lea r8, [rsp + 0x88]
mov byte [rax + r14 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r14, qword [rsp + 0x88]
jmp 0x140009c5d
cmp qword [rsp + 0x28], 2
jne 0x14000a191
jmp 0x140009fb3
test r15, r15
js 0x140009fbd
cmp r12, r15
jle 0x140009fbd
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, r15
movzx ebx, byte [rbx + r15]
call fcn.14000944c
test al, al
jne 0x140009fe5
mov rdx, qword [rsp + 0x90]
test r14, r14
js 0x14000a031
cmp rdx, r14
jle 0x14000a031
shl ebx, 0x10
mov rcx, r13
lea rsi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
call fcn.1400094cb
mov eax, ebx
lea r8, [rsp + 0x70]
mov rcx, r14
shr eax, 0x12
mov dl, byte [rsi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r14 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r12, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x14000a149
cmp rdx, r12
jle 0x14000a149
shr ebx, 0xc
mov rcx, r13
call fcn.1400094cb
and ebx, 0x30
lea r8, [rsp + 0x78]
mov rcx, r12
mov dl, byte [rsi + rbx]
mov rax, qword [rsp + 0x98]
mov byte [rax + r12 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r12, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x14000a149
cmp rdx, r12
jle 0x14000a149
mov rcx, r13
call fcn.1400094cb
mov rax, qword [rsp + 0x98]
mov byte [rax + r12 + 8], 0x3d
jmp 0x14000a112
test r15, r15
js 0x140009fbd
cmp r12, r15
jg 0x140009fca
lea rdx, [r12 - 1]
mov rcx, r15
jmp 0x14000a14f
lea r8, [rsp + 0x60]
mov edx, 1
mov rcx, r15
movzx r10d, byte [rbx + r15]
call fcn.14000944c
test al, al
je 0x140009fef
call fcn.140003c2b
jmp 0x14000a1b7
mov rcx, qword [rsp + 0x60]
test rcx, rcx
js 0x140009ffe
cmp r12, rcx
jg 0x14000a008
lea rdx, [r12 - 1]
jmp 0x14000a14f
lea r8, [rsp + 0x68]
mov edx, 1
movzx ebx, byte [rbx + rcx]
call fcn.14000944c
test al, al
jne 0x140009fe5
mov rdx, qword [rsp + 0x90]
test r14, r14
js 0x14000a031
cmp rdx, r14
jg 0x14000a03c
dec rdx
mov rcx, r14
jmp 0x14000a14f
shl r10d, 0x10
shl ebx, 8
mov rcx, r13
lea rsi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
or ebx, r10d
call fcn.1400094cb
mov eax, ebx
lea r8, [rsp + 0x70]
mov rcx, r14
shr eax, 0x12
mov dl, byte [rsi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r14 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r12, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x14000a149
cmp rdx, r12
jle 0x14000a149
mov rcx, r13
call fcn.1400094cb
mov eax, ebx
lea r8, [rsp + 0x78]
mov rcx, r12
shr eax, 0xc
and eax, 0x3f
mov dl, byte [rsi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r12 + 8], dl
mov edx, 1
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r12, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x14000a149
cmp rdx, r12
jle 0x14000a149
shr ebx, 6
mov rcx, r13
call fcn.1400094cb
and ebx, 0x3c
mov rax, qword [rsp + 0x98]
mov dl, byte [rsi + rbx]
mov byte [rax + r12 + 8], dl
lea r8, [rsp + 0x80]
mov edx, 1
mov rcx, r12
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r12, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x14000a149
cmp rdx, r12
jg 0x14000a156
dec rdx
mov rcx, r12
call fcn.140005ace
jmp 0x14000a1b7
mov rcx, r13
call fcn.1400094cb
mov rax, qword [rsp + 0x98]
mov edx, 1
mov rcx, r12
lea r8, [rsp + 0x88]
mov byte [rax + r12 + 8], 0x3d
call fcn.14000944c
test al, al
jne 0x140009fe5
mov r14, qword [rsp + 0x88]
mov rdx, r14
test r14, r14
jns 0x14000a1af
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r14
call fcn.140004506
jmp 0x14000a1b7
mov rcx, r13
call fcn.1400052f5
mov rax, qword [rsp + 0xf0]
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rax], xmm0
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret