Function at 0x4dec60
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4def46
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xe0], r8
mov qword [rsp + 0x60], 0
movups xmmword [rsp + 0x68], xmm15
mov rdx, qword [rsp + 0xd8]
mov qword [rsp + 0x48], rdx
lea rsi, [rdx + 7]
add rdx, 7
sar rsi, 0x3f
shr rsi, 0x3d
lea rdi, [rsi + rdx]
sar rdi, 3
mov qword [rsp + 0x58], rdi
mov rbx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xb8]
call fcn.004d3de0
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], rcx
mov rdx, qword [rsp + 0xd8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], 0
jmp 0x4ded3c
cmp qword [rsp + 0x30], 8
jge 0x4ded49
jmp 0x4dee05
mov rax, qword [rsp + 0x30]
lea rsi, [rax - 8]
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xd0]
cmp rdx, rcx
jae 0x4ded76
jmp 0x4def40
cmp rcx, rsi
jae 0x4ded85
nop dword [rax + rax]
jmp 0x4def35
sub rdx, rax
add rdx, 8
mov r8, rdx
neg rdx
sar rdx, 0x3f
and rsi, rdx
lea rdx, [rdi + rsi]
mov qword [rsp + 0x78], rdx
sub rcx, rax
lea rbx, [rcx + 8]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], r8
mov rax, rdx
mov rcx, r8
nop
call fcn.004debe0
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xb8]
nop
cmp rdx, rcx
jb 0x4dedea
jmp 0x4def2d
lea rsi, [rsi + rdx*8]
mov qword [rsi], rax
add qword [rsp + 0x30], 0xfffffffffffffff8
jmp 0x4dedf9
inc qword [rsp + 0x28]
nop
jmp 0x4ded3c
cmp qword [rsp + 0x30], 0
jg 0x4dee0f
jmp 0x4dee23
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x20], 0
jmp 0x4dee81
jmp 0x4dee25
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
nop dword [rax]
call fcn.004d3ce0
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rcx
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
cmp qword [rsp + 0x30], 0
jg 0x4dee8b
jmp 0x4deedb
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x30]
lea rsi, [rax - 1]
cmp rcx, rsi
ja 0x4deeab
jmp 0x4def25
mov rcx, qword [rsp + 0x20]
cmp rcx, 0x40
sbb rsi, rsi
lea rdi, [rax - 1]
add rdx, rdi
movzx edx, byte [rdx]
shl rdx, cl
and rdx, rsi
or qword [rsp + 0x38], rdx
dec qword [rsp + 0x30]
jmp 0x4deed3
add qword [rsp + 0x20], 8
jmp 0x4dee81
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rdx, [rax - 1]
mov qword [rsp + 0x50], rdx
mov rcx, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0x38]
cmp rcx, rdx
ja 0x4def0d
jmp 0x4def1d
lea rdx, [rsi + rax*8]
lea rdx, [rdx - 8]
mov qword [rdx], rdi
jmp 0x4dee25
mov rax, rdx
call fcn.004694e0
mov rax, rsi
call fcn.004694e0
mov rax, rdx
call fcn.004694e0
mov rax, rsi
call fcn.004695a0
nop dword [rax]
call fcn.00469560
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.00466e80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.004dec60