Function at 0x4f37a0
Capabilities:
Encode data using base64

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 0x30]
cmp rax, qword [rcx + 0x10]
jbe 0x4f3b09
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0xc0]
mov qword [rsp], rdx
call rcx
mov rax, qword [rsp + 8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x60], rax
nop
mov rcx, qword [rax + 8]
mov rdx, qword [rax + 0x10]
nop
lea rbx, [rdx - 1]
test rbx, rbx
jl 0x4f3af4
mov rcx, qword [rcx + rdx*8 - 8]
bsr rcx, rcx
mov rdx, 0xffffffffffffffff
cmove rcx, rdx
shl rbx, 6
lea rcx, [rcx + rbx]
lea rcx, [rcx + 1]
mov qword [rsp + 0x58], rcx
lea rax, [0x00633fa0]
mov qword [rsp], rax
lea rax, [rcx + 7]
sar rax, 3
mov qword [rsp + 0x50], rax
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rax
call fcn.00440560
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x80], rax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor esi, esi
jmp 0x4f3890
mov rdx, rcx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x48]
mov rcx, rax
mov rax, qword [rsp + 0x80]
test rcx, rcx
jne 0x4f3aa7
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rdx
nop
mov rcx, qword [rsp + 0xc8]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0xd0]
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rax
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rbx
call fcn.00460870
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
test rax, rax
jne 0x4f3a48
mov rdx, qword [rsp + 0x50]
test rdx, rdx
jbe 0x4f3b02
mov rbx, qword [rsp + 0x80]
movzx esi, byte [rbx]
mov rdi, qword [0x00863710]
mov r8, qword [rsp + 0x58]
mov r9, r8
sar r8, 0x3f
shr r8, 0x3d
add r8, r9
sar r8, 3
shl r8, 3
sub r9, r8
cmp qword [0x00863718], r9
jbe 0x4f3b02
movzx edi, byte [rdi + r9]
and esi, edi
mov byte [rbx], sil
cmp rdx, 1
jbe 0x4f3afb
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x68], rcx
movzx eax, byte [rbx + 1]
xor eax, 0x42
mov byte [rbx + 1], al
mov byte [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
nop
mov qword [rsp], 0
movups xmmword [rsp + 8], xmm0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rdx
call fcn.004ed620
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rcx
mov byte [rsp + 0x88], 0
lea rax, [rsp + 0x88]
mov qword [rsp], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 8], rax
call fcn.004e1350
cmp qword [rsp + 0x10], 0
jl 0x4f3a03
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
jmp 0x4f3878
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax + 0x38]
mov rdx, qword [rsp + 0xc0]
mov qword [rsp], rdx
mov rbx, qword [rsp + 0x80]
mov qword [rsp + 8], rbx
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rsi
call rcx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
jmp 0x4f3878
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0xd8], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0xe0], rdx
mov qword [rsp + 0xe8], rdx
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0xf0], rdx
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0xf8], rdx
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rcx
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xf8], rdx
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], rbx
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
xor ecx, ecx
jmp 0x4f3835
call fcn.0042cc40
ud2
call fcn.0042cc40
ud2
call fcn.004555d0
jmp fcn.004f37a0