Function at 0x52d180
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x52d686
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x78], rbp
lea rbp, [rsp + 0x78]
mov qword [rsp + 0xc8], r9
mov qword [rsp + 0xd0], r10
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xc0], r8
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x88]
mov r11, qword [rdx + 0x28]
mov rax, qword [rsp + 0x90]
call r11
mov rcx, qword [rsp + 0xd0]
cmp rcx, 0xffffffffffffffff
jne 0x52d1ff
mov rcx, rax
jmp 0x52d20a
mov rcx, rax
mov rax, qword [rsp + 0xd0]
mov r11, qword [rsp + 0xc8]
lea r12, [r11 + 7]
sar r12, 0x3f
shr r12, 0x3d
lea r9, [r12 + r11]
lea r9, [r9 + 7]
sar r9, 3
mov r12, qword [rsp + 0xb8]
cmp r12, r9
jne 0x52d489
mov r13, qword [rsp + 0x68]
cmp rcx, r13
jne 0x52d471
lea r15, [rax + rcx]
lea r15, [r15 + 2]
cmp r15, r9
jg 0x52d459
lea r15, [r9 - 1]
nop
cmp r12, r15
jbe 0x52d678
mov r12, qword [rsp + 0xb0]
movzx r13d, byte [r9 + r12 - 1]
nop word [rax + rax]
cmp r13b, 0xbc
jne 0x52d441
mov r13, r9
sub r9, rcx
lea rcx, [r9 - 1]
mov rbx, r11
mov r11, qword [rsp + 0xc0]
nop
cmp r11, rcx
jb 0x52d670
cmp rcx, r15
ja 0x52d665
mov r15, r13
sub r13, r9
mov rsi, r11
sub r11, r9
lea r10, [r11 + 1]
mov r11, r10
neg r10
sar r10, 0x3f
and r10, rcx
lea r8, [r12 + r10]
shl r15, 3
sub r15, rbx
nop word [rax + rax]
test r15, r15
jl 0x52d660
cmp r15, 8
sbb edx, edx
mov rdi, rcx
mov rcx, r15
mov r10, r11
mov r11d, 0xffffffff
shr r11b, cl
and r11d, edx
movzx edx, byte [r12]
mov r15d, r11d
not r11d
test dl, r11b
jne 0x52d428
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x70], r8
mov byte [rsp + 0x47], r15b
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], rax
mov rax, r12
mov rbx, rdi
mov rcx, rsi
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov r9, r13
call fcn.0052dac0
mov rcx, qword [rsp + 0x58]
nop dword [rax]
test rcx, rcx
jbe 0x52d654
mov rsi, qword [rsp + 0xb0]
movzx edi, byte [rsi]
movzx r8d, byte [rsp + 0x47]
and r8d, edi
mov byte [rsi], r8b
mov rdi, qword [rsp + 0x50]
test rdi, rdi
jne 0x52d3e5
nop
mov qword [rsp], rsi
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x10], rax
mov byte [rsp + 0x18], 1
call fcn.00402da0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
test rax, rax
jl 0x52d410
mov rsi, qword [rsp + 0x60]
sub rsi, rax
lea rax, [rsi - 2]
mov rcx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0xb0]
mov rdi, rax
mov r8, qword [rsp + 0x60]
mov r9, r8
sub r8, rdi
lea rax, [r8 - 2]
mov rdx, qword [rsp + 0xc0]
nop dword [rax]
cmp rdx, rax
jb 0x52d64c
xor ebx, ebx
jmp 0x52d4c0
mov rax, qword [0x0086e8a0]
mov rbx, qword [0x0086e8a8]
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rax, qword [0x0086e8a0]
mov rbx, qword [0x0086e8a8]
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
nop
ret
mov rax, qword [0x0086e8a0]
mov rbx, qword [0x0086e8a8]
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rax, qword [0x0086e8a0]
mov rbx, qword [0x0086e8a8]
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rax, qword [0x0086e8a0]
mov rbx, qword [0x0086e8a8]
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
lea rax, [0x00644bc0]
call fcn.0040d180
mov qword [rax + 8], 0x28
lea rcx, [0x00683a7c]
mov qword [rax], rcx
mov rbx, rax
lea rax, [0x006d2960]
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
inc rbx
nop
cmp rbx, rax
jge 0x52d4e6
movzx edi, byte [rsi + rbx]
test dil, dil
je 0x52d4bb
mov rax, qword [0x0086e8a0]
mov rbx, qword [0x0086e8a8]
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
cmp rax, rcx
jae 0x52d647
movzx edi, byte [r8 + rsi - 2]
cmp dil, 1
jne 0x52d62a
lea rax, [r8 - 1]
cmp rax, rcx
ja 0x52d642
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], rax
lea rax, [0x00631d00]
nop dword [rax]
call fcn.0040d180
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rcx + 0x38]
mov rbx, rax
mov edi, 8
mov rax, qword [rsp + 0x90]
mov rcx, rdi
call rdx
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rcx + 0x38]
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x68]
call rdx
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
sub rcx, rdx
mov rbx, qword [rsp + 0xc0]
sub rbx, rdx
lea rdi, [rbx + 1]
mov rdx, rdi
neg rdi
sar rdi, 0x3f
mov rbx, qword [rsp + 0x50]
and rbx, rdi
mov rsi, qword [rsp + 0xb0]
add rbx, rsi
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsi + 0x38]
mov rax, qword [rsp + 0x90]
mov r8, rdi
mov rdi, rdx
call r8
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 0x30]
mov rax, qword [rsp + 0x90]
xor ebx, ebx
xor edi, edi
mov rdx, rcx
mov rcx, rdi
call rdx
mov rcx, qword [rsp + 0x48]
cmp rbx, rcx
jne 0x52d604
mov rcx, rbx
mov rbx, qword [rsp + 0x70]
call fcn.004028c0
nop
test al, al
jne 0x52d61c
mov rax, qword [0x0086e8a0]
mov rbx, qword [0x0086e8a8]
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rax, qword [0x0086e8a0]
mov rbx, qword [0x0086e8a8]
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
call fcn.00463900
call fcn.00463840
mov rcx, rax
call fcn.004638c0
xor eax, eax
call fcn.00463840
nop dword [rax + rax]
call fcn.00433820
mov rax, rcx
mov rcx, r15
call fcn.00463900
mov rdx, r11
call fcn.004638c0
mov rax, r15
mov rcx, r12
nop
call fcn.00463840
nop
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x50], r10
call fcn.00461140
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x50]
nop dword [rax + rax]
jmp fcn.0052d180