Function at 0x513700
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0xe8]
cmp r12, qword [r14 + 0x10]
jbe 0x513d6c
push rbp
mov rbp, rsp
sub rsp, 0x160
mov qword [rsp + 0x180], rcx
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], rbx
movups xmmword [rsp + 0xa8], xmm15
movups xmmword [rsp + 0xb8], xmm15
mov edi, 1
lea rcx, str.__0___LMC__i_____80:_01.LlLtLuMn25__n_________ip53_:__M_________n__s__Pn___n__n___n__t__A4V1V6V2V3V5A3.osid0b0x0X0o
call fcn.004bc500
nop dword [rax + rax]
test sil, sil
je 0x513814
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0xa0], rcx
call fcn.005136a0
test al, al
je 0x513807
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x58]
call fcn.005136a0
nop
test al, al
je 0x513807
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x78]
call fcn.004bb7e0
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xa8]
call fcn.004b9f20
lea rax, [rsp + 0xa8]
mov ebx, 0x2f
call fcn.004b9e00
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x58]
call fcn.004bb7e0
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xa8]
nop dword [rax + rax]
call fcn.004b9f20
jmp 0x513859
xor eax, eax
xor ebx, ebx
add rsp, 0x160
pop rbp
ret
mov rax, qword [rsp + 0x170]
mov rbx, qword [rsp + 0x178]
call fcn.005136a0
test al, al
je 0x5138e3
mov rax, qword [rsp + 0x170]
mov rbx, qword [rsp + 0x178]
call fcn.004bb7e0
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xa8]
call fcn.004b9f20
mov rdx, qword [rsp + 0x180]
test rdx, rdx
je 0x51386b
mov rsi, qword [rdx]
jmp 0x51386d
xor esi, esi
mov qword [rsp + 0x90], rsi
lea rax, [0x0053eba0]
xor ebx, ebx
mov rcx, rsi
call fcn.0046aa60
mov qword [rsp + 0xf8], rax
lea rdi, [rsp + 0x100]
lea rdi, [rdi - 0x20]
nop word [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00470b0b
mov rbp, qword [rbp]
mov rbx, qword [rsp + 0x180]
lea rcx, [rsp + 0x100]
lea rax, [0x00548200]
call fcn.004661a0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xf8]
xor edx, edx
jmp 0x51393e
xor eax, eax
xor ebx, ebx
add rsp, 0x160
pop rbp
ret
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rax
lea rsi, [rbx - 1]
shl rsi, 4
mov qword [rcx + rsi + 8], r8
mov qword [rcx + rsi], rdx
lea rax, [rsp + 0x100]
call fcn.004662e0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x100]
test r8, r8
je 0x5139a5
lea rbx, [rdx + 1]
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
cmp rax, rbx
jae 0x5138f0
mov qword [rsp + 0x80], r8
mov qword [rsp + 0xe0], rdx
mov edi, 1
lea rsi, [0x0053eba0]
mov rdx, rax
mov rax, rcx
mov rcx, rdx
call fcn.0046ab20
mov rdx, qword [rsp + 0xe0]
mov r8, qword [rsp + 0x80]
mov rsi, rcx
mov rcx, rax
mov rax, rsi
nop
jmp 0x5138f0
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0xf0], rcx
mov rbx, rcx
mov rcx, rdx
mov rdi, rax
lea rax, [0x0060f0c0]
call fcn.004d7560
mov rdx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0x88]
jmp 0x5139f3
mov rdx, qword [rsp + 0xf8]
add rdx, 0x10
mov rax, qword [rsp + 0x98]
dec rax
test rax, rax
jle 0x513bb7
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xf8], rdx
mov rcx, qword [rdx]
mov qword [rsp + 0xd0], rcx
mov rdi, qword [rdx + 8]
mov qword [rsp + 0x70], rdi
lea rax, [0x00548200]
mov rbx, qword [rsp + 0x180]
call fcn.00410a60
mov rdx, qword [rax]
mov qword [rsp + 0xc8], rdx
mov rsi, qword [rax + 8]
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0xa8]
mov ebx, 0x3b
call fcn.004b9e00
lea rax, [rsp + 0xa8]
mov ebx, 0x20
call fcn.004b9e00
mov rax, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x70]
call fcn.005136a0
nop
test al, al
je 0x513baa
mov rax, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x70]
call fcn.004bb7e0
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xa8]
call fcn.004b9f20
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0x60]
call fcn.00513580
mov byte [rsp + 0x46], al
test al, al
je 0x513ad9
lea rax, [rsp + 0xa8]
mov ebx, 0x2a
call fcn.004b9e00
lea rax, [rsp + 0xa8]
mov ebx, 0x3d
call fcn.004b9e00
movzx ecx, byte [rsp + 0x46]
test cl, cl
je 0x513b16
lea rax, [rsp + 0xa8]
lea rbx, [0x00579cc2]
mov ecx, 7
call fcn.004b9f20
xor eax, eax
xor ecx, ecx
jmp 0x513c44
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0x60]
call fcn.005136a0
test al, al
je 0x513b4b
lea rax, [rsp + 0xa8]
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x60]
call fcn.004b9f20
jmp 0x5139dc
lea rax, [rsp + 0xa8]
mov ebx, 0x22
call fcn.004b9e00
mov rcx, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x60]
xor eax, eax
xor ebx, ebx
jmp 0x513bd1
sub rdx, rbx
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and rbx, rdx
add rbx, rcx
lea rax, [rsp + 0xa8]
mov rcx, rsi
call fcn.004b9f20
lea rax, [rsp + 0xa8]
mov ebx, 0x22
call fcn.004b9e00
jmp 0x5139dc
xor eax, eax
xor ebx, ebx
add rsp, 0x160
pop rbp
ret
lea rax, [rsp + 0xa8]
nop
call fcn.004b9b20
add rsp, 0x160
pop rbp
ret
inc rax
cmp rax, rdx
jge 0x513b70
movzx esi, byte [rax + rcx]
nop word [rax + rax]
cmp sil, 0x22
je 0x513bec
cmp sil, 0x5c
jne 0x513bce
mov qword [rsp + 0x48], rax
sub rax, rbx
mov rsi, rax
neg rax
sar rax, 0x3f
and rbx, rax
add rbx, rcx
lea rax, [rsp + 0xa8]
mov rcx, rsi
call fcn.004b9f20
lea rax, [rsp + 0xa8]
mov ebx, 0x5c
call fcn.004b9e00
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x60]
mov rbx, rax
jmp 0x513bce
lea rax, [rcx + 1]
mov rcx, rdx
mov rdx, qword [rsp + 0x60]
cmp rax, rdx
jge 0x513d3b
mov qword [rsp + 0x68], rax
mov rsi, qword [rsp + 0xc8]
movzx edi, byte [rax + rsi]
mov byte [rsp + 0x47], dil
lea r8d, [rdi - 0x21]
cmp r8b, 0x5e
jae 0x513cb4
cmp dil, 0x2a
je 0x513cb4
cmp dil, 0x27
je 0x513cb4
nop
cmp dil, 0x25
je 0x513cb4
mov qword [rsp + 0x50], rcx
mov eax, edi
call fcn.00513620
test al, al
jne 0x513ca2
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x50]
jmp 0x513c3d
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0xc8]
sub rax, rcx
mov rdi, rax
neg rax
sar rax, 0x3f
and rcx, rax
lea rbx, [rsi + rcx]
lea rax, [rsp + 0xa8]
mov rcx, rdi
call fcn.004b9f20
lea rax, [rsp + 0xa8]
mov ebx, 0x25
call fcn.004b9e00
movzx edx, byte [rsp + 0x47]
shr dl, 4
movzx edx, dl
lea rdi, [0x0057c1a7]
movzx ebx, byte [rdi + rdx]
lea rax, [rsp + 0xa8]
call fcn.004b9e00
movzx edx, byte [rsp + 0x47]
and edx, 0xf
lea rsi, [0x0057c1a7]
movzx ebx, byte [rdx + rsi]
lea rax, [rsp + 0xa8]
call fcn.004b9e00
mov rcx, qword [rsp + 0x68]
lea rdx, [rcx + 1]
jmp 0x513c3d
sub rdx, rcx
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and rcx, rdx
mov rdx, qword [rsp + 0xc8]
lea rbx, [rdx + rcx]
lea rax, [rsp + 0xa8]
mov rcx, rsi
call fcn.004b9f20
jmp 0x5139dc
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
nop dword [rax + rax]
call fcn.0046e7c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00513700