Function at 0x1800426e0
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r13d, r8d
mov r14, rdx
mov rbx, rcx
mov qword [rax - 0x30], rcx
xor r15d, r15d
mov dword [rax - 0x40], r15d
mov qword [rcx + 0x20], select
mov qword [rcx + 0x18], r15
mov byte [rcx + 8], r15b
mov dword [rax - 0x40], 1
mov r12d, r15d
mov rcx, r15
test r8d, r8d
je 0x180042acd
nop
dec r13d
movzx eax, byte [r14]
mov byte [rsp + rcx + 0x20], al
inc r12d
inc rcx
inc r14
movzx r9d, byte [rsp + 0x22]
movzx edx, byte [rsp + 0x21]
movzx r8d, byte [rsp + 0x20]
cmp rcx, 3
jne 0x1800428a4
movzx eax, r8b
shr al, 2
mov byte [rsp + 0x24], al
movzx ecx, r8b
and cl, 3
shl cl, 4
movzx eax, dl
shr al, 4
add cl, al
mov byte [rsp + 0x25], cl
movzx ecx, dl
and cl, 0xf
shl cl, 2
movzx eax, r9b
shr al, 6
add cl, al
mov byte [rsp + 0x26], cl
movzx eax, r9b
and al, 0x3f
mov byte [rsp + 0x27], al
mov rbp, r15
nop word [rax + rax]
movzx edi, byte [rsp + rbp + 0x24]
cmp rdi, qword [0x18009d870]
jbe 0x1800427d3
call fcn.1800523b8
lea rax, [0x18009d860]
cmp qword [0x18009d878], 0x10
cmovae rax, qword [0x18009d860]
movzx r12d, byte [rax + rdi]
or rax, 0xffffffffffffffff
sub rax, qword [rbx + 0x18]
cmp rax, 1
ja 0x180042802
call fcn.18004f904
mov rdi, qword [rbx + 0x18]
inc rdi
cmp rdi, 0xfffffffffffffffe
jbe 0x180042814
call fcn.18004f904
mov rax, qword [rbx + 0x20]
cmp rax, rdi
jae 0x18004282e
mov r8, qword [rbx + 0x18]
mov rdx, rdi
mov rcx, rbx
call fcn.180002980
jmp 0x18004284c
test rdi, rdi
jne 0x18004284c
mov qword [rbx + 0x18], r15
cmp rax, 0x10
jb 0x180042843
mov rax, qword [rbx + 8]
jmp 0x180042847
lea rax, [rbx + 8]
mov byte [rax], 0
jmp 0x180042883
test rdi, rdi
je 0x180042883
mov rcx, qword [rbx + 0x18]
cmp qword [rbx + 0x20], 0x10
jb 0x180042862
mov rax, qword [rbx + 8]
jmp 0x180042866
lea rax, [rbx + 8]
mov byte [rax + rcx], r12b
mov qword [rbx + 0x18], rdi
cmp qword [rbx + 0x20], 0x10
jb 0x18004287b
mov rax, qword [rbx + 8]
jmp 0x18004287f
lea rax, [rbx + 8]
mov byte [rax + rdi], 0
inc rbp
cmp rbp, 4
jl 0x1800427c0
mov r12d, r15d
mov rcx, r15
mov dl, byte [rsp + 0x21]
mov r8b, byte [rsp + 0x20]
mov r9b, byte [rsp + 0x22]
test r13d, r13d
jne 0x180042740
test r12d, r12d
je 0x180042ac8
movsxd rax, r12d
mov r15d, 3
cmp r12d, r15d
jge 0x1800428e4
lea rcx, [rsp + rax + 0x20]
mov r8, r15
sub r8, rax
xor edx, edx
call fcn.180055310
mov r9b, byte [rsp + 0x22]
mov dl, byte [rsp + 0x21]
mov r8b, byte [rsp + 0x20]
movzx eax, r8b
shr al, 2
mov byte [rsp + 0x24], al
and r8b, r15b
shl r8b, 4
movzx eax, dl
shr al, 4
add r8b, al
mov byte [rsp + 0x25], r8b
and dl, 0xf
shl dl, 2
movzx eax, r9b
shr al, 6
add dl, al
mov byte [rsp + 0x26], dl
and r9b, 0x3f
mov byte [rsp + 0x27], r9b
lea eax, [r12 + 1]
test eax, eax
jle 0x180042a0f
lea rbp, [rsp + 0x24]
mov r14d, eax
nop word [rax + rax]
movzx edi, byte [rbp]
cmp rdi, qword [0x18009d870]
jbe 0x180042952
call fcn.1800523b8
lea rax, [0x18009d860]
cmp qword [0x18009d878], 0x10
cmovae rax, qword [0x18009d860]
movzx r13d, byte [rax + rdi]
or rax, 0xffffffffffffffff
sub rax, qword [rbx + 0x18]
cmp rax, 1
ja 0x180042981
call fcn.18004f904
mov rdi, qword [rbx + 0x18]
inc rdi
cmp rdi, 0xfffffffffffffffe
jbe 0x180042993
call fcn.18004f904
mov rax, qword [rbx + 0x20]
cmp rax, rdi
jae 0x1800429ad
mov r8, qword [rbx + 0x18]
mov rdx, rdi
mov rcx, rbx
call fcn.180002980
jmp 0x1800429cb
test rdi, rdi
jne 0x1800429cb
mov qword [rbx + 0x18], rdi
cmp rax, 0x10
jb 0x1800429c2
mov rax, qword [rbx + 8]
jmp 0x1800429c6
lea rax, [rbx + 8]
mov byte [rax], 0
jmp 0x180042a02
test rdi, rdi
je 0x180042a02
mov rcx, qword [rbx + 0x18]
cmp qword [rbx + 0x20], 0x10
jb 0x1800429e1
mov rax, qword [rbx + 8]
jmp 0x1800429e5
lea rax, [rbx + 8]
mov byte [rax + rcx], r13b
mov qword [rbx + 0x18], rdi
cmp qword [rbx + 0x20], 0x10
jb 0x1800429fa
mov rax, qword [rbx + 8]
jmp 0x1800429fe
lea rax, [rbx + 8]
mov byte [rax + rdi], 0
inc rbp
sub r14, 1
jne 0x180042940
cmp r12d, r15d
jge 0x180042ac3
sub r15d, r12d
mov ebp, r15d
nop
or rax, 0xffffffffffffffff
sub rax, qword [rbx + 0x18]
cmp rax, 1
ja 0x180042a33
call fcn.18004f904
mov rdi, qword [rbx + 0x18]
inc rdi
cmp rdi, 0xfffffffffffffffe
jbe 0x180042a45
call fcn.18004f904
mov rax, qword [rbx + 0x20]
cmp rax, rdi
jae 0x180042a5f
mov r8, qword [rbx + 0x18]
mov rdx, rdi
mov rcx, rbx
call fcn.180002980
jmp 0x180042a7d
test rdi, rdi
jne 0x180042a7d
mov qword [rbx + 0x18], rdi
cmp rax, 0x10
jb 0x180042a74
mov rax, qword [rbx + 8]
jmp 0x180042a78
lea rax, [rbx + 8]
mov byte [rax], 0
jmp 0x180042ab4
test rdi, rdi
je 0x180042ab4
mov rcx, qword [rbx + 0x18]
cmp qword [rbx + 0x20], 0x10
jb 0x180042a93
mov rax, qword [rbx + 8]
jmp 0x180042a97
lea rax, [rbx + 8]
mov byte [rax + rcx], 0x3d
mov qword [rbx + 0x18], rdi
cmp qword [rbx + 0x20], 0x10
jb 0x180042aac
mov rax, qword [rbx + 8]
jmp 0x180042ab0
lea rax, [rbx + 8]
mov byte [rax + rdi], 0
sub rbp, 1
jne 0x180042a20
mov rax, rbx
jmp 0x180042ad0
mov rax, rbx
jmp 0x180042ad0
mov rax, rbx
jmp 0x180042ad0
mov rax, rbx
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret