Function at 0x4e2a60
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4e2dc6
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x80], rcx
nop
lea rax, [0x00520f40]
xor ebx, ebx
mov ecx, 0x20
nop dword [rax + rax]
call fcn.0044d760
mov qword [rsp + 0x58], rax
lea rax, [0x0052a6c0]
call fcn.0040e1e0
mov qword [rax + 0x10], 0x20
cmp dword [0x007aa7f0], 0
jne 0x4e2ace
mov rdx, qword [rsp + 0x58]
jmp 0x4e2adb
call fcn.00468580
mov rdx, qword [rsp + 0x58]
mov qword [r11], rdx
mov qword [rsp + 0x48], rax
mov qword [rax], rdx
mov rdx, qword [rsp + 0x78]
mov rsi, qword [rdx + 0x18]
mov rdi, qword [rsi]
mov rdi, qword [rdi + 8]
shl rdi, 6
sub rdi, qword [rsi + 8]
lea rsi, [rdi + 7]
sar rsi, 0x3f
shr rsi, 0x3d
lea rcx, [rdi + rsi]
lea rcx, [rcx + 7]
sar rcx, 3
mov qword [rsp + 0x38], rcx
lea rax, [0x00520d40]
mov rbx, rcx
call fcn.0044d760
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x88]
mov rcx, rax
mov rdi, qword [rsp + 0x38]
mov rsi, rdi
mov r8, rsi
mov rax, qword [rsp + 0x80]
call fcn.00470e00
test rbx, rbx
jne 0x4e2c58
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
shl rdi, 3
mov rdx, qword [rsp + 0x78]
mov r8, qword [rdx + 0x18]
mov r9, qword [r8]
mov r9, qword [r9 + 8]
shl r9, 6
sub r9, qword [r8 + 8]
sub rdi, r9
nop
test rdi, rdi
jle 0x4e2bf7
mov qword [rsp + 0x40], rdi
mov rcx, qword [rdx + 8]
mov rax, qword [rdx + 0x10]
mov rcx, qword [rcx + 0x30]
call rcx
cmp qword [rax + 0x38], 5
nop dword [rax]
jne 0x4e2daf
mov rdx, qword [rax + 0x30]
cmp dword [rdx], 0x32352d50
jne 0x4e2daf
cmp byte [rdx + 4], 0x31
nop word [rax + rax]
jne 0x4e2daf
mov rdi, qword [rsp + 0x38]
test rdi, rdi
jbe 0x4e2da5
mov rbx, qword [rsp + 0x58]
movzx edx, byte [rbx]
mov rcx, qword [rsp + 0x40]
shr dl, cl
cmp rcx, 8
sbb r8d, r8d
and edx, r8d
mov byte [rbx], dl
mov rcx, rdi
mov rdx, qword [rsp + 0x78]
mov rsi, qword [rdx + 0x18]
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov rdi, rcx
call fcn.004d9140
test rbx, rbx
je 0x4e2c19
mov rsi, qword [rsp + 0x48]
jmp 0x4e2c33
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsi]
mov r8, qword [rsi + 8]
xor eax, eax
mov ecx, 1
jmp 0x4e2c95
test rcx, rcx
je 0x4e2c9c
mov rdx, qword [0x00723dc0]
nop word [rax + rax]
test rdx, rdx
je 0x4e2ae3
mov rax, qword [rdx]
call rax
mov rsi, qword [rsp + 0x48]
jmp 0x4e2ae3
mov rax, qword [rsp + 0x48]
mov rdi, rcx
mov rcx, rbx
xor ebx, ebx
add rsp, 0x60
pop rbp
ret
mov r9, qword [rdi + rax*8]
inc rax
mov r10, r9
sub r9, 0
sbb r9, r9
neg r9
xor r11d, r11d
sub r11, r10
sbb r10, r10
neg r10
or r9, r10
xor r9, 1
and rcx, r9
cmp rax, r8
jl 0x4e2c6b
jmp 0x4e2c2e
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
mov rcx, qword [rdx]
call rcx
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x18]
mov rbx, qword [rcx]
mov rbx, qword [rbx + 8]
shl rbx, 6
sub rbx, qword [rcx + 8]
lea rcx, [rbx + 7]
sar rcx, 0x3f
shr rcx, 0x3d
lea rcx, [rbx + rcx]
lea rcx, [rcx + 7]
sar rcx, 3
mov qword [rsp + 0x30], rcx
nop
mov rbx, rcx
lea rax, [0x00520d40]
call fcn.0044d760
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rcx]
mov rsi, qword [rcx + 8]
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
xor r8d, r8d
jmp 0x4e2d12
inc r8
mov rdi, r11
cmp r8, rsi
jge 0x4e2d2e
mov r9, qword [rbx + r8*8]
xor r10d, r10d
nop
jmp 0x4e2d6d
test r9, r9
je 0x4e2d0c
jmp 0x4e2d87
mov r11, rdi
jmp 0x4e2d0c
mov rsi, qword [rsp + 0x70]
mov r8, qword [rsi]
mov rbx, rax
mov rcx, rdx
mov rdi, rcx
mov rdx, rsi
mov rax, qword [rsp + 0x50]
call r8
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
mov rax, qword [rsp + 0x48]
add rsp, 0x60
pop rbp
ret
mov byte [rdi + rax - 1], r9b
inc r10
shr r9, 8
mov rdi, r11
cmp r10, 8
jge 0x4e2d29
lea r11, [rdi - 1]
test r11, r11
jl 0x4e2d22
nop dword [rax]
cmp rdx, r11
ja 0x4e2d5e
jmp 0x4e2d9a
lea rax, [0x00520cc0]
lea rbx, [0x00650430]
call fcn.00436a60
mov rax, r11
mov rcx, rdx
call fcn.00468940
xor eax, eax
mov rcx, rax
call fcn.00468940
lea rax, [0x00520cc0]
lea rbx, [0x00650440]
nop dword [rax]
call fcn.00436a60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00466660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004e2a60