Function at 0x18008a5c0
Capabilities:
Encode data using base64

Disassembly:
mov byte [rsp + 0x10], dl
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x48
mov r13, rcx
xor r12d, r12d
call fcn.18008ee30
cmp byte [r13 + 0x10], r12b
jne 0x18008a6dc
lea rcx, [r13 + 8]
call fcn.18004adc0
cmp eax, 0x3c
jne 0x18008ae03
mov rax, qword [r13 + 8]
movzx edx, byte [rax]
lea rcx, [rax + 1]
mov qword [r13 + 8], rcx
test dl, dl
jns 0x18008a628
mov al, 0x40
test al, dl
je 0x18008a628
cmp al, 8
jbe 0x18008a628
inc rcx
mov qword [r13 + 8], rcx
shr al, 1
test dl, al
jne 0x18008a617
mov rdx, qword [r13 + 8]
lea rcx, [rbp + 0x48]
call fcn.18006ace0
mov rdi, qword [rbp + 0x48]
cmp rdi, qword [r13 + 8]
jne 0x18008a6ef
mov rcx, r13
call fcn.18008ee30
mov rdx, qword [r13 + 8]
lea rcx, [rbp + 0x48]
call fcn.18006ace0
mov rdi, qword [rax]
mov qword [rbp + 0x48], rdi
cmp rdi, qword [r13 + 8]
jne 0x18008a6ef
lea rdx, str.tag_name_missing
lea rcx, [rbp + 0x48]
call fcn.180047530
mov rax, qword [rbp + 0x48]
lea rbx, [rax - 0x10]
lea rsi, [0x18024c168]
cmp rbx, rsi
je 0x18008a694
lock inc dword [rbx]
mov rax, qword [rbp + 0x48]
xchg qword [r13 + 0x18], rax
lea rcx, [rax - 0x10]
mov rax, 0xffffffffffffffff
cmp rcx, rsi
je 0x18008a6bf
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18008a6b8
call fcn.180150e98
mov rax, 0xffffffffffffffff
mov byte [r13 + 0x11], 1
cmp rbx, rsi
je 0x18008a6dc
lock xadd dword [rbx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18008a6dc
mov rcx, rbx
call fcn.180150e98
xor eax, eax
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x20
call fcn.180150e5c
mov rsi, rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x48], rax
test rax, rax
je 0x18008a731
mov rbx, qword [r13 + 8]
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
call fcn.18006ccb0
lea rdx, [rsi + 0x18]
mov r9, rdi
mov r8, rbx
mov rcx, rax
call fcn.18006d540
jmp 0x18008a738
mov rsi, r12
mov qword [rbp + 0x58], r12
mov qword [r13 + 8], rdi
add rsi, 0x10
lea r14, [0x18024c168]
mov rcx, r13
call fcn.18008ee30
lea rcx, [r13 + 8]
call fcn.18004adc0
mov ebx, eax
cmp eax, 0x2f
jne 0x18008a7dd
mov edx, 1
lea rcx, [r13 + 8]
call fcn.18004ac20
cmp eax, 0x3e
jne 0x18008a7e6
mov rax, qword [r13 + 8]
movzx r8d, byte [rax]
lea rdx, [rax + 1]
mov qword [r13 + 8], rdx
mov rax, rdx
test r8b, r8b
jns 0x18008a7ab
mov cl, 0x40
test cl, r8b
je 0x18008a7ab
mov rax, rdx
cmp cl, 8
jbe 0x18008a7ab
lea rax, [rdx + 1]
mov qword [r13 + 8], rax
shr cl, 1
mov rdx, rax
test r8b, cl
jne 0x18008a791
movzx edx, byte [rax]
lea rcx, [rax + 1]
mov qword [r13 + 8], rcx
test dl, dl
jns 0x18008a7d1
mov al, 0x40
test al, dl
je 0x18008a7d1
cmp al, 8
jbe 0x18008a7d1
inc rcx
mov qword [r13 + 8], rcx
shr al, 1
test dl, al
jne 0x18008a7c0
mov r15, qword [rbp + 0x58]
mov rax, r15
jmp 0x18008a6de
cmp ebx, 0x3e
je 0x18008adb1
mov ecx, ebx
call fcn.18006f940
test al, al
je 0x18008ac94
mov rdx, qword [r13 + 8]
lea rcx, [rbp - 0x18]
call fcn.18006ace0
mov rdi, qword [r13 + 8]
mov rbx, qword [rbp - 0x18]
cmp rbx, rdi
je 0x18008a7d1
mov qword [r13 + 8], rbx
mov rcx, r13
call fcn.18008ee30
lea rcx, [r13 + 8]
call fcn.18006c540
test eax, eax
je 0x18008ab95
cmp eax, 0x3d
jne 0x18008abbc
mov rcx, r13
call fcn.18008ee30
lea rcx, [r13 + 8]
call fcn.18004adc0
cmp eax, 0x22
je 0x18008a850
cmp eax, 0x27
jne 0x18008a7d1
mov ecx, 0x18
call fcn.180150e5c
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x10], rax
test rax, rax
je 0x18008a895
mov qword [rax], r12
lea r14, [rax + 8]
call fcn.18006ccb0
mov r9, rbx
mov r8, rdi
mov rdx, r14
mov rcx, rax
call fcn.18006d540
mov rdi, qword [rbp - 0x28]
lea rax, [0x18024c178]
mov qword [rdi + 0x10], rax
jmp 0x18008a89c
mov rdi, r12
mov qword [rbp - 0x28], r12
add rdi, 0x10
mov qword [rbp + 0x60], rdi
lea rcx, [r13 + 8]
call fcn.18006c540
mov ebx, eax
mov dword [rbp + 0x48], eax
test eax, eax
jne 0x18008a8dc
mov byte [r13 + 0x10], 1
mov r8d, r12d
nop
dec qword [r13 + 8]
mov rcx, qword [r13 + 8]
movzx edx, byte [rcx]
and dl, 0xc0
cmp dl, 0x80
jne 0x18008a8dc
inc r8d
cmp r8d, 4
jl 0x18008a8c0
cmp byte [r13 + 0x10], 0
jne 0x18008ab86
lea rcx, [r13 + 8]
call fcn.18006c540
mov r9d, eax
test eax, eax
jne 0x18008a91c
mov byte [r13 + 0x10], 1
mov r8d, r12d
nop
dec qword [r13 + 8]
mov rcx, qword [r13 + 8]
movzx edx, byte [rcx]
and dl, 0xc0
cmp dl, 0x80
jne 0x18008a91c
inc r8d
cmp r8d, 4
jl 0x18008a900
cmp r9d, ebx
je 0x18008ab86
mov ecx, r12d
nop dword [rax + rax]
mov r14, qword [r13 + 8]
dec r14
mov qword [r13 + 8], r14
movzx eax, byte [r14]
and al, 0xc0
cmp al, 0x80
jne 0x18008a94c
inc ecx
cmp ecx, 4
jl 0x18008a930
cmp r9d, 0x26
jne 0x18008a962
mov rdx, rdi
mov rcx, r13
call fcn.180089a00
jmp 0x18008aafc
mov rcx, r14
movzx eax, byte [rcx]
mov edx, eax
test al, al
jns 0x18008a9d5
mov eax, 0x40
mov r8d, 0x7f
mov ecx, r12d
test al, dl
je 0x18008a990
cmp eax, 8
jbe 0x18008a990
shr r8d, 1
inc ecx
shr eax, 1
test edx, eax
jne 0x18008a980
and edx, r8d
mov r8d, 1
cmp ecx, r8d
jl 0x18008a9d1
mov r9, qword [r13 + 8]
movsxd r10, ecx
nop word [rax + rax]
movzx ecx, byte [r9 + r8]
mov eax, ecx
and al, 0xc0
cmp al, 0x80
jne 0x18008a9d1
and ecx, 0x3f
mov eax, edx
shl eax, 6
mov edx, ecx
or edx, eax
inc r8
cmp r8, r10
jle 0x18008a9b0
mov rcx, qword [r13 + 8]
cmp edx, ebx
je 0x18008ab16
cmp edx, 0x26
je 0x18008aaa8
test edx, edx
je 0x18008aa32
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov qword [r13 + 8], rdx
mov rcx, rdx
test r8b, r8b
jns 0x18008a965
mov al, 0x40
test al, r8b
je 0x18008a965
nop dword [rax]
mov rcx, rdx
cmp al, 8
jbe 0x18008a965
lea rcx, [rdx + 1]
mov qword [r13 + 8], rcx
shr al, 1
mov rdx, rcx
test r8b, al
jne 0x18008aa10
jmp 0x18008a965
lea rdx, str.unmatched_quotes
lea rcx, [rbp - 0x20]
call fcn.180047530
mov rax, qword [rbp - 0x20]
lea rbx, [rax - 0x10]
lea r14, [0x18024c168]
cmp rbx, r14
je 0x18008aa5d
lock inc dword [rbx]
mov rax, qword [rbp - 0x20]
xchg qword [r13 + 0x18], rax
lea rcx, [rax - 0x10]
cmp rcx, r14
je 0x18008aa7f
mov eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18008aa7f
call fcn.180150e98
mov byte [r13 + 0x11], 1
cmp rbx, r14
je 0x18008aaa1
mov eax, 0xffffffff
lock xadd dword [rbx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18008aaa1
mov rcx, rbx
call fcn.180150e98
mov byte [r13 + 0x10], 1
jmp 0x18008aaf9
sub ecx, r14d
test ecx, ecx
jle 0x18008aafc
mov rax, qword [rdi]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18008aac0
movsxd rdi, ecx
lea rdx, [rdi + rbx]
mov rcx, qword [rbp + 0x60]
call fcn.180085f80
movsxd rbx, ebx
mov rax, qword [rbp + 0x60]
add rbx, qword [rax]
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
mov rdi, qword [rbp + 0x60]
mov ebx, dword [rbp + 0x48]
cmp byte [r13 + 0x10], 0
je 0x18008a8e7
mov rax, qword [rbp - 0x28]
mov qword [rsi], rax
mov rsi, rax
jmp 0x18008a740
sub ecx, r14d
test ecx, ecx
jle 0x18008ab5c
mov rax, qword [rdi]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x18008ab27
movsxd rdi, ecx
lea rdx, [rdi + rbx]
mov rcx, qword [rbp + 0x60]
call fcn.180085f80
movsxd rbx, ebx
mov rax, qword [rbp + 0x60]
add rbx, qword [rax]
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
mov rax, qword [r13 + 8]
movzx edx, byte [rax]
lea rcx, [rax + 1]
mov qword [r13 + 8], rcx
test dl, dl
jns 0x18008ab86
mov al, 0x40
test al, dl
je 0x18008ab86
cmp al, 8
jbe 0x18008ab86
inc rcx
mov qword [r13 + 8], rcx
shr al, 1
test dl, al
jne 0x18008ab75
mov rax, qword [rbp - 0x28]
mov qword [rsi], rax
mov rsi, rax
jmp 0x18008a740
mov byte [r13 + 0x10], 1
nop word [rax + rax]
dec qword [r13 + 8]
mov rax, qword [r13 + 8]
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
jne 0x18008abbc
inc r12d
cmp r12d, 4
jl 0x18008aba0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.1800493f0
nop
mov r8, rax
lea rdx, str.expected__after_attribute_
lea rcx, [rbp + 0x48]
call fcn.18004af40
mov rdi, rax
mov qword [rbp + 0x60], rax
lea r8, [0x18016ffb1]
lea rdx, [0x18016ffb0]
mov rcx, rax
call fcn.180063da0
mov rcx, qword [rdi]
mov qword [rbp + 0x60], rcx
lea rbx, [rcx - 0x10]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x18008ac13
lock inc dword [rcx]
mov rcx, qword [rdi]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
mov r14, 0xffffffffffffffff
je 0x18008ac39
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, r14d
jne 0x18008ac39
call fcn.180150e98
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, r13
call fcn.18008d9f0
lea rsi, [0x18024c168]
cmp rbx, rsi
je 0x18008ac6b
mov eax, r14d
lock xadd dword [rbx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18008ac6b
mov rcx, rbx
call fcn.180150e98
nop
mov rcx, qword [rbp - 0x18]
add rcx, 0xfffffffffffffff0
cmp rcx, rsi
je 0x18008ac8b
lock xadd dword [rcx], r14d
dec r14d
cmp r14d, 0xffffffff
jne 0x18008ac8b
call fcn.180150e98
mov rax, qword [rbp + 0x58]
jmp 0x18008a6de
mov r15, qword [rbp + 0x58]
cmp byte [r13 + 0x10], 0
jne 0x18008a7d5
lea r8, [r15 + 0x18]
lea rdx, str.illegal_character_found_in
lea rcx, [rbp + 0x60]
call fcn.18004af40
mov rdi, rax
mov qword [rbp + 0x58], rax
lea r8, [0x180171b73]
lea rdx, [0x180171b70]
mov rcx, rax
call fcn.180063da0
mov rcx, qword [rdi]
mov qword [rbp + 0x48], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x18008ace7
lock inc dword [rcx]
mov rcx, qword [rdi]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
mov r14, 0xffffffffffffffff
je 0x18008ad0d
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, r14d
jne 0x18008ad0d
call fcn.180150e98
mov r8d, ebx
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x18]
call fcn.18004b030
mov rdi, rax
mov qword [rbp + 0x58], rax
lea r8, [0x18016ffb1]
lea rdx, [0x18016ffb0]
mov rcx, rax
call fcn.180063da0
mov rcx, qword [rdi]
mov qword [rbp + 0x58], rcx
lea rbx, [rcx - 0x10]
add rcx, 0xfffffffffffffff0
lea rsi, [0x18024c168]
cmp rcx, rsi
je 0x18008ad58
lock inc dword [rcx]
mov rcx, qword [rdi]
sub rcx, 0x10
cmp rcx, rsi
je 0x18008ad77
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18008ad77
call fcn.180150e98
xor r8d, r8d
lea rdx, [rbp + 0x58]
mov rcx, r13
call fcn.18008d9f0
cmp rbx, rsi
je 0x18008a7d5
lock xadd dword [rbx], r14d
dec r14d
cmp r14d, 0xffffffff
jne 0x18008a7d5
mov rcx, rbx
call fcn.180150e98
mov rax, r15
jmp 0x18008a6de
mov rax, qword [r13 + 8]
movzx edx, byte [rax]
inc rax
mov qword [r13 + 8], rax
test dl, dl
jns 0x18008ade2
mov cl, 0x40
test cl, dl
je 0x18008ade2
nop dword [rax]
cmp cl, 8
jbe 0x18008ade2
inc rax
mov qword [r13 + 8], rax
shr cl, 1
test dl, cl
jne 0x18008add0
cmp byte [rbp + 0x50], 0
je 0x18008a7d1
mov r15, qword [rbp + 0x58]
mov rdx, r15
mov rcx, r13
call fcn.180088710
mov rax, r15
jmp 0x18008a6de
mov r15, r12
mov rax, r12
jmp 0x18008a6de