Function at 0x14001b470
Capabilities:
Encode data using base64

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
mov r8, qword [rax]
mov rsi, rdx
mov rdx, r8
mov rbx, rcx
shr rdx, 0x21
cmp rdx, 0x7fffffff
je 0x14001ae68
movabs r9, 0x1ffffffff
lea rcx, [rdx + 1]
mov rdx, rcx
shl rdx, 0x21
or rdx, r9
movabs r9, 0xfffffffe00000000
or r8, r9
and rdx, r8
mov qword [rax], rdx
shr rdx, 0x21
cmp rcx, rdx
jne 0x14001aef3
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
sub rax, rcx
lea r8, [rdx + 1]
mov rdi, rax
mov rax, qword [rbx + 0x10]
cmp rax, r8
jae 0x14001ae41
lea rdx, [rax + rax*2 + 0x30]
shr rdx, 1
cmp rdx, r8
cmovb rdx, r8
mov rax, rdx
mov qword [rbx + 0x10], rdx
shr rax, 0x3d
jne 0x14001af0d
shl rdx, 3
call fcn.1400a61c0
mov rdx, qword [rbx + 8]
mov qword [rbx], rax
mov rcx, rax
lea r8, [rdx + 1]
mov rax, rdi
mov qword [rbx + 8], r8
and rax, 0xfffffffffffffff8
add rax, rcx
mov qword [rbx + 0x20], rax
mov eax, 1
mov qword [rcx + rdx*8], rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001ad00
mov rax, qword [rbx + 0x20]
mov rcx, qword [rbx]
movabs rdx, 0x3ffffffff
and rdx, qword [rax]
bts rdx, 0x21
mov qword [rax], rdx
sub rax, rcx
mov r8, qword [rbx + 8]
mov rdi, rax
mov rax, qword [rbx + 0x10]
lea rdx, [r8 + 1]
cmp rax, rdx
jae 0x14001aed3
lea r8, [rax + rax*2 + 0x30]
shr r8, 1
cmp r8, rdx
cmovae rdx, r8
mov rax, rdx
mov qword [rbx + 0x10], rdx
shr rax, 0x3d
jne 0x14001af0d
shl rdx, 3
call fcn.1400a61c0
mov r8, qword [rbx + 8]
mov qword [rbx], rax
mov rcx, rax
lea rdx, [r8 + 1]
mov rax, rdi
mov qword [rbx + 8], rdx
and rax, 0xfffffffffffffff8
add rax, rcx
mov qword [rbx + 0x20], rax
mov eax, 2
mov qword [rcx + r8*8], rsi
jmp 0x14001ae5c
mov r8d, 0x73
lea rdx, str.ewah_ewah_bitmap.c
lea rcx, str.rlw_get_literal_words_self__rlw___current_num__1
call qword [sym.imp.msvcrt.dll__assert]
mov r8, rdx
lea rcx, [0x1401cca80]
mov edx, 8
call fcn.1400a08a0
nop
nop word cs:[rax + rax]
nop dword [rax]
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, rdx
mov rdx, qword [rbx + 0x18]
lea r8, [rcx + 0x40]
shr r8, 6
lea rax, [rdx + 0x3f]
shr rax, 6
sub r8, rax
cmp rcx, rdx
jb 0x14001b5a8
lea rax, [rcx + 1]
mov qword [rbx + 0x18], rax
mov eax, 1
shl rax, cl
mov rsi, rax
test r8, r8
jne 0x14001b4f0
mov rdx, qword [rbx + 0x20]
mov rax, qword [rdx]
mov rcx, rax
shr rcx, 0x21
je 0x14001b578
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
or qword [rax + rcx*8 - 8], rsi
mov rcx, qword [rbx + 8]
cmp qword [rax + rcx*8 - 8], 0xffffffffffffffff
je 0x14001b520
add rsp, 0x28
pop rbx
pop rsi
ret
cmp r8, 1
jne 0x14001b510
mov rdx, rsi
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp 0x14001ad90
sub r8, 1
xor edx, edx
mov rcx, rbx
call fcn.14001b080
jmp 0x14001b4f6
movabs r8, 0x1ffffffff
sub rcx, 1
mov qword [rbx + 8], rcx
mov qword [rax + rcx*8], 0
mov rcx, qword [rdx]
mov rax, rcx
shr rax, 0x21
sub rax, 1
shl rax, 0x21
or rax, r8
movabs r8, 0xfffffffe00000000
or rcx, r8
and rax, rcx
mov rcx, rbx
mov qword [rdx], rax
mov edx, 1
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001af30
movabs r8, 0xfffffffe00000001
mov rcx, rax
shr rcx, 1
lea rcx, [rcx + rcx - 2]
or rcx, r8
movabs r8, 0x1fffffffe
or rax, r8
and rax, rcx
mov qword [rdx], rax
jmp 0x14001b4f6
mov r8d, 0xcf
lea rdx, str.ewah_ewah_bitmap.c
lea rcx, str.i___self__bit_size
call qword [sym.imp.msvcrt.dll__assert]
nop
nop word cs:[rax + rax]
nop