Function at 0x180055b50
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp], 0
mov eax, dword [rsp]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x10], rax
jmp 0x180055b90
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x10], rax
jae 0x180055d2a
mov dword [rsp + 4], 0
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x10], rax
jae 0x180055be5
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
cmp eax, 0x20
jne 0x180055be5
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
jmp 0x180055ba8
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x10], rax
jne 0x180055bf6
jmp 0x180055d2a
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
cmp rax, 2
jb 0x180055c42
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
cmp eax, 0xd
jne 0x180055c42
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax + 1]
cmp eax, 0xa
jne 0x180055c42
jmp 0x180055b83
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
cmp eax, 0xa
jne 0x180055c5f
jmp 0x180055b83
cmp dword [rsp + 4], 0
je 0x180055c70
mov eax, 0xffffffd4
jmp 0x180055f02
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
cmp eax, 0x3d
jne 0x180055ca0
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 2
jbe 0x180055ca0
mov eax, 0xffffffd4
jmp 0x180055f02
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
cmp eax, 0x7f
jg 0x180055cdb
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
lea rcx, [0x180089b00]
movzx eax, byte [rcx + rax]
cmp eax, 0x7f
jne 0x180055ce5
mov eax, 0xffffffd4
jmp 0x180055f02
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
lea rcx, [0x180089b00]
movzx eax, byte [rcx + rax]
cmp eax, 0x40
jge 0x180055d18
cmp dword [rsp], 0
je 0x180055d18
mov eax, 0xffffffd4
jmp 0x180055f02
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
jmp 0x180055b83
cmp qword [rsp + 0x18], 0
jne 0x180055d45
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
xor eax, eax
jmp 0x180055f02
imul rax, qword [rsp + 0x18], 6
add rax, 7
shr rax, 3
mov qword [rsp + 0x18], rax
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x18]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x40], 0
je 0x180055d7f
mov rax, qword [rsp + 0x18]
cmp qword [rsp + 0x48], rax
jae 0x180055d96
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x18]
mov qword [rax], rcx
mov eax, 0xffffffd6
jmp 0x180055f02
mov dword [rsp], 3
mov dword [rsp + 4], 0
mov eax, dword [rsp + 4]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
jmp 0x180055dd4
mov rax, qword [rsp + 0x10]
dec rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x10], 0
jbe 0x180055ee8
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
cmp eax, 0xd
je 0x180055e07
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
cmp eax, 0xa
je 0x180055e07
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
cmp eax, 0x20
jne 0x180055e09
jmp 0x180055dba
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
lea rcx, [0x180089b00]
movzx eax, byte [rcx + rax]
cmp eax, 0x40
jne 0x180055e2b
mov dword [rsp + 8], 1
jmp 0x180055e33
mov dword [rsp + 8], 0
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 6
mov rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx]
lea rdx, [0x180089b00]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 4
jne 0x180055ee3
mov qword [rsp + 0x18], 0
cmp dword [rsp], 0
jbe 0x180055ea3
mov eax, dword [rsp + 4]
shr eax, 0x10
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp dword [rsp], 1
jbe 0x180055ec4
mov eax, dword [rsp + 4]
shr eax, 8
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp dword [rsp], 2
jbe 0x180055ee3
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 4]
mov byte [rax], cl
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
jmp 0x180055dba
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
xor eax, eax
add rsp, 0x38
ret