Function at 0x14000ec08
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14000ec08
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 [0x140031e48]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r10, qword [rbp + 0xc8]
xor esi, esi
mov r12, qword [rbp + 0xd8]
mov r14, r9
mov ebx, dword [rbp + 0xd0]
lea r9, [0x140032470]
mov qword [rsp + 0x48], r8
mov r13, rdx
lea r8d, [rsi + 4]
mov qword [rsp + 0x58], r10
mov r15, rcx
mov qword [rsp + 0x50], rsi
mov rdx, qword [r14]
mov rdi, r15
test rdx, rdx
je 0x14000f18f
movzx ecx, byte [rdx]
inc rdx
mov qword [r14], rdx
test ecx, ecx
je 0x14000f18f
lea eax, [rcx - 1]
cmp eax, 0x72
jbe 0x14000f187
cmp ecx, 0x74
je 0x14000f137
cmp ecx, 0x75
jb 0x14000edcf
cmp ecx, 0x8d
jae 0x14000eddb
lea eax, [rcx - 0x75]
mov ecx, eax
mov r11d, eax
sar r11d, 3
and ecx, 3
mov dword [rsp + 0x40], r11d
test r8b, al
jne 0x14000ecd3
mov r8d, 3
jmp 0x14000ecde
movzx r8d, byte [rdx]
lea rax, [rdx + 1]
mov qword [r14], rax
shl ecx, 2
lea edx, [r8 + 1]
shl edx, cl
mov eax, ebx
sub eax, edx
mov esi, ebx
test ebx, ebx
cmovns esi, eax
je 0x14000edc3
test esi, esi
jg 0x14000ed04
cmp esi, ebx
jne 0x14000edc3
test byte [rbp + 0xc0], 1
jne 0x14000edb7
mov eax, dword [rbp + 0xc0]
mov rcx, r15
mov r8, qword [rsp + 0x48]
or eax, 1
mov qword [rsp + 0x38], r12
cmp r11d, 1
mov dword [rsp + 0x30], edx
mov rdx, r13
mov qword [rsp + 0x28], r10
cmovne r9, r14
mov dword [rsp + 0x20], eax
call fcn.1400010be
mov rcx, qword [r15 + 0x60]
call fcn.140001712
test al, al
jne 0x14000f26c
mov rcx, qword [r15 + 0x60]
xor r9d, r9d
mov r8b, 1
lea edx, [r9 + 0x68]
call fcn.140001771
mov r15, rax
test rax, rax
je 0x14000f26c
mov rax, qword [rdi + 0x60]
mov qword [r15 + 0x60], rax
mov rax, qword [rdi + 0x40]
jmp 0x14000ed89
mov rdi, rax
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x14000ed82
cmp dword [rsp + 0x40], 2
lea r9, [0x140032470]
mov r10, qword [rsp + 0x58]
lea r8d, [rax + 4]
mov qword [rdi + 0x40], r15
mov ebx, esi
jne 0x14000ec68
mov r14, r9
jmp 0x14000ec68
lea rcx, str.illegal_nested_run_encoding
jmp 0x14000f179
lea rcx, str.illegal_run_encoding
jmp 0x14000f179
cmp ecx, 0x8d
jb 0x14000f12e
cmp ecx, 0xbd
jae 0x14000f12e
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 r8d, cl
mov ecx, 0x100
mov eax, ecx
sub eax, r8d
cmp esi, 6
cmovle eax, edx
sub ecx, eax
mov dword [rsp + 0x50], ecx
test ebx, ebx
jg 0x14000ee32
lea rcx, str.illegal_pop_encoding
jmp 0x14000f179
test byte [rbp + 0xc0], 2
je 0x14000ee47
lea rcx, str.illegal_nested_pop_encoding
jmp 0x14000f179
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, [0x140032470]
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.1400010be
mov r9, qword [rsp + 0x68]
lea rdx, [rsp + 0x78]
mov r8, qword [rsp + 0x60]
mov rcx, qword [r15 + 0x60]
call fcn.140001744
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 0x14000eef4
lea rcx, [rsp + 0x60]
call fcn.1400016ef
mov rcx, qword [r15 + 0x60]
and qword [rsp + 0x70], 0
call fcn.140001712
test al, al
jne 0x14000f26c
test esi, esi
jle 0x14000efc3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x100
lea ecx, [r9 + 1]
call fcn.140001488
mov rsi, rax
mov r12d, 2
mov eax, dword [r15 + 0x50]
cmp eax, dword [rsi + 0x10]
jle 0x14000ef84
cmp byte [rsi + 0x17], 0
je 0x14000ef48
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.140001488
mov rsi, rax
test rax, rax
je 0x14000f26c
inc r12d
cmp r12d, 5
jle 0x14000ef30
mov eax, dword [r15 + 0x50]
cmp eax, dword [rsi + 0x10]
jle 0x14000ef84
lea rcx, str.pop.L_value_too_small
jmp 0x14000f179
and qword [rsp + 0x38], 0
lea r9, [0x140032470]
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.1400010be
cmp byte [rsi + 0x17], 0
je 0x14000efed
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000efed
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.1400010be
mov rcx, qword [r15 + 0x60]
call fcn.140001712
test al, al
jne 0x14000f26c
movups xmm0, xmmword [r15]
xor esi, esi
xor r12d, r12d
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rbp], xmm0
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [r15 + 0x20]
movups xmm1, xmmword [r15 + 0x30]
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm1
test ebx, ebx
jle 0x14000f0c2
lea rcx, [rbp]
call fcn.140001343
test eax, eax
jne 0x14000f03d
inc esi
cmp eax, dword [r15 + 0x50]
ja 0x14000f0b6
inc r12d
cmp r12d, ebx
jl 0x14000f02e
test esi, esi
je 0x14000f0c2
mov rcx, qword [r15 + 0x60]
xor r9d, r9d
mov r8b, 1
lea edx, [r9 + 0x68]
call fcn.140001771
mov qword [r15 + 0x58], rax
test rax, rax
je 0x14000f26c
mov rcx, qword [r15 + 0x60]
lea r9, [0x140032470]
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.1400010be
jmp 0x14000f0e9
lea rcx, str.pop_token_out_of_range
jmp 0x14000f179
test byte [rsp + 0x40], 2
jne 0x14000f0e9
mov rax, qword [r14]
mov cl, byte [rax]
inc rax
mov qword [r14], rax
cmp cl, 0x73
jbe 0x14000f0e9
mov rdx, qword [r15 + 0x60]
lea rcx, str.bad_meta_coding_for_empty_pop_U
call fcn.14000101e
mov rcx, rdi
cmp dword [rcx + 0x18], 2
mov eax, 0xe
je 0x14000f104
cmp dword [rcx + 0x18], 7
jne 0x14000f109
mov eax, 0x10
jmp 0x14000f109
mov eax, 0xf
mov dword [rcx + 0x18], eax
cmp rcx, rdi
je 0x14000f120
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 0x14000f0ec
jmp 0x14000f26c
lea rcx, str.bad_meta_coding
jmp 0x14000f179
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.140001488
mov r10, rax
mov rsi, rax
test rax, rax
jne 0x14000f194
lea rcx, str.illegal_arb._coding
mov rdx, qword [r15 + 0x60]
call fcn.14000101e
jmp 0x14000f26c
call fcn.14000116d
mov r10, rax
mov rsi, qword [rsp + 0x50]
mov rax, qword [r13]
mov rdx, r10
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.1400014bf
test rsi, rsi
je 0x14000f1ce
cmp byte [rsi + 0x17], 0
je 0x14000f1ce
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 0x14000f1fc
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.14000180c
jmp 0x14000f253
test ebx, ebx
js 0x14000f28c
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [r15 + 0x20]
movaps xmmword [rbp + 0x10], xmm1
adc byte [r9 + 0xf], r8b
adc byte [rdi + 0x30], cl
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm1
jle 0x14000f24b
mov esi, ebx
lea rcx, [rbp]
call fcn.140001343
mov edx, 4
mov rcx, r12
mov ebx, eax
call fcn.14000105a
mov dword [rax], ebx
sub rsi, 1
jne 0x14000f22b
mov rax, qword [rbp + 0x20]
mov qword [r13], rax
mov rcx, qword [r15 + 0x60]
call fcn.140001712
test al, al
jne 0x14000f26c
mov rax, qword [r13]
mov qword [r15 + 0x28], rax
mov qword [r15 + 0x38], rdi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140001203
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 0x14000f2d5
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 0x14000f2a8
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.140001343
mov rcx, qword [r12 + 8]
mov ebx, eax
shr rcx, 2
test ecx, ecx
jle 0x14000f321
cmp eax, r14d
je 0x14000f24b
cmp eax, esi
je 0x14000f24b
mov edx, 4
mov rcx, r12
call fcn.14000105a
mov dword [rax], ebx
mov rcx, qword [r15 + 0x60]
call fcn.140001712
test al, al
jne 0x14000f26c
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 0x14000f2f8