Function at 0x1400b7af0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0xf8
mov rax, qword [0x1401770a0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r9, r8
mov qword [rbp - 0x41], r8
mov r8d, dword [rcx + 0x75c]
mov rbx, rcx
mov dword [rbp - 0x71], edx
cmp dword [rcx + 0x758], r8d
je 0x1400b7b57
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 0x1400b91c8
xor eax, eax
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xe8], r12
mov qword [rsp + 0xe0], r13
mov qword [rcx + 0x758], rax
cmp dword [rcx + 0x33204], eax
jne 0x1400b7b92
lea rdx, [rbp - 0x69]
call fcn.1400b7840
mov r12d, dword [rbp - 0x69]
mov r13d, eax
jmp 0x1400b7ba0
mov r13d, dword [rcx + 0x760]
mov r12d, dword [rcx + 0x764]
mov edi, dword [rbx + 0x768]
mov qword [rsp + 0x128], rsi
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xd0], r15
mov dword [rsp + 0x24], r12d
mov dword [rbp - 0x7d], r13d
cmp edi, 2
jb 0x1400b9189
mov rcx, qword [rbx + 0x30]
mov eax, 0x111
cmp edi, eax
cmova edi, eax
call qword [rbx + 0x18]
movzx r15d, byte [rax - 1]
xor r10d, r10d
xor r11d, r11d
lea r8, [rax - 1]
mov ecx, dword [rbx + r11*4 + 0x33208]
lea rsi, [r11*4]
mov dword [rbp + rsi - 9], ecx
mov r9, r8
inc ecx
sub r9, rcx
cmp r15b, byte [r9]
jne 0x1400b7c59
movzx eax, byte [r9 + 1]
cmp byte [r8 + 1], al
jne 0x1400b7c59
mov edx, 2
cmp edi, edx
jbe 0x1400b7c42
lea rcx, [r8 + 2]
sub r9, r8
nop dword [rax]
movzx eax, byte [r9 + rcx]
cmp byte [rcx], al
jne 0x1400b7c42
inc edx
inc rcx
cmp edx, edi
jb 0x1400b7c30
mov eax, r10d
mov ecx, r11d
mov dword [rbp + rsi + 7], edx
cmp edx, dword [rbp + rax*4 + 7]
cmovbe ecx, r10d
mov r10d, ecx
jmp 0x1400b7c61
mov dword [rbp + rsi + 7], 0
lea esi, [r11 + 1]
mov r9, r8
mov ecx, dword [rbx + rsi*4 + 0x33208]
lea r14, [rsi*4]
mov dword [rbp + r14 - 9], ecx
inc ecx
sub r9, rcx
cmp r15b, byte [r9]
jne 0x1400b7cc8
movzx eax, byte [r9 + 1]
cmp byte [r8 + 1], al
jne 0x1400b7cc8
mov edx, 2
cmp edi, edx
jbe 0x1400b7cb3
lea rcx, [r8 + 2]
sub r9, r8
movzx eax, byte [rcx + r9]
cmp byte [rcx], al
jne 0x1400b7cb3
inc edx
inc rcx
cmp edx, edi
jb 0x1400b7ca1
mov eax, r10d
mov dword [rbp + r14 + 7], edx
cmp edx, dword [rbp + rax*4 + 7]
cmovbe esi, r10d
mov r10d, esi
jmp 0x1400b7cd1
mov dword [rbp + r14 + 7], 0
lea esi, [r11 + 2]
mov r9, r8
mov ecx, dword [rbx + rsi*4 + 0x33208]
lea r14, [rsi*4]
mov dword [rbp + r14 - 9], ecx
inc ecx
sub r9, rcx
cmp r15b, byte [r9]
jne 0x1400b7d38
movzx eax, byte [r9 + 1]
cmp byte [r8 + 1], al
jne 0x1400b7d38
mov edx, 2
cmp edi, edx
jbe 0x1400b7d23
lea rcx, [r8 + 2]
sub r9, r8
movzx eax, byte [r9 + rcx]
cmp byte [rcx], al
jne 0x1400b7d23
inc edx
inc rcx
cmp edx, edi
jb 0x1400b7d11
mov eax, r10d
mov dword [rbp + r14 + 7], edx
cmp edx, dword [rbp + rax*4 + 7]
cmovbe esi, r10d
mov r10d, esi
jmp 0x1400b7d41
mov dword [rbp + r14 + 7], 0
lea esi, [r11 + 3]
mov r9, r8
mov ecx, dword [rbx + rsi*4 + 0x33208]
lea r14, [rsi*4]
mov dword [rbp + r14 - 9], ecx
inc ecx
sub r9, rcx
cmp r15b, byte [r9]
jne 0x1400b7da8
movzx eax, byte [r9 + 1]
cmp byte [r8 + 1], al
jne 0x1400b7da8
mov edx, 2
cmp edi, edx
jbe 0x1400b7d93
lea rcx, [r8 + 2]
sub r9, r8
movzx eax, byte [r9 + rcx]
cmp byte [rcx], al
jne 0x1400b7d93
inc edx
inc rcx
cmp edx, edi
jb 0x1400b7d81
mov eax, r10d
mov dword [rbp + r14 + 7], edx
cmp edx, dword [rbp + rax*4 + 7]
cmovbe esi, r10d
mov r10d, esi
jmp 0x1400b7db1
mov dword [rbp + r14 + 7], 0
add r11d, 4
cmp r11d, 4
jb 0x1400b7bf0
mov eax, r10d
mov edi, dword [rbp + rax*4 + 7]
mov eax, dword [rbx + 0x33200]
cmp edi, eax
jb 0x1400b7df2
mov rcx, qword [rbp - 0x41]
lea edx, [rdi - 1]
mov dword [rcx], r10d
test edx, edx
je 0x1400b7deb
add dword [rbx + 0x33204], edx
mov rcx, qword [rbx + 0x30]
call qword [rbx + 0x28]
mov eax, edi
jmp 0x1400b9198
cmp r13d, eax
jb 0x1400b7e29
mov rcx, qword [rbp - 0x41]
lea eax, [r12 - 1]
mov eax, dword [rbx + rax*4 + 0x3296c]
lea edx, [r13 - 1]
add eax, 4
mov dword [rcx], eax
test edx, edx
je 0x1400b7e21
add dword [rbx + 0x33204], edx
mov rcx, qword [rbx + 0x30]
call qword [rbx + 0x28]
mov eax, r13d
jmp 0x1400b9198
mov ecx, dword [rbp - 9]
mov rax, r8
movzx r14d, byte [r8]
inc ecx
sub rax, rcx
movzx esi, byte [rax]
cmp r13d, 2
jae 0x1400b7e4f
cmp r14b, sil
je 0x1400b7e4f
cmp edi, 2
jb 0x1400b9189
mov r15d, dword [rbx + 0x33218]
lea r9, [rbx + 0x3276c]
mov eax, dword [rbp - 0x71]
mov ecx, 8
mov r12d, dword [rbp - 0x71]
mov dword [rbx + 0x770], r15d
sub cl, byte [rbx + 0x33e64]
and eax, dword [rbx + 0x33e70]
movzx edx, byte [r8 - 1]
and r12d, dword [rbx + 0x33e74]
shr edx, cl
mov ecx, dword [rbx + 0x33e64]
shl eax, cl
add edx, eax
mov rax, qword [rbx + 0x33e78]
lea ecx, [rdx + rdx*2]
mov edx, r14d
shl ecx, 8
lea rcx, [rax + rcx*2]
cmp r15d, 7
jb 0x1400b7eb8
mov r8d, esi
call fcn.1400b6d10
jmp 0x1400b7ec0
mov r8, r9
call fcn.1400b6cc0
mov r9d, eax
mov rdx, r15
mov r15d, r12d
xor r10d, r10d
lea rax, [rdx + 0x19f4]
shl rax, 4
add rax, r15
movzx eax, word [rbx + rax*2]
shr rax, 4
mov r8d, dword [rbx + rax*4 + 0x3276c]
lea rax, [rdx + 0x19f4]
shl rax, 4
add r8d, r9d
add rax, r15
mov dword [rbx + 0x79c], r8d
mov dword [rbx + 0x7b8], 0xffffffff
mov dword [rbx + 0x7a4], r10d
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 r13d, dword [rbx + rax*4 + 0x3276c]
mov eax, 0xffffffff
add r13d, ecx
mov dword [rbp - 0x69], ecx
cmp sil, r14b
jne 0x1400b7fa0
lea rax, [rdx + 0x1a03]
shl rax, 4
add rax, r15
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + rdx*2 + 0x34018]
shr rax, 4
shr rcx, 4
mov edx, dword [rbx + rcx*4 + 0x3276c]
add edx, dword [rbx + rax*4 + 0x3276c]
mov eax, 0xffffffff
add edx, r13d
cmp edx, r8d
jae 0x1400b7fa0
mov dword [rbx + 0x79c], edx
mov eax, r10d
mov dword [rbx + 0x7b8], r10d
mov edx, dword [rbp - 0x7d]
cmp edx, edi
cmovb edx, edi
mov dword [rsp + 0x20], edx
cmp edx, 2
jae 0x1400b7fbc
mov rcx, qword [rbp - 0x41]
mov dword [rcx], eax
jmp 0x1400b9193
mov eax, dword [rbp - 9]
mov dword [rbx + 0x7b4], r10d
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
lea rcx, [rdx + rdx*2]
dec edx
add rcx, rcx
mov dword [rbx + rcx*8 + 0x76c], 0x40000000
cmp edx, 2
jae 0x1400b7fe7
mov esi, r10d
lea r14, [rbp + 7]
mov edi, dword [r14]
cmp edi, 2
jb 0x1400b807d
mov r8d, dword [rbx + 0x33218]
mov r9d, r12d
mov edx, esi
mov rcx, rbx
call fcn.1400b7910
add eax, r13d
imul r9, r15, 0x110
nop dword [rax]
lea edx, [rdi - 2]
mov ecx, edi
add rdx, r9
xor r10d, r10d
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 0x1400b8076
mov dword [rbx + rdx*8 + 0x76c], r8d
mov dword [rbx + rdx*8 + 0x784], r10d
mov dword [rbx + rdx*8 + 0x788], esi
mov dword [rbx + rdx*8 + 0x774], r10d
dec edi
cmp edi, 2
jae 0x1400b8030
inc esi
add r14, 4
cmp esi, 4
jb 0x1400b8007
mov r9d, dword [rbp + 7]
mov eax, dword [rbx + 0x33218]
mov r14d, dword [rbp - 0x69]
movzx ecx, word [rbx + rax*2 + 0x34000]
shr rcx, 4
add r14d, dword [rbx + rcx*4 + 0x3276c]
cmp r9d, 2
inc r9d
jae 0x1400b80bd
mov r9d, 2
lea r12, [rbx + 0x3296c]
cmp r9d, dword [rbp - 0x7d]
ja 0x1400b81c9
mov edx, r10d
cmp r9d, dword [r12]
jbe 0x1400b80e0
add edx, 2
cmp r9d, dword [r12 + rdx*4]
ja 0x1400b80d7
imul rsi, r15, 0x110
mov r15d, dword [rsp + 0x24]
nop dword [rax]
lea eax, [rdx + 1]
mov r8d, 3
mov r11d, dword [r12 + rax*4]
lea ecx, [r9 - 2]
mov eax, ecx
mov r10d, r11d
add rax, rsi
mov edi, dword [rbx + rax*4 + 0x348e8]
add edi, r14d
cmp r9d, 5
cmovb r8d, ecx
cmp r11d, 0x80
jae 0x1400b8135
shl r8, 7
add r8, r11
mov eax, dword [rbx + r8*4 + 0x3361c]
jmp 0x1400b8173
mov rax, r10
shl r8, 6
mov ecx, 0x7ffff
and r10d, 0xf
sub ecx, r11d
shr ecx, 0x1f
neg ecx
and ecx, 0xc
add ecx, 6
shr rax, cl
movzx eax, byte [rax + rbx + 0x3076c]
lea eax, [rax + rcx*2]
add rax, r8
mov eax, dword [rbx + rax*4 + 0x3321c]
add eax, dword [rbx + r10*4 + 0x33e1c]
lea r8d, [rdi + rax]
mov eax, r9d
lea rcx, [rax + rax*2]
add rcx, rcx
cmp r8d, dword [rbx + rcx*8 + 0x76c]
jae 0x1400b81b1
mov dword [rbx + rcx*8 + 0x76c], r8d
lea eax, [r11 + 4]
xor r8d, r8d
mov dword [rbx + rcx*8 + 0x788], eax
mov dword [rbx + rcx*8 + 0x784], r8d
mov dword [rbx + rcx*8 + 0x774], r8d
mov eax, edx
cmp r9d, dword [r12 + rax*4]
jne 0x1400b81c1
add edx, 2
cmp edx, r15d
je 0x1400b81c9
inc r9d
jmp 0x1400b80f0
mov esi, 1
lea r15, [0x140000000]
mov dword [rsp + 0x28], esi
nop dword [rax]
mov rcx, qword [rbx + 0x30]
xor edi, edi
mov dword [rsp + 0x24], edi
call qword [rbx + 0x10]
mov rcx, qword [rbx + 0x30]
mov rdx, r12
mov dword [rbx + 0x768], eax
call qword [rbx + 0x20]
mov dword [rbp - 0x35], eax
mov r14d, eax
test eax, eax
je 0x1400b8276
lea ecx, [rax - 2]
mov edi, dword [rbx + rcx*4 + 0x3296c]
mov dword [rsp + 0x24], edi
cmp edi, dword [rbx + 0x33200]
jne 0x1400b8276
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 0x1400b8276
lea rcx, [r9 + rdi]
sub rdx, r9
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
cmp byte [rcx], al
jne 0x1400b8272
inc edi
inc rcx
cmp edi, r8d
jb 0x1400b8260
mov dword [rsp + 0x24], edi
inc dword [rbx + 0x33204]
cmp edi, dword [rbx + 0x33200]
jae 0x1400b916b
mov r13d, dword [rbp - 0x71]
lea rdi, [rbx + 0x76c]
inc r13d
mov eax, esi
mov dword [rbp - 0x71], r13d
lea rcx, [rax + rax*2]
shl rcx, 4
add rdi, rcx
mov r9d, dword [rdi + 8]
mov edx, dword [rdi + 0x18]
test r9d, r9d
je 0x1400b8316
dec edx
cmp dword [rdi + 0xc], 0
je 0x1400b82fe
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 0x1400b82ec
mov eax, dword [rax + r15 + 0x14ab10]
mov r8d, dword [r15 + rax*4 + 0x14aa80]
jmp 0x1400b8325
mov eax, dword [rax + r15 + 0x14aab0]
mov r8d, dword [r15 + rax*4 + 0x14aa80]
jmp 0x1400b8325
lea rcx, [rdx + rdx*2]
add rcx, rcx
mov eax, dword [rbx + rcx*8 + 0x770]
mov r8d, dword [r15 + rax*4 + 0x14aa80]
jmp 0x1400b8325
lea rcx, [rdx + rdx*2]
add rcx, rcx
mov r8d, dword [rbx + rcx*8 + 0x770]
lea eax, [rsi - 1]
cmp edx, eax
jne 0x1400b8357
cmp dword [rdi + 0x1c], 0
mov eax, r8d
jne 0x1400b8346
mov r15d, dword [r15 + rax*4 + 0x14aae0]
mov dword [rbp - 0x75], r15d
jmp 0x1400b844f
mov r15d, dword [r15 + rax*4 + 0x14aa80]
mov dword [rbp - 0x75], r15d
jmp 0x1400b844f
test r9d, r9d
je 0x1400b8396
cmp dword [rdi + 0xc], 0
je 0x1400b8396
mov eax, dword [rdi + 0x10]
lea r9, [rbx + 0x76c]
mov r10d, dword [rdi + 0x14]
lea rcx, [rax + rax*2]
mov eax, r8d
shl rcx, 4
add r9, rcx
mov r15d, dword [r15 + rax*4 + 0x14ab10]
mov dword [rbp - 0x75], r15d
cmp r10d, 4
jae 0x1400b8433
jmp 0x1400b83c9
mov r10d, dword [rdi + 0x1c]
lea rcx, [rdx + rdx*2]
shl rcx, 4
lea r9, [rbx + 0x76c]
mov eax, r8d
add r9, rcx
lea rax, [rax*4]
cmp r10d, 4
jae 0x1400b8427
mov r15d, dword [rax + r15 + 0x14ab10]
mov dword [rbp - 0x75], r15d
mov eax, r10d
mov r8d, 1
mov ecx, dword [r9 + rax*4 + 0x20]
mov dword [rbp - 9], ecx
cmp r10d, r8d
jb 0x1400b83fe
nop
mov edx, r8d
lea eax, [r8 - 1]
mov eax, dword [r9 + rax*4 + 0x20]
inc r8d
mov dword [rbp + rdx*4 - 9], eax
cmp r8d, r10d
jbe 0x1400b83e0
cmp r8d, 4
jae 0x1400b844f
mov eax, r8d
lea rdx, [r9 + 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.1400fabc0
jmp 0x1400b844f
mov r15d, dword [rax + r15 + 0x14aab0]
mov dword [rbp - 0x75], r15d
lea eax, [r10 - 4]
mov dword [rbp - 9], eax
mov eax, dword [r9 + 0x20]
mov dword [rbp - 5], eax
mov eax, dword [r9 + 0x24]
mov dword [rbp - 1], eax
mov eax, dword [r9 + 0x28]
mov dword [rbp + 3], eax
mov eax, dword [rbp - 5]
xor esi, esi
mov r14d, dword [rbp - 9]
mov dword [rdi + 4], r15d
mov dword [rdi + 0x20], r14d
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 rcx, qword [rbx + 0x30]
mov r12d, dword [rdi]
call qword [rbx + 0x18]
movzx r8d, byte [rax - 1]
lea r10d, [r14 + 1]
mov ecx, r13d
mov byte [rbp - 0x79], r8b
and ecx, dword [rbx + 0x33e74]
bts r8d, 8
lea rdx, [rax - 1]
mov dword [rbp - 0x51], ecx
mov qword [rbp - 0x21], rcx
mov rax, rdx
sub rax, r10
mov qword [rbp - 0x59], rdx
movzx edx, byte [rdx - 1]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], r10
movzx r14d, byte [rax]
mov eax, r15d
add rax, 0x19f4
shl rax, 4
add rax, rcx
mov ecx, 8
sub cl, byte [rbx + 0x33e64]
shr edx, cl
mov ecx, dword [rbx + 0x33e64]
lea r13, [rbx + rax*2]
movzx eax, word [rbx + rax*2]
shr rax, 4
mov r15d, dword [rbx + rax*4 + 0x3276c]
mov eax, dword [rbp - 0x71]
add r15d, r12d
and eax, dword [rbx + 0x33e70]
shl eax, cl
add edx, eax
mov rax, qword [rbx + 0x33e78]
lea ecx, [rdx + rdx*2]
shl ecx, 8
cmp dword [rbp - 0x75], 7
lea rdi, [rax + rcx*2]
jb 0x1400b8586
mov r9d, r14d
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 + 0x3276c]
cmp r8d, 0x10000
jb 0x1400b8530
mov r10, qword [rbp - 0x29]
jmp 0x1400b85cb
xor r9d, r9d
nop dword [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 0x1400b8590
mov r11d, r9d
mov edi, dword [rsp + 0x28]
lea rdx, [rbx + 0x76c]
add r15d, r11d
lea eax, [rdi + 1]
lea rcx, [rax + rax*2]
mov dword [rbp - 0x69], eax
shl rcx, 4
add rdx, rcx
mov r9d, dword [rdx]
cmp r15d, r9d
jae 0x1400b860a
mov dword [rdx + 8], esi
mov r9d, r15d
mov esi, 1
mov dword [rdx], r15d
mov dword [rdx + 0x18], edi
mov dword [rdx + 0x1c], 0xffffffff
movzx eax, word [r13]
movzx r11d, byte [rbp - 0x79]
xor rax, 0x7f0
shr rax, 4
mov ecx, dword [rbx + rax*4 + 0x3276c]
mov eax, dword [rbp - 0x75]
add ecx, r12d
mov r13d, eax
mov dword [rbp - 0x45], ecx
add rax, 0x1a000
lea rax, [rbx + rax*2]
mov qword [rbp + 7], rax
movzx eax, word [rax]
xor rax, 0x7f0
shr rax, 4
mov r12d, dword [rbx + rax*4 + 0x3276c]
add r12d, ecx
mov dword [rbp - 0x4d], r12d
cmp r14b, r11b
jne 0x1400b86b8
cmp dword [rdx + 0x18], edi
jae 0x1400b866b
cmp dword [rdx + 0x1c], 0
je 0x1400b86b8
lea rax, [r13 + 0x1a03]
shl rax, 4
add rax, qword [rbp - 0x21]
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + r13*2 + 0x34018]
shr rcx, 4
shr rax, 4
mov r8d, dword [rbx + rcx*4 + 0x3276c]
add r8d, dword [rbx + rax*4 + 0x3276c]
add r8d, r12d
cmp r8d, r9d
ja 0x1400b86b8
xor eax, eax
mov dword [rdx], r8d
mov dword [rdx + 0x18], edi
mov dword [rdx + 0x1c], eax
mov dword [rdx + 8], eax
lea esi, [rax + 1]
mov eax, dword [rbx + 0x768]
mov ecx, 0xfff
sub ecx, edi
cmp ecx, eax
cmovae ecx, eax
mov dword [rbp - 0x39], ecx
cmp ecx, 2
jb 0x1400b913b
mov r8d, dword [rbx + 0x33200]
cmp ecx, r8d
mov r12d, r8d
cmovbe r12d, ecx
mov dword [rbp - 0x61], r12d
test esi, esi
jne 0x1400b886d
cmp r14b, r11b
je 0x1400b886d
inc r8d
cmp r8d, ecx
jbe 0x1400b8709
mov r8d, ecx
jmp 0x1400b8713
mov edx, 1
cmp r8d, edx
jbe 0x1400b8733
mov rcx, qword [rbp - 0x31]
mov edx, 1
inc rcx
nop
movzx eax, byte [rcx]
cmp byte [rcx + r10], al
jne 0x1400b8733
inc edx
inc rcx
cmp edx, r8d
jb 0x1400b8720
lea edi, [rdx - 1]
cmp edi, 2
jb 0x1400b886d
mov r8d, dword [rbp - 0x71]
lea rax, [0x140000000]
mov r11d, dword [rax + r13*4 + 0x14aa80]
inc r8d
mov eax, dword [rbx + 0x33e74]
mov r9d, dword [rsp + 0x28]
and r8, rax
mov esi, dword [rsp + 0x20]
add r9d, edx
lea rax, [r11 + 0x19f4]
shl rax, 4
add rax, r8
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + r11*2 + 0x34000]
xor rcx, 0x7f0
shr rcx, 4
xor rax, 0x7f0
shr rax, 4
mov r10d, dword [rbx + rcx*4 + 0x3276c]
add r10d, dword [rbx + rax*4 + 0x3276c]
add r10d, r15d
cmp esi, r9d
jae 0x1400b87e1
lea rcx, [rsi + rsi*2]
mov dword [rsp + 0x20], r9d
shl rcx, 4
lea rdx, [rbx + 0x76c]
add rdx, rcx
mov ecx, r9d
sub ecx, esi
nop
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x1400b87d0
imul rax, r8, 0x110
lea edx, [rdi - 2]
add rdx, rax
lea rax, [r11 + 0x1a03]
shl rax, 4
add rax, r8
mov r8d, dword [rbx + rdx*4 + 0x39130]
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + r11*2 + 0x34018]
xor rcx, 0x7f0
shr rcx, 4
shr rax, 4
add r8d, dword [rbx + rcx*4 + 0x3276c]
lea rcx, [r9 + r9*2]
add r8d, dword [rbx + rax*4 + 0x3276c]
add rcx, rcx
add r8d, r10d
cmp r8d, dword [rbx + rcx*8 + 0x76c]
jae 0x1400b886d
mov eax, dword [rbp - 0x69]
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
mov rcx, qword [rbp - 0x59]
lea rax, [r13*4]
mov qword [rbp - 0x29], rax
mov r11d, 2
lea rax, [rbp - 9]
mov dword [rbp - 0x7d], r11d
xor r15d, r15d
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x6d], r15d
nop word [rax + rax]
mov esi, dword [rax]
mov r14, rcx
inc esi
sub r14, rsi
mov qword [rbp - 0x19], r14
movzx eax, byte [r14]
cmp byte [rcx], al
jne 0x1400b8c6b
movzx eax, byte [r14 + 1]
cmp byte [rcx + 1], al
jne 0x1400b8c6b
mov edi, 2
cmp r12d, edi
jbe 0x1400b88e8
lea rcx, [r14 + 2]
movzx eax, byte [rcx]
cmp byte [rcx + rsi], al
jne 0x1400b88e8
inc edi
inc rcx
cmp edi, r12d
jb 0x1400b88d6
mov r13d, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x20]
lea r8d, [rdi + r13]
cmp r9d, r8d
jae 0x1400b8931
lea rcx, [r9 + r9*2]
mov dword [rsp + 0x20], r8d
shl rcx, 4
lea rdx, [rbx + 0x76c]
add rdx, rcx
mov ecx, r8d
sub ecx, r9d
nop dword [rax + rax]
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x1400b8920
mov r9d, dword [rbp - 0x51]
mov edx, r15d
mov r8d, dword [rbp - 0x75]
mov rcx, rbx
mov dword [rbp - 0x65], edi
call fcn.1400b7910
add eax, dword [rbp - 0x4d]
imul r14, qword [rbp - 0x21], 0x110
mov dword [rbp - 0x49], eax
mov qword [rbp - 0x11], r14
nop dword [rax]
lea edx, [rdi - 2]
add rdx, r14
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 0x1400b89a9
mov dword [rbx + rcx*8 + 0x76c], r8d
mov dword [rbx + rcx*8 + 0x784], r13d
mov dword [rbx + rcx*8 + 0x788], r15d
mov dword [rbx + rcx*8 + 0x774], 0
dec edi
cmp edi, 2
jae 0x1400b8960
mov r11d, dword [rbp - 0x7d]
test r15d, r15d
mov r8d, dword [rbp - 0x65]
mov edx, dword [rbx + 0x33200]
mov r14, qword [rbp - 0x19]
lea r9d, [r8 + 1]
cmove r11d, r9d
add edx, r9d
cmp edx, dword [rbp - 0x39]
mov dword [rbp - 0x7d], r11d
cmova edx, dword [rbp - 0x39]
cmp r9d, edx
jae 0x1400b89f9
mov ecx, r9d
add rcx, r14
movzx eax, byte [rcx]
cmp byte [rsi + rcx], al
jne 0x1400b89f9
inc r9d
inc rcx
cmp r9d, edx
jb 0x1400b89e6
mov rcx, qword [rbp - 0x59]
mov eax, 0xffffffff
sub eax, r8d
mov r13d, r9d
add r9d, eax
cmp r9d, 2
jb 0x1400b8c6b
movzx r10d, byte [r8 + rcx]
mov edi, 0x100
movzx r11d, byte [r14 + r8]
lea ecx, [r8 - 1]
mov rax, qword [rbp - 0x59]
xor esi, esi
mov edx, dword [rbx + 0x33e64]
or r10d, edi
mov r15d, dword [rbp - 0x71]
mov r12d, dword [rbx + 0x33e74]
add r15d, r8d
movzx r8d, byte [rcx + rax]
and r12d, r15d
mov r14, qword [rbx + 0x33e78]
mov ecx, 8
sub cl, dl
mov eax, r15d
and eax, dword [rbx + 0x33e70]
shr r8d, cl
mov ecx, edx
shl eax, cl
add r8d, eax
lea r8d, [r8 + r8*2]
shl r8d, 8
nop word [rax + rax]
add r11d, r11d
mov eax, edi
and eax, r11d
mov ecx, r10d
shr ecx, 8
add eax, edi
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 [r14 + rax*2]
and ecx, 0x7f
shr rdx, 4
mov eax, r10d
xor rdx, rcx
xor eax, r11d
not eax
and edi, eax
add esi, dword [rbx + rdx*4 + 0x3276c]
cmp r10d, 0x10000
jb 0x1400b8a80
mov rax, qword [rbp - 0x29]
lea rdx, [0x140000000]
mov r14d, dword [rbp - 0x65]
lea r8d, [r15 + 1]
mov r15d, dword [rsp + 0x20]
mov ecx, dword [rax + rdx + 0x14ab10]
mov eax, dword [rbx + 0x33e74]
and r8, rax
mov eax, r12d
mov edi, dword [rdx + rcx*4 + 0x14aa80]
add rcx, 0x19f4
shl rcx, 4
add rcx, rax
lea rax, [rdi + 0x19f4]
shl rax, 4
movzx edx, word [rbx + rcx*2]
add rax, r8
shr rdx, 4
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + rdi*2 + 0x34000]
xor rcx, 0x7f0
mov r11d, dword [rbx + rdx*4 + 0x3276c]
xor rax, 0x7f0
shr rcx, 4
shr rax, 4
add r11d, dword [rbx + rcx*4 + 0x3276c]
lea ecx, [r14 - 2]
add r11d, dword [rbx + rax*4 + 0x3276c]
add rcx, qword [rbp - 0x11]
add r11d, dword [rbx + rcx*4 + 0x39130]
add r11d, esi
mov esi, dword [rsp + 0x28]
add r11d, dword [rbp - 0x49]
lea r10d, [rsi + r13]
cmp r15d, r10d
jae 0x1400b8bb1
lea rcx, [r15 + r15*2]
mov dword [rsp + 0x20], r10d
shl rcx, 4
lea rdx, [rbx + 0x76c]
add rdx, rcx
mov ecx, r10d
sub ecx, r15d
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x1400b8ba0
mov r15d, dword [rbp - 0x6d]
lea edx, [r9 - 2]
mov r12d, dword [rbp - 0x61]
imul rax, r8, 0x110
add rdx, rax
lea rax, [rdi + 0x1a03]
shl rax, 4
add rax, r8
mov r8d, dword [rbx + rdx*4 + 0x39130]
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + rdi*2 + 0x34018]
xor rcx, 0x7f0
shr rcx, 4
shr rax, 4
add r8d, dword [rbx + rcx*4 + 0x3276c]
lea rcx, [r10 + r10*2]
add r8d, dword [rbx + rax*4 + 0x3276c]
add rcx, rcx
add r8d, r11d
mov r11d, dword [rbp - 0x7d]
cmp r8d, dword [rbx + rcx*8 + 0x76c]
jae 0x1400b8c65
lea eax, [rsi + 1]
mov dword [rbx + rcx*8 + 0x76c], r8d
add eax, r14d
mov dword [rbx + rcx*8 + 0x788], 0
mov dword [rbx + rcx*8 + 0x784], eax
mov dword [rbx + rcx*8 + 0x774], 1
mov dword [rbx + rcx*8 + 0x778], 1
mov dword [rbx + rcx*8 + 0x77c], esi
mov dword [rbx + rcx*8 + 0x780], r15d
mov rcx, qword [rbp - 0x59]
jmp 0x1400b8c6f
mov esi, dword [rsp + 0x28]
mov rax, qword [rbp - 0x31]
inc r15d
add rax, 4
mov dword [rbp - 0x6d], r15d
mov qword [rbp - 0x31], rax
cmp r15d, 4
jb 0x1400b88a0
mov ecx, dword [rsp + 0x24]
lea r14, [rbx + 0x3296c]
cmp ecx, r12d
jbe 0x1400b8cb9
xor edx, edx
mov ecx, r12d
cmp r12d, dword [r14]
jbe 0x1400b8caf
add edx, 2
cmp r12d, dword [r14 + rdx*4]
ja 0x1400b8ca6
mov dword [r14 + rdx*4], r12d
add edx, 2
mov dword [rbp - 0x35], edx
cmp ecx, r11d
jb 0x1400b913b
mov rax, qword [rbp + 7]
lea r8d, [rcx + rsi]
mov r9d, dword [rbp - 0x45]
mov r10d, 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 r10d, r8d
jae 0x1400b8d21
lea rcx, [r10 + r10*2]
mov dword [rsp + 0x20], r8d
shl rcx, 4
lea rdx, [rbx + 0x76c]
add rdx, rcx
mov ecx, r8d
sub ecx, r10d
nop word [rax + rax]
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x1400b8d10
xor r8d, r8d
mov dword [rsp + 0x24], r8d
cmp r11d, dword [r14]
jbe 0x1400b8d3f
nop
add r8d, 2
cmp r11d, dword [r14 + r8*4]
ja 0x1400b8d30
mov dword [rsp + 0x24], r8d
imul rdx, qword [rbp - 0x21], 0x110
mov edi, dword [rbp - 0x71]
lea eax, [r8 + 1]
mov r13d, dword [r14 + rax*4]
lea r15d, [r11 + 1]
mov ecx, 0x7ffff
mov qword [rbp + 7], rdx
sub ecx, r13d
lea r11d, [rsi - 1]
shr ecx, 0x1f
mov eax, r13d
neg ecx
mov dword [rbp - 0x6d], r11d
and ecx, 0xc
add ecx, 6
shr rax, cl
dec edi
mov dword [rbp - 0x61], edi
movzx eax, byte [rax + rbx + 0x3076c]
lea r10d, [rax + rcx*2]
mov dword [rbp - 0x65], r10d
lea r12d, [r15 - 1]
lea ecx, [r12 - 2]
mov eax, ecx
add rax, rdx
mov edx, r13d
mov eax, dword [rbx + rax*4 + 0x348e8]
add r9d, eax
cmp r12d, 5
mov eax, 3
cmovb eax, ecx
mov ecx, eax
cmp r13d, 0x80
jae 0x1400b8dd2
shl rcx, 7
add rcx, rdx
mov eax, dword [rbx + rcx*4 + 0x3361c]
jmp 0x1400b8ded
shl rcx, 6
and edx, 0xf
mov eax, r10d
add rcx, rax
mov eax, dword [rbx + rcx*4 + 0x3321c]
add eax, dword [rbx + rdx*4 + 0x33e1c]
lea edx, [r9 + rax]
lea eax, [r11 + r15]
mov dword [rbp - 0x49], edx
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, rbx
cmp edx, dword [rcx + 0x76c]
jae 0x1400b8e2b
lea eax, [r13 + 4]
mov dword [rcx + 0x76c], edx
mov dword [rcx + 0x788], eax
mov dword [rcx + 0x784], esi
mov dword [rcx + 0x774], 0
cmp r12d, dword [r14 + r8*4]
jne 0x1400b912b
mov rcx, qword [rbp - 0x59]
lea r8d, [r13 + 1]
mov edx, dword [rbx + 0x33200]
mov r10, rcx
add edx, r15d
sub r10, r8
cmp edx, dword [rbp - 0x39]
mov r11d, r15d
cmova edx, dword [rbp - 0x39]
cmp r15d, edx
jae 0x1400b8e79
mov ecx, r15d
add rcx, r10
movzx eax, byte [rcx]
cmp byte [rcx + r8], al
jne 0x1400b8e75
inc r11d
inc rcx
cmp r11d, edx
jb 0x1400b8e61
mov rcx, qword [rbp - 0x59]
mov eax, 0xffffffff
mov dword [rbp - 0x4d], r11d
sub eax, r12d
add r11d, eax
cmp r11d, 2
jb 0x1400b90c5
mov edx, dword [rbx + 0x33e64]
lea r9d, [rdi + r15]
movzx edi, byte [r12 + r10]
mov eax, r9d
movzx r10d, byte [r12 + rcx]
mov esi, 0x100
and eax, dword [rbx + 0x33e74]
lea ecx, [r12 - 1]
and r9d, dword [rbx + 0x33e70]
xor r14d, r14d
mov dword [rbp - 0x45], eax
or r10d, esi
mov rax, qword [rbp - 0x59]
movzx r8d, byte [rcx + rax]
mov ecx, 8
sub cl, dl
shr r8d, cl
mov ecx, edx
shl r9d, cl
add r8d, r9d
lea r9d, [r8 + r8*2]
mov r8, qword [rbx + 0x33e78]
shl r9d, 8
add edi, edi
mov eax, esi
and eax, edi
mov ecx, r10d
shr ecx, 8
add eax, esi
add eax, ecx
mov ecx, r10d
shr ecx, 7
add rax, r9
and ecx, 1
add r10d, r10d
neg ecx
sar rcx, 4
movzx edx, word [r8 + rax*2]
and ecx, 0x7f
shr rdx, 4
mov eax, r10d
xor rdx, rcx
xor eax, edi
not eax
and esi, eax
add r14d, dword [rbx + rdx*4 + 0x3276c]
cmp r10d, 0x10000
jb 0x1400b8ef3
mov r9d, dword [rbp - 0x45]
lea rdx, [0x140000000]
mov rax, qword [rbp - 0x29]
mov r10d, dword [rbp - 0x4d]
mov esi, dword [rsp + 0x28]
add r10d, esi
lea r8d, [r9 + 1]
mov ecx, dword [rax + rdx + 0x14aab0]
mov eax, dword [rbx + 0x33e74]
and r8, rax
mov edi, dword [rdx + rcx*4 + 0x14aa80]
add rcx, 0x19f4
shl rcx, 4
add rcx, r9
lea rax, [rdi + 0x19f4]
shl rax, 4
add rax, r8
movzx edx, word [rbx + rax*2]
movzx eax, word [rbx + rcx*2]
xor rdx, 0x7f0
shr rax, 4
shr rdx, 4
mov r9d, dword [rbx + rdx*4 + 0x3276c]
add r9d, dword [rbx + rax*4 + 0x3276c]
movzx eax, word [rbx + rdi*2 + 0x34000]
xor rax, 0x7f0
shr rax, 4
add r9d, dword [rbx + rax*4 + 0x3276c]
add r9d, r14d
mov r14d, dword [rsp + 0x20]
add r9d, dword [rbp - 0x49]
cmp r14d, r10d
jae 0x1400b9012
lea rcx, [r14 + r14*2]
mov dword [rsp + 0x20], r10d
shl rcx, 4
lea rdx, [rbx + 0x76c]
add rdx, rcx
mov ecx, r10d
sub ecx, r14d
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x1400b9001
imul rax, r8, 0x110
lea edx, [r11 - 2]
add rdx, rax
lea r14, [rbx + 0x3296c]
lea rax, [rdi + 0x1a03]
shl rax, 4
add rax, r8
mov r8d, dword [rbx + rdx*4 + 0x39130]
movzx ecx, word [rbx + rax*2]
movzx eax, word [rbx + rdi*2 + 0x34018]
xor rcx, 0x7f0
mov edi, dword [rbp - 0x61]
shr rcx, 4
shr rax, 4
add r8d, dword [rbx + rcx*4 + 0x3276c]
lea rcx, [r10 + r10*2]
add r8d, dword [rbx + rax*4 + 0x3276c]
add rcx, rcx
add r8d, r9d
cmp r8d, dword [rbx + rcx*8 + 0x76c]
jae 0x1400b90c5
lea eax, [r15 + rsi]
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], esi
mov r8d, dword [rsp + 0x24]
add r8d, 2
mov dword [rsp + 0x24], r8d
cmp r8d, dword [rbp - 0x35]
je 0x1400b913b
mov r11d, dword [rbp - 0x6d]
lea eax, [r8 + 1]
mov r13d, dword [r14 + rax*4]
cmp r13d, 0x80
jb 0x1400b9127
mov rdx, qword [rbp + 7]
mov ecx, 0x7ffff
mov r9d, dword [rbp - 0x51]
sub ecx, r13d
shr ecx, 0x1f
mov eax, r13d
neg ecx
and ecx, 0xc
add ecx, 6
shr rax, cl
inc r15d
movzx eax, byte [rax + rbx + 0x3076c]
lea r10d, [rax + rcx*2]
mov dword [rbp - 0x65], r10d
jmp 0x1400b8d90
mov r10d, dword [rbp - 0x65]
mov rdx, qword [rbp + 7]
inc r15d
mov r9d, dword [rbp - 0x51]
jmp 0x1400b8d90
mov esi, dword [rbp - 0x69]
lea r12, [rbx + 0x3296c]
lea r15, [0x140000000]
mov dword [rsp + 0x28], esi
cmp esi, dword [rsp + 0x20]
jne 0x1400b81e0
mov rdx, qword [rbp - 0x41]
mov r8d, esi
mov rcx, rbx
call fcn.1400b79e0
jmp 0x1400b9198
mov rdx, qword [rbp - 0x41]
mov r8d, esi
mov rcx, rbx
mov dword [rbx + 0x764], r14d
mov dword [rbx + 0x760], edi
call fcn.1400b79e0
jmp 0x1400b9198
mov rcx, qword [rbp - 0x41]
mov dword [rcx], 0xffffffff
mov eax, 1
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 + 0x17]
xor rcx, rsp
call fcn.1400f8730
add rsp, 0xf8
pop rbx
pop rbp
ret