Function at 0x140001480
Capabilities:
Encode data using base64

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x140024008]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movsxd r12, r8d
mov r13, rdx
mov qword [rsp + 0x58], rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x20], 0
movaps xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [0x140020c50]
movaps xmmword [rsp + 0x80], xmm1
movaps xmm0, xmmword [0x140020c60]
movaps xmmword [r11 - 0x78], xmm0
movaps xmm1, xmmword [0x140020c70]
movaps xmmword [r11 - 0x68], xmm1
movzx eax, byte [0x140020c80]
mov byte [r11 - 0x58], al
mov ecx, 0x186a0
call fcn.14000c184
mov rsi, rax
mov qword [rsp + 0x28], rax
xor ebx, ebx
xor r10d, r10d
test r12d, r12d
jle 0x140001610
xor ebp, ebp
xor r11d, r11d
jmp 0x140001535
mov rsi, qword [rsp + 0x28]
xor r8d, r8d
xor r9d, r9d
mov edx, r10d
mov rcx, rbp
cmp rbp, r12
jge 0x14000156a
lea eax, [r10 + 2]
cmp edx, eax
jg 0x14000156a
mov rax, qword [r13]
shl r8d, 8
movsx eax, byte [rcx + rax]
or r8d, eax
inc r9d
inc edx
inc rcx
cmp rcx, r12
jl 0x140001546
lea r9d, [r9*8]
mov eax, 0x55555556
imul r9d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
mov r15d, r9d
sub r15d, eax
test r9d, r9d
je 0x1400015d9
nop
cmp r9d, 6
jl 0x1400015ba
add r9d, 0xfffffffa
mov eax, r8d
mov ecx, r9d
sar eax, cl
and eax, 0x3f
movzx eax, byte [rsp + rax + 0x70]
mov byte [r11 + rsi], al
inc ebx
inc r11
test r9d, r9d
jne 0x140001590
jmp 0x1400015d9
mov ecx, 6
sub ecx, r9d
shl r8d, cl
mov eax, r8d
and eax, 0x3f
movzx eax, byte [rsp + rax + 0x70]
mov byte [r11 + rsi], al
inc ebx
inc r11
movsxd rsi, ebx
add r10d, 3
add rbp, 3
cmp r10d, r12d
jl 0x140001530
mov ebx, esi
cmp r15d, 1
jl 0x14000160b
mov rcx, qword [rsp + 0x28]
add rcx, rsi
mov r8d, r15d
mov dl, 0x3d
call fcn.1400072a0
lea ebx, [rsi + r15]
mov rsi, qword [rsp + 0x28]
movsxd rax, ebx
mov qword [rsp + 0x50], rax
mov byte [rax + rsi], 0
mov qword [rdi], 0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
xor r8d, r8d
lea rdx, [0x140020c23]
mov rcx, rdi
call fcn.140003ea0
mov dword [rsp + 0x20], 1
test ebx, ebx
jle 0x14000180f
xor r15d, r15d
mov rdx, 0xffffffffffffffff
lea ecx, [rdx + 0x17]
movabs rax, 0x7fffffffffffffff
movzx r13d, byte [r15 + rsi]
mov rbp, qword [rdi + 0x10]
cmp rbp, rax
je 0x14000188b
mov r12, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000169e
mov r12, qword [rdi]
mov qword [rsp + 0x30], 0
lea r14, [rbp + 1]
mov esi, recv
lea rbx, [rsp + 0x30]
cmp r14, rsi
jbe 0x140001729
mov rsi, r14
or rsi, 0xf
cmp rsi, rax
jbe 0x1400016cb
mov rsi, rax
jmp 0x1400016d3
cmp rsi, 0x16
cmovb rsi, rcx
mov rcx, rsi
add rcx, 1
cmovb rcx, rdx
cmp rcx, 0x1000
jb 0x140001713
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001897
mov rcx, rax
call fcn.140004ef8
test rax, rax
je 0x14000189d
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140001724
test rcx, rcx
je 0x140001722
call fcn.140004ef8
mov rbx, rax
jmp 0x140001724
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rsi
mov r8, rbp
mov rdx, r12
mov rcx, rbx
call fcn.140006bf0
mov byte [rbx + rbp], r13b
mov byte [rbx + r14], 0
or dword [rsp + 0x20], 2
lea rax, [rsp + 0x30]
cmp rdi, rax
je 0x1400017b9
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140001793
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000178e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000189d
mov rcx, r8
call fcn.140005184
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
jmp 0x1400017f6
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400017f6
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000189d
call fcn.140005184
inc r15
cmp r15, qword [rsp + 0x50]
jge 0x14000180a
mov rsi, qword [rsp + 0x28]
jmp 0x14000166b
mov r13, qword [rsp + 0x58]
mov rcx, qword [r13]
test rcx, rcx
je 0x14000185d
mov rdx, qword [r13 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140001840
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001891
mov rcx, r8
call fcn.140005184
mov qword [r13], 0
mov qword [r13 + 8], 0
mov qword [r13 + 0x10], 0
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140004de0
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400011c0
nop
call fcn.14000c10c
nop
call fcn.140001120
int3
call fcn.14000c10c
int3