Function at 0x140024d80
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x38
mov rax, r8
mov r9, rdx
mov rbx, rcx
and dword [rbp - 0x10], 0
and qword [rcx], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov dword [rbp - 0x10], 1
xor r13d, r13d
test r8, r8
je 0x1400252b5
xor ecx, ecx
movabs r10, 0x7fffffffffffffff
movabs r11, 0x8000000000000000
dec rax
mov qword [rbp + 0x58], rax
mov al, byte [r9]
inc r9
mov qword [rbp + 0x50], r9
mov byte [rbp + rcx - 0x18], al
inc r13d
inc rcx
mov r8b, byte [rbp - 0x16]
mov r12b, byte [rbp - 0x17]
mov dl, byte [rbp - 0x18]
cmp rcx, 3
jne 0x140024fb7
mov al, dl
shr al, 2
mov byte [rbp - 0x14], al
mov cl, dl
and cl, 3
shl cl, 4
mov al, r12b
shr al, 4
add cl, al
mov byte [rbp - 0x13], cl
mov cl, r12b
and cl, 0xf
shl cl, 2
mov al, r8b
shr al, 6
add cl, al
mov byte [rbp - 0x12], cl
mov al, r8b
and al, 0x3f
mov byte [rbp - 0x11], al
xor r13d, r13d
lea rcx, [0x14006e088]
cmp qword [0x14006e0a0], 0x10
cmovae rcx, qword [0x14006e088]
movzx eax, byte [rbp + r13 - 0x14]
mov cl, byte [rax + rcx]
mov byte [rbp + 0x60], cl
mov rsi, qword [rbx + 0x10]
mov r15, qword [rbx + 0x18]
cmp rsi, r15
jae 0x140024ea2
lea rax, [rsi + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp r15, 0x10
jb 0x140024e95
mov rax, qword [rbx]
mov byte [rax + rsi], cl
mov byte [rax + rsi + 1], 0
jmp 0x140024f9a
mov rax, r10
sub rax, rsi
cmp rax, 1
jb 0x1400252c9
lea rdi, [rsi + 1]
or rdi, 0xf
cmp rdi, r10
jbe 0x140024ec7
mov rdi, r10
mov rcx, r11
jmp 0x140024ef0
mov rcx, r15
shr rcx, 1
mov rax, r10
sub rax, rcx
cmp r15, rax
ja 0x140024ebf
lea rax, [r15 + rcx]
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140024efa
call fcn.140007b5c
mov r14, rax
jmp 0x140024f09
test rcx, rcx
je 0x140024f06
call fcn.140051e08
jmp 0x140024ef5
xor r14d, r14d
lea rax, [rsi + 1]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rdi
mov r8, rsi
mov rcx, r14
cmp r15, 0x10
jb 0x140024f6d
mov rdi, qword [rbx]
mov rdx, rdi
call qword [sym.imp.msvcrt.dll_memcpy]
mov al, byte [rbp + 0x60]
mov byte [r14 + rsi], al
mov byte [r14 + rsi + 1], 0
lea rdx, [r15 + 1]
cmp rdx, 0x1000
jb 0x140024f63
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400252d5
mov rdi, rcx
mov rcx, rdi
call fcn.14005209c
jmp 0x140024f83
mov rdx, rbx
call qword [sym.imp.msvcrt.dll_memcpy]
mov al, byte [rbp + 0x60]
mov byte [r14 + rsi], al
mov byte [r14 + rsi + 1], 0
movabs r11, 0x8000000000000000
movabs r10, 0x7fffffffffffffff
mov qword [rbx], r14
inc r13
cmp r13, 4
jl 0x140024e51
xor r13d, r13d
xor ecx, ecx
mov dl, byte [rbp - 0x18]
mov r8b, byte [rbp - 0x16]
mov r9, qword [rbp + 0x50]
mov rax, qword [rbp + 0x58]
test rax, rax
jne 0x140024de7
test r13d, r13d
je 0x1400252b5
movsxd rax, r13d
cmp rax, 3
jge 0x140024ff5
jae 0x1400252cf
mov byte [rbp + rax - 0x18], 0
inc rax
cmp rax, 3
jl 0x140024fd6
mov r8b, byte [rbp - 0x16]
mov r12b, byte [rbp - 0x17]
mov dl, byte [rbp - 0x18]
mov al, dl
shr al, 2
mov byte [rbp - 0x14], al
and dl, 3
shl dl, 4
mov al, r12b
shr al, 4
add dl, al
mov byte [rbp - 0x13], dl
and r12b, 0xf
shl r12b, 2
mov al, r8b
shr al, 6
add r12b, al
mov byte [rbp - 0x12], r12b
and r8b, 0x3f
mov byte [rbp - 0x11], r8b
lea eax, [r13 + 1]
test eax, eax
jle 0x140025196
cdqe
mov qword [rbp + 0x60], rax
xor r12d, r12d
lea rcx, [0x14006e088]
cmp qword [0x14006e0a0], 0x10
cmovae rcx, qword [0x14006e088]
movzx eax, byte [rbp + r12 - 0x14]
mov cl, byte [rax + rcx]
mov byte [rbp + 0x58], cl
mov rsi, qword [rbx + 0x10]
mov r15, qword [rbx + 0x18]
cmp rsi, r15
jae 0x140025091
lea rax, [rsi + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp r15, 0x10
jb 0x140025084
mov rax, qword [rbx]
mov byte [rax + rsi], cl
mov byte [rax + rsi + 1], 0
jmp 0x140025175
mov rax, r10
sub rax, rsi
cmp rax, 1
jb 0x1400252c9
lea rdi, [rsi + 1]
or rdi, 0xf
cmp rdi, r10
jbe 0x1400250b6
mov rdi, r10
mov rcx, r11
jmp 0x1400250df
mov rcx, r15
shr rcx, 1
mov rax, r10
sub rax, rcx
cmp r15, rax
ja 0x1400250ae
lea rax, [r15 + rcx]
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400250e9
call fcn.140007b5c
mov r14, rax
jmp 0x1400250f8
test rcx, rcx
je 0x1400250f5
call fcn.140051e08
jmp 0x1400250e4
xor r14d, r14d
lea rax, [rsi + 1]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rdi
mov r8, rsi
mov rcx, r14
cmp r15, 0x10
jb 0x14002515c
mov rdi, qword [rbx]
mov rdx, rdi
call qword [sym.imp.msvcrt.dll_memcpy]
mov al, byte [rbp + 0x58]
mov byte [r14 + rsi], al
mov byte [r14 + rsi + 1], 0
lea rdx, [r15 + 1]
cmp rdx, 0x1000
jb 0x140025152
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400252d5
mov rdi, rcx
mov rcx, rdi
call fcn.14005209c
jmp 0x140025172
mov rdx, rbx
call qword [sym.imp.msvcrt.dll_memcpy]
mov al, byte [rbp + 0x58]
mov byte [r14 + rsi], al
mov byte [r14 + rsi + 1], 0
mov qword [rbx], r14
inc r12
cmp r12, qword [rbp + 0x60]
movabs r10, 0x7fffffffffffffff
movabs r11, 0x8000000000000000
jl 0x140025040
cmp r13d, 3
jge 0x1400252b5
inc r13d
mov rsi, qword [rbx + 0x10]
mov r15, qword [rbx + 0x18]
cmp rsi, r15
jae 0x1400251cc
lea rax, [rsi + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp r15, 0x10
jb 0x1400251c4
mov rax, qword [rbx]
mov word [rax + rsi], 0x3d
jmp 0x140025196
movabs rdx, 0x7fffffffffffffff
mov rax, rdx
sub rax, rsi
cmp rax, 1
jb 0x1400252c9
lea r12, [rsi + 1]
mov rdi, r12
or rdi, 0xf
cmp rdi, rdx
jbe 0x140025205
mov rdi, rdx
movabs rcx, 0x8000000000000000
jmp 0x14002522e
mov rcx, r15
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r15, rax
ja 0x1400251f6
lea rax, [r15 + rcx]
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140025238
call fcn.140007b5c
mov r14, rax
jmp 0x140025247
test rcx, rcx
je 0x140025244
call fcn.140051e08
jmp 0x140025233
xor r14d, r14d
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], rdi
mov r8, rsi
mov rcx, r14
cmp r15, 0x10
jb 0x14002529d
mov rdi, qword [rbx]
mov rdx, rdi
call qword [sym.imp.msvcrt.dll_memcpy]
mov word [r14 + rsi], 0x3d
lea rdx, [r15 + 1]
cmp rdx, 0x1000
jb 0x140025293
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400252d5
mov rdi, rcx
mov rcx, rdi
call fcn.14005209c
jmp 0x1400252ad
mov rdx, rbx
call qword [sym.imp.msvcrt.dll_memcpy]
mov word [r14 + rsi], 0x3d
mov qword [rbx], r14
jmp 0x140025196
mov rax, rbx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140001894
int3
call fcn.140052320
int3
call fcn.140055e50
int3