Function at 0x4f7360
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4f78b1
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rcx
mov rdx, qword [rax + 0x10]
mov r9, qword [rax + 0x28]
cmp rdx, r9
jne 0x4f73aa
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rdi
mov r10, qword [rax + 0x20]
xor r8d, r8d
xor r11d, r11d
jmp 0x4f73e4
lea rax, [0x0053da80]
call fcn.0040d180
mov qword [rax + 8], 0x24
lea rcx, [0x0056b724]
mov qword [rax], rcx
lea rbx, [0x005aad20]
mov rcx, rax
mov rax, qword [rsp + 0x78]
add rsp, 0x58
pop rbp
ret
inc r8
add r11, 8
cmp r8, r9
jge 0x4f73f9
movzx r12d, byte [r10 + r8]
cmp r12b, 0xff
je 0x4f73dd
jmp 0x4f7857
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], r11
mov r12, qword [rax + 8]
mov rcx, qword [rax + 0x18]
mov r8, qword [rax + 0x30]
mov rbx, rdx
mov rdi, r10
mov rsi, r9
mov rax, r12
nop dword [rax + rax]
call fcn.004b6c80
mov rdx, qword [rsp + 0x30]
cmp rdx, 0xffffffffffffffff
mov r9d, 0
cmove rdx, r9
lea r9, [rdx + 7]
sar r9, 0x3f
shr r9, 0x3d
lea r9, [r9 + rdx]
lea r9, [r9 + 7]
sar r9, 3
cmp rcx, r9
jb 0x4f7846
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x50], rax
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsi + 0x10]
cmp rdi, 4
jne 0x4f752f
mov rdi, qword [rsp + 0x88]
lea r8, [rdi + 2]
mov rcx, qword [rsp + 0x78]
cmp rcx, r8
jl 0x4f74d5
cmp rcx, rdi
jb 0x4f783e
mov r10, rcx
sub r10, rdi
mov r11, qword [rsp + 0x80]
mov r12, rdi
sub rdi, r11
sar rdi, 0x3f
and r12, rdi
cmp r10, 1
jbe 0x4f7831
mov rdi, qword [rsp + 0x70]
mov word [rdi + r12], 0x100
xor ebx, ebx
xor r10d, r10d
jmp 0x4f7640
lea rax, [0x0053da80]
nop dword [rax]
call fcn.0040d180
mov qword [rax + 8], 0x17
lea rcx, [0x00567683]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r9, qword [rsp + 0x38]
mov r11, qword [rsp + 0x80]
mov r8, rcx
lea rbx, [0x005aad20]
mov r10, rax
mov rax, qword [rsp + 0x50]
jmp 0x4f7640
cmp rdi, 0x10
jne 0x4f75e6
mov rdi, qword [rsp + 0x88]
lea r8, [rdi + 2]
mov rcx, qword [rsp + 0x78]
cmp rcx, r8
jl 0x4f7593
cmp rcx, rdi
jb 0x4f7829
mov r10, rcx
sub r10, rdi
mov r11, qword [rsp + 0x80]
mov r12, rdi
sub rdi, r11
sar rdi, 0x3f
and r12, rdi
cmp r10, 1
jbe 0x4f781c
mov rdi, qword [rsp + 0x70]
mov word [rdi + r12], 0x200
xor ebx, ebx
xor r10d, r10d
jmp 0x4f7640
lea rax, [0x0053da80]
call fcn.0040d180
mov qword [rax + 8], 0x17
lea rcx, [0x00567683]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r9, qword [rsp + 0x38]
mov r11, qword [rsp + 0x80]
mov r8, rcx
lea rbx, [0x005aad20]
mov r10, rax
mov rax, qword [rsp + 0x50]
jmp 0x4f7640
lea rax, [0x0053da80]
call fcn.0040d180
mov qword [rax + 8], 0x1b
lea rcx, [0x00568f69]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r9, qword [rsp + 0x38]
mov r11, qword [rsp + 0x80]
lea rbx, [0x005aad20]
mov r10, rax
mov r8, qword [rsp + 0x88]
mov rax, qword [rsp + 0x50]
nop dword [rax]
test rbx, rbx
jne 0x4f77f8
lea r10, [r8 + 1]
cmp rcx, r10
jl 0x4f7665
cmp rcx, r8
jbe 0x4f7814
mov byte [rdi + r8], dl
xor edx, edx
xor ebx, ebx
jmp 0x4f76b1
lea rax, [0x0053da80]
call fcn.0040d180
mov qword [rax + 8], 0x16
lea rcx, [0x00566fe8]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r9, qword [rsp + 0x38]
mov r11, qword [rsp + 0x80]
lea rdx, [0x005aad20]
mov r10, rcx
mov rbx, rax
mov rax, qword [rsp + 0x50]
test rdx, rdx
jne 0x4f77e9
cmp byte [rsi], 0
je 0x4f76c6
mov edx, 0xffffff80
jmp 0x4f76c8
xor edx, edx
mov rsi, r9
and r9d, 0x7f
lea r8, [r10 + 1]
or edx, r9d
cmp rcx, r8
jl 0x4f76f3
nop dword [rax + rax]
cmp rcx, r10
jbe 0x4f780c
mov byte [rdi + r10], dl
xor edx, edx
xor ebx, ebx
jmp 0x4f7740
lea rax, [0x0053da80]
call fcn.0040d180
mov qword [rax + 8], 0x16
lea rcx, [0x00566fe8]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x70]
mov r11, qword [rsp + 0x80]
lea rdx, [0x005aad20]
mov r8, rcx
mov rbx, rax
mov rax, qword [rsp + 0x50]
nop word [rax + rax]
test rdx, rdx
jne 0x4f77da
lea rdx, [r8 + rsi]
cmp rcx, rdx
jl 0x4f77a7
cmp rcx, r8
jb 0x4f7804
sub rcx, r8
mov rdx, r8
sub r8, r11
sar r8, 0x3f
and r8, rdx
add rdi, r8
cmp rsi, rcx
cmovl rcx, rsi
cmp rax, rdi
je 0x4f7799
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
mov rbx, rax
mov rax, rdi
call fcn.00465de0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rax, [rcx + rdx]
xor ebx, ebx
xor ecx, ecx
add rsp, 0x58
pop rbp
ret
lea rax, [0x0053da80]
call fcn.0040d180
mov qword [rax + 8], 0x1b
lea rcx, [0x00568f84]
mov qword [rax], rcx
lea rbx, [0x005aad20]
mov rcx, rax
mov rax, qword [rsp + 0x78]
add rsp, 0x58
pop rbp
ret
mov rax, rcx
mov rcx, rbx
mov rbx, rdx
add rsp, 0x58
pop rbp
ret
mov rax, rcx
mov rcx, rbx
mov rbx, rdx
add rsp, 0x58
pop rbp
ret
mov rax, rcx
mov rcx, r10
add rsp, 0x58
pop rbp
ret
mov rax, r8
call fcn.004654c0
mov rax, r10
call fcn.00465400
mov rax, r8
call fcn.00465400
mov eax, 1
mov rcx, r10
call fcn.00465400
mov rax, rdi
call fcn.004654c0
mov eax, 1
mov rcx, r10
call fcn.00465400
mov rax, rdi
call fcn.004654c0
mov rdx, rcx
mov rcx, r9
call fcn.00465480
inc r11
shl r12d, 1
test r12b, 0x80
jne 0x4f7851
nop dword [rax]
test r12b, r12b
jne 0x4f786b
lea r12, [r8 + 1]
jmp 0x4f7880
mov r11, 0xffffffffffffffff
jmp 0x4f73f9
inc r12
nop word [rax + rax]
cmp r12, r9
jge 0x4f73f9
jae 0x4f78a5
movzx r13d, byte [r10 + r12]
test r13b, r13b
je 0x4f7877
mov r11, 0xffffffffffffffff
nop dword [rax]
jmp 0x4f73f9
mov rax, r12
mov rcx, r9
call fcn.00465400
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
call fcn.00463140
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]
jmp fcn.004f7360