Function at 0x140015ec0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0xf8
mov rax, qword [0x14009e018]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r9, r8
mov qword [rbp - 0x41], r8
mov r8d, dword [rcx + 0x75c]
mov rbx, rcx
mov dword [rbp - 0x75], edx
cmp dword [rcx + 0x758], r8d
je 0x140015f27
lea rdx, [r8 + r8*2]
add rdx, rdx
mov eax, dword [rcx + rdx*8 + 0x784]
mov ecx, dword [rcx + rdx*8 + 0x788]
sub eax, r8d
mov dword [r9], ecx
mov ecx, dword [rbx + rdx*8 + 0x784]
mov dword [rbx + 0x75c], ecx
jmp 0x1400174d8
cmp dword [rcx + 0x33204], 0
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xe8], r12
mov qword [rsp + 0xe0], r13
mov qword [rcx + 0x758], 0
jne 0x140015f69
lea rdx, [rbp - 0x65]
call fcn.140015c10
mov r9, qword [rbp - 0x41]
mov r13d, eax
mov r12d, dword [rbp - 0x65]
jmp 0x140015f77
mov r13d, dword [rcx + 0x760]
mov r12d, dword [rcx + 0x764]
mov edi, dword [rbx + 0x768]
mov dword [rbp - 0x79], r12d
mov dword [rbp - 0x69], r13d
cmp edi, 2
jae 0x140015f9b
mov dword [r9], 0xffffffff
mov eax, 1
jmp 0x1400174c0
mov rcx, qword [rbx + 0x30]
mov eax, 0x111
cmp edi, eax
mov qword [rsp + 0x128], rsi
mov qword [rsp + 0xd8], r14
cmova edi, eax
mov qword [rsp + 0xd0], r15
call qword [rbx + 0x18]
movzx r14d, byte [rax - 1]
lea rcx, [rbp - 9]
mov r15, rbx
xor esi, esi
xor r11d, r11d
sub r15, rcx
lea r10, [rax - 1]
xor r9d, r9d
nop
lea rax, [rbp - 9]
mov r8, r10
add rax, r9
mov ecx, dword [r15 + rax + 0x33208]
mov dword [rax], ecx
inc ecx
sub r8, rcx
cmp r14b, byte [r8]
jne 0x140016044
movzx eax, byte [r8 + 1]
cmp byte [r10 + 1], al
jne 0x140016044
mov edx, 2
cmp edi, edx
jbe 0x140016032
lea rcx, [r10 + 2]
sub r8, r10
nop dword [rax]
movzx eax, byte [r8 + rcx]
cmp byte [rcx], al
jne 0x140016032
inc edx
inc rcx
cmp edx, edi
jb 0x140016020
mov eax, esi
mov dword [rbp + r9 + 0xf], edx
cmp edx, dword [rbp + rax*4 + 0xf]
jbe 0x14001604d
mov esi, r11d
jmp 0x14001604d
mov dword [rbp + r9 + 0xf], 0
inc r11d
add r9, 4
cmp r11d, 4
jb 0x140015fe0
mov ecx, dword [rbx + 0x33200]
mov eax, esi
mov edi, dword [rbp + rax*4 + 0xf]
mov dword [rsp + 0x20], edi
cmp edi, ecx
jb 0x14001608f
mov rdx, qword [rbp - 0x41]
mov dword [rdx], esi
lea edx, [rdi - 1]
test edx, edx
je 0x140016088
add dword [rbx + 0x33204], edx
mov rcx, qword [rbx + 0x30]
call qword [rbx + 0x28]
mov eax, edi
jmp 0x1400174a8
cmp r13d, ecx
jb 0x1400160c6
mov rdx, qword [rbp - 0x41]
lea eax, [r12 - 1]
mov eax, dword [rbx + rax*4 + 0x3296c]
add eax, 4
mov dword [rdx], eax
lea edx, [r13 - 1]
test edx, edx
je 0x1400160be
add dword [rbx + 0x33204], edx
mov rcx, qword [rbx + 0x30]
call qword [rbx + 0x28]
mov eax, r13d
jmp 0x1400174a8
mov ecx, dword [rbp - 9]
mov rax, r10
movzx esi, byte [r10]
inc ecx
sub rax, rcx
movzx r14d, byte [rax]
cmp r13d, 2
jae 0x1400160fd
cmp sil, r14b
je 0x1400160fd
cmp edi, 2
jae 0x1400160fd
mov rdx, qword [rbp - 0x41]
mov eax, 1
mov dword [rdx], 0xffffffff
jmp 0x1400174a8
mov eax, dword [rbx + 0x33218]
mov ecx, 8
mov r12d, dword [rbp - 0x75]
mov dword [rbx + 0x770], eax
sub cl, byte [rbx + 0x33e64]
mov eax, dword [rbp - 0x75]
and eax, dword [rbx + 0x33e70]
movzx edx, byte [r10 - 1]
and r12d, dword [rbx + 0x33e74]
mov r15d, dword [rbx + 0x33218]
shr edx, cl
mov ecx, dword [rbx + 0x33e64]
shl eax, cl
add edx, eax
movzx r8d, sil
mov rax, qword [rbx + 0x33e78]
lea ecx, [rdx + rdx*2]
shl ecx, 8
lea rdi, [rax + rcx*2]
cmp r15d, 7
jb 0x1400161c2
xor r11d, r11d
movzx r9d, r14b
mov r10d, 0x100
or r8d, r10d
nop dword [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 + 0x3276c]
cmp r8d, 0x10000
jb 0x140016170
jmp 0x14001620b
xor r9d, r9d
bts r8d, 8
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 + 0x3276c]
cmp r8d, 0x10000
jb 0x1400161d0
mov r11d, r9d
lea rax, [r15 + 0x19f4]
shl rax, 4
add rax, r12
movzx eax, word [rbx + rax*2]
shr rax, 4
mov r8d, dword [rbx + rax*4 + 0x3276c]
mov dword [rbx + 0x7b8], 0xffffffff
add r8d, r11d
mov dword [rbx + 0x79c], r8d
xor r11d, r11d
mov dword [rbx + 0x7a4], r11d
mov edx, dword [rbx + 0x33218]
lea rax, [rdx + 0x19f4]
shl rax, 4
add rax, r12
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + rdx*2 + 0x34000]
xor rcx, 0x7f0
xor rax, 0x7f0
shr rcx, 4
shr rax, 4
mov ecx, dword [rbx + rcx*4 + 0x3276c]
mov r15d, dword [rbx + rax*4 + 0x3276c]
add r15d, ecx
mov dword [rbp - 0x5d], ecx
cmp r14b, sil
jne 0x1400162e2
lea rax, [rdx + 0x1a03]
shl rax, 4
add rax, r12
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + rdx*2 + 0x34018]
shr rcx, 4
shr rax, 4
mov edx, dword [rbx + rcx*4 + 0x3276c]
add edx, dword [rbx + rax*4 + 0x3276c]
add edx, r15d
cmp edx, r8d
jae 0x1400162e2
mov dword [rbx + 0x79c], edx
mov dword [rbx + 0x7b8], r11d
mov dword [rbx + 0x7a4], r11d
mov ecx, dword [rsp + 0x20]
cmp r13d, ecx
cmovae ecx, r13d
mov dword [rsp + 0x20], ecx
cmp ecx, 2
jae 0x14001630c
mov eax, dword [rbx + 0x7b8]
mov rdx, qword [rbp - 0x41]
mov dword [rdx], eax
mov eax, 1
jmp 0x1400174a8
mov eax, dword [rbp - 9]
mov edx, ecx
mov dword [rbx + 0x7b4], r11d
mov dword [rbx + 0x78c], eax
mov eax, dword [rbp - 5]
mov dword [rbx + 0x790], eax
mov eax, dword [rbp - 1]
mov dword [rbx + 0x794], eax
mov eax, dword [rbp + 3]
mov dword [rbx + 0x798], eax
nop dword [rax]
mov eax, edx
dec edx
lea rcx, [rax + rax*2]
add rcx, rcx
mov dword [rbx + rcx*8 + 0x76c], 0x40000000
cmp edx, 2
jae 0x140016340
mov esi, r11d
lea r14, [rbp + 0xf]
mov edi, dword [r14]
cmp edi, 2
jb 0x1400163dd
mov r8d, dword [rbx + 0x33218]
mov r9d, r12d
mov edx, esi
mov rcx, rbx
call fcn.140015ce0
add eax, r15d
imul r9, r12, 0x110
nop dword [rax + rax]
lea edx, [rdi - 2]
mov ecx, edi
add rdx, r9
xor r11d, r11d
mov r8d, dword [rbx + rdx*4 + 0x39130]
lea rdx, [rcx + rcx*2]
add rdx, rdx
add r8d, eax
cmp r8d, dword [rbx + rdx*8 + 0x76c]
jae 0x1400163d6
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 0x140016390
inc esi
add r14, 4
cmp esi, 4
jb 0x140016362
mov r10d, dword [rbp + 0xf]
mov eax, dword [rbx + 0x33218]
mov r15d, dword [rbp - 0x5d]
movzx ecx, word [rbx + rax*2 + 0x34000]
shr rcx, 4
add r15d, dword [rbx + rcx*4 + 0x3276c]
cmp r10d, 2
inc r10d
jae 0x14001641d
mov r10d, 2
cmp r10d, dword [rbp - 0x69]
ja 0x14001652e
lea r8, [rbx + 0x3296c]
mov r9d, r11d
cmp r10d, dword [r8]
jbe 0x140016440
add r9d, 2
cmp r10d, dword [r8 + r9*4]
ja 0x140016436
mov r13d, dword [rbp - 0x79]
imul r14, r12, 0x110
nop dword [rax + rax]
lea eax, [r9 + 1]
mov edi, 3
mov r11d, dword [r8 + rax*4]
lea ecx, [r10 - 2]
mov eax, ecx
add rax, r14
mov esi, dword [rbx + rax*4 + 0x348e8]
add esi, r15d
cmp r10d, 5
cmovb edi, ecx
cmp r11d, 0x80
jae 0x140016492
mov ecx, edi
shl rcx, 7
add rcx, r11
mov eax, dword [rbx + rcx*4 + 0x3361c]
jmp 0x1400164dc
mov r8, r11
mov ecx, 0x7ffff
sub ecx, r11d
and r8d, 0xf
shr ecx, 0x1f
mov rax, r11
neg ecx
and ecx, 0xc
add ecx, 6
shr rax, cl
movzx eax, byte [rax + rbx + 0x3076c]
lea edx, [rax + rcx*2]
mov eax, edi
shl rax, 6
add rdx, rax
mov eax, dword [rbx + rdx*4 + 0x3321c]
add eax, dword [rbx + r8*4 + 0x33e1c]
lea r8, [rbx + 0x3296c]
lea edx, [rax + rsi]
mov eax, r10d
lea rcx, [rax + rax*2]
add rcx, rcx
cmp edx, dword [rbx + rcx*8 + 0x76c]
jae 0x140016514
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 [r8 + rax*4]
jne 0x140016526
add r9d, 2
cmp r9d, r13d
je 0x14001652e
inc r10d
jmp 0x140016450
mov esi, 1
mov dword [rbp - 0x7d], esi
cmp dword [rsp + 0x20], esi
je 0x140017499
lea r15, [0x140000000]
nop word [rax + rax]
mov rcx, qword [rbx + 0x30]
xor edi, edi
mov dword [rbp - 0x79], edi
call qword [rbx + 0x10]
mov rcx, qword [rbx + 0x30]
lea rdx, [rbx + 0x3296c]
mov dword [rbx + 0x768], eax
call qword [rbx + 0x20]
mov dword [rbp - 0x65], eax
mov r14d, eax
test eax, eax
je 0x1400165e5
lea ecx, [rax - 2]
mov edi, dword [rbx + rcx*4 + 0x3296c]
mov dword [rbp - 0x79], edi
cmp edi, dword [rbx + 0x33200]
jne 0x1400165e5
mov rcx, qword [rbx + 0x30]
call qword [rbx + 0x18]
mov r8d, dword [rbx + 0x768]
lea ecx, [r14 - 1]
mov ecx, dword [rbx + rcx*4 + 0x3296c]
lea r9, [rax - 1]
inc ecx
mov eax, 0x111
cmp r8d, eax
mov rdx, r9
cmova r8d, eax
sub rdx, rcx
cmp edi, r8d
jae 0x1400165e5
lea rcx, [r9 + rdi]
sub rdx, r9
nop dword [rax]
movzx eax, byte [rdx + rcx]
cmp byte [rcx], al
jne 0x1400165e2
inc edi
inc rcx
cmp edi, r8d
jb 0x1400165d0
mov dword [rbp - 0x79], edi
inc dword [rbx + 0x33204]
cmp edi, dword [rbx + 0x33200]
jae 0x14001748c
inc dword [rbp - 0x75]
lea rdi, [rbx + 0x76c]
mov eax, esi
lea rcx, [rax + rax*2]
shl rcx, 4
add rdi, rcx
mov r8d, dword [rdi + 8]
mov edx, dword [rdi + 0x18]
test r8d, r8d
je 0x14001667b
dec edx
cmp dword [rdi + 0xc], 0
je 0x140016661
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]
jae 0x14001664d
mov ecx, dword [r15 + rax*4 + 0x76b80]
mov eax, ecx
mov ecx, dword [r15 + rax*4 + 0x76af0]
jmp 0x140016689
mov ecx, dword [r15 + rax*4 + 0x76b20]
mov eax, ecx
mov ecx, dword [r15 + rax*4 + 0x76af0]
jmp 0x140016689
lea rcx, [rdx + rdx*2]
add rcx, rcx
mov ecx, dword [rbx + rcx*8 + 0x770]
mov eax, ecx
mov ecx, dword [r15 + rax*4 + 0x76af0]
jmp 0x140016689
lea rcx, [rdx + rdx*2]
add rcx, rcx
mov ecx, dword [rbx + rcx*8 + 0x770]
lea eax, [rsi - 1]
cmp edx, eax
jne 0x1400166bc
cmp dword [rdi + 0x1c], 0
mov eax, ecx
jne 0x1400166aa
mov r8d, dword [r15 + rax*4 + 0x76b50]
mov dword [rsp + 0x28], r8d
jmp 0x14001679f
mov r8d, dword [r15 + rax*4 + 0x76af0]
mov dword [rsp + 0x28], r8d
jmp 0x14001679f
test r8d, r8d
je 0x1400166da
cmp dword [rdi + 0xc], 0
je 0x1400166da
mov edx, dword [rdi + 0x10]
mov r9d, dword [rdi + 0x14]
mov eax, ecx
mov r8d, dword [r15 + rax*4 + 0x76b80]
jmp 0x1400166f8
mov r9d, dword [rdi + 0x1c]
mov eax, ecx
cmp r9d, 4
jae 0x1400166f0
mov r8d, dword [r15 + rax*4 + 0x76b80]
jmp 0x1400166f8
mov r8d, dword [r15 + rax*4 + 0x76b20]
mov eax, edx
lea r10, [rbx + 0x76c]
mov dword [rsp + 0x28], r8d
lea rcx, [rax + rax*2]
shl rcx, 4
add r10, rcx
cmp r9d, 4
jae 0x140016783
mov eax, r9d
mov r8d, 1
mov ecx, dword [r10 + rax*4 + 0x20]
mov dword [rbp - 9], ecx
cmp r9d, r8d
jb 0x140016755
nop dword [rax]
mov edx, r8d
lea eax, [r8 - 1]
mov eax, dword [r10 + rax*4 + 0x20]
inc r8d
mov dword [rbp + rdx*4 - 9], eax
cmp r8d, r9d
jbe 0x140016730
cmp r8d, 4
jb 0x140016755
mov r8d, dword [rsp + 0x28]
jmp 0x14001679f
mov eax, r8d
lea rdx, [r10 + 0x20]
lea rcx, [rbp - 9]
lea rcx, [rcx + rax*4]
lea rdx, [rdx + rax*4]
mov eax, 4
sub eax, r8d
mov r8d, eax
shl r8, 2
call fcn.140053ea0
mov r8d, dword [rsp + 0x28]
jmp 0x14001679f
lea eax, [r9 - 4]
mov dword [rbp - 9], eax
mov eax, dword [r10 + 0x20]
mov dword [rbp - 5], eax
mov eax, dword [r10 + 0x24]
mov dword [rbp - 1], eax
mov eax, dword [r10 + 0x28]
mov dword [rbp + 3], eax
mov eax, dword [rbp - 5]
xor r14d, r14d
mov r15d, dword [rbp - 9]
mov dword [rdi + 4], r8d
mov dword [rdi + 0x24], eax
mov eax, dword [rbp - 1]
mov dword [rdi + 0x28], eax
mov eax, dword [rbp + 3]
mov dword [rdi + 0x2c], eax
mov dword [rdi + 0x20], r15d
mov rcx, qword [rbx + 0x30]
mov r13d, dword [rdi]
call qword [rbx + 0x18]
mov ecx, dword [rbp - 0x75]
lea edx, [r15 + 1]
and ecx, dword [rbx + 0x33e74]
mov r8d, dword [rsp + 0x28]
movzx esi, byte [rax - 1]
lea r9, [rax - 1]
mov dword [rbp - 0x31], ecx
mov r12, r9
mov qword [rbp - 0x29], rcx
sub r12, rdx
movzx edx, byte [r9 - 1]
lea rax, [r8 + 0x19f4]
shl rax, 4
add rax, rcx
mov qword [rbp - 0x59], r9
movzx r15d, byte [r12]
lea r10, [rbx + rax*2]
movzx eax, word [rbx + rax*2]
shr rax, 4
mov qword [rbp - 0x39], r10
mov ecx, dword [rbx + rax*4 + 0x3276c]
mov eax, dword [rbp - 0x75]
add ecx, r13d
and eax, dword [rbx + 0x33e70]
mov dword [rsp + 0x24], ecx
mov ecx, 8
sub cl, byte [rbx + 0x33e64]
shr edx, cl
mov ecx, dword [rbx + 0x33e64]
shl eax, cl
add edx, eax
mov rax, qword [rbx + 0x33e78]
lea ecx, [rdx + rdx*2]
shl ecx, 8
cmp r8d, 7
movzx r8d, sil
lea rdi, [rax + rcx*2]
jb 0x1400168d6
xor r11d, r11d
movzx r9d, r15b
mov r10d, 0x100
or r8d, r10d
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 + 0x3276c]
cmp r8d, 0x10000
jb 0x140016880
mov r10, qword [rbp - 0x39]
jmp 0x14001691b
xor r9d, r9d
bts r8d, 8
nop
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 + 0x3276c]
cmp r8d, 0x10000
jb 0x1400168e0
mov r11d, r9d
mov r8d, dword [rsp + 0x24]
lea rdx, [rbx + 0x76c]
add r8d, r11d
xor edi, edi
mov r11d, dword [rbp - 0x7d]
mov dword [rsp + 0x24], r8d
lea eax, [r11 + 1]
lea rcx, [rax + rax*2]
mov dword [rbp - 0x69], eax
shl rcx, 4
add rdx, rcx
cmp r8d, dword [rdx]
jae 0x140016961
mov dword [rdx], r8d
lea r14d, [rdi + 1]
mov dword [rdx + 0x18], r11d
mov dword [rdx + 0x1c], 0xffffffff
mov dword [rdx + 8], edi
movzx eax, word [r10]
mov r10d, dword [rsp + 0x28]
xor rax, 0x7f0
shr rax, 4
mov ecx, dword [rbx + rax*4 + 0x3276c]
lea rax, [r10 + 0x1a000]
lea rax, [rbx + rax*2]
add ecx, r13d
mov qword [rbp + 0xf], rax
mov r13d, r10d
movzx eax, word [rax]
xor rax, 0x7f0
mov dword [rbp - 0x49], ecx
shr rax, 4
mov r9d, dword [rbx + rax*4 + 0x3276c]
add r9d, ecx
mov dword [rbp - 0x2d], r9d
cmp r15b, sil
jne 0x140016a0f
cmp dword [rdx + 0x18], r11d
jae 0x1400169c0
cmp dword [rdx + 0x1c], 0
je 0x140016a0f
lea rax, [r10 + 0x1a03]
shl rax, 4
add rax, qword [rbp - 0x29]
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + r10*2 + 0x34018]
shr rcx, 4
shr rax, 4
mov r8d, dword [rbx + rcx*4 + 0x3276c]
add r8d, dword [rbx + rax*4 + 0x3276c]
add r8d, r9d
cmp r8d, dword [rdx]
ja 0x140016a0f
mov dword [rdx], r8d
mov r14d, 1
mov dword [rdx + 0x18], r11d
mov dword [rdx + 0x1c], edi
mov dword [rdx + 8], edi
mov ecx, dword [rbx + 0x768]
mov eax, 0xfff
sub eax, r11d
cmp eax, ecx
cmovb ecx, eax
mov dword [rbp - 0x5d], ecx
cmp ecx, 2
jb 0x140017473
mov r8d, dword [rbx + 0x33200]
cmp ecx, r8d
mov eax, r8d
cmovbe eax, ecx
mov dword [rbp - 0x71], eax
test r14d, r14d
jne 0x140016b9e
cmp r15b, sil
je 0x140016b9e
inc r8d
mov edx, 1
cmp r8d, ecx
cmova r8d, ecx
cmp r8d, edx
jbe 0x140016a86
mov r9, qword [rbp - 0x59]
lea rcx, [r12 + 1]
sub r9, r12
movzx eax, byte [rcx]
cmp byte [r9 + rcx], al
jne 0x140016a86
inc edx
inc rcx
cmp edx, r8d
jb 0x140016a73
lea esi, [rdx - 1]
cmp esi, 2
jb 0x140016b9e
mov r9d, dword [rbp - 0x75]
lea rax, [0x140000000]
mov r8d, dword [rax + r10*4 + 0x76af0]
lea r14d, [r11 + 1]
mov r10d, dword [rsp + 0x20]
inc r9d
and r9d, dword [rbx + 0x33e74]
add r14d, esi
mov r15d, r9d
lea rax, [r8 + 0x19f4]
shl rax, 4
add rax, r15
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + r8*2 + 0x34000]
xor rcx, 0x7f0
shr rcx, 4
xor rax, 0x7f0
shr rax, 4
mov edi, dword [rbx + rcx*4 + 0x3276c]
add edi, dword [rbx + rax*4 + 0x3276c]
add edi, dword [rsp + 0x24]
cmp r10d, r14d
jae 0x140016b41
lea rcx, [r10 + r10*2]
mov eax, r14d
shl rcx, 4
lea rdx, [rbx + 0x76c]
add rdx, rcx
sub eax, r10d
add r10d, eax
mov ecx, eax
mov dword [rsp + 0x20], r10d
nop word [rax + rax]
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x140016b30
xor edx, edx
mov rcx, rbx
call fcn.140015ce0
imul rcx, r15, 0x110
lea edx, [rsi - 2]
add rdx, rcx
add eax, dword [rbx + rdx*4 + 0x39130]
lea rdx, [r14 + r14*2]
add rdx, rdx
add eax, edi
cmp eax, dword [rbx + rdx*8 + 0x76c]
jae 0x140016b99
mov dword [rbx + rdx*8 + 0x76c], eax
xor r10d, r10d
mov eax, dword [rbp - 0x69]
mov dword [rbx + rdx*8 + 0x784], eax
mov dword [rbx + rdx*8 + 0x788], r10d
mov qword [rbx + rdx*8 + 0x774], 1
mov r10d, dword [rsp + 0x28]
mov rdx, qword [rbp - 0x59]
lea rax, [r13*4]
mov qword [rbp - 0x39], rax
mov r11d, 2
lea rax, [rbp - 9]
mov dword [rsp + 0x24], r11d
xor r14d, r14d
mov qword [rbp - 0x21], rax
mov dword [rbp - 0x6d], r14d
nop dword [rax + rax]
mov ecx, dword [rax]
mov rsi, rdx
mov r12d, dword [rbp - 0x71]
inc ecx
sub rsi, rcx
mov qword [rbp - 0x19], rsi
movzx eax, byte [rsi]
cmp byte [rdx], al
jne 0x14001710e
movzx eax, byte [rsi + 1]
cmp byte [rdx + 1], al
jne 0x14001710e
mov edi, 2
cmp r12d, edi
jbe 0x140016c22
lea rcx, [rsi + 2]
sub rdx, rsi
nop dword [rax + rax]
movzx eax, byte [rcx]
cmp byte [rdx + rcx], al
jne 0x140016c22
inc edi
inc rcx
cmp edi, r12d
jb 0x140016c10
mov r13d, dword [rbp - 0x7d]
mov r8d, dword [rsp + 0x20]
lea edx, [rdi + r13]
cmp r8d, edx
jae 0x140016c71
lea rcx, [r8 + r8*2]
sub edx, r8d
shl rcx, 4
lea rax, [rbx + 0x76c]
add rax, rcx
mov ecx, edx
add r8d, edx
mov dword [rsp + 0x20], r8d
nop dword [rax]
nop word [rax + rax]
mov dword [rax + 0x30], 0x40000000
lea rax, [rax + 0x30]
sub rcx, 1
jne 0x140016c60
mov r9d, dword [rbp - 0x31]
mov r8d, r10d
mov r15d, edi
mov edx, r14d
mov rcx, rbx
mov dword [rbp - 0x61], r15d
call fcn.140015ce0
add eax, dword [rbp - 0x2d]
imul rsi, qword [rbp - 0x29], 0x110
mov dword [rbp - 0x51], eax
mov qword [rbp - 0x11], rsi
nop dword [rax]
lea edx, [rdi - 2]
add rdx, rsi
lea ecx, [rdi + r13]
lea rcx, [rcx + rcx*2]
add rcx, rcx
mov r8d, dword [rbx + rdx*4 + 0x39130]
add r8d, eax
cmp r8d, dword [rbx + rcx*8 + 0x76c]
jae 0x140016ce9
mov dword [rbx + rcx*8 + 0x76c], r8d
mov dword [rbx + rcx*8 + 0x784], r13d
mov dword [rbx + rcx*8 + 0x788], r14d
mov dword [rbx + rcx*8 + 0x774], 0
dec edi
cmp edi, 2
jae 0x140016ca0
mov edx, dword [rbx + 0x33200]
lea edi, [r15 + 1]
mov rsi, qword [rbp - 0x19]
test r14d, r14d
mov eax, edi
cmovne eax, dword [rsp + 0x24]
add edx, edi
cmp edx, dword [rbp - 0x5d]
mov r11d, eax
mov dword [rsp + 0x24], eax
cmova edx, dword [rbp - 0x5d]
cmp edi, edx
jae 0x140016d42
mov r8, qword [rbp - 0x59]
mov ecx, edi
add rcx, rsi
sub r8, rsi
nop dword [rax + rax]
movzx eax, byte [rcx]
cmp byte [r8 + rcx], al
jne 0x140016d42
inc edi
inc rcx
cmp edi, edx
jb 0x140016d30
or eax, 0xffffffff
sub eax, r15d
add edi, eax
cmp edi, 2
jb 0x140016fa1
mov r8, qword [rbp - 0x59]
xor r14d, r14d
movzx r11d, byte [rsi + r15]
mov ecx, 8
mov eax, dword [rbp - 0x61]
mov esi, 0x100
mov edx, dword [rbx + 0x33e64]
sub cl, dl
movzx r10d, byte [r8 + r15]
mov r9d, dword [rbp - 0x75]
or r10d, esi
mov r13d, dword [rbx + 0x33e74]
add r9d, r15d
mov r15, qword [rbx + 0x33e78]
mov r12d, r13d
and r12d, r9d
dec eax
movzx r8d, byte [rax + r8]
mov eax, dword [rbx + 0x33e70]
shr r8d, cl
and eax, r9d
mov ecx, edx
shl eax, cl
add r8d, eax
lea r8d, [r8 + r8*2]
shl r8d, 8
nop dword [rax]
add r11d, r11d
mov eax, esi
and eax, r11d
mov ecx, r10d
shr ecx, 8
add eax, esi
add eax, ecx
mov ecx, r10d
shr ecx, 7
add rax, r8
and ecx, 1
add r10d, r10d
neg ecx
sar rcx, 4
movzx edx, word [r15 + rax*2]
and ecx, 0x7f
shr rdx, 4
mov eax, r10d
xor rdx, rcx
xor eax, r11d
not eax
and esi, eax
add r14d, dword [rbx + rdx*4 + 0x3276c]
cmp r10d, 0x10000
jb 0x140016dc0
mov rax, qword [rbp - 0x39]
lea r10, [0x140000000]
mov r8d, dword [rax + r10 + 0x76b80]
mov eax, r12d
mov r12d, dword [rbp - 0x61]
lea rcx, [r8 + 0x19f4]
mov r8d, dword [r10 + r8*4 + 0x76af0]
mov r10d, dword [rbp - 0x75]
shl rcx, 4
inc r10d
add rcx, rax
add r10d, r12d
and r10d, r13d
lea rax, [r8 + 0x19f4]
mov r13d, dword [rbp - 0x7d]
shl rax, 4
movzx edx, word [rbx + rcx*2]
lea ecx, [r12 - 2]
add rcx, qword [rbp - 0x11]
shr rdx, 4
lea esi, [r13 + 1]
mov r15d, r10d
add rax, r15
mov r9d, dword [rbx + rdx*4 + 0x3276c]
add r9d, dword [rbx + rcx*4 + 0x39130]
movzx ecx, word [rbx + rax*2]
add r9d, r14d
add r9d, dword [rbp - 0x51]
xor rcx, 0x7f0
movzx eax, word [rbx + r8*2 + 0x34000]
xor rax, 0x7f0
shr rcx, 4
shr rax, 4
mov r14d, dword [rbx + rcx*4 + 0x3276c]
add r14d, dword [rbx + rax*4 + 0x3276c]
lea eax, [rdi + r12]
add r14d, r9d
add esi, eax
mov r9d, dword [rsp + 0x20]
cmp r9d, esi
jae 0x140016f11
lea rcx, [r9 + r9*2]
mov eax, esi
shl rcx, 4
lea rdx, [rbx + 0x76c]
add rdx, rcx
sub eax, r9d
add r9d, eax
mov ecx, eax
mov dword [rsp + 0x20], r9d
nop word [rax + rax]
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x140016f00
mov r9d, r10d
xor edx, edx
mov rcx, rbx
call fcn.140015ce0
mov r11d, dword [rsp + 0x24]
lea edx, [rdi - 2]
imul rcx, r15, 0x110
mov dword [rsp + 0x24], r11d
add rdx, rcx
add eax, dword [rbx + rdx*4 + 0x39130]
lea rdx, [rsi + rsi*2]
add eax, r14d
add rdx, rdx
mov r14d, dword [rbp - 0x6d]
cmp eax, dword [rbx + rdx*8 + 0x76c]
jae 0x140016f9d
mov dword [rbx + rdx*8 + 0x76c], eax
mov eax, dword [rbp - 0x69]
add eax, r12d
mov dword [rbx + rdx*8 + 0x788], 0
mov dword [rbx + rdx*8 + 0x784], eax
mov dword [rbx + rdx*8 + 0x774], 1
mov dword [rbx + rdx*8 + 0x778], 1
mov dword [rbx + rdx*8 + 0x77c], r13d
mov dword [rbx + rdx*8 + 0x780], r14d
mov dword [rsp + 0x24], r11d
mov r12d, dword [rbp - 0x71]
mov rdx, qword [rbp - 0x59]
mov rax, qword [rbp - 0x21]
inc r14d
mov r10d, dword [rsp + 0x28]
add rax, 4
mov dword [rbp - 0x6d], r14d
mov qword [rbp - 0x21], rax
cmp r14d, 4
jb 0x140016bd0
mov ecx, dword [rbp - 0x79]
lea r14, [rbx + 0x3296c]
cmp ecx, r12d
jbe 0x140016ff3
xor edx, edx
mov ecx, r12d
cmp r12d, dword [r14]
jbe 0x140016fe9
add edx, 2
cmp r12d, dword [r14 + rdx*4]
ja 0x140016fe0
mov dword [r14 + rdx*4], r12d
add edx, 2
mov dword [rbp - 0x65], edx
cmp ecx, r11d
jb 0x140017473
mov rax, qword [rbp + 0xf]
lea edx, [rcx + r13]
mov r9d, dword [rbp - 0x49]
mov r8d, dword [rsp + 0x20]
movzx eax, word [rax]
shr rax, 4
mov eax, dword [rbx + rax*4 + 0x3276c]
add r9d, eax
mov dword [rbp - 0x51], r9d
cmp r8d, edx
jae 0x140017061
lea rcx, [r8 + r8*2]
sub edx, r8d
shl rcx, 4
lea rax, [rbx + 0x76c]
add rax, rcx
mov ecx, edx
add r8d, edx
mov dword [rsp + 0x20], r8d
nop word [rax + rax]
mov dword [rax + 0x30], 0x40000000
lea rax, [rax + 0x30]
sub rcx, 1
jne 0x140017050
xor r13d, r13d
cmp r11d, dword [r14]
jbe 0x14001707a
nop dword [rax]
add r13d, 2
cmp r11d, dword [r14 + r13*4]
ja 0x140017070
imul r8, qword [rbp - 0x29], 0x110
mov edi, dword [rbp - 0x7d]
lea eax, [r13 + 1]
mov r15d, dword [r14 + rax*4]
mov ecx, 0x7ffff
mov esi, dword [rbp - 0x75]
sub ecx, r15d
shr ecx, 0x1f
mov eax, r15d
neg ecx
mov qword [rbp + 0xf], r8
and ecx, 0xc
lea r10d, [rdi - 1]
add ecx, 6
mov dword [rbp - 0x71], r10d
shr rax, cl
dec esi
mov dword [rbp - 0x6d], esi
movzx eax, byte [rax + rbx + 0x3076c]
lea edx, [rax + rcx*2]
mov dword [rbp - 0x79], edx
nop dword [rax + rax]
lea ecx, [r11 - 2]
mov eax, ecx
add rax, r8
mov r8d, dword [rbx + rax*4 + 0x348e8]
mov eax, 3
add r8d, r9d
cmp r11d, 5
cmovb eax, ecx
mov ecx, eax
cmp r15d, 0x80
jae 0x140017117
shl rcx, 7
mov eax, r15d
add rcx, rax
mov edx, dword [rbx + rcx*4 + 0x3361c]
jmp 0x140017134
mov r13d, dword [rbp - 0x7d]
jmp 0x140016fa5
mov eax, edx
shl rcx, 6
add rcx, rax
mov eax, r15d
and eax, 0xf
mov edx, dword [rbx + rcx*4 + 0x3321c]
add edx, dword [rbx + rax*4 + 0x33e1c]
lea r9d, [r11 + 1]
add edx, r8d
lea eax, [r9 + r10]
mov dword [rbp - 0x4d], edx
lea rcx, [rax + rax*2]
mov dword [rbp - 0x61], r9d
shl rcx, 4
add rcx, rbx
cmp edx, dword [rcx + 0x76c]
jae 0x140017179
lea eax, [r15 + 4]
mov dword [rcx + 0x76c], edx
mov dword [rcx + 0x788], eax
mov dword [rcx + 0x784], edi
mov dword [rcx + 0x774], 0
cmp r11d, dword [r14 + r13*4]
jne 0x14001745b
mov r8, qword [rbp - 0x59]
lea ecx, [r15 + 1]
mov edx, dword [rbx + 0x33200]
mov r10, r8
add edx, r9d
sub r10, rcx
cmp edx, dword [rbp - 0x5d]
mov edi, r9d
cmova edx, dword [rbp - 0x5d]
cmp r9d, edx
jae 0x1400171c8
mov ecx, r9d
add rcx, r10
sub r8, r10
movzx eax, byte [rcx]
cmp byte [rcx + r8], al
jne 0x1400171c4
inc edi
inc rcx
cmp edi, edx
jb 0x1400171b2
mov r8, qword [rbp - 0x59]
or eax, 0xffffffff
sub eax, r11d
add edi, eax
cmp edi, 2
jb 0x1400173fd
mov eax, dword [rbx + 0x33e74]
add r9d, esi
mov edx, dword [rbx + 0x33e64]
and eax, r9d
and r9d, dword [rbx + 0x33e70]
xor r14d, r14d
mov r12, qword [rbx + 0x33e78]
mov ecx, 8
mov dword [rbp - 0x49], eax
sub cl, dl
mov eax, r11d
mov esi, 0x100
movzx r11d, byte [r10 + rax]
movzx r10d, byte [r8 + rax]
mov eax, dword [rsp + 0x24]
or r10d, esi
dec eax
movzx r8d, byte [rax + r8]
shr r8d, cl
mov ecx, edx
shl r9d, cl
add r8d, r9d
lea r8d, [r8 + r8*2]
shl r8d, 8
nop dword [rax]
add r11d, r11d
mov eax, esi
and eax, r11d
mov ecx, r10d
shr ecx, 8
add eax, esi
add eax, ecx
mov ecx, r10d
shr ecx, 7
add rax, r8
and ecx, 1
add r10d, r10d
neg ecx
sar rcx, 4
movzx edx, word [r12 + rax*2]
and ecx, 0x7f
shr rdx, 4
mov eax, r10d
xor rdx, rcx
xor eax, r11d
not eax
and esi, eax
add r14d, dword [rbx + rdx*4 + 0x3276c]
cmp r10d, 0x10000
jb 0x140017240
mov rax, qword [rbp - 0x39]
lea r10, [0x140000000]
mov r9d, dword [rbp - 0x49]
mov esi, dword [rbp - 0x7d]
inc esi
mov edx, dword [rax + r10 + 0x76b20]
mov r10d, dword [r10 + rdx*4 + 0x76af0]
lea rcx, [rdx + 0x19f4]
shl rcx, 4
add rcx, r9
movzx eax, word [rbx + rcx*2]
shr rax, 4
mov r8d, dword [rbx + rax*4 + 0x3276c]
lea rax, [r10 + 0x19f4]
add r8d, r14d
shl rax, 4
add r8d, dword [rbp - 0x4d]
inc r9d
and r9d, dword [rbx + 0x33e74]
mov r12d, r9d
add rax, r12
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + r10*2 + 0x34000]
xor rcx, 0x7f0
xor rax, 0x7f0
shr rcx, 4
shr rax, 4
mov r14d, dword [rbx + rcx*4 + 0x3276c]
add r14d, dword [rbx + rax*4 + 0x3276c]
mov eax, dword [rsp + 0x24]
add r14d, r8d
mov r8d, dword [rsp + 0x20]
add eax, edi
add esi, eax
cmp r8d, esi
jae 0x140017371
lea rcx, [r8 + r8*2]
mov eax, esi
shl rcx, 4
lea rdx, [rbx + 0x76c]
add rdx, rcx
sub eax, r8d
add r8d, eax
mov ecx, eax
mov dword [rsp + 0x20], r8d
nop dword [rax]
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x140017360
mov r8d, r10d
xor edx, edx
mov rcx, rbx
call fcn.140015ce0
mov r9d, dword [rbp - 0x61]
lea edx, [rdi - 2]
mov edi, dword [rbp - 0x7d]
imul rcx, r12, 0x110
add rdx, rcx
add eax, dword [rbx + rdx*4 + 0x39130]
lea rdx, [rsi + rsi*2]
mov esi, dword [rbp - 0x6d]
add eax, r14d
add rdx, rdx
lea r14, [rbx + 0x3296c]
cmp eax, dword [rbx + rdx*8 + 0x76c]
jae 0x140017400
mov dword [rbx + rdx*8 + 0x76c], eax
lea eax, [r9 + rdi]
mov dword [rbx + rdx*8 + 0x784], eax
lea eax, [r15 + 4]
mov dword [rbx + rdx*8 + 0x780], eax
mov dword [rbx + rdx*8 + 0x788], 0
mov dword [rbx + rdx*8 + 0x774], 1
mov dword [rbx + rdx*8 + 0x778], 1
mov dword [rbx + rdx*8 + 0x77c], edi
jmp 0x140017400
mov edi, dword [rbp - 0x7d]
add r13d, 2
cmp r13d, dword [rbp - 0x65]
je 0x140017473
mov r10d, dword [rbp - 0x71]
lea eax, [r13 + 1]
mov r15d, dword [r14 + rax*4]
cmp r15d, 0x80
jb 0x14001745b
mov r8, qword [rbp + 0xf]
mov ecx, 0x7ffff
sub ecx, r15d
mov dword [rsp + 0x24], r9d
shr ecx, 0x1f
mov eax, r15d
neg ecx
mov r11d, r9d
mov r9d, dword [rbp - 0x51]
and ecx, 0xc
add ecx, 6
shr rax, cl
movzx eax, byte [rax + rbx + 0x3076c]
lea edx, [rax + rcx*2]
mov dword [rbp - 0x79], edx
jmp 0x1400170d0
mov edx, dword [rbp - 0x79]
mov r11d, r9d
mov r8, qword [rbp + 0xf]
mov dword [rsp + 0x24], r9d
mov r9d, dword [rbp - 0x51]
jmp 0x1400170d0
mov esi, dword [rbp - 0x69]
lea r15, [0x140000000]
mov dword [rbp - 0x7d], esi
cmp esi, dword [rsp + 0x20]
jne 0x140016550
jmp 0x140017499
mov dword [rbx + 0x764], r14d
mov dword [rbx + 0x760], edi
mov rdx, qword [rbp - 0x41]
mov r8d, esi
mov rcx, rbx
call fcn.140015db0
mov r14, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0x128]
mov r15, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xe8]
mov r13, qword [rsp + 0xe0]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140051aa0
add rsp, 0xf8
pop rbx
pop rbp
ret