Function at 0x4cfa40
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0xe0]
cmp r12, qword [r14 + 0x10]
jbe 0x4d0406
sub rsp, 0x160
mov qword [rsp + 0x158], rbp
lea rbp, [rsp + 0x158]
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x178], rcx
mov rdx, rbx
mov rsi, rax
mov rdi, rcx
jmp 0x4cfaad
mov rdx, qword [rsp + 0x170]
mov rbx, rsi
mov rax, rdi
mov rcx, r8
mov rsi, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x178]
mov r9, qword [0x005f8bb8]
mov r10, qword [str._n_____BEGIN]
mov r11, qword [0x005f8bc0]
cmp r9, 1
jb 0x4d03f3
dec r11
neg r11
sar r11, 0x3f
and r11d, 1
add r10, r11
dec r9
cmp rbx, r9
jge 0x4cfaea
xor r8d, r8d
jmp 0x4cfb34
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x100], rax
mov rbx, r10
mov rcx, r9
call fcn.004028e0
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x170]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x178]
mov r8d, eax
mov rax, qword [rsp + 0x100]
test r8b, r8b
je 0x4cfb6e
mov r8, qword [0x005f8bb8]
lea r9, [r8 - 1]
cmp rbx, r9
jb 0x4d03e8
sub rcx, r8
lea r10, [rcx + 1]
mov r11, r10
neg r10
sar r10, 0x3f
and r10, r9
sub rbx, r8
lea r8, [rax + r10]
lea r9, [rbx + 1]
jmp 0x4cfb9a
mov rdi, qword [str._n_____BEGIN]
mov rsi, qword [0x005f8bb8]
mov r8, qword [0x005f8bc0]
call fcn.004b91e0
test r9b, r9b
je 0x4d0146
mov r11, r8
mov r9, rsi
mov r8, rdi
mov rax, r8
mov rbx, r9
mov rcx, r11
call fcn.004cf7e0
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x150], rdi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xd0], r8
mov rdx, qword [0x005f8b98]
mov r9, qword [0x005f8b90]
cmp rbx, rdx
jl 0x4cfc56
mov r10, rbx
sub rbx, rdx
cmp r10, rbx
jb 0x4d03dd
mov r11, r10
sub r10, rbx
mov r12, rbx
sub rbx, rcx
sar rbx, 0x3f
and rbx, r12
lea r12, [rbx + rax]
cmp rdx, r10
je 0x4cfc0a
xor edx, edx
jmp 0x4cfc60
mov qword [rsp + 0xc8], r11
mov qword [rsp + 0x58], rcx
mov rax, r12
mov rbx, r9
mov rcx, r10
call fcn.004028e0
mov rcx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0x150]
mov r8, qword [rsp + 0xd0]
mov r11, qword [rsp + 0xc8]
mov edx, eax
mov rax, qword [rsp + 0xe8]
jmp 0x4cfc60
mov r11, rbx
xor edx, edx
nop dword [rax + rax]
test dl, dl
je 0x4cfa8c
mov rbx, qword [0x005f8b98]
sub r11, rbx
cmp rcx, r11
jb 0x4d03d2
mov qword [rsp + 0x50], r11
call fcn.0040dbc0
mov qword [rsp + 0x148], rax
lea rax, [0x00517780]
call fcn.0040d080
mov qword [rsp + 0x140], rax
cmp dword [0x00655850], 0
jne 0x4cfcb8
mov rdx, qword [rsp + 0x148]
mov qword [rax + 0x10], rdx
jmp 0x4cfcc9
lea rdi, [rax + 0x10]
mov rdx, qword [rsp + 0x148]
call fcn.0045f9c0
xor eax, eax
mov rbx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x50]
call fcn.0044b700
mov rdi, qword [rsp + 0x140]
mov qword [rdi + 8], rbx
cmp dword [0x00655850], 0
jne 0x4cfcf7
mov qword [rdi], rax
jmp 0x4cfcfc
call fcn.0045f8a0
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x150]
jmp 0x4d0190
mov rdx, qword [rsp + 0x140]
mov r9, qword [rdx + 0x10]
test r9, r9
je 0x4cfd2f
mov r9, qword [r9]
jmp 0x4cfd32
xor r9d, r9d
test r9, r9
jne 0x4cfda5
mov rcx, qword [0x005f8b78]
mov r9, qword [str._n_____END]
mov r10, qword [0x005f8b80]
cmp rcx, 1
jb 0x4d03c8
dec r10
neg r10
sar r10, 0x3f
and r10d, 1
lea rbx, [r10 + r9]
dec rcx
mov r9, qword [rsp + 0x60]
cmp r9, rcx
jge 0x4cfd79
xor eax, eax
jmp 0x4cfd93
mov rax, qword [rsp + 0xf8]
call fcn.004028e0
mov rdx, qword [rsp + 0x140]
mov r9, qword [rsp + 0x60]
test al, al
je 0x4cfdaa
mov r10, qword [0x005f8b78]
dec r10
xor eax, eax
jmp 0x4cfdec
mov r9, qword [rsp + 0x60]
mov rdi, qword [str._n_____END]
mov rsi, qword [0x005f8b78]
mov r8, qword [0x005f8b80]
mov rax, qword [rsp + 0xf8]
mov rbx, r9
mov rcx, qword [rsp + 0x70]
call fcn.004b89e0
mov rdx, qword [0x005f8b78]
lea r10, [rdx + rax]
mov rdx, qword [rsp + 0x140]
mov r9, qword [rsp + 0x60]
test rax, rax
jge 0x4cfe06
mov r8, qword [rsp + 0x70]
mov rsi, r9
mov rdi, qword [rsp + 0xf8]
jmp 0x4cfa8c
cmp r10, r9
ja 0x4d03bd
mov rcx, r9
sub rcx, r10
mov r11, qword [rsp + 0x70]
mov r12, r11
sub r11, r10
mov r13, r11
neg r11
sar r11, 0x3f
and r11, r10
mov r10, qword [rsp + 0xf8]
add r11, r10
mov r15, qword [0x005f8b98]
mov rbx, rdx
mov rdx, qword [rsp + 0x50]
add r15, rdx
cmp rcx, r15
jge 0x4cfe5d
mov r8, r12
mov rsi, r9
mov rdi, r10
jmp 0x4cfa8c
nop dword [rax]
jb 0x4d03b5
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xb0], r15
mov rsi, r13
sub r13, r15
mov qword [rsp + 0x88], r13
sub rcx, r15
mov qword [rsp + 0x80], rcx
mov rdi, r13
neg r13
sar r13, 0x3f
and r13, r15
add r13, r11
mov qword [rsp + 0x108], r13
cmp rdx, r15
jle 0x4cfeb0
xor edx, edx
jmp 0x4cff27
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0x120], r11
mov rax, r11
mov rbx, qword [rsp + 0xe8]
mov rcx, rdx
call fcn.004028e0
mov rcx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x140]
mov rsi, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0x88]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0xf8]
mov r11, qword [rsp + 0x120]
mov r12, qword [rsp + 0x70]
mov r13, qword [rsp + 0x108]
mov r15, qword [rsp + 0xb0]
mov edx, eax
mov rax, qword [rsp + 0xb8]
test dl, dl
je 0x4cfff0
mov rdx, qword [0x005f8b98]
mov r8, r13
mov r13, qword [0x005f8b90]
cmp rdx, r15
jg 0x4cffe6
mov qword [rsp + 0xf0], r13
sub r15, rdx
mov r13, qword [rsp + 0xb0]
nop dword [rax]
cmp r15, r13
ja 0x4d03aa
mov qword [rsp + 0xd8], r15
sub r13, r15
sub r15, rsi
sar r15, 0x3f
mov rsi, r9
mov r9, qword [rsp + 0xd8]
and r9, r15
add r9, r11
cmp rdx, r13
je 0x4cff95
xor edx, edx
jmp 0x4cffeb
mov rax, r9
mov rbx, qword [rsp + 0xf0]
mov rcx, r13
call fcn.004028e0
mov rcx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov r8, qword [rsp + 0x108]
mov r10, qword [rsp + 0xf8]
mov r12, qword [rsp + 0x70]
mov edx, eax
mov rax, qword [rsp + 0xb8]
jmp 0x4cffeb
mov rsi, r9
xor edx, edx
xor edx, 1
jmp 0x4cfffb
mov rsi, r9
mov r8, r13
mov edx, 1
test dl, dl
je 0x4d000a
mov r8, r12
mov rdi, r10
jmp 0x4cfa8c
mov rax, r8
mov rbx, rcx
mov rcx, rdi
call fcn.004cf7e0
test rbx, rbx
je 0x4d0034
mov r8, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0xf8]
jmp 0x4cfa8c
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x70]
cmp rcx, rdx
ja 0x4d03a5
mov rax, qword [rsp + 0xf8]
mov rbx, rcx
mov rcx, rdx
call fcn.004cf940
mov qword [rsp + 0x128], rax
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xc0], rcx
mov rdx, qword [0x005ffa30]
cmp dword [rdx + 0x140], 0xffffffff
jne 0x4d00a2
lea rdx, [rbx + rbx*2]
mov rsi, rdx
shl rdx, 1
sar rdx, 0x3f
shr rdx, 0x3d
lea rdx, [rdx + rsi*2]
sar rdx, 3
nop
jmp 0x4d00aa
shr rbx, 2
lea rdx, [rbx + rbx*2]
mov qword [rsp + 0x38], rdx
lea rax, [0x0050bf60]
mov rbx, rdx
mov rcx, rbx
nop dword [rax]
call fcn.00447800
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x140]
mov qword [rdx + 0x20], rdi
mov qword [rdx + 0x28], rdi
cmp dword [0x00655850], 0
jne 0x4d00e9
mov qword [rdx + 0x18], rax
jmp 0x4d00fb
lea r10, [rdx + 0x18]
mov rcx, rdi
mov rdi, r10
call fcn.0045f8a0
mov rdi, rcx
mov rax, qword [0x005ffa30]
mov rbx, qword [rdx + 0x18]
mov rcx, rdi
mov rsi, qword [rsp + 0x128]
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0xc0]
call fcn.004ceee0
test rbx, rbx
je 0x4d02da
mov r8, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0xf8]
jmp 0x4cfa8c
xor eax, eax
mov rbx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x178]
mov rbp, qword [rsp + 0x158]
add rsp, 0x160
ret
mov rdi, qword [rsp + 0x140]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x110]
test rax, rax
je 0x4d036b
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xf8], rdx
mov rbx, rax
mov rax, rdx
call fcn.004cf7e0
mov qword [rsp + 0x110], rdi
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], r8
mov rdx, qword [0x005f8b50]
mov r9, qword [0x005f8b58]
mov r10, qword [0x005f8b60]
mov rdi, rdx
mov rsi, r9
mov r8, r10
call fcn.004b91e0
test r9b, r9b
je 0x4cfd19
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0xe0], rdi
call fcn.004b8840
mov qword [rsp + 0x118], rax
mov qword [rsp + 0xa8], rbx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0x40]
call fcn.004b8840
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0044b700
mov qword [rsp + 0x138], rax
mov qword [rsp + 0xd8], rbx
mov rdx, qword [rsp + 0x140]
mov rsi, qword [rdx + 0x10]
mov qword [rsp + 0x130], rsi
mov rcx, qword [rsp + 0xa8]
xor eax, eax
mov rbx, qword [rsp + 0x118]
nop dword [rax + rax]
call fcn.0044b700
mov rcx, rax
mov rdi, rbx
lea rax, [0x00510080]
mov rbx, qword [rsp + 0x130]
call fcn.004119c0
mov rdx, qword [rsp + 0xd8]
mov qword [rax + 8], rdx
cmp dword [0x00655850], 0
jne 0x4d02c5
mov rdx, qword [rsp + 0x138]
mov qword [rax], rdx
nop
jmp 0x4d0170
mov rdi, rax
mov rdx, qword [rsp + 0x138]
call fcn.0045f9c0
jmp 0x4d0170
mov rsi, qword [rsp + 0x140]
mov rdx, qword [rsi + 0x28]
cmp rax, rdx
ja 0x4d039a
mov qword [rsi + 0x20], rax
mov rdx, qword [0x005f8b78]
mov rdi, qword [rsp + 0xb8]
lea r8, [rdx + rdi]
lea rax, [rdi + rdx]
lea rax, [rax - 1]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
jb 0x4d0395
mov rdx, qword [rsp + 0x70]
sub rdx, r8
inc rdx
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
sub rcx, r8
mov rdx, qword [rsp + 0xf8]
add rax, rdx
lea rbx, [rcx + 1]
mov rcx, rsi
call fcn.004cf7e0
mov rax, qword [rsp + 0x140]
mov rbx, rdi
mov rcx, rsi
mov rdi, r8
mov rbp, qword [rsp + 0x158]
add rsp, 0x160
ret
xor eax, eax
mov rbx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x178]
mov rbp, qword [rsp + 0x158]
add rsp, 0x160
ret
call fcn.0045fe00
mov rcx, rax
nop dword [rax]
call fcn.0045fdc0
call fcn.0045fdc0
mov rax, r15
mov rcx, r13
call fcn.0045fe00
mov rax, r15
call fcn.0045fe00
mov rax, r10
mov rcx, r9
call fcn.0045fe00
mov eax, 1
call fcn.0045fe00
mov rdx, rcx
mov rcx, r11
call fcn.0045fdc0
mov rax, rbx
mov rcx, r10
call fcn.0045fe00
mov rax, r9
mov rcx, rbx
call fcn.0045fe00
mov eax, 1
mov rcx, r9
nop dword [rax + rax]
call fcn.0045fe00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045d660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004cfa40