Function at 0x5d4280
Capabilities:
Encode data using base64

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 0x48]
cmp rax, qword [rcx + 0x10]
jbe 0x5d4858
sub rsp, 0xc8
mov qword [rsp + 0xc0], rbp
lea rbp, [rsp + 0xc0]
mov rax, qword [rsp + 0xd8]
nop
test rax, rax
jne 0x5d46f9
mov rax, qword [rsp + 0xe8]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor esi, esi
nop dword [rax]
test rdx, rdx
jne 0x5d46d9
mov rdx, qword [rsp + 0xd0]
mov rbx, qword [rdx]
lea rdi, [rax + rcx]
nop
mov r8, qword [rbx + 0x10]
mov rbx, qword [rbx + 8]
lea r9, [r8 - 1]
test r9, r9
jl 0x5d46d2
mov rbx, qword [rbx + r8*8 - 8]
bsr rbx, rbx
mov r8, 0xffffffffffffffff
cmove rbx, r8
shl r9, 6
lea rbx, [rbx + r9]
lea rbx, [rbx + 1]
lea r8, [rax + rcx]
lea r8, [r8 + 0xb]
lea r9, [rbx + 7]
sar r9, 0x3f
shr r9, 0x3d
lea rbx, [r9 + rbx]
lea rbx, [rbx + 7]
sar rbx, 3
cmp rbx, r8
jl 0x5d46a4
mov r8, qword [rsp + 0x100]
nop
cmp rbx, r8
jne 0x5d4676
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp], xmm0
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], r8
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x28], rax
call fcn.0055d8c0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rdx
mov byte [rsp + 0xa0], 0
mov byte [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rax, [rsp + 0x80]
mov qword [rsp], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 8], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x10], rax
call fcn.005d6da0
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x78], rax
lea rcx, [0x006f16c0]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rcx
call fcn.0044d760
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x78]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x10], rax
mov qword [rsp + 0x18], rax
call fcn.0054f740
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
test rcx, rcx
jbe 0x5d482f
movzx ebx, byte [rax]
nop word [rax + rax]
nop
cmp rcx, 1
jbe 0x5d4825
movzx esi, byte [rax + 1]
dec ebx
shr ebx, 0x1f
xor esi, 1
movzx esi, sil
dec esi
shr esi, 0x1f
and rbx, rsi
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r8, rsi
sub rsi, rdi
cmp r8, rdx
ja 0x5d481d
nop dword [rax + rax]
cmp r8, rsi
jb 0x5d4812
mov rdi, r8
sub r8, rsi
mov r9, rsi
sub rsi, rdx
sar rsi, 0x3f
and rsi, r9
add rsi, rax
mov r10, qword [rsp + 0xe8]
cmp r10, r8
je 0x5d4638
xor esi, esi
and rsi, rbx
mov rbx, qword [rsp + 0x50]
sub rdi, rbx
nop dword [rax]
cmp r9, rdi
jb 0x5d4807
sub r9, rdi
mov rbx, rdi
sub rdi, rdx
sar rdi, 0x3f
and rdi, rbx
lea rdx, [rdi + rax]
mov rdi, qword [rsp + 0x48]
cmp r9, rdi
je 0x5d45ff
xor edx, edx
and rdx, rsi
lea rsi, [rbx - 1]
cmp rcx, rsi
jbe 0x5d47ff
movzx ecx, byte [rbx + rax - 1]
dec ecx
shr ecx, 0x1f
and rdx, rcx
mov ecx, 2
jmp 0x5d45ab
lea rbx, [rcx + 1]
movzx edi, byte [rcx + rax]
xor edi, 0xffffffff
movzx edi, dil
dec edi
shr edi, 0x1f
and rdx, rdi
mov rcx, rbx
cmp rsi, rcx
jg 0x5d4591
cmp rdx, 1
je 0x5d45e4
mov rax, qword [0x009ce070]
mov rcx, qword [0x009ce078]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rcx
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
xorps xmm0, xmm0
movups xmmword [rsp + 0x110], xmm0
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
mov rdi, qword [rsp + 0x70]
xor r8d, r8d
xor r10d, r10d
jmp 0x5d4623
lea r11, [r8 + 1]
movzx r12d, byte [r8 + rdx]
movzx r13d, byte [rdi + r8]
xor r13d, r12d
or r10d, r13d
mov r8, r11
cmp r9, r8
jg 0x5d460c
nop
movzx edi, r10b
lea edx, [rdi - 1]
shr edx, 0x1f
jmp 0x5d456d
mov r10, qword [rsp + 0xe0]
xor r11d, r11d
xor r12d, r12d
jmp 0x5d4660
lea r13, [r11 + 1]
movzx r14d, byte [r11 + rsi]
movzx r15d, byte [r10 + r11]
xor r15d, r14d
or r12d, r15d
mov r11, r13
nop
cmp r8, r11
jg 0x5d4648
nop
movzx r8d, r12b
lea esi, [r8 - 1]
shr esi, 0x1f
jmp 0x5d4532
mov rax, qword [0x009ce070]
mov rcx, qword [0x009ce078]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rcx
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
mov rax, qword [0x009ce070]
mov rcx, qword [0x009ce078]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rcx
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
xor ebx, ebx
jmp 0x5d432e
mov qword [rsp + 0x110], rdx
mov qword [rsp + 0x118], rbx
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
nop
nop word [rax + rax]
cmp rax, 0x14
jae 0x5d483b
mov rcx, qword [0x009c24a8]
mov rdx, qword [0x009c24a0]
nop dword [rax + rax]
cmp rax, rcx
jae 0x5d4836
movzx ecx, byte [rdx + rax]
mov rdx, qword [rsp + 0xe8]
cmp rdx, rcx
je 0x5d4774
nop
lea rax, [0x0070baa0]
mov qword [rsp], rax
call fcn.0040e780
mov rbx, qword [rsp + 8]
mov qword [rbx + 8], 0x28
lea rax, [0x00762fbf]
mov qword [rbx], rax
xor eax, eax
xor ecx, ecx
lea rdx, [0x007bf880]
xor esi, esi
jmp 0x5d42e0
mov qword [rsp + 0x68], rcx
mov rcx, qword [0x009cc518]
lea rdx, [0x006ff720]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
call fcn.00412ae0
mov rax, qword [rsp + 0x18]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
cmp byte [rsp + 0x20], 0
je 0x5d47c5
xor edx, edx
xor ebx, ebx
mov rsi, rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
nop dword [rax]
jmp 0x5d42e0
nop
lea rax, [0x0070baa0]
mov qword [rsp], rax
call fcn.0040e780
mov rbx, qword [rsp + 8]
mov qword [rbx + 8], 0x25
lea rax, [0x00761e3e]
mov qword [rbx], rax
xor eax, eax
xor ecx, ecx
lea rdx, [0x007bf880]
xor esi, esi
jmp 0x5d42e0
mov rax, rsi
call fcn.0046c840
mov rax, rdi
mov rcx, r9
call fcn.0046c900
mov rax, rsi
mov rcx, r8
call fcn.0046c900
mov rcx, r8
call fcn.0046c8c0
mov eax, 1
call fcn.0046c840
xor eax, eax
call fcn.0046c840
call fcn.0046c860
lea rax, [0x006f1540]
mov qword [rsp], rax
lea rax, [0x007ba120]
mov qword [rsp + 8], rax
call fcn.004383c0
nop
call fcn.0046a660
nop dword [rax]
jmp fcn.005d4280