Function at 0x1401448d0
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rax, qword [rcx + 0x20]
add rdx, rax
jb 0x140144c3d
mov r12, rcx
mov r15, qword [rcx + 8]
cmp rdx, r15
jbe 0x140144bf4
mov esi, 1
cmp rdx, 2
jb 0x140144946
dec rdx
bsr rcx, rdx
xor ecx, 0x3f
mov rsi, 0xffffffffffffffff
shr rsi, cl
inc rsi
cmp rsi, 0x8000
ja 0x140144c57
test rsi, rsi
je 0x140144c71
test rax, rax
je 0x140144967
mov rcx, r12
mov rdx, rsi
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp fcn.140141220
lea eax, [rsi - 1]
mov word [r12 + 0x58], ax
lea r14, [rsi*4]
mov edx, 2
mov rcx, r14
call fcn.14001c230
test rax, rax
je 0x140144c8b
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rax
cmp rsi, 2
jb 0x140144a7f
lea r8, [rsi - 1]
mov ecx, 1
cmp r8, 8
jb 0x140144a65
mov rcx, r8
and rcx, 0xfffffffffffffff8
lea rdi, [rcx - 8]
mov rbx, rdi
shr rbx, 3
inc rbx
mov edx, ebx
and edx, 3
cmp rdi, 0x18
jae 0x1401449d7
xor edi, edi
jmp 0x140144a21
and rbx, 0xfffffffffffffffc
xor edi, edi
movaps xmm0, xmmword [0x14021de00]
nop word cs:[rax + rax]
movups xmmword [rax + rdi*4], xmm0
movups xmmword [rax + rdi*4 + 0x10], xmm0
movups xmmword [rax + rdi*4 + 0x20], xmm0
movups xmmword [rax + rdi*4 + 0x30], xmm0
movups xmmword [rax + rdi*4 + 0x40], xmm0
movups xmmword [rax + rdi*4 + 0x50], xmm0
movups xmmword [rax + rdi*4 + 0x60], xmm0
movups xmmword [rax + rdi*4 + 0x70], xmm0
add rdi, 0x20
add rbx, 0xfffffffffffffffc
jne 0x1401449f0
test rdx, rdx
je 0x140144a58
shl rdi, 2
movaps xmm0, xmmword [0x14021de00]
nop word cs:[rax + rax]
mov rbx, rdi
or rbx, 0x10
movups xmmword [rax + rdi], xmm0
movups xmmword [rax + rbx], xmm0
add rdi, 0x20
dec rdx
jne 0x140144a40
lea rax, [rax + rcx*4]
cmp r8, rcx
je 0x140144a7f
or rcx, 1
mov rdx, rsi
sub rdx, rcx
nop dword [rax + rax]
mov dword [rax], 0xffff
add rax, 4
dec rdx
jne 0x140144a70
mov dword [rax], 0xffff
mov qword [rbp - 0x48], rsi
mov rdx, qword [rbp - 0x58]
cmp rdx, rsi
jbe 0x140144ac8
mov rcx, qword [rbp - 0x50]
shl rdx, 2
test rsi, rsi
je 0x140144c06
mov r8d, 2
mov r9, r14
call fcn.14001c250
mov rbx, rax
test rax, rax
jne 0x140144acc
mov edx, 2
mov rcx, r14
call fcn.1402179b0
ud2
mov rbx, qword [rbp - 0x50]
test r15, r15
je 0x140144ae7
mov rcx, qword [r12]
shl r15, 2
mov r8d, 2
mov rdx, r15
call fcn.14001c240
mov qword [r12], rbx
mov qword [r12 + 8], rsi
mov rcx, rsi
shr rcx, 2
mov eax, 8
sub rsi, rcx
je 0x140144b40
movabs rax, 0x13b13b13b13b13c
xor ebx, ebx
cmp rsi, rax
setb al
jae 0x140144c9a
imul rdi, rsi, 0x68
mov bl, al
shl rbx, 3
test rdi, rdi
je 0x140144c24
mov rcx, rdi
mov rdx, rbx
call fcn.14001c230
test rax, rax
je 0x140144c30
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], rsi
lea rax, [r12 + 0x10]
mov qword [rbp - 0x18], rax
mov rdi, qword [r12 + 0x18]
mov qword [rbp - 0x30], r12
imul rax, qword [r12 + 0x20], 0x68
add rax, rdi
mov qword [rbp - 0x38], rax
mov rcx, rdi
jmp 0x140144b8b
mov rbx, qword [rbp - 0x10]
mov rax, qword [rbx + 0x38]
lea rcx, [rbx + 0x30]
mov rdx, qword [rbx + 0x20]
mov r8, qword [rbx + 0x28]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x40]
cmp rcx, qword [rbp - 0x38]
je 0x140144bba
lea rax, [rcx + 0x68]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x10], rcx
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140144b70
mov rbx, qword [rbp - 0x10]
lea rcx, [rbx + 0x10]
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
call qword [rax + 0x10]
jmp 0x140144b70
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
test rax, rax
je 0x140144bd8
imul rdx, rax, 0x68
mov r8d, 8
mov rcx, rdi
call fcn.14001c240
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp - 0x20]
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], 0
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
mov ebx, 2
mov r8d, 2
call fcn.14001c240
test r15, r15
jne 0x140144ad1
jmp 0x140144ae7
mov rax, rbx
test rax, rax
jne 0x140144b40
mov rcx, rdi
mov rdx, rbx
call fcn.1402179b0
ud2
lea rcx, str.reserve_overflowheader_map_reserve_over_max_capacity
lea r8, [0x14023d9c8]
mov edx, 0x10
call fcn.140217ac0
ud2
lea rcx, [0x14023d950]
lea r8, [0x14023d978]
mov edx, 0x24
call fcn.140210bc0
ud2
lea rcx, str.header_map_reserve_overflowed
lea r8, [0x14023d9b0]
mov edx, 0x1d
call fcn.140210bc0
ud2
mov edx, 2
mov rcx, r14
call fcn.1402179b0
ud2
call fcn.1401fa2d0
ud2