Function at 0x140036950
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14007a080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12, rdx
mov rbx, rcx
mov qword [rbp - 0x19], rcx
xor esi, esi
mov dword [rbp - 0x31], esi
mov r14d, 0xb6
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], sil
mov dword [rbp - 0x31], 1
lea rdx, [0x14006c4e0]
lea rcx, [rbp + 0xf]
call fcn.140009480
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x140036a1d
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036a18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036ca3
call fcn.140015c34
movdqa xmm0, xmmword [0x14006f290]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov edi, esi
mov rcx, rsi
mov r13, qword [rbp + 7]
mov r15, qword [rbp - 0x11]
jmp 0x140036a44
mov r12, qword [rbp - 0x29]
dec r14d
movzx eax, byte [r12]
mov byte [rbp + rcx - 0x39], al
inc edi
inc rcx
inc r12
mov qword [rbp - 0x29], r12
movzx r8d, byte [rbp - 0x37]
movzx r12d, byte [rbp - 0x38]
movzx edx, byte [rbp - 0x39]
cmp rcx, 3
jne 0x140036b15
movzx eax, dl
shr al, 2
mov byte [rbp - 0x35], al
movzx ecx, dl
and cl, 3
shl cl, 4
movzx eax, r12b
shr al, 4
add cl, al
mov byte [rbp - 0x34], cl
movzx ecx, r12b
and cl, 0xf
shl cl, 2
movzx eax, r8b
shr al, 6
add cl, al
mov byte [rbp - 0x33], cl
movzx eax, r8b
and al, 0x3f
mov byte [rbp - 0x32], al
mov rdi, rsi
lea rcx, [rbp - 0x11]
cmp r13, 0x10
cmovae rcx, r15
movzx eax, byte [rbp + rdi - 0x35]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140036af6
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140036aeb
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140036afe
mov rcx, rbx
call fcn.140010600
inc rdi
cmp rdi, 4
jl 0x140036ab4
mov edi, esi
mov rcx, rsi
movzx edx, byte [rbp - 0x39]
movzx r8d, byte [rbp - 0x37]
test r14d, r14d
jne 0x140036a40
test edi, edi
je 0x140036c3a
movsxd rax, edi
cmp rax, 3
jge 0x140036b51
jae 0x140036ca9
mov byte [rbp + rax - 0x39], 0
inc rax
cmp rax, 3
jl 0x140036b2f
movzx r8d, byte [rbp - 0x37]
movzx r12d, byte [rbp - 0x38]
movzx edx, byte [rbp - 0x39]
movzx eax, dl
shr al, 2
mov byte [rbp - 0x35], al
and dl, 3
shl dl, 4
movzx eax, r12b
shr al, 4
add dl, al
mov byte [rbp - 0x34], dl
and r12b, 0xf
shl r12b, 2
movzx eax, r8b
shr al, 6
add r12b, al
mov byte [rbp - 0x33], r12b
and r8b, 0x3f
mov byte [rbp - 0x32], r8b
lea eax, [rdi + 1]
movsxd r14, eax
test eax, eax
jle 0x140036be6
lea rcx, [rbp - 0x11]
cmp r13, 0x10
cmovae rcx, r15
movzx eax, byte [rbp + rsi - 0x35]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140036bd6
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140036bcb
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140036bde
mov rcx, rbx
call fcn.140010600
inc rsi
cmp rsi, r14
jl 0x140036b94
cmp edi, 3
jge 0x140036c3a
mov eax, 3
sub eax, edi
mov edi, eax
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140036c29
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140036c21
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140036c34
mov r9b, 0x3d
mov rcx, rbx
call fcn.140010600
sub rdi, 1
jne 0x140036c00
cmp r13, 0x10
jb 0x140036c6d
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140036c65
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036c9d
mov rcx, r15
call fcn.140015c34
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140015c10
lea r11, [rsp + 0x90]
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
call fcn.14001a104
nop
call fcn.14001a104
int3
call fcn.140015d80
int3