Function at 0x4d94a0
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0xd8]
cmp r12, qword [r14 + 0x10]
jbe 0x4d9ea6
push rbp
mov rbp, rsp
sub rsp, 0x150
mov qword [rsp + 0x170], rcx
mov qword [rsp + 0x168], rbx
mov qword [rsp + 0x160], rax
mov rdx, rbx
mov rsi, rax
mov rdi, rcx
nop
jmp 0x4d9503
mov rdx, qword [rsp + 0x168]
mov rbx, rsi
mov rax, rdi
mov rcx, r8
mov rsi, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x170]
mov r9, qword [0x006bb708]
cmp r9, 1
jb 0x4d9e95
dec r9
mov r10, qword [str._n_____BEGIN]
mov r11, qword [0x006bb710]
dec r11
neg r11
sar r11, 0x3f
and r11d, 1
add r10, r11
cmp rbx, r9
jge 0x4d9542
xor r8d, r8d
nop
jmp 0x4d9599
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0x120], rax
nop
mov rbx, r10
mov rcx, r9
call fcn.004036c0
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x168]
mov rbx, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x170]
mov r8d, eax
mov rax, qword [rsp + 0x120]
test r8b, r8b
je 0x4d95d3
mov r8, qword [0x006bb708]
lea r9, [r8 - 1]
cmp rbx, r9
jb 0x4d9e8a
sub rcx, r8
sub rbx, r8
lea r8, [rcx + 1]
mov r10, r8
neg r8
sar r8, 0x3f
and r9, r8
lea r8, [rax + r9]
lea r9, [rbx + 1]
jmp 0x4d95ff
mov rdi, qword [str._n_____BEGIN]
mov rsi, qword [0x006bb708]
mov r8, qword [0x006bb710]
call fcn.00476700
test r9b, r9b
je 0x4d9beb
mov r10, r8
mov r9, rsi
mov r8, rdi
mov rax, r8
mov rbx, r9
mov rcx, r10
call fcn.004d9240
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x148], rdi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xd0], r8
mov rdx, qword [0x006bb748]
cmp rbx, rdx
jl 0x4d96c2
mov r9, rbx
sub rbx, rdx
cmp r9, rbx
jb 0x4d9e7f
mov r10, r9
sub r9, rbx
mov r11, rbx
sub rbx, rcx
sar rbx, 0x3f
and r11, rbx
add r11, rax
cmp rdx, r9
je 0x4d966b
xor edx, edx
jmp 0x4d96c7
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0xc8], r10
mov rbx, qword [0x006bb740]
mov rax, r11
mov rcx, r9
call fcn.004036c0
mov rcx, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0x148]
mov r8, qword [rsp + 0xd0]
mov r10, qword [rsp + 0xc8]
mov edx, eax
mov rax, qword [rsp + 0x100]
nop
jmp 0x4d96c7
mov r10, rbx
xor edx, edx
test dl, dl
je 0x4d94e2
mov rbx, qword [0x006bb748]
sub r10, rbx
nop dword [rax]
cmp rcx, r10
jb 0x4d9e74
mov qword [rsp + 0x90], r10
call fcn.0040e020
mov qword [rsp + 0x140], rax
lea rax, [0x00581b60]
call fcn.0040d5a0
cmp dword [0x00752400], 0
jne 0x4d9720
mov rdx, qword [rsp + 0x140]
jmp 0x4d9730
call fcn.0045dd60
mov rdx, qword [rsp + 0x140]
mov qword [r11], rdx
mov qword [rsp + 0x138], rax
mov qword [rax + 0x10], rdx
mov rbx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x90]
xor eax, eax
call fcn.0044a240
mov rdx, qword [rsp + 0x138]
mov qword [rdx + 8], rbx
cmp dword [0x00752400], 0
je 0x4d9777
call fcn.0045dd80
mov qword [r11], rax
mov rsi, qword [rdx]
mov qword [r11 + 8], rsi
mov qword [rdx], rax
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x148]
jmp 0x4d9c2e
mov rdx, qword [rsp + 0x138]
mov r9, qword [rdx + 0x10]
test r9, r9
je 0x4d97ad
mov r9, qword [r9]
jmp 0x4d97b0
xor r9d, r9d
test r9, r9
jne 0x4d9832
mov rcx, qword [0x006bb728]
nop dword [rax]
cmp rcx, 1
jb 0x4d9e68
dec rcx
mov r9, qword [str._n_____END]
mov r10, qword [0x006bb730]
dec r10
neg r10
sar r10, 0x3f
and r10d, 1
lea rbx, [r10 + r9]
mov r9, qword [rsp + 0xa8]
cmp r9, rcx
jge 0x4d97fe
xor eax, eax
jmp 0x4d9820
nop
mov rax, qword [rsp + 0x118]
call fcn.004036c0
mov rdx, qword [rsp + 0x138]
mov r9, qword [rsp + 0xa8]
nop dword [rax]
test al, al
je 0x4d983a
mov r10, qword [0x006bb728]
dec r10
xor eax, eax
jmp 0x4d9882
mov r9, qword [rsp + 0xa8]
mov rdi, qword [str._n_____END]
mov rsi, qword [0x006bb728]
mov r8, qword [0x006bb730]
mov rax, qword [rsp + 0x118]
mov rbx, r9
mov rcx, qword [rsp + 0xb8]
call fcn.00475f80
mov rdx, qword [0x006bb728]
lea r10, [rdx + rax]
mov rdx, qword [rsp + 0x138]
mov r9, qword [rsp + 0xa8]
test rax, rax
jge 0x4d98a0
mov r8, qword [rsp + 0xb8]
mov rsi, r9
mov rdi, qword [rsp + 0x118]
jmp 0x4d94e2
cmp r10, r9
ja 0x4d9e5d
mov rcx, r9
sub rcx, r10
mov r11, qword [rsp + 0xb8]
mov r12, r11
sub r11, r10
mov r13, r11
neg r11
sar r11, 0x3f
and r10, r11
mov r11, qword [0x006bb748]
mov r15, qword [rsp + 0x90]
add r11, r15
mov rbx, rdx
mov rdx, qword [rsp + 0x118]
add r10, rdx
cmp rcx, r11
jge 0x4d9900
mov r8, r12
mov rsi, r9
mov rdi, rdx
jmp 0x4d94e2
jb 0x4d9e55
mov qword [rsp + 0x88], rax
mov rsi, r13
sub r13, r11
mov qword [rsp + 0x58], r13
mov rdi, r13
neg r13
sar r13, 0x3f
and r13, r11
sub rcx, r11
mov qword [rsp + 0x50], rcx
add r13, r10
mov qword [rsp + 0xe8], r13
cmp r15, r11
jle 0x4d9943
xor r8d, r8d
jmp 0x4d99c0
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0x110], r10
mov qword [rsp + 0x70], r11
nop
mov rax, r10
mov rbx, qword [rsp + 0x100]
mov rcx, r15
call fcn.004036c0
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x138]
mov rsi, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0x58]
mov r9, qword [rsp + 0xa8]
mov r10, qword [rsp + 0x110]
mov r11, qword [rsp + 0x70]
mov r12, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xe8]
mov r8d, eax
mov rax, qword [rsp + 0x88]
nop
test r8b, r8b
je 0x4d9a73
mov r15, qword [0x006bb748]
cmp r15, r11
jg 0x4d9a67
mov r8, r11
sub r11, r15
nop
cmp r11, r8
ja 0x4d9e4a
mov qword [rsp + 0xd8], r11
sub r8, r11
sub r11, rsi
sar r11, 0x3f
mov rsi, r13
mov r13, qword [rsp + 0xd8]
and r13, r11
add r10, r13
cmp r15, r8
je 0x4d9a16
xor r8d, r8d
jmp 0x4d9a6d
mov rbx, qword [0x006bb740]
mov rax, r10
mov rcx, r8
call fcn.004036c0
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x138]
mov rsi, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0x58]
mov r9, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb8]
mov r8d, eax
mov rax, qword [rsp + 0x88]
jmp 0x4d9a6d
mov rsi, r13
xor r8d, r8d
xor r8d, 1
jmp 0x4d9a80
mov rsi, r13
mov r8d, 1
nop dword [rax]
test r8b, r8b
je 0x4d9a93
mov r8, r12
mov rsi, r9
mov rdi, rdx
jmp 0x4d94e2
mov rax, rsi
mov rbx, rcx
mov rcx, rdi
nop dword [rax]
call fcn.004d9240
test rbx, rbx
je 0x4d9ac7
mov r8, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x118]
jmp 0x4d94e2
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xb8]
nop word [rax + rax]
cmp rcx, rdx
ja 0x4d9e45
mov rax, qword [rsp + 0x118]
mov rbx, rcx
mov rcx, rdx
call fcn.004d93a0
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov rdx, qword [0x006cbaa0]
cmp dword [rdx + 0x140], 0xffffffff
jne 0x4d9b4b
mov rdx, rbx
shr rbx, 2
lea rsi, [rbx + rbx*2]
and edx, 3
lea rdx, [rdx + rdx*2]
mov r8, rdx
shl rdx, 1
sar rdx, 0x3f
shr rdx, 0x3d
lea rdx, [rdx + r8*2]
sar rdx, 3
add rdx, rsi
jmp 0x4d9b53
shr rbx, 2
lea rdx, [rbx + rbx*2]
mov qword [rsp + 0x38], rdx
lea rax, [0x0056bc80]
mov rbx, rdx
mov rcx, rbx
call fcn.00446ca0
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x138]
mov qword [rdx + 0x20], rdi
mov qword [rdx + 0x28], rdi
cmp dword [0x00752400], 0
je 0x4d9b98
call fcn.0045dd80
mov qword [r11], rax
mov r10, qword [rdx + 0x18]
mov qword [r11 + 8], r10
mov qword [rdx + 0x18], rax
mov rax, qword [0x006cbaa0]
mov rbx, qword [rdx + 0x18]
mov rcx, rdi
mov rsi, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x68]
nop dword [rax]
call fcn.004d8b60
test rbx, rbx
je 0x4d9d85
mov r8, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x118]
jmp 0x4d94e2
xor eax, eax
mov rbx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x170]
add rsp, 0x150
pop rbp
ret
mov qword [rax], rdx
mov rdx, qword [rsp + 0x138]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xf8]
test rax, rax
je 0x4d9e15
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0xb8], rcx
mov rdx, rax
mov rax, rbx
mov rbx, rdx
call fcn.004d9240
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], r8
mov rdx, qword [0x006bb760]
mov r9, qword [0x006bb768]
mov r10, qword [0x006bb770]
mov rdi, rdx
mov rsi, r9
mov r8, r10
call fcn.00476700
test r9b, r9b
je 0x4d9797
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0xe0], rdi
call fcn.00475e00
mov qword [rsp + 0x108], rax
mov qword [rsp + 0xa0], rbx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0x40]
call fcn.00475e00
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0044a240
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x138]
mov rsi, qword [rdx + 0x10]
mov qword [rsp + 0x128], rsi
mov rcx, qword [rsp + 0xa0]
xor eax, eax
mov rbx, qword [rsp + 0x108]
nop
call fcn.0044a240
mov rcx, rax
mov rdi, rbx
lea rax, [0x00574520]
mov rbx, qword [rsp + 0x128]
call fcn.00412100
mov rdx, qword [rsp + 0xd8]
mov qword [rax + 8], rdx
cmp dword [0x00752400], 0
jne 0x4d9d65
mov rdx, qword [rsp + 0x130]
nop dword [rax]
jmp 0x4d9c0e
call fcn.0045dd80
mov rdx, qword [rsp + 0x130]
mov qword [r11], rdx
mov rsi, qword [rax]
mov qword [r11 + 8], rsi
nop dword [rax]
jmp 0x4d9c0e
mov rsi, qword [rsp + 0x138]
mov rdx, qword [rsi + 0x28]
cmp rax, rdx
ja 0x4d9e3d
mov qword [rsi + 0x20], rax
mov rdx, qword [0x006bb728]
mov rdi, qword [rsp + 0x88]
lea rax, [rdi + rdx]
lea rax, [rax - 1]
add rdx, rdi
mov rcx, qword [rsp + 0xa8]
cmp rcx, rax
jb 0x4d9e38
mov rsi, qword [rsp + 0xb8]
sub rsi, rdx
sub rcx, rdx
lea rdx, [rsi + 1]
mov rsi, rdx
neg rdx
lea rbx, [rcx + 1]
sar rdx, 0x3f
and rax, rdx
mov rdx, qword [rsp + 0x118]
add rax, rdx
mov rcx, rsi
call fcn.004d9240
mov rax, qword [rsp + 0x138]
mov rbx, rdi
mov rcx, rsi
mov rdi, r8
add rsp, 0x150
pop rbp
ret
xor eax, eax
mov rbx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x170]
add rsp, 0x150
pop rbp
ret
call fcn.0045e1e0
mov rcx, rax
call fcn.0045e1a0
call fcn.0045e1a0
mov rax, r11
mov rcx, r8
call fcn.0045e1e0
mov rax, r11
call fcn.0045e1e0
mov rax, r10
mov rcx, r9
call fcn.0045e1e0
mov eax, 1
xor ecx, ecx
call fcn.0045e1e0
mov rdx, rcx
mov rcx, r10
call fcn.0045e1a0
mov rax, rbx
mov rcx, r9
call fcn.0045e1e0
mov rax, r9
mov rcx, rbx
call fcn.0045e1e0
mov eax, 1
xor ecx, ecx
nop dword [rax]
call fcn.0045e1e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045be40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004d94a0