Function at 0x18035d050
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rbx, rcx
lea rdi, [rcx + 0x298]
mov qword [rbp - 0x78], rdi
mov rcx, qword [rdi + 8]
sub rcx, qword [rdi]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
mov r13, rdx
sar r13, 2
mov rax, r13
shr rax, 0x3f
add r13, rax
mov qword [rbp + 0x40], r13
mov qword [rbp - 0x70], r13
xor r14d, r14d
mov esi, r14d
mov qword [rbp - 0x68], r14
movups xmm0, xmmword [rbx + 0x2c]
movups xmmword [rbp - 0x60], xmm0
mov ecx, dword [rbx + 0x28]
mov dword [rsp + 0x38], ecx
mov rax, qword [rbx + 0x2c]
mov qword [rsp + 0x3c], rax
cmp ecx, 0x7b
mov rcx, rbx
je 0x18035d106
lea r8, [0x1804a8ea8]
lea edx, [r14 + 0x7b]
call fcn.180354ff0
lea rcx, [rbx + 8]
lea rdx, [rbp - 0x50]
call fcn.180350890
cmp dword [rax], 0x7b
jne 0x18035d10b
mov rcx, rbx
call fcn.180355830
mov rcx, rbx
call fcn.180355830
mov eax, dword [rbx + 0x28]
cmp eax, 0x7d
je 0x18035d406
nop word [rax + rax]
mov r13d, dword [rbx + 0x30]
cmp eax, 0x5b
jne 0x18035d1da
mov dword [rsp + 0x78], eax
mov rax, qword [rbx + 0x2c]
mov qword [rsp + 0x7c], rax
mov rcx, rbx
call fcn.180355830
xor edx, edx
mov rcx, rbx
call fcn.180357b40
mov r15, rax
mov rcx, rbx
cmp dword [rbx + 0x28], 0x5d
je 0x18035d17d
xor r9d, r9d
lea r8, [rsp + 0x78]
lea edx, [r9 + 0x5d]
call fcn.180355160
xor r9d, r9d
lea r8, [rsp + 0x78]
mov dl, 0x5d
mov rcx, rbx
call fcn.180355400
jmp 0x18035d182
call fcn.180355830
mov rcx, rbx
cmp dword [rbx + 0x28], 0x3d
je 0x18035d1b9
lea r8, [0x1804a87f0]
mov edx, 0x3d
call fcn.180354ff0
lea rcx, [rbx + 8]
lea rdx, [rbp - 0x30]
call fcn.180350890
cmp dword [rax], 0x3d
jne 0x18035d1be
mov rcx, rbx
call fcn.180355830
mov rcx, rbx
call fcn.180355830
xor edx, edx
mov rcx, rbx
call fcn.180357b40
mov dword [rsp + 0x20], 2
mov qword [rsp + 0x28], r15
jmp 0x18035d376
cmp eax, 0x119
jne 0x18035d362
lea rdx, [rsp + 0x48]
lea rcx, [rbx + 8]
call fcn.180350890
cmp dword [rax], 0x3d
jne 0x18035d362
mov rcx, rbx
cmp dword [rbx + 0x28], 0x119
je 0x18035d23f
lea rdx, [0x1804a87f0]
call fcn.18035f2a0
movups xmm0, xmmword [rbx + 0x2c]
movups xmmword [rsp + 0x48], xmm0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 0xd0]
mov qword [rsp + 0x20], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x28], xmm0
jmp 0x18035d26e
mov rax, qword [rbx + 0x40]
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [rbx + 0x2c]
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rbp - 0x48], xmm0
call fcn.180355830
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsp + 0x30], xmm0
mov rcx, rbx
cmp dword [rbx + 0x28], 0x3d
je 0x18035d2a5
lea r8, [0x1804a87f0]
mov edx, 0x3d
call fcn.180354ff0
lea rdx, [rbp - 0x10]
lea rcx, [rbx + 8]
call fcn.180350890
cmp dword [rax], 0x3d
jne 0x18035d2aa
mov rcx, rbx
call fcn.180355830
mov rcx, rbx
call fcn.180355830
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x68], rcx
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x18035d2c0
mov qword [rsp + 0x70], rax
mov edx, 0x38
mov rcx, qword [rbx + 0x80]
call fcn.18034fde0
mov r15, rax
mov r9d, 1
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.18034d750
xor edx, edx
mov rcx, rbx
call fcn.180357b40
mov rdx, r14
mov ecx, dword [0x18051258c]
cmp dword [rax + 8], ecx
cmove rdx, rax
test rdx, rdx
je 0x18035d325
mov rcx, qword [rsp + 0x20]
mov qword [rdx + 0xa8], rcx
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x18035d35b
movups xmm0, xmmword [rsp + 0x48]
movsd xmm1, qword [rsp + 0x58]
movups xmmword [rdx], xmm0
movsd qword [rdx + 0x10], xmm1
add qword [rdi + 8], 0x18
jmp 0x18035d3ac
lea r8, [rsp + 0x48]
jmp 0x18035d3a4
xor edx, edx
mov rcx, rbx
call fcn.180357b40
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x18035d39f
movups xmm0, xmmword [rsp + 0x20]
movsd xmm1, qword [rsp + 0x30]
movups xmmword [rdx], xmm0
movsd qword [rdx + 0x10], xmm1
add qword [rdi + 8], 0x18
jmp 0x18035d3ac
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.1800fcad0
inc rsi
mov qword [rbp - 0x68], rsi
mov eax, dword [rbx + 0x28]
cmp eax, 0x2c
je 0x18035d3ee
cmp eax, 0x3b
je 0x18035d3ee
cmp eax, 0x5b
je 0x18035d3cc
cmp eax, 0x119
jne 0x18035d3e7
cmp dword [rbx + 0x30], r13d
jne 0x18035d3e7
lea r8, [0x1804a8eb8]
lea rdx, [rbx + 0x2c]
mov rcx, rbx
call fcn.18035eff0
jmp 0x18035d3f6
cmp eax, 0x7d
jne 0x18035d402
jmp 0x18035d3f6
mov rcx, rbx
call fcn.180355830
mov eax, dword [rbx + 0x28]
cmp eax, 0x7d
jne 0x18035d120
mov r13, qword [rbp + 0x40]
movups xmm0, xmmword [rbx + 0x2c]
movups xmmword [rsp + 0x68], xmm0
mov rcx, rbx
cmp eax, 0x7d
je 0x18035d449
xor r9d, r9d
lea r8, [rsp + 0x38]
lea edx, [r9 + 0x7d]
call fcn.180355160
xor r9d, r9d
lea r8, [rsp + 0x38]
mov dl, 0x7d
mov rcx, rbx
call fcn.180355400
test al, al
jne 0x18035d44e
movups xmm0, xmmword [rbx + 0x48]
movups xmmword [rsp + 0x68], xmm0
jmp 0x18035d44e
call fcn.180355830
mov r15, qword [rbx + 0x80]
test rsi, rsi
jne 0x18035d45f
mov rbx, r14
jmp 0x18035d471
lea rcx, [r13*2]
add rcx, r13
mov rax, qword [rdi]
lea rbx, [rax + rcx*8]
test rsi, rsi
je 0x18035d488
lea rdx, [rsi + rsi*2]
shl rdx, 3
mov rcx, r15
call fcn.18034fde0
jmp 0x18035d48b
mov rax, r14
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x18035d4c9
nop word [rax + rax]
movups xmm0, xmmword [r14 + rbx]
movups xmmword [r14 + rax], xmm0
movsd xmm1, qword [r14 + rbx + 0x10]
movsd qword [r14 + rax + 0x10], xmm1
lea r14, [r14 + 0x18]
sub rsi, 1
je 0x18035d4c9
mov rax, qword [rsp + 0x38]
jmp 0x18035d4a0
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, r15
call fcn.18034fde0
mov rbx, rax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.18034da50
nop
lea rdx, [r13*2]
add rdx, r13
mov rcx, qword [rdi]
lea rax, [rcx + rdx*8]
cmp rax, qword [rdi + 8]
je 0x18035d51b
mov qword [rdi + 8], rax
mov rax, rbx
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret