Function at 0x5a6760
Capabilities:
Encode data using base64

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 0x38]
cmp rax, qword [rcx + 0x10]
jbe 0x5a6e81
sub rsp, 0xb8
mov qword [rsp + 0xb0], rbp
lea rbp, [rsp + 0xb0]
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax + 0x18]
mov rdx, qword [rax + 0x20]
lea rbx, [0x006b5ee0]
mov qword [rsp], rbx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
nop dword [rax + rax]
call fcn.0040bd00
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x20]
cmp byte [rsp + 0x28], 0
je 0x5a6e59
mov rax, qword [rax + 0x18]
mov qword [rsp], rcx
call rax
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop dword [rax + rax]
test rax, rax
je 0x5a69d5
mov eax, dword [rax + 0x10]
cmp eax, 0x188a5798
jne 0x5a6a00
lea rax, [0x006ad620]
nop
cmp rax, rdx
jne 0x5a69d5
lea rax, [0x006a2660]
mov qword [rsp], rax
call fcn.0040e660
mov rax, qword [rsp + 8]
mov word [rax], 0x807
mov ecx, 1
mov edx, 1
mov rbx, qword [rsp + 0xc8]
cmp qword [rbx + 0x28], 0
nop word [rax + rax]
je 0x5a69ad
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x90], rax
xor edx, edx
xor esi, esi
xor edi, edi
xor r8d, r8d
jmp 0x5a68a7
mov r9, qword [rsp + 0x78]
inc r9
mov rax, qword [rsp + 0x90]
mov rsi, rdx
mov rdi, rcx
mov r8, rbx
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0xc8]
mov rdx, r9
cmp rcx, rdx
jle 0x5a6985
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x98], r8
mov qword [rsp + 0x68], rdi
movzx ecx, word [rax + rdx*2]
mov word [rsp + 0x44], cx
mov rsi, qword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
mov r8, qword [rbx + 0x38]
mov word [rsp], cx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r8
call fcn.005aa260
cmp byte [rsp + 0x20], 0
je 0x5a696b
mov rax, qword [rsp + 0x68]
lea rcx, [rax + 1]
mov rdx, qword [rsp + 0x70]
cmp rdx, rcx
jb 0x5a6925
mov rbx, qword [rsp + 0x98]
movzx esi, word [rsp + 0x44]
mov word [rbx + rax*2], si
nop
jmp 0x5a687e
lea rbx, [0x006a85a0]
mov qword [rsp], rbx
mov rsi, qword [rsp + 0x98]
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rax
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rcx
call fcn.0044dd20
mov rbx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
lea rcx, [rax + 1]
mov rax, qword [rsp + 0x68]
jmp 0x5a6916
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x98]
nop dword [rax]
jmp 0x5a687e
mov qword [rsp + 0xd0], r8
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], rsi
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], rdx
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
mov qword [rsp + 0xd0], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
cmp eax, 0x2fd00e80
jne 0x5a6c8b
lea rax, [0x006d3280]
cmp rax, rdx
jne 0x5a69d5
movzx eax, word [rsp + 0xc0]
nop
cmp ax, 0x304
jne 0x5a6c5a
mov rax, qword [rcx]
mov qword [rsp + 0x88], rax
mov rcx, qword [rcx + 8]
mov qword [rsp + 0xa8], rcx
nop
mov edx, dword [0x009123f8]
test edx, edx
je 0x5a6c28
mov rdx, qword [0x008cbf58]
lea rbx, [0x0075c380]
nop
cmp rbx, rax
je 0x5a6bda
nop
mov edx, dword [0x009123f8]
test edx, edx
je 0x5a6ba7
mov rdx, qword [0x008cbf68]
lea rbx, [0x0075c188]
cmp rbx, rax
je 0x5a6b50
nop
mov edx, dword [0x009123f8]
test edx, edx
je 0x5a6b12
cmp rbx, rax
mov rdx, qword [0x008cbf70]
jne 0x5a6aeb
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
call fcn.004043a0
cmp byte [rsp + 0x18], 0
nop
je 0x5a6aeb
lea rax, [0x006a2660]
mov qword [rsp], rax
call fcn.0040e660
mov rax, qword [rsp + 8]
mov word [rax], 0x603
mov ecx, 1
mov edx, 1
jmp 0x5a684d
mov qword [rsp + 0xd0], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
lea rax, [0x009123f8]
mov qword [rsp], rax
lea rax, [0x007128f0]
mov qword [rsp + 8], rax
call fcn.00484de0
lea rax, [0x0075c188]
mov rcx, qword [rsp + 0x88]
cmp rax, rcx
mov rax, rcx
mov rcx, qword [rsp + 0xa8]
jmp 0x5a6a9d
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
nop
call fcn.004043a0
cmp byte [rsp + 0x18], 0
jne 0x5a6b88
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xa8]
lea rbx, [0x0075c188]
jmp 0x5a6a8f
lea rax, [0x006a2660]
mov qword [rsp], rax
call fcn.0040e660
mov rax, qword [rsp + 8]
mov word [rax], 0x503
jmp 0x5a6adc
lea rax, [0x009123f8]
mov qword [rsp], rax
lea rcx, [0x007128f0]
mov qword [rsp + 8], rcx
nop
call fcn.00484de0
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xa8]
jmp 0x5a6a78
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
call fcn.004043a0
cmp byte [rsp + 0x18], 0
jne 0x5a6c09
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xa8]
jmp 0x5a6a69
lea rax, [0x006a2660]
mov qword [rsp], rax
call fcn.0040e660
mov rax, qword [rsp + 8]
mov word [rax], 0x403
jmp 0x5a6adc
lea rax, [0x009123f8]
mov qword [rsp], rax
lea rcx, [0x007128f0]
mov qword [rsp + 8], rcx
nop
call fcn.00484de0
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xa8]
jmp 0x5a6a50
lea rax, [0x006a3e60]
mov qword [rsp], rax
call fcn.0040e660
mov rax, qword [rsp + 8]
movabs rcx, 0x203060305030403
mov qword [rax], rcx
mov ecx, 4
mov edx, 4
jmp 0x5a684d
cmp eax, 0xcc456746
jne 0x5a69d5
lea rax, [0x006b1300]
nop dword [rax]
cmp rdx, rax
jne 0x5a69d5
mov rax, qword [rbx]
nop
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 8]
lea rdx, [rcx - 1]
nop dword [rax]
test rdx, rdx
jl 0x5a6e52
mov rax, qword [rax + rcx*8 - 8]
bsr rax, rax
mov rcx, 0xffffffffffffffff
cmove rax, rcx
shl rdx, 6
lea rax, [rax + rdx]
lea rax, [rax + 1]
mov qword [rsp + 0x48], rax
mov rcx, qword [0x008c2b08]
mov qword [rsp + 0x60], rcx
lea rdx, [0x006a85a0]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
call fcn.0044dc20
mov rax, qword [rsp + 0x18]
mov rcx, qword [0x008c2b08]
mov rdx, qword [0x008c2b00]
mov rbx, qword [rsp + 0x48]
lea rsi, [rbx + 7]
sar rsi, 0x3f
shr rsi, 0x3d
lea rbx, [rsi + rbx]
lea rbx, [rbx + 7]
test rcx, rcx
jle 0x5a6e45
mov qword [rsp + 0x78], rcx
sar rbx, 3
mov qword [rsp + 0x50], rbx
movzx esi, word [rsp + 0xc0]
mov rdi, qword [rsp + 0x60]
xor r8d, r8d
xor r9d, r9d
jmp 0x5a6d77
add rdx, 0x18
mov r9, r10
movzx r10d, word [rdx + 0x10]
movzx r11d, word [rdx]
cmp qword [rdx + 8], rbx
jg 0x5a6e39
cmp si, r10w
ja 0x5a6e39
lea r10, [r9 + 1]
cmp rdi, r10
jb 0x5a6db5
mov word [rax + r9*2], r11w
inc r8
cmp rcx, r8
jg 0x5a6d70
mov rcx, r10
mov rdx, rdi
jmp 0x5a684d
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x80], r8
mov qword [rsp + 0xa0], rdx
mov word [rsp + 0x46], r11w
lea rcx, [0x006a85a0]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], r9
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r10
call fcn.0044dd20
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
lea r10, [rcx + 1]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x50]
movzx esi, word [rsp + 0xc0]
mov r8, qword [rsp + 0x80]
mov r9, qword [rsp + 0x58]
movzx r11d, word [rsp + 0x46]
jmp 0x5a6d9d
mov r10, r9
nop dword [rax]
jmp 0x5a6da2
xor r10d, r10d
mov rdi, qword [rsp + 0x60]
jmp 0x5a6daa
xor eax, eax
jmp 0x5a6ce9
mov qword [rsp + 0xd0], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
nop
ret
call fcn.0046a920
jmp fcn.005a6760