Function at 0x49a060
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x128]
cmp r12, qword [r14 + 0x10]
jbe 0x49a898
sub rsp, 0x1a8
mov qword [rsp + 0x1a0], rbp
lea rbp, [rsp + 0x1a0]
mov qword [rsp + 0x270], rbx
mov qword [rsp + 0x108], rax
movups xmmword [rsp + 0x1b0], xmm15
lea rdi, [rsp + 0x1b8]
lea rdi, [rdi - 0x10]
nop word [rax + rax]
nop word [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.0045f84f
mov rbp, qword [rbp]
lea rax, [0x005e5b80]
call fcn.0040c940
mov qword [rsp + 0xf0], rax
mov word [rsp + 0x46], 0
movups xmmword [rsp + 0x110], xmm15
movups xmmword [rsp + 0x118], xmm15
movups xmmword [rsp + 0x128], xmm15
movups xmmword [rsp + 0x138], xmm15
movups xmmword [rsp + 0x148], xmm15
mov rbx, qword [rsp + 0x270]
test rbx, rbx
jne 0x49a12c
xor ecx, ecx
jmp 0x49a18d
lea rax, [rsp + 0x110]
call fcn.004996e0
test rax, rax
je 0x49a185
nop
test bl, bl
je 0x49a165
mov rdx, qword [rsp + 0xf0]
mov r8d, dword [rdx]
test r8d, 0x3f
jne 0x49a7ed
xor eax, eax
nop
jmp 0x49a82b
nop
mov rdx, qword [rsp + 0xf0]
mov r8d, dword [rdx]
test r8d, 0x3f
jne 0x49a752
xor eax, eax
jmp 0x49a780
mov eax, 8
mov rcx, rax
mov qword [rsp + 0x78], rcx
mov rax, qword [rsp + 0x108]
call fcn.0049c5a0
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x80], rbx
xor ecx, ecx
mov rdx, qword [rsp + 0x78]
jmp 0x49a1d3
mov rcx, qword [rsp + 0x68]
inc rcx
mov rbx, qword [rsp + 0x80]
mov rdx, rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x78], rdx
nop dword [rax + rax]
cmp rbx, rcx
jle 0x49a2e5
mov qword [rsp + 0x68], rcx
mov rbx, qword [rax + rcx*8]
mov qword [rsp + 0xe8], rbx
lea rax, [rsp + 0x110]
call fcn.004993e0
test rax, rax
jne 0x49a2bf
mov rsi, qword [rsp + 0xe8]
movzx edi, byte [rsi + 0x15]
mov r8, qword [rsp + 0x78]
lea r8, [r8 + rdi]
lea r8, [r8 - 1]
neg rdi
and rdi, r8
add rdi, qword [rsi]
nop
mov rcx, qword [rsp + 0x130]
mov rsi, qword [rsp + 0x128]
mov rax, qword [rsp + 0x68]
cmp rax, rcx
jae 0x49a74d
mov r8, qword [rsi + rax*8]
lea r9, [rcx - 1]
cmp rax, r9
jne 0x49a268
mov rsi, qword [rsp + 0x118]
jmp 0x49a27a
lea r9, [rax + 1]
cmp rcx, r9
jbe 0x49a745
mov rsi, qword [rsi + rax*8 + 8]
mov rdx, qword [rsp + 0x120]
mov r9, qword [rsp + 0x110]
cmp rsi, rdx
ja 0x49a73d
cmp rsi, r8
jb 0x49a732
lea r10, [r8 + r8*2]
mov r11, r8
sub r8, rdx
shl r10, 4
sar r8, 0x3f
and r8, r10
lea rdx, [r9 + r8]
sub rsi, r11
xor ecx, ecx
jmp 0x49a674
mov rbx, qword [rax + 0x18]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe8]
call fcn.0049d280
mov rax, qword [rsp + 0x78]
nop dword [rax]
jmp 0x49a1b8
nop
mov rcx, qword [rsp + 0x140]
mov qword [rsp + 0x70], rcx
nop
mov word [rsp + 0x44], 0
movups xmmword [rsp + 0x158], xmm15
movups xmmword [rsp + 0x160], xmm15
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x180], xmm15
movups xmmword [rsp + 0x190], xmm15
lea rdx, [rcx + 7]
and rdx, 0xfffffffffffffff8
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x188], rdx
mov rax, qword [rsp + 0x108]
call fcn.0049c660
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x80], rbx
xor ecx, ecx
jmp 0x49a376
mov rcx, qword [rsp + 0x60]
inc rcx
mov rax, qword [rsp + 0x100]
mov rbx, qword [rsp + 0x80]
cmp rbx, rcx
jle 0x49a457
mov qword [rsp + 0x60], rcx
mov rbx, qword [rax + rcx*8]
mov qword [rsp + 0xf8], rbx
lea rax, [rsp + 0x158]
call fcn.004993e0
nop dword [rax]
test rax, rax
jne 0x49a439
nop
mov rcx, qword [rsp + 0x178]
mov rsi, qword [rsp + 0x170]
mov rax, qword [rsp + 0x60]
nop
cmp rax, rcx
jae 0x49a667
mov r8, qword [rsi + rax*8]
lea r9, [rcx - 1]
cmp rax, r9
jne 0x49a3e2
mov rsi, qword [rsp + 0x160]
nop
jmp 0x49a3f4
lea r9, [rax + 1]
cmp rcx, r9
jbe 0x49a65f
mov rsi, qword [rsi + rax*8 + 8]
mov rdx, qword [rsp + 0x168]
mov r9, qword [rsp + 0x158]
cmp rsi, rdx
ja 0x49a657
cmp rsi, r8
jb 0x49a64c
lea r10, [r8 + r8*2]
mov r11, r8
sub r8, rdx
shl r10, 4
sar r8, 0x3f
and r8, r10
lea rdx, [r9 + r8]
sub rsi, r11
xor ecx, ecx
jmp 0x49a5a0
mov rbx, qword [rax + 0x18]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.0049d280
jmp 0x49a35e
mov rax, qword [rsp + 0x48]
sub qword [rsp + 0x188], rax
movups xmmword [rsp + 0x1b0], xmm15
lea rdi, [rsp + 0x1b8]
lea rdi, [rdi - 0x10]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.0045f84f
mov rbp, qword [rbp]
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0x1b0], rcx
movups xmm0, xmmword [rsp + 0x118]
movups xmmword [rsp + 0x1b8], xmm0
movups xmm0, xmmword [rsp + 0x128]
movups xmmword [rsp + 0x1c8], xmm0
movups xmm0, xmmword [rsp + 0x138]
movups xmmword [rsp + 0x1d8], xmm0
movups xmm0, xmmword [rsp + 0x148]
movups xmmword [rsp + 0x1e8], xmm0
mov rcx, qword [rsp + 0x158]
mov qword [rsp + 0x1f8], rcx
movups xmm0, xmmword [rsp + 0x160]
movups xmmword [rsp + 0x200], xmm0
movups xmm0, xmmword [rsp + 0x170]
movups xmmword [rsp + 0x210], xmm0
movups xmm0, xmmword [rsp + 0x180]
movups xmmword [rsp + 0x220], xmm0
movups xmm0, xmmword [rsp + 0x190]
movups xmmword [rsp + 0x230], xmm0
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x240], rcx
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x78]
add rax, 7
and rax, 0xfffffffffffffff8
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x258], rax
movzx eax, word [rsp + 0x46]
mov word [rsp + 0x260], ax
movzx eax, word [rsp + 0x44]
mov word [rsp + 0x262], ax
mov rbp, qword [rsp + 0x1a0]
add rsp, 0x1a8
ret
add rdx, 0x30
lea rcx, [rbx + 1]
nop
cmp rcx, rsi
jge 0x49a35e
movups xmm0, xmmword [rdx]
movups xmmword [rsp + 0x88], xmm0
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rsp + 0x98], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rsp + 0xa8], xmm0
cmp qword [rsp + 0x88], 3
jne 0x49a632
mov r8, qword [rsp + 0xa8]
mov r9, r8
sar r8, 0x3f
shr r8, 0x3d
add r8, r9
mov r10, r8
sar r8, 3
cmp r8, 2
jae 0x49a63f
movzx r11d, byte [rsp + r8 + 0x44]
and r10, 0xfffffffffffffff8
sub r9, r10
test r9, r9
jl 0x49a63a
cmp r9, 0x20
sbb r10d, r10d
mov rbx, rcx
mov rcx, r9
mov r12d, 1
shl r12d, cl
and r12d, r10d
or r11d, r12d
mov byte [rsp + r8 + 0x44], r11b
jmp 0x49a597
mov rbx, rcx
jmp 0x49a597
call fcn.00432360
mov rax, r8
mov ecx, 2
call fcn.0045f5c0
mov rax, r8
mov rcx, rsi
call fcn.0045f680
mov rcx, rsi
call fcn.0045f640
mov rax, r9
call fcn.0045f5c0
call fcn.0045f5c0
add rdx, 0x30
lea rcx, [rbx + 1]
cmp rcx, rsi
jge 0x49a713
movups xmm0, xmmword [rdx]
movups xmmword [rsp + 0xb8], xmm0
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rsp + 0xc8], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rsp + 0xd8], xmm0
cmp qword [rsp + 0xb8], 3
jne 0x49a70b
mov r8, qword [rsp + 0xd8]
mov r9, r8
sar r8, 0x3f
shr r8, 0x3d
add r8, r9
mov r10, r8
sar r8, 3
cmp r8, 2
jae 0x49a725
movzx r11d, byte [rsp + r8 + 0x46]
and r10, 0xfffffffffffffff8
sub r9, r10
nop dword [rax + rax]
test r9, r9
jl 0x49a71b
cmp r9, 0x20
sbb r10d, r10d
mov rbx, rcx
mov rcx, r9
mov r12d, 1
shl r12d, cl
and r12d, r10d
or r11d, r12d
mov byte [rsp + r8 + 0x46], r11b
jmp 0x49a66c
mov rbx, rcx
jmp 0x49a66c
mov rax, rdi
jmp 0x49a1b8
nop dword [rax + rax]
call fcn.00432360
mov rax, r8
mov ecx, 2
call fcn.0045f5c0
mov rax, r8
mov rcx, rsi
call fcn.0045f680
mov rcx, rsi
call fcn.0045f640
mov rax, r9
call fcn.0045f5c0
call fcn.0045f5c0
mov rcx, qword [rdx + 0x10]
mov eax, dword [rdx]
shr eax, 3
nop dword [rax + rax]
cmp rcx, rax
jbe 0x49a76e
inc dword [rdx]
xor eax, eax
jmp 0x49a18a
call fcn.0045f5c0
mov qword [rdx + 0x10], rbx
mov byte [rbx + r8 - 1], 0
inc rax
cmp rax, 8
jge 0x49a752
mov rbx, qword [rdx + 0x10]
inc rbx
mov r8, qword [rdx + 8]
mov rcx, qword [rdx + 0x18]
cmp rcx, rbx
jae 0x49a773
mov qword [rsp + 0x50], rax
mov rax, r8
mov edi, 1
lea rsi, [0x005d4360]
call fcn.004460c0
mov rdi, qword [rsp + 0xf0]
mov qword [rdi + 0x18], rcx
cmp dword [0x009a1360], 0
jne 0x49a7ce
mov qword [rdi + 8], rax
jmp 0x49a7e0
lea rdx, [rdi + 8]
mov rcx, rdi
mov rdi, rdx
call fcn.0045f120
mov rdi, rcx
mov rdx, rdi
mov r8, rax
mov rax, qword [rsp + 0x50]
jmp 0x49a773
mov rbx, qword [rdx + 8]
mov rcx, qword [rdx + 0x10]
mov eax, dword [rdx]
mov esi, eax
shr eax, 3
nop dword [rax]
cmp rcx, rax
jbe 0x49a819
movzx ecx, byte [rbx + rax]
and esi, 7
bts ecx, esi
mov byte [rbx + rax], cl
inc dword [rdx]
jmp 0x49a767
call fcn.0045f5c0
mov qword [rdx + 0x10], rbx
mov byte [rbx + r8 - 1], 0
inc rax
cmp rax, 8
jge 0x49a7ed
mov rbx, qword [rdx + 0x10]
inc rbx
mov r8, qword [rdx + 8]
mov rcx, qword [rdx + 0x18]
cmp rcx, rbx
jae 0x49a81e
mov qword [rsp + 0x58], rax
mov rax, r8
mov edi, 1
lea rsi, [0x005d4360]
call fcn.004460c0
mov rdi, qword [rsp + 0xf0]
mov qword [rdi + 0x18], rcx
cmp dword [0x009a1360], 0
jne 0x49a879
mov qword [rdi + 8], rax
jmp 0x49a88b
lea rdx, [rdi + 8]
mov rcx, rdi
mov rdi, rdx
call fcn.0045f120
mov rdi, rcx
mov rdx, rdi
mov r8, rax
mov rax, qword [rsp + 0x58]
jmp 0x49a81e
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rbx
call fcn.0045cf60
mov rax, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
nop dword [rax]
jmp fcn.0049a060