Function at 0x14014d5c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0xf8
mov r9d, dword [rcx + 0x75c]
mov rbx, rcx
cmp dword [rcx + 0x758], r9d
je 0x14014d61c
lea rdx, [r9 + r9*2]
add rdx, rdx
mov eax, dword [rcx + rdx*8 + 0x784]
mov ecx, dword [rcx + rdx*8 + 0x788]
sub eax, r9d
mov dword [r8], ecx
mov ecx, dword [rbx + rdx*8 + 0x784]
mov dword [rbx + 0x75c], ecx
add rsp, 0xf8
pop rbx
pop rbp
ret
xor eax, eax
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0xd8], r13
mov qword [rcx + 0x758], rax
cmp dword [rcx + 0x31204], eax
jne 0x14014d657
lea rdx, [rbp + 0x7f]
call fcn.140151e70
mov r12d, dword [rbp + 0x7f]
mov r13d, eax
jmp 0x14014d665
mov r13d, dword [rcx + 0x760]
mov r12d, dword [rcx + 0x764]
mov edi, dword [rbx + 0x768]
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xc8], r15
mov dword [rbp + 0x7f], r12d
mov dword [rbp + 0x67], r13d
cmp edi, 2
jb 0x14014ec4b
mov rcx, qword [rbx + 0x30]
mov eax, VarUI4FromDisp
cmp edi, eax
cmova edi, eax
call qword [rbx + 0x18]
movzx r15d, byte [rax - 1]
xor r9d, r9d
xor r11d, r11d
lea r8, [rax - 1]
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [rbx + r11*4 + 0x31208]
lea rsi, [r11*4]
mov dword [rbp + rsi - 0x71], ecx
lea r10d, [rcx + 1]
neg r10
cmp r15b, byte [r10 + r8]
jne 0x14014d729
movzx eax, byte [r10 + r8 + 1]
cmp byte [r8 + 1], al
jne 0x14014d729
mov edx, 2
cmp edi, edx
jbe 0x14014d712
lea rcx, [r8 + 2]
nop word [rax + rax]
movzx eax, byte [rcx + r10]
cmp byte [rcx], al
jne 0x14014d712
inc edx
inc rcx
cmp edx, edi
jb 0x14014d700
mov eax, r9d
mov ecx, r11d
mov dword [rbp + rsi - 0x49], edx
cmp edx, dword [rbp + rax*4 - 0x49]
cmovbe ecx, r9d
mov r9d, ecx
jmp 0x14014d731
mov dword [rbp + rsi - 0x49], 0
lea esi, [r11 + 1]
mov ecx, dword [rbx + rsi*4 + 0x31208]
lea r14, [rsi*4]
mov dword [rbp + r14 - 0x71], ecx
lea r10d, [rcx + 1]
neg r10
cmp r15b, byte [r10 + r8]
jne 0x14014d797
movzx eax, byte [r10 + r8 + 1]
cmp byte [r8 + 1], al
jne 0x14014d797
mov edx, 2
cmp edi, edx
jbe 0x14014d782
lea rcx, [r8 + 2]
nop
movzx eax, byte [r10 + rcx]
cmp byte [rcx], al
jne 0x14014d782
inc edx
inc rcx
cmp edx, edi
jb 0x14014d770
mov eax, r9d
mov dword [rbp + r14 - 0x49], edx
cmp edx, dword [rbp + rax*4 - 0x49]
cmovbe esi, r9d
mov r9d, esi
jmp 0x14014d7a0
mov dword [rbp + r14 - 0x49], 0
lea esi, [r11 + 2]
mov ecx, dword [rbx + rsi*4 + 0x31208]
lea r14, [rsi*4]
mov dword [rbp + r14 - 0x71], ecx
lea r10d, [rcx + 1]
neg r10
cmp r15b, byte [r10 + r8]
jne 0x14014d807
movzx eax, byte [r10 + r8 + 1]
cmp byte [r8 + 1], al
jne 0x14014d807
mov edx, 2
cmp edi, edx
jbe 0x14014d7f2
lea rcx, [r8 + 2]
nop
movzx eax, byte [r10 + rcx]
cmp byte [rcx], al
jne 0x14014d7f2
inc edx
inc rcx
cmp edx, edi
jb 0x14014d7e0
mov eax, r9d
mov dword [rbp + r14 - 0x49], edx
cmp edx, dword [rbp + rax*4 - 0x49]
cmovbe esi, r9d
mov r9d, esi
jmp 0x14014d810
mov dword [rbp + r14 - 0x49], 0
lea esi, [r11 + 3]
mov ecx, dword [rbx + rsi*4 + 0x31208]
lea r14, [rsi*4]
mov dword [rbp + r14 - 0x71], ecx
lea r10d, [rcx + 1]
neg r10
cmp r15b, byte [r10 + r8]
jne 0x14014d877
movzx eax, byte [r10 + r8 + 1]
cmp byte [r8 + 1], al
jne 0x14014d877
mov edx, 2
cmp edi, edx
jbe 0x14014d862
lea rcx, [r8 + 2]
nop
movzx eax, byte [r10 + rcx]
cmp byte [rcx], al
jne 0x14014d862
inc edx
inc rcx
cmp edx, edi
jb 0x14014d850
mov eax, r9d
mov dword [rbp + r14 - 0x49], edx
cmp edx, dword [rbp + rax*4 - 0x49]
cmovbe esi, r9d
mov r9d, esi
jmp 0x14014d880
mov dword [rbp + r14 - 0x49], 0
add r11d, 4
cmp r11d, 4
jb 0x14014d6c0
mov eax, r9d
mov edi, dword [rbp + rax*4 - 0x49]
mov eax, dword [rbx + 0x31200]
cmp edi, eax
jb 0x14014d8c1
mov rcx, qword [rbp + 0x77]
lea edx, [rdi - 1]
mov dword [rcx], r9d
test edx, edx
je 0x14014d8ba
add dword [rbx + 0x31204], edx
mov rcx, qword [rbx + 0x30]
call qword [rbx + 0x28]
mov eax, edi
jmp 0x14014ec5a
cmp r13d, eax
jb 0x14014d8f8
mov rcx, qword [rbp + 0x77]
lea eax, [r12 - 1]
mov eax, dword [rbx + rax*4 + 0x3096c]
lea edx, [r13 - 1]
add eax, 4
mov dword [rcx], eax
test edx, edx
je 0x14014d8f0
add dword [rbx + 0x31204], edx
mov rcx, qword [rbx + 0x30]
call qword [rbx + 0x28]
mov eax, r13d
jmp 0x14014ec5a
mov ecx, dword [rbp - 0x71]
mov rax, r8
movzx r14d, byte [r8]
inc ecx
sub rax, rcx
movzx esi, byte [rax]
cmp r13d, 2
jae 0x14014d91e
cmp r14b, sil
je 0x14014d91e
cmp edi, 2
jb 0x14014ec4b
mov r15d, dword [rbx + 0x31218]
lea r9, [rbx + 0x3076c]
mov r12d, dword [rbp + 0x6f]
mov ecx, 8
mov dword [rbx + 0x770], r15d
sub cl, byte [rbx + 0x31e64]
mov eax, dword [rbx + 0x31e70]
and eax, dword [rbp + 0x6f]
movzx edx, byte [r8 - 1]
and r12d, dword [rbx + 0x31e74]
shr edx, cl
mov ecx, dword [rbx + 0x31e64]
shl eax, cl
add edx, eax
mov rax, qword [rbx + 0x31e78]
lea ecx, [rdx + rdx*2]
mov edx, r14d
shl ecx, 8
lea rcx, [rax + rcx*2]
cmp r15d, 7
jb 0x14014d987
mov r8d, esi
call fcn.14014fa60
jmp 0x14014d98f
mov r8, r9
call fcn.14014fa10
mov r9d, eax
mov r13d, r12d
lea rax, [r15 + 0x18f4]
xor r11d, r11d
shl rax, 4
mov rdx, r15
add rax, r13
lea rcx, [rbx + rax*2]
movzx eax, word [rbx + rax*2]
shr rax, 4
mov r8d, dword [rbx + rax*4 + 0x3076c]
mov dword [rbx + 0x7b8], 0xffffffff
add r8d, r9d
mov dword [rbx + 0x79c], r8d
mov dword [rbx + 0x7a4], r11d
movzx eax, word [rcx]
xor rax, 0x7f0
shr rax, 4
mov ecx, dword [rbx + rax*4 + 0x3076c]
movzx eax, word [rbx + r15*2 + 0x32000]
xor rax, 0x7f0
mov dword [rbp - 0x5d], ecx
shr rax, 4
mov r15d, dword [rbx + rax*4 + 0x3076c]
mov eax, 0xffffffff
add r15d, ecx
cmp sil, r14b
jne 0x14014da64
lea rax, [rdx + 0x1903]
shl rax, 4
add rax, r13
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + rdx*2 + 0x32018]
shr rax, 4
shr rcx, 4
mov edx, dword [rbx + rcx*4 + 0x3076c]
add edx, dword [rbx + rax*4 + 0x3076c]
mov eax, 0xffffffff
add edx, r15d
cmp edx, r8d
jae 0x14014da64
mov dword [rbx + 0x79c], edx
mov eax, r11d
mov dword [rbx + 0x7b8], r11d
mov edx, dword [rbp + 0x67]
cmp edx, edi
cmovb edx, edi
mov dword [rsp + 0x20], edx
cmp edx, 2
jae 0x14014da80
mov rcx, qword [rbp + 0x77]
mov dword [rcx], eax
jmp 0x14014ec55
mov eax, dword [rbp - 0x71]
mov dword [rbx + 0x7b4], r11d
mov dword [rbx + 0x78c], eax
mov eax, dword [rbp - 0x6d]
mov dword [rbx + 0x790], eax
mov eax, dword [rbp - 0x69]
mov dword [rbx + 0x794], eax
mov eax, dword [rbp - 0x65]
mov dword [rbx + 0x798], eax
nop dword [rax + rax]
lea rcx, [rdx + rdx*2]
dec edx
add rcx, rcx
mov dword [rbx + rcx*8 + 0x76c], 0x40000000
cmp edx, 2
jae 0x14014dab0
mov esi, r11d
lea r14, [rbp - 0x49]
mov edi, dword [r14]
cmp edi, 2
jb 0x14014db4d
mov r8d, dword [rbx + 0x31218]
mov r9d, r12d
mov edx, esi
mov rcx, rbx
call fcn.14014efe0
add eax, r15d
imul r9, r13, 0x110
nop word [rax + rax]
lea edx, [rdi - 2]
mov ecx, edi
add rdx, r9
xor r11d, r11d
mov r8d, dword [rbx + rdx*4 + 0x37130]
lea rdx, [rcx + rcx*2]
add rdx, rdx
add r8d, eax
cmp r8d, dword [rbx + rdx*8 + 0x76c]
jae 0x14014db46
mov dword [rbx + rdx*8 + 0x76c], r8d
mov dword [rbx + rdx*8 + 0x784], r11d
mov dword [rbx + rdx*8 + 0x788], esi
mov dword [rbx + rdx*8 + 0x774], r11d
dec edi
cmp edi, 2
jae 0x14014db00
inc esi
add r14, 4
cmp esi, 4
jb 0x14014dad0
mov r10d, dword [rbp - 0x49]
mov eax, dword [rbx + 0x31218]
mov r15d, dword [rbp - 0x5d]
movzx ecx, word [rbx + rax*2 + 0x32000]
shr rcx, 4
add r15d, dword [rbx + rcx*4 + 0x3076c]
cmp r10d, 2
inc r10d
jae 0x14014db8d
mov r10d, 2
lea r12, [rbx + 0x3096c]
cmp r10d, dword [rbp + 0x67]
ja 0x14014dc92
mov r9d, r11d
cmp r10d, dword [r12]
jbe 0x14014dbba
nop word [rax + rax]
add r9d, 2
cmp r10d, dword [r12 + r9*4]
ja 0x14014dbb0
imul r14, r13, 0x110
mov r13d, dword [rbp + 0x7f]
nop word [rax + rax]
lea eax, [r9 + 1]
mov r8d, 3
mov r11d, dword [r12 + rax*4]
lea ecx, [r10 - 2]
mov eax, ecx
mov edi, r11d
add rax, r14
mov esi, dword [rbx + rax*4 + 0x328e8]
add esi, r15d
cmp r10d, 5
cmovb r8d, ecx
cmp r11d, 0x80
jae 0x14014dc16
shl r8, 7
add r8, r11
mov eax, dword [rbx + r8*4 + 0x3161c]
jmp 0x14014dc40
bsr edx, r11d
shl r8, 6
mov eax, r11d
and edi, 0xf
lea ecx, [rdx - 1]
shr eax, cl
and eax, 1
lea ecx, [rax + rdx*2]
add rcx, r8
mov eax, dword [rbx + rcx*4 + 0x3121c]
add eax, dword [rbx + rdi*4 + 0x31e1c]
lea edx, [rsi + rax]
mov eax, r10d
lea rcx, [rax + rax*2]
add rcx, rcx
cmp edx, dword [rbx + rcx*8 + 0x76c]
jae 0x14014dc78
mov dword [rbx + rcx*8 + 0x76c], edx
lea eax, [r11 + 4]
xor edx, edx
mov dword [rbx + rcx*8 + 0x788], eax
mov dword [rbx + rcx*8 + 0x784], edx
mov dword [rbx + rcx*8 + 0x774], edx
mov eax, r9d
cmp r10d, dword [r12 + rax*4]
jne 0x14014dc8a
add r9d, 2
cmp r9d, r13d
je 0x14014dc92
inc r10d
jmp 0x14014dbd0
mov esi, 1
lea r13, [0x140000000]
mov dword [rbp + 0x7f], esi
mov r15d, dword [rbp + 0x6f]
xor edi, edi
mov rcx, qword [rbx + 0x30]
mov dword [rsp + 0x28], edi
mov dword [rbp - 0xd], r15d
call qword [rbx + 0x10]
mov rcx, qword [rbx + 0x30]
mov rdx, r12
mov dword [rbx + 0x768], eax
call qword [rbx + 0x20]
mov dword [rbp - 0x29], eax
mov r14d, eax
test eax, eax
je 0x14014dd39
lea ecx, [rax - 2]
mov edi, dword [rbx + rcx*4 + 0x3096c]
mov dword [rsp + 0x28], edi
cmp edi, dword [rbx + 0x31200]
jne 0x14014dd39
mov rcx, qword [rbx + 0x30]
call qword [rbx + 0x18]
mov r8d, dword [rbx + 0x768]
lea ecx, [r14 - 1]
mov ecx, dword [rbx + rcx*4 + 0x3096c]
lea r9, [rax - 1]
inc ecx
mov eax, VarUI4FromDisp
cmp r8d, eax
mov rdx, r9
cmova r8d, eax
sub rdx, rcx
cmp edi, r8d
jae 0x14014dd39
lea rcx, [r9 + rdi]
sub rdx, r9
movzx eax, byte [rdx + rcx]
cmp byte [rcx], al
jne 0x14014dd35
inc edi
inc rcx
cmp edi, r8d
jb 0x14014dd23
mov dword [rsp + 0x28], edi
inc dword [rbx + 0x31204]
cmp edi, dword [rbx + 0x31200]
jae 0x14014ec2d
inc r15d
mov eax, esi
mov dword [rbp + 0x6f], r15d
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, 0x76c
add rdi, rbx
mov r11d, dword [rdi + 8]
mov edx, dword [rdi + 0x18]
test r11d, r11d
je 0x14014ddd5
dec edx
cmp dword [rdi + 0xc], 0
je 0x14014ddbd
mov eax, dword [rdi + 0x10]
lea rcx, [rax + rax*2]
add rcx, rcx
cmp dword [rdi + 0x14], 4
mov eax, dword [rbx + rcx*8 + 0x770]
lea rax, [rax*4]
jae 0x14014ddab
mov eax, dword [rax + r13 + 0x21d688]
mov ecx, dword [r13 + rax*4 + 0x21d628]
jmp 0x14014dde3
mov eax, dword [rax + r13 + 0x21d658]
mov ecx, dword [r13 + rax*4 + 0x21d628]
jmp 0x14014dde3
lea rcx, [rdx + rdx*2]
add rcx, rcx
mov eax, dword [rbx + rcx*8 + 0x770]
mov ecx, dword [r13 + rax*4 + 0x21d628]
jmp 0x14014dde3
lea rcx, [rdx + rdx*2]
add rcx, rcx
mov ecx, dword [rbx + rcx*8 + 0x770]
lea eax, [rsi - 1]
cmp edx, eax
jne 0x14014de16
cmp dword [rdi + 0x1c], 0
mov eax, ecx
jne 0x14014de04
mov r12d, dword [r13 + rax*4 + 0x21d6b8]
mov dword [rsp + 0x24], r12d
jmp 0x14014df10
mov r12d, dword [r13 + rax*4 + 0x21d628]
mov dword [rsp + 0x24], r12d
jmp 0x14014df10
test r11d, r11d
je 0x14014de55
cmp dword [rdi + 0xc], 0
je 0x14014de55
mov r10d, dword [rdi + 0x14]
mov eax, ecx
mov r12d, dword [r13 + rax*4 + 0x21d688]
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x24], r12d
lea r9, [rax + rax*2]
shl r9, 4
add r9, 0x76c
add r9, rbx
cmp r10d, 4
jae 0x14014def4
jmp 0x14014de88
mov r10d, dword [rdi + 0x1c]
lea r9, [rdx + rdx*2]
shl r9, 4
add r9, 0x76c
mov eax, ecx
add r9, rbx
lea rax, [rax*4]
cmp r10d, 4
jae 0x14014dee7
mov r12d, dword [rax + r13 + 0x21d688]
mov dword [rsp + 0x24], r12d
mov eax, r10d
mov r8d, 1
mov ecx, dword [r9 + rax*4 + 0x20]
mov dword [rbp - 0x71], ecx
cmp r10d, r8d
jb 0x14014debe
nop
mov edx, r8d
lea eax, [r8 - 1]
mov eax, dword [r9 + rax*4 + 0x20]
inc r8d
mov dword [rbp + rdx*4 - 0x71], eax
cmp r8d, r10d
jbe 0x14014dea0
cmp r8d, 4
jae 0x14014df10
mov eax, r8d
lea rdx, [r9 + 0x20]
lea rcx, [rbp - 0x71]
lea rcx, [rcx + rax*4]
lea rdx, [rdx + rax*4]
mov eax, 4
sub eax, r8d
mov r8d, eax
shl r8, 2
call fcn.1400c7640
jmp 0x14014df10
mov r12d, dword [rax + r13 + 0x21d658]
mov dword [rsp + 0x24], r12d
lea eax, [r10 - 4]
mov dword [rbp - 0x71], eax
mov eax, dword [r9 + 0x20]
mov dword [rbp - 0x6d], eax
mov eax, dword [r9 + 0x24]
mov dword [rbp - 0x69], eax
mov eax, dword [r9 + 0x28]
mov dword [rbp - 0x65], eax
mov eax, dword [rbp - 0x6d]
xor r14d, r14d
mov esi, dword [rbp - 0x71]
mov dword [rdi + 4], r12d
mov dword [rdi + 0x20], esi
mov dword [rdi + 0x24], eax
mov eax, dword [rbp - 0x69]
mov dword [rdi + 0x28], eax
mov eax, dword [rbp - 0x65]
mov dword [rdi + 0x2c], eax
mov rcx, qword [rbx + 0x30]
mov r13d, dword [rdi]
call qword [rbx + 0x18]
movzx r8d, byte [rax - 1]
lea ecx, [rsi + 1]
mov byte [rbp + 0x67], r8b
bts r8d, 8
lea rdx, [rax - 1]
mov eax, r12d
mov qword [rbp - 0x59], rax
mov rsi, rdx
add rax, 0x18f4
mov qword [rbp - 0x51], rdx
movzx edx, byte [rdx - 1]
sub rsi, rcx
mov ecx, dword [rbx + 0x31e74]
and ecx, dword [rbp + 0x6f]
shl rax, 4
movzx r15d, byte [rsi]
add rax, rcx
mov dword [rbp - 0x11], ecx
mov qword [rbp - 9], rcx
mov ecx, 8
sub cl, byte [rbx + 0x31e64]
lea rax, [rbx + rax*2]
shr edx, cl
mov ecx, dword [rbx + 0x31e64]
mov qword [rbp - 0x19], rax
movzx eax, word [rax]
shr rax, 4
mov r12d, dword [rbx + rax*4 + 0x3076c]
mov eax, dword [rbx + 0x31e70]
add r12d, r13d
and eax, dword [rbp + 0x6f]
shl eax, cl
add edx, eax
mov rax, qword [rbx + 0x31e78]
lea ecx, [rdx + rdx*2]
shl ecx, 8
cmp dword [rsp + 0x24], 7
lea rdi, [rax + rcx*2]
jb 0x14014e042
mov r9d, r15d
xor r11d, r11d
mov r10d, 0x100
nop dword [rax]
nop word [rax + rax]
mov ecx, r8d
add r9d, r9d
shr ecx, 8
mov eax, r10d
and eax, r9d
add eax, r10d
add ecx, eax
movzx edx, word [rdi + rcx*2]
mov ecx, r8d
shr ecx, 7
add r8d, r8d
and ecx, 1
shr rdx, 4
neg ecx
mov eax, r8d
sar rcx, 4
xor eax, r9d
and ecx, 0x7f
not eax
xor rdx, rcx
and r10d, eax
add r11d, dword [rbx + rdx*4 + 0x3076c]
cmp r8d, 0x10000
jb 0x14014dff0
jmp 0x14014e08b
xor r9d, r9d
nop word [rax + rax]
mov ecx, r8d
mov eax, r8d
shr ecx, 7
add r8d, r8d
and ecx, 1
shr rax, 8
neg ecx
sar rcx, 4
and ecx, 0x7f
movzx edx, word [rdi + rax*2]
shr rdx, 4
xor rdx, rcx
add r9d, dword [rbx + rdx*4 + 0x3076c]
cmp r8d, 0x10000
jb 0x14014e050
mov r11d, r9d
mov eax, dword [rbp + 0x7f]
add r12d, r11d
mov ecx, dword [rbp + 0x7f]
inc eax
mov dword [rbp - 0x5d], eax
lea r8, [rax + rax*2]
shl r8, 4
add r8, 0x76c
add r8, rbx
mov edi, dword [r8]
cmp r12d, edi
jae 0x14014e0cf
mov dword [r8 + 8], r14d
mov edi, r12d
mov r14d, 1
mov dword [r8], r12d
mov dword [r8 + 0x18], ecx
mov dword [r8 + 0x1c], 0xffffffff
mov rax, qword [rbp - 0x19]
mov rdx, qword [rbp - 0x59]
movzx eax, word [rax]
xor rax, 0x7f0
shr rax, 4
add r13d, dword [rbx + rax*4 + 0x3076c]
lea rax, [rdx + 0x19000]
lea rax, [rbx + rax*2]
mov dword [rbp - 0x31], r13d
mov qword [rbp - 0x49], rax
movzx eax, word [rax]
xor rax, 0x7f0
shr rax, 4
mov eax, dword [rbx + rax*4 + 0x3076c]
add eax, r13d
movzx r13d, byte [rbp + 0x67]
mov dword [rbp - 0x7d], eax
cmp r15b, r13b
jne 0x14014e180
cmp dword [r8 + 0x18], ecx
jae 0x14014e130
cmp dword [r8 + 0x1c], 0
je 0x14014e180
lea rax, [rdx + 0x1903]
shl rax, 4
add rax, qword [rbp - 9]
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + rdx*2 + 0x32018]
shr rcx, 4
shr rax, 4
mov edx, dword [rbx + rcx*4 + 0x3076c]
add edx, dword [rbx + rax*4 + 0x3076c]
add edx, dword [rbp - 0x7d]
cmp edx, edi
ja 0x14014e180
mov ecx, dword [rbp + 0x7f]
xor eax, eax
mov dword [r8], edx
mov dword [r8 + 0x18], ecx
mov dword [r8 + 0x1c], eax
lea r14d, [rax + 1]
mov dword [r8 + 8], eax
mov eax, dword [rbx + 0x768]
mov edi, 0xfff
mov r11d, dword [rbp + 0x7f]
sub edi, r11d
cmp edi, eax
cmovae edi, eax
mov dword [rbp - 0x2d], edi
cmp edi, 2
jb 0x14014ebfe
mov r8d, dword [rbx + 0x31200]
cmp edi, r8d
mov eax, r8d
cmovbe eax, edi
mov dword [rbp + 0x67], eax
test r14d, r14d
jne 0x14014e353
cmp r15b, r13b
je 0x14014e353
inc r8d
cmp r8d, edi
jbe 0x14014e1d5
mov r8d, edi
jmp 0x14014e1df
mov edx, 1
cmp r8d, edx
jbe 0x14014e202
mov rax, qword [rbp - 0x51]
mov edx, 1
sub rsi, rax
lea rcx, [rax + 1]
nop
movzx eax, byte [rsi + rcx]
cmp byte [rcx], al
jne 0x14014e202
inc edx
inc rcx
cmp edx, r8d
jb 0x14014e1f0
mov rsi, qword [rbp - 0x59]
lea edi, [rdx - 1]
cmp edi, 2
jb 0x14014e357
mov r8d, dword [rbp + 0x6f]
lea rax, [0x140000000]
mov r11d, dword [rax + rsi*4 + 0x21d628]
inc r8d
mov eax, dword [rbx + 0x31e74]
mov r9d, dword [rbp + 0x7f]
and r8, rax
mov r14d, dword [rsp + 0x20]
add r9d, edx
lea rax, [r11 + 0x18f4]
shl rax, 4
add rax, r8
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + r11*2 + 0x32000]
xor rcx, 0x7f0
shr rcx, 4
xor rax, 0x7f0
shr rax, 4
mov r10d, dword [rbx + rcx*4 + 0x3076c]
add r10d, dword [rbx + rax*4 + 0x3076c]
add r10d, r12d
cmp r14d, r9d
jae 0x14014e2c1
lea rdx, [r14 + r14*2]
mov dword [rsp + 0x20], r9d
shl rdx, 4
mov ecx, r9d
add rdx, 0x76c
add rdx, rbx
sub ecx, r14d
nop dword [rax]
nop word [rax + rax]
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x14014e2b0
imul rax, r8, 0x110
lea edx, [rdi - 2]
add rdx, rax
lea rax, [r11 + 0x1903]
shl rax, 4
add rax, r8
mov r8d, dword [rbx + rdx*4 + 0x37130]
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + r11*2 + 0x32018]
xor rcx, 0x7f0
mov r11d, dword [rbp + 0x7f]
shr rcx, 4
shr rax, 4
add r8d, dword [rbx + rcx*4 + 0x3076c]
lea rcx, [r9 + r9*2]
add r8d, dword [rbx + rax*4 + 0x3076c]
add rcx, rcx
add r8d, r10d
cmp r8d, dword [rbx + rcx*8 + 0x76c]
jae 0x14014e357
mov eax, dword [rbp - 0x5d]
mov dword [rbx + rcx*8 + 0x784], eax
mov dword [rbx + rcx*8 + 0x76c], r8d
mov dword [rbx + rcx*8 + 0x788], 0
mov qword [rbx + rcx*8 + 0x774], 1
jmp 0x14014e357
mov rsi, qword [rbp - 0x59]
mov r15, qword [rbp - 0x51]
lea rax, [rsi*4]
mov qword [rbp - 0x19], rax
mov r9d, 2
lea rax, [rbp - 0x71]
mov dword [rbp - 0x61], r9d
xor r12d, r12d
mov qword [rbp - 1], rax
mov dword [rbp - 0x39], r12d
mov esi, dword [rax]
mov r14, r15
mov r13d, dword [rbp + 0x67]
inc esi
sub r14, rsi
mov qword [rbp - 0x21], rsi
mov qword [rbp + 7], r14
movzx eax, byte [r14]
cmp byte [r15], al
jne 0x14014e763
movzx eax, byte [r14 + 1]
cmp byte [r15 + 1], al
jne 0x14014e763
mov edi, 2
cmp r13d, edi
jbe 0x14014e3d2
lea rcx, [r14 + 2]
movzx eax, byte [rcx]
cmp byte [rsi + rcx], al
jne 0x14014e3d2
inc edi
inc rcx
cmp edi, r13d
jb 0x14014e3c0
mov r9d, dword [rsp + 0x20]
lea r8d, [rdi + r11]
mov dword [rbp - 0x59], r8d
cmp r9d, r8d
jae 0x14014e412
lea rdx, [r9 + r9*2]
mov dword [rsp + 0x20], r8d
shl rdx, 4
mov ecx, r8d
add rdx, 0x76c
add rdx, rbx
sub ecx, r9d
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x14014e401
mov r9d, dword [rbp - 0x11]
mov edx, r12d
mov r8d, dword [rsp + 0x24]
mov rcx, rbx
mov r15d, edi
mov dword [rbp - 0x79], r15d
call fcn.14014efe0
mov r11d, dword [rbp + 0x7f]
mov esi, eax
add esi, dword [rbp - 0x7d]
imul r14, qword [rbp - 9], 0x110
mov dword [rbp - 0x35], esi
mov qword [rbp + 0xf], r14
nop word [rax + rax]
lea edx, [rdi - 2]
add rdx, r14
lea ecx, [rdi + r11]
lea rax, [rcx + rcx*2]
add rax, rax
mov r8d, dword [rbx + rdx*4 + 0x37130]
add r8d, esi
cmp r8d, dword [rbx + rax*8 + 0x76c]
jae 0x14014e499
mov dword [rbx + rax*8 + 0x76c], r8d
mov dword [rbx + rax*8 + 0x784], r11d
mov dword [rbx + rax*8 + 0x788], r12d
mov dword [rbx + rax*8 + 0x774], 0
dec edi
cmp edi, 2
jae 0x14014e450
mov r9d, dword [rbp - 0x61]
lea r10d, [r15 + 1]
mov edx, dword [rbx + 0x31200]
test r12d, r12d
mov rsi, qword [rbp - 0x21]
mov r14, qword [rbp + 7]
cmove r9d, r10d
add edx, r10d
mov dword [rbp - 0x61], r9d
cmp edx, dword [rbp - 0x2d]
cmova edx, dword [rbp - 0x2d]
cmp r10d, edx
jae 0x14014e4e9
mov ecx, r10d
add rcx, r14
movzx eax, byte [rcx]
cmp byte [rsi + rcx], al
jne 0x14014e4e9
inc r10d
inc rcx
cmp r10d, edx
jb 0x14014e4d6
mov eax, 0xffffffff
mov dword [rbp - 0x21], r10d
sub eax, r15d
add r10d, eax
cmp r10d, 2
jb 0x14014e75f
mov rcx, qword [rbp - 0x51]
mov esi, 0x100
mov r8d, dword [rbx + 0x31e64]
movzx edi, byte [r14 + r15]
xor r14d, r14d
mov eax, dword [rbp - 0x79]
movzx r11d, byte [r15 + rcx]
mov r13d, dword [rbp + 0x6f]
or r11d, esi
mov r12d, dword [rbx + 0x31e74]
add r13d, r15d
mov r15, qword [rbx + 0x31e78]
and r12d, r13d
dec eax
movzx r9d, byte [rax + rcx]
mov ecx, 8
sub cl, r8b
mov eax, r13d
and eax, dword [rbx + 0x31e70]
shr r9d, cl
mov ecx, r8d
shl eax, cl
add r9d, eax
lea r8d, [r9 + r9*2]
shl r8d, 8
nop dword [rax + rax]
add edi, edi
mov eax, esi
and eax, edi
mov ecx, r11d
shr ecx, 8
add eax, esi
add eax, ecx
mov ecx, r11d
shr ecx, 7
add rax, r8
and ecx, 1
add r11d, r11d
neg ecx
sar rcx, 4
movzx edx, word [r15 + rax*2]
and ecx, 0x7f
shr rdx, 4
mov eax, r11d
xor rdx, rcx
xor eax, edi
not eax
and esi, eax
add r14d, dword [rbx + rdx*4 + 0x3076c]
cmp r11d, 0x10000
jb 0x14014e570
mov rax, qword [rbp - 0x19]
lea rdx, [0x140000000]
mov r9d, dword [rbp + 0x7f]
lea r8d, [r13 + 1]
add r9d, dword [rbp - 0x21]
mov esi, dword [rsp + 0x20]
mov ecx, dword [rax + rdx + 0x21d688]
mov eax, dword [rbx + 0x31e74]
and r8, rax
mov edi, dword [rdx + rcx*4 + 0x21d628]
add rcx, 0x18f4
shl rcx, 4
lea rax, [rdi + 0x18f4]
shl rax, 4
add rax, r8
movzx edx, word [rbx + rax*2]
mov eax, r12d
xor rdx, 0x7f0
add rcx, rax
shr rdx, 4
movzx eax, word [rbx + rcx*2]
mov ecx, dword [rbp - 0x79]
mov r11d, dword [rbx + rdx*4 + 0x3076c]
add ecx, 0xfffffffe
add rcx, qword [rbp + 0xf]
shr rax, 4
add r11d, dword [rbx + rax*4 + 0x3076c]
movzx eax, word [rbx + rdi*2 + 0x32000]
xor rax, 0x7f0
shr rax, 4
add r11d, dword [rbx + rax*4 + 0x3076c]
add r11d, dword [rbx + rcx*4 + 0x37130]
add r11d, r14d
add r11d, dword [rbp - 0x35]
cmp esi, r9d
jae 0x14014e6a1
lea rdx, [rsi + rsi*2]
mov dword [rsp + 0x20], r9d
shl rdx, 4
mov ecx, r9d
add rdx, 0x76c
add rdx, rbx
sub ecx, esi
nop word [rax + rax]
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x14014e690
mov r12d, dword [rbp - 0x39]
lea edx, [r10 - 2]
mov r13d, dword [rbp + 0x67]
mov r15, qword [rbp - 0x51]
imul rax, r8, 0x110
add rdx, rax
lea rax, [rdi + 0x1903]
shl rax, 4
add rax, r8
mov r8d, dword [rbx + rdx*4 + 0x37130]
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + rdi*2 + 0x32018]
xor rcx, 0x7f0
shr rcx, 4
shr rax, 4
add r8d, dword [rbx + rcx*4 + 0x3076c]
lea rcx, [r9 + r9*2]
add r8d, dword [rbx + rax*4 + 0x3076c]
add rcx, rcx
mov r9d, dword [rbp - 0x61]
add r8d, r11d
mov r11d, dword [rbp + 0x7f]
cmp r8d, dword [rbx + rcx*8 + 0x76c]
jae 0x14014e763
mov eax, dword [rbp - 0x59]
inc eax
mov dword [rbx + rcx*8 + 0x76c], r8d
mov dword [rbx + rcx*8 + 0x784], eax
mov dword [rbx + rcx*8 + 0x788], 0
mov dword [rbx + rcx*8 + 0x774], 1
mov dword [rbx + rcx*8 + 0x778], 1
mov dword [rbx + rcx*8 + 0x77c], r11d
mov dword [rbx + rcx*8 + 0x780], r12d
jmp 0x14014e763
mov r15, qword [rbp - 0x51]
mov rax, qword [rbp - 1]
inc r12d
add rax, 4
mov dword [rbp - 0x39], r12d
mov qword [rbp - 1], rax
cmp r12d, 4
jb 0x14014e380
mov ecx, dword [rsp + 0x28]
lea rdi, [rbx + 0x3096c]
cmp ecx, r13d
jbe 0x14014e7b3
xor edx, edx
mov ecx, r13d
cmp r13d, dword [rdi]
jbe 0x14014e7a9
nop word [rax + rax]
add edx, 2
cmp r13d, dword [rdi + rdx*4]
ja 0x14014e7a0
mov dword [rdi + rdx*4], r13d
add edx, 2
mov dword [rbp - 0x29], edx
cmp ecx, r9d
jb 0x14014ebfe
mov rax, qword [rbp - 0x49]
lea r8d, [rcx + r11]
mov esi, dword [rbp - 0x31]
mov r10d, dword [rsp + 0x20]
movzx eax, word [rax]
shr rax, 4
add esi, dword [rbx + rax*4 + 0x3076c]
mov dword [rbp - 0x79], esi
cmp r10d, r8d
jae 0x14014e811
lea rdx, [r10 + r10*2]
mov dword [rsp + 0x20], r8d
shl rdx, 4
mov ecx, r8d
add rdx, 0x76c
add rdx, rbx
sub ecx, r10d
nop
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x14014e800
xor r12d, r12d
cmp r9d, dword [rdi]
jbe 0x14014e82a
nop dword [rax]
add r12d, 2
cmp r9d, dword [rdi + r12*4]
ja 0x14014e820
mov r14d, dword [rbp + 0x7f]
lea eax, [r12 + 1]
mov r13d, dword [rdi + rax*4]
lea r10d, [r9 + 1]
bsr edx, r13d
mov eax, r13d
lea edi, [r14 - 1]
mov dword [rsp + 0x28], edi
lea ecx, [rdx - 1]
shr eax, cl
and eax, 1
lea r11d, [rax + rdx*2]
imul rdx, qword [rbp - 9], 0x110
mov dword [rbp - 0x7d], r11d
mov qword [rbp - 0x49], rdx
lea r9d, [r10 - 1]
mov dword [rbp + 0x67], r10d
lea ecx, [r9 - 2]
mov eax, ecx
add rax, rdx
mov edx, r13d
mov r8d, dword [rbx + rax*4 + 0x328e8]
mov eax, 3
add r8d, esi
cmp r9d, 5
cmovb eax, ecx
mov ecx, eax
cmp r13d, 0x80
jae 0x14014e8ac
shl rcx, 7
add rcx, rdx
mov eax, dword [rbx + rcx*4 + 0x3161c]
jmp 0x14014e8c7
shl rcx, 6
and edx, 0xf
mov eax, r11d
add rcx, rax
mov eax, dword [rbx + rcx*4 + 0x3121c]
add eax, dword [rbx + rdx*4 + 0x31e1c]
lea edx, [r8 + rax]
lea eax, [rdi + r10]
mov dword [rbp - 0x59], edx
lea rcx, [rax + rax*2]
mov dword [rbp - 0x35], eax
add rcx, rcx
cmp edx, dword [rbx + rcx*8 + 0x76c]
jae 0x14014e90a
lea eax, [r13 + 4]
mov dword [rbx + rcx*8 + 0x76c], edx
mov dword [rbx + rcx*8 + 0x788], eax
mov dword [rbx + rcx*8 + 0x784], r14d
mov dword [rbx + rcx*8 + 0x774], 0
cmp r9d, dword [rbx + r12*4 + 0x3096c]
jne 0x14014ebf2
mov edx, dword [rbx + 0x31200]
lea r8d, [r13 + 1]
add edx, r10d
mov r11, r15
sub r11, r8
mov edi, r10d
cmp edx, dword [rbp - 0x2d]
cmova edx, dword [rbp - 0x2d]
cmp r10d, edx
jae 0x14014e952
mov ecx, r10d
add rcx, r11
movzx eax, byte [rcx]
cmp byte [rcx + r8], al
jne 0x14014e952
inc edi
inc rcx
cmp edi, edx
jb 0x14014e940
mov eax, 0xffffffff
mov dword [rbp - 0x21], edi
sub eax, r9d
add edi, eax
cmp edi, 2
jb 0x14014eba7
movzx esi, byte [r9 + r11]
mov r14d, 0x100
add r10d, dword [rbp - 0xd]
xor r15d, r15d
mov rcx, qword [rbp - 0x51]
mov eax, r10d
and eax, dword [rbx + 0x31e74]
mov r8d, dword [rbx + 0x31e64]
and r10d, dword [rbx + 0x31e70]
movzx r11d, byte [r9 + rcx]
mov dword [rbp - 0x31], eax
or r11d, r14d
lea eax, [r9 - 1]
movzx r9d, byte [rax + rcx]
mov ecx, 8
sub cl, r8b
shr r9d, cl
mov ecx, r8d
mov r8, qword [rbx + 0x31e78]
shl r10d, cl
add r9d, r10d
lea r9d, [r9 + r9*2]
shl r9d, 8
nop dword [rax]
add esi, esi
mov eax, r14d
and eax, esi
mov ecx, r11d
shr ecx, 8
add eax, r14d
add eax, ecx
mov ecx, r11d
shr ecx, 7
add rax, r9
and ecx, 1
add r11d, r11d
neg ecx
sar rcx, 4
movzx edx, word [r8 + rax*2]
and ecx, 0x7f
shr rdx, 4
mov eax, r11d
xor rdx, rcx
xor eax, esi
not eax
and r14d, eax
add r15d, dword [rbx + rdx*4 + 0x3076c]
cmp r11d, 0x10000
jb 0x14014e9d0
mov rax, qword [rbp - 0x19]
lea rdx, [0x140000000]
mov r10d, dword [rbp - 0x21]
mov r14d, dword [rbp + 0x7f]
add r10d, r14d
mov esi, dword [rsp + 0x20]
mov ecx, dword [rax + rdx + 0x21d658]
mov eax, dword [rbx + 0x31e74]
mov r11d, dword [rdx + rcx*4 + 0x21d628]
add rcx, 0x18f4
mov edx, dword [rbp - 0x31]
shl rcx, 4
add rcx, rdx
lea r8d, [rdx + 1]
and r8, rax
lea rax, [r11 + 0x18f4]
movzx edx, word [rbx + rcx*2]
shl rax, 4
add rax, r8
shr rdx, 4
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + r11*2 + 0x32000]
xor rcx, 0x7f0
mov r9d, dword [rbx + rdx*4 + 0x3076c]
xor rax, 0x7f0
shr rcx, 4
shr rax, 4
add r9d, dword [rbx + rcx*4 + 0x3076c]
add r9d, dword [rbx + rax*4 + 0x3076c]
add r9d, r15d
add r9d, dword [rbp - 0x59]
cmp esi, r10d
jae 0x14014eaf1
lea rdx, [rsi + rsi*2]
mov dword [rsp + 0x20], r10d
shl rdx, 4
mov ecx, r10d
add rdx, 0x76c
add rdx, rbx
sub ecx, esi
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x14014eae0
mov esi, dword [rbp - 0x79]
lea edx, [rdi - 2]
mov r15, qword [rbp - 0x51]
imul rax, r8, 0x110
add rdx, rax
lea rax, [r11 + 0x1903]
shl rax, 4
add rax, r8
mov r8d, dword [rbx + rdx*4 + 0x37130]
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + r11*2 + 0x32018]
xor rcx, 0x7f0
shr rcx, 4
shr rax, 4
add r8d, dword [rbx + rcx*4 + 0x3076c]
lea rcx, [r10 + r10*2]
add r8d, dword [rbx + rax*4 + 0x3076c]
add rcx, rcx
mov r10d, dword [rbp + 0x67]
add r8d, r9d
cmp r8d, dword [rbx + rcx*8 + 0x76c]
jae 0x14014eba7
mov eax, dword [rbp - 0x35]
inc eax
mov dword [rbx + rcx*8 + 0x76c], r8d
mov dword [rbx + rcx*8 + 0x784], eax
lea eax, [r13 + 4]
mov dword [rbx + rcx*8 + 0x780], eax
mov dword [rbx + rcx*8 + 0x788], 0
mov dword [rbx + rcx*8 + 0x774], 1
mov dword [rbx + rcx*8 + 0x778], 1
mov dword [rbx + rcx*8 + 0x77c], r14d
add r12d, 2
cmp r12d, dword [rbp - 0x29]
je 0x14014ebfe
mov edi, dword [rsp + 0x28]
lea eax, [r12 + 1]
mov r13d, dword [rbx + rax*4 + 0x3096c]
cmp r13d, 0x80
jb 0x14014ebee
bsr edx, r13d
mov eax, r13d
lea ecx, [rdx - 1]
shr eax, cl
and eax, 1
inc r10d
lea r11d, [rax + rdx*2]
mov rdx, qword [rbp - 0x49]
mov dword [rbp - 0x7d], r11d
jmp 0x14014e866
mov r11d, dword [rbp - 0x7d]
mov rdx, qword [rbp - 0x49]
inc r10d
jmp 0x14014e866
mov esi, dword [rbp - 0x5d]
lea r12, [rbx + 0x3096c]
lea r13, [0x140000000]
mov dword [rbp + 0x7f], esi
cmp esi, dword [rsp + 0x20]
jne 0x14014dca1
mov rdx, qword [rbp + 0x77]
mov r8d, esi
mov rcx, rbx
call fcn.14014cb70
jmp 0x14014ec5a
mov rdx, qword [rbp + 0x77]
mov r8d, esi
mov rcx, rbx
mov dword [rbx + 0x764], r14d
mov dword [rbx + 0x760], edi
call fcn.14014cb70
jmp 0x14014ec5a
mov rcx, qword [rbp + 0x77]
mov dword [rcx], 0xffffffff
mov eax, 1
mov r14, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xf0]
mov r15, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xe0]
mov r13, qword [rsp + 0xd8]
add rsp, 0xf8
pop rbx
pop rbp
ret