Function at 0x1400088a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rax, qword [0x140020b78]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r12, qword [rbp + 0xd8]
lea r11, [0x140020fb0]
mov ebx, dword [rbp + 0xd0]
xor esi, esi
mov qword [rsp + 0x48], r8
mov r14, r9
mov r8, qword [rbp + 0xc8]
mov r13, rdx
mov r15, rcx
mov qword [rsp + 0x58], r8
lea r9d, [rsi + 4]
mov qword [rsp + 0x50], rsi
mov rdx, qword [r14]
mov rdi, r15
test rdx, rdx
je 0x140008e17
movzx ecx, byte [rdx]
inc rdx
mov qword [r14], rdx
test ecx, ecx
je 0x140008e17
lea eax, [rcx - 1]
cmp eax, 0x72
jbe 0x140008e0f
cmp ecx, 0x74
je 0x140008dbf
cmp ecx, 0x75
jb 0x140008db6
cmp ecx, 0x8d
jae 0x140008a6a
lea eax, [rcx - 0x75]
mov ecx, eax
mov r10d, eax
sar r10d, 3
and ecx, 3
mov dword [rsp + 0x40], r10d
test r9b, al
jne 0x14000896b
mov r9d, 3
jmp 0x140008976
movzx r9d, byte [rdx]
lea rax, [rdx + 1]
mov qword [r14], rax
shl ecx, 2
lea edx, [r9 + 1]
shl edx, cl
mov eax, ebx
sub eax, edx
mov esi, ebx
test ebx, ebx
cmovns esi, eax
je 0x140008a5e
test esi, esi
jg 0x14000899c
cmp esi, ebx
jne 0x140008a5e
test byte [rbp + 0xc0], 1
jne 0x140008a52
mov eax, dword [rbp + 0xc0]
mov r9, r11
or eax, 1
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], edx
cmp r10d, 1
mov qword [rsp + 0x28], r8
mov rdx, r13
mov r8, qword [rsp + 0x48]
cmovne r9, r14
mov rcx, r15
mov dword [rsp + 0x20], eax
call fcn.1400088a0
mov rcx, qword [r15 + 0x60]
call fcn.140013a08
test al, al
jne 0x140008ef4
mov rcx, qword [r15 + 0x60]
xor r9d, r9d
mov r8b, 1
lea edx, [r9 + 0x68]
call fcn.140009e38
mov r15, rax
test rax, rax
je 0x140008ef4
mov rax, qword [rdi + 0x60]
mov qword [r15 + 0x60], rax
mov rax, qword [rdi + 0x40]
jmp 0x140008a24
mov rdi, rax
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x140008a1d
cmp dword [rsp + 0x40], 2
lea r11, [0x140020fb0]
mov r8, qword [rsp + 0x58]
lea r9d, [rax + 4]
mov qword [rdi + 0x40], r15
mov ebx, esi
jne 0x140008900
mov r14, r11
jmp 0x140008900
lea rcx, str.illegal_nested_run_encoding
jmp 0x140008e01
lea rcx, str.illegal_run_encoding
jmp 0x140008e01
cmp ecx, 0xbd
jae 0x140008db6
lea r12d, [rcx - 0x8d]
mov edx, 2
mov esi, r12d
mov dword [rsp + 0x40], r12d
sar esi, 2
mov ecx, esi
shl edx, cl
mov ecx, 0xb
sub ecx, esi
shl r9d, cl
mov ecx, 0x100
mov eax, ecx
sub eax, r9d
cmp esi, 6
cmovle eax, edx
sub ecx, eax
mov dword [rsp + 0x50], ecx
test ebx, ebx
jg 0x140008ac1
lea rcx, str.illegal_pop_encoding
jmp 0x140008e01
test byte [rbp + 0xc0], 2
je 0x140008ad6
lea rcx, str.illegal_nested_pop_encoding
jmp 0x140008e01
and qword [rsp + 0x70], 0
lea rcx, [rbp - 0x70]
and qword [rsp + 0x60], 0
xor edx, edx
and qword [rsp + 0x68], 0
lea r8d, [rdx + 0x68]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r15 + 0x60]
lea r9, [0x140020fb0]
mov r8, qword [rsp + 0x48]
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x10], rax
test r12b, 1
mov r12, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
cmove r9, r14
mov dword [rsp + 0x30], 0xfffffffe
mov rdx, r13
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 2
call fcn.1400088a0
mov r9, qword [rsp + 0x68]
lea rdx, [rsp + 0x78]
mov r8, qword [rsp + 0x60]
mov rcx, qword [r15 + 0x60]
call fcn.140010ebc
mov rax, qword [rsp + 0x78]
mov qword [r15 + 0x48], rax
mov rax, qword [rsp + 0x68]
shr rax, 2
cmp qword [rsp + 0x70], 0
mov dword [r15 + 0x50], eax
je 0x140008b83
lea rcx, [rsp + 0x60]
call fcn.140007f6c
mov rcx, qword [r15 + 0x60]
and qword [rsp + 0x70], 0
call fcn.140013a08
test al, al
jne 0x140008ef4
test esi, esi
jle 0x140008c52
xor r9d, r9d
xor r8d, r8d
mov edx, 0x100
lea ecx, [r9 + 1]
call fcn.140008340
mov rsi, rax
mov r12d, 2
mov eax, dword [r15 + 0x50]
cmp eax, dword [rsi + 0x10]
jle 0x140008c13
cmp byte [rsi + 0x17], 0
je 0x140008bd7
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov ecx, r12d
call fcn.140008340
mov rsi, rax
test rax, rax
je 0x140008ef4
inc r12d
cmp r12d, 5
jle 0x140008bbf
mov eax, dword [r15 + 0x50]
cmp eax, dword [rsi + 0x10]
jle 0x140008c13
lea rcx, str.pop.L_value_too_small
jmp 0x140008e01
and qword [rsp + 0x38], 0
lea r9, [0x140020fb0]
mov r8, qword [rsp + 0x48]
mov rdx, r13
mov dword [rsp + 0x30], ebx
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 2
call fcn.1400088a0
cmp byte [rsi + 0x17], 0
je 0x140008c7c
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140008c7c
and qword [rsp + 0x38], 0
mov r9, r14
mov r8, qword [rsp + 0x48]
mov rdx, r13
mov dword [rsp + 0x30], ebx
mov rcx, rdi
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 2
call fcn.1400088a0
mov rcx, qword [r15 + 0x60]
call fcn.140013a08
test al, al
jne 0x140008ef4
movups xmm0, xmmword [r15]
xor esi, esi
movups xmm1, xmmword [r15 + 0x10]
xor r12d, r12d
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [r15 + 0x20]
movaps xmmword [rbp + 0x10], xmm1
movups xmm1, xmmword [r15 + 0x30]
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm1
lea rcx, [rbp]
call fcn.140008378
test eax, eax
jne 0x140008cc4
inc esi
cmp eax, dword [r15 + 0x50]
ja 0x140008dad
inc r12d
cmp r12d, ebx
jl 0x140008cb5
test esi, esi
je 0x140008d41
mov rcx, qword [r15 + 0x60]
xor r9d, r9d
mov r8b, 1
lea edx, [r9 + 0x68]
call fcn.140009e38
mov qword [r15 + 0x58], rax
test rax, rax
je 0x140008ef4
mov rcx, qword [r15 + 0x60]
lea r9, [0x140020fb0]
test byte [rsp + 0x40], 2
mov rdx, r13
mov r8, qword [rsp + 0x48]
mov qword [rax + 0x60], rcx
cmove r9, r14
and qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x58]
mov rcx, qword [r15 + 0x58]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
call fcn.1400088a0
jmp 0x140008d68
test byte [rsp + 0x40], 2
jne 0x140008d68
mov rax, qword [r14]
mov cl, byte [rax]
inc rax
mov qword [r14], rax
cmp cl, 0x73
jbe 0x140008d68
mov rdx, qword [r15 + 0x60]
lea rcx, str.bad_meta_coding_for_empty_pop_U
call fcn.1400139b0
mov rcx, rdi
cmp dword [rcx + 0x18], 2
mov eax, 0xe
je 0x140008d83
cmp dword [rcx + 0x18], 7
jne 0x140008d88
mov eax, 0x10
jmp 0x140008d88
mov eax, 0xf
mov dword [rcx + 0x18], eax
cmp rcx, rdi
je 0x140008d9f
mov rax, qword [r15 + 0x48]
mov qword [rcx + 0x48], rax
mov eax, dword [r15 + 0x50]
mov dword [rcx + 0x50], eax
mov rcx, qword [rcx + 0x40]
test rcx, rcx
jne 0x140008d6b
jmp 0x140008ef4
lea rcx, str.pop_token_out_of_range
jmp 0x140008e01
lea rcx, str.bad_meta_coding
jmp 0x140008e01
movzx ecx, byte [rdx]
lea rax, [rdx + 1]
mov qword [r14], rax
mov r8d, ecx
movzx edx, byte [rax]
mov r9d, ecx
inc edx
shr r8d, 1
shr ecx, 3
inc rax
and r9d, 1
mov qword [r14], rax
and r8d, 3
inc ecx
call fcn.140008340
mov r8, rax
mov rsi, rax
test rax, rax
jne 0x140008e1c
lea rcx, str.illegal_arb._coding
mov rdx, qword [r15 + 0x60]
call fcn.1400139b0
jmp 0x140008ef4
call fcn.1400082a8
mov r8, rax
mov rsi, qword [rsp + 0x50]
mov rax, qword [r13]
mov rdx, r8
mov r14, qword [rsp + 0x48]
mov rcx, rdi
and dword [r15 + 0x30], 0
and qword [r15 + 0x38], 0
mov qword [r15 + 0x20], rax
mov qword [r15 + 0x28], r14
call fcn.1400091e8
test rsi, rsi
je 0x140008e56
cmp byte [rsi + 0x17], 0
je 0x140008e56
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r9d, dword [r15]
test r12, r12
jne 0x140008e84
mov eax, r9d
mov r8, r14
sar eax, 8
mov edx, ebx
sar r9d, 0x14
and eax, 0xfff
and r9d, 0xf
mov dword [rsp + 0x20], eax
mov rcx, r13
call fcn.140009088
jmp 0x140008edb
test ebx, ebx
js 0x140008f14
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [r15 + 0x20]
movaps xmmword [rbp + 0x10], xmm1
movups xmm1, xmmword [r15 + 0x30]
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm1
jle 0x140008ed3
mov esi, ebx
lea rcx, [rbp]
call fcn.140008378
mov edx, 4
mov rcx, r12
mov ebx, eax
call fcn.140008004
mov dword [rax], ebx
sub rsi, 1
jne 0x140008eb3
mov rax, qword [rbp + 0x20]
mov qword [r13], rax
mov rcx, qword [r15 + 0x60]
call fcn.140013a08
test al, al
jne 0x140008ef4
mov rax, qword [r13]
mov qword [r15 + 0x28], rax
mov qword [r15 + 0x38], rdi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140014c90
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rax, qword [r12 + 8]
xor r14d, r14d
shr rax, 2
mov esi, 0x80000000
movsxd r8, eax
test eax, eax
jle 0x140008f5d
mov r9, qword [r12]
mov r14d, dword [r9]
mov ecx, esi
sar ecx, 0x1f
lea r9, [r9 + 4]
mov edx, r14d
sar edx, 0x1f
lea eax, [r14 + r14]
xor edx, eax
lea eax, [rsi + rsi]
xor ecx, eax
mov eax, r14d
cmp ecx, edx
cmovb eax, esi
mov esi, eax
sub r8, 1
jne 0x140008f30
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [r15 + 0x20]
movaps xmmword [rbp + 0x10], xmm1
movups xmm1, xmmword [r15 + 0x30]
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm1
lea rcx, [rbp]
call fcn.140008378
mov rcx, qword [r12 + 8]
mov ebx, eax
shr rcx, 2
test ecx, ecx
jle 0x140008fa9
cmp eax, r14d
je 0x140008ed3
cmp eax, esi
je 0x140008ed3
mov edx, 4
mov rcx, r12
call fcn.140008004
mov dword [rax], ebx
mov rcx, qword [r15 + 0x60]
call fcn.140013a08
test al, al
jne 0x140008ef4
lea eax, [rbx + rbx]
mov edx, ebx
sar edx, 0x1f
mov ecx, esi
xor edx, eax
sar ecx, 0x1f
lea eax, [rsi + rsi]
mov r14d, ebx
xor ecx, eax
cmp ecx, edx
cmovb ebx, esi
mov esi, ebx
jmp 0x140008f80