Function at 0x140003ac0
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 + 0x4c4]
mov rbx, rcx
cmp dword [rcx + 0x4c0], r9d
je 0x140003b1c
lea rdx, [r9 + r9*2]
add rdx, rdx
mov eax, dword [rcx + rdx*8 + 0x4ec]
mov ecx, dword [rcx + rdx*8 + 0x4f0]
sub eax, r9d
mov dword [r8], ecx
mov ecx, dword [rbx + rdx*8 + 0x4ec]
mov dword [rbx + 0x4c4], 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 + 0x4c0], rax
cmp dword [rcx + 0x32f6c], eax
jne 0x140003b57
lea rdx, [rbp + 0x7f]
call fcn.1400078e0
mov r12d, dword [rbp + 0x7f]
mov r13d, eax
jmp 0x140003b65
mov r13d, dword [rcx + 0x4c8]
mov r12d, dword [rcx + 0x4cc]
mov edi, dword [rbx + 0x4d0]
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 0x14000513d
mov rcx, qword [rbx + 0x30]
mov eax, 0x111
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 + 0x32f70]
lea rsi, [r11*4]
mov dword [rbp + rsi - 0x71], ecx
lea r10d, [rcx + 1]
neg r10
cmp r15b, byte [r10 + r8]
jne 0x140003c29
movzx eax, byte [r10 + r8 + 1]
cmp byte [r8 + 1], al
jne 0x140003c29
mov edx, 2
cmp edi, edx
jbe 0x140003c12
lea rcx, [r8 + 2]
nop word [rax + rax]
movzx eax, byte [r10 + rcx]
cmp byte [rcx], al
jne 0x140003c12
inc edx
inc rcx
cmp edx, edi
jb 0x140003c00
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 0x140003c31
mov dword [rbp + rsi - 0x49], 0
lea esi, [r11 + 1]
mov ecx, dword [rbx + rsi*4 + 0x32f70]
lea r14, [rsi*4]
mov dword [rbp + r14 - 0x71], ecx
lea r10d, [rcx + 1]
neg r10
cmp r15b, byte [r10 + r8]
jne 0x140003c97
movzx eax, byte [r10 + r8 + 1]
cmp byte [r8 + 1], al
jne 0x140003c97
mov edx, 2
cmp edi, edx
jbe 0x140003c82
lea rcx, [r8 + 2]
nop
movzx eax, byte [r10 + rcx]
cmp byte [rcx], al
jne 0x140003c82
inc edx
inc rcx
cmp edx, edi
jb 0x140003c70
mov eax, r9d
mov dword [rbp + r14 - 0x49], edx
cmp edx, dword [rbp + rax*4 - 0x49]
cmovbe esi, r9d
mov r9d, esi
jmp 0x140003ca0
mov dword [rbp + r14 - 0x49], 0
lea esi, [r11 + 2]
mov ecx, dword [rbx + rsi*4 + 0x32f70]
lea r14, [rsi*4]
mov dword [rbp + r14 - 0x71], ecx
lea r10d, [rcx + 1]
neg r10
cmp r15b, byte [r10 + r8]
jne 0x140003d07
movzx eax, byte [r10 + r8 + 1]
cmp byte [r8 + 1], al
jne 0x140003d07
mov edx, 2
cmp edi, edx
jbe 0x140003cf2
lea rcx, [r8 + 2]
nop
movzx eax, byte [r10 + rcx]
cmp byte [rcx], al
jne 0x140003cf2
inc edx
inc rcx
cmp edx, edi
jb 0x140003ce0
mov eax, r9d
mov dword [rbp + r14 - 0x49], edx
cmp edx, dword [rbp + rax*4 - 0x49]
cmovbe esi, r9d
mov r9d, esi
jmp 0x140003d10
mov dword [rbp + r14 - 0x49], 0
lea esi, [r11 + 3]
mov ecx, dword [rbx + rsi*4 + 0x32f70]
lea r14, [rsi*4]
mov dword [rbp + r14 - 0x71], ecx
lea r10d, [rcx + 1]
neg r10
cmp r15b, byte [r10 + r8]
jne 0x140003d77
movzx eax, byte [r10 + r8 + 1]
cmp byte [r8 + 1], al
jne 0x140003d77
mov edx, 2
cmp edi, edx
jbe 0x140003d62
lea rcx, [r8 + 2]
nop
movzx eax, byte [r10 + rcx]
cmp byte [rcx], al
jne 0x140003d62
inc edx
inc rcx
cmp edx, edi
jb 0x140003d50
mov eax, r9d
mov dword [rbp + r14 - 0x49], edx
cmp edx, dword [rbp + rax*4 - 0x49]
cmovbe esi, r9d
mov r9d, esi
jmp 0x140003d80
mov dword [rbp + r14 - 0x49], 0
add r11d, 4
cmp r11d, 4
jb 0x140003bc0
mov eax, r9d
mov edi, dword [rbp + rax*4 - 0x49]
mov eax, dword [rbx + 0x32f68]
cmp edi, eax
jb 0x140003dc1
mov rcx, qword [rbp + 0x77]
lea edx, [rdi - 1]
mov dword [rcx], r9d
test edx, edx
je 0x140003dba
add dword [rbx + 0x32f6c], edx
mov rcx, qword [rbx + 0x30]
call qword [rbx + 0x28]
mov eax, edi
jmp 0x14000514c
cmp r13d, eax
jb 0x140003df8
mov rcx, qword [rbp + 0x77]
lea eax, [r12 - 1]
mov eax, dword [rbx + rax*4 + 0x326d4]
lea edx, [r13 - 1]
add eax, 4
mov dword [rcx], eax
test edx, edx
je 0x140003df0
add dword [rbx + 0x32f6c], edx
mov rcx, qword [rbx + 0x30]
call qword [rbx + 0x28]
mov eax, r13d
jmp 0x14000514c
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 0x140003e1e
cmp r14b, sil
je 0x140003e1e
cmp edi, 2
jb 0x14000513d
mov r15d, dword [rbx + 0x32f80]
lea r9, [rbx + 0x324d4]
mov r12d, dword [rbp + 0x6f]
mov ecx, 8
mov dword [rbx + 0x4d8], r15d
sub cl, byte [rbx + 0x33bcc]
mov eax, dword [rbx + 0x33bd8]
and eax, dword [rbp + 0x6f]
movzx edx, byte [r8 - 1]
and r12d, dword [rbx + 0x33bdc]
shr edx, cl
mov ecx, dword [rbx + 0x33bcc]
shl eax, cl
add edx, eax
mov rax, qword [rbx + 0x33be0]
lea ecx, [rdx + rdx*2]
mov edx, r14d
shl ecx, 8
lea rcx, [rax + rcx*2]
cmp r15d, 7
jb 0x140003e87
mov r8d, esi
call fcn.140005f10
jmp 0x140003e8f
mov r8, r9
call fcn.140005ec0
mov r9d, eax
mov rdx, r15
xor r10d, r10d
mov r15d, r12d
mov rcx, rdx
shl rcx, 4
add rcx, r15
movzx eax, word [rbx + rcx*2 + 0x33be8]
shr rax, 4
mov r8d, dword [rbx + rax*4 + 0x324d4]
mov dword [rbx + 0x520], 0xffffffff
add r8d, r9d
mov dword [rbx + 0x504], r8d
mov dword [rbx + 0x50c], r10d
movzx eax, word [rbx + rcx*2 + 0x33be8]
xor rax, 0x7f0
shr rax, 4
mov r9d, dword [rbx + rax*4 + 0x324d4]
movzx eax, word [rbx + rdx*2 + 0x33d68]
xor rax, 0x7f0
mov dword [rbp - 0x5d], r9d
shr rax, 4
mov r13d, dword [rbx + rax*4 + 0x324d4]
mov eax, 0xffffffff
add r13d, r9d
cmp sil, r14b
jne 0x140003f5c
movzx eax, word [rbx + rdx*2 + 0x33d80]
movzx ecx, word [rbx + rcx*2 + 0x33dc8]
shr rax, 4
shr rcx, 4
mov edx, dword [rbx + rcx*4 + 0x324d4]
add edx, dword [rbx + rax*4 + 0x324d4]
mov eax, 0xffffffff
add edx, r13d
cmp edx, r8d
jae 0x140003f5c
mov dword [rbx + 0x504], edx
mov eax, r10d
mov dword [rbx + 0x520], r10d
mov edx, dword [rbp + 0x67]
cmp edx, edi
cmovb edx, edi
mov dword [rsp + 0x20], edx
cmp edx, 2
jae 0x140003f78
mov rcx, qword [rbp + 0x77]
mov dword [rcx], eax
jmp 0x140005147
mov eax, dword [rbp - 0x71]
mov dword [rbx + 0x51c], r10d
mov dword [rbx + 0x4f4], eax
mov eax, dword [rbp - 0x6d]
mov dword [rbx + 0x4f8], eax
mov eax, dword [rbp - 0x69]
mov dword [rbx + 0x4fc], eax
mov eax, dword [rbp - 0x65]
mov dword [rbx + 0x500], eax
lea rcx, [rdx + rdx*2]
dec edx
add rcx, rcx
mov dword [rbx + rcx*8 + 0x4d4], 0x40000000
cmp edx, 2
jae 0x140003fa3
mov esi, r10d
lea r14, [rbp - 0x49]
mov edi, dword [r14]
cmp edi, 2
jb 0x14000403d
mov r8d, dword [rbx + 0x32f80]
mov r9d, r12d
mov edx, esi
mov rcx, rbx
call fcn.1400054d0
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 + 0x38e98]
lea rdx, [rcx + rcx*2]
add rdx, rdx
add r8d, eax
cmp r8d, dword [rbx + rdx*8 + 0x4d4]
jae 0x140004036
mov dword [rbx + rdx*8 + 0x4d4], r8d
mov dword [rbx + rdx*8 + 0x4ec], r10d
mov dword [rbx + rdx*8 + 0x4f0], esi
mov dword [rbx + rdx*8 + 0x4dc], r10d
dec edi
cmp edi, 2
jae 0x140003ff0
inc esi
add r14, 4
cmp esi, 4
jb 0x140003fc3
mov r9d, dword [rbp - 0x49]
mov eax, dword [rbx + 0x32f80]
mov r14d, dword [rbp - 0x5d]
movzx ecx, word [rbx + rax*2 + 0x33d68]
shr rcx, 4
add r14d, dword [rbx + rcx*4 + 0x324d4]
cmp r9d, 2
inc r9d
jae 0x14000407d
mov r9d, 2
lea r12, [rbx + 0x326d4]
cmp r9d, dword [rbp + 0x67]
ja 0x140004189
mov edx, r10d
cmp r9d, dword [r12]
jbe 0x1400040a0
add edx, 2
cmp r9d, dword [r12 + rdx*4]
ja 0x140004097
imul rsi, r15, 0x110
mov r15d, dword [rbp + 0x7f]
nop dword [rax + 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 + 0x34650]
add edi, r14d
cmp r9d, 5
cmovb r8d, ecx
cmp r11d, 0x80
jae 0x1400040f5
shl r8, 7
add r8, r11
mov eax, dword [rbx + r8*4 + 0x33384]
jmp 0x140004133
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 + 0x304d4]
lea eax, [rax + rcx*2]
add rax, r8
mov eax, dword [rbx + rax*4 + 0x32f84]
add eax, dword [rbx + r10*4 + 0x33b84]
lea r8d, [rdi + rax]
mov eax, r9d
lea rcx, [rax + rax*2]
add rcx, rcx
cmp r8d, dword [rbx + rcx*8 + 0x4d4]
jae 0x140004171
mov dword [rbx + rcx*8 + 0x4d4], r8d
lea eax, [r11 + 4]
xor r8d, r8d
mov dword [rbx + rcx*8 + 0x4f0], eax
mov dword [rbx + rcx*8 + 0x4ec], r8d
mov dword [rbx + rcx*8 + 0x4dc], r8d
mov eax, edx
cmp r9d, dword [r12 + rax*4]
jne 0x140004181
add edx, 2
cmp edx, r15d
je 0x140004189
inc r9d
jmp 0x1400040b0
mov esi, 1
lea r13, [0x140000000]
mov dword [rbp + 0x7f], esi
nop dword [rax + rax]
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 + 0x4d0], eax
call qword [rbx + 0x20]
mov dword [rbp - 0x29], eax
mov r14d, eax
test eax, eax
je 0x140004238
lea ecx, [rax - 2]
mov edi, dword [rbx + rcx*4 + 0x326d4]
mov dword [rsp + 0x28], edi
cmp edi, dword [rbx + 0x32f68]
jne 0x140004238
mov rcx, qword [rbx + 0x30]
call qword [rbx + 0x18]
mov r8d, dword [rbx + 0x4d0]
lea ecx, [r14 - 1]
mov ecx, dword [rbx + rcx*4 + 0x326d4]
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 0x140004238
lea rcx, [r9 + rdi]
sub rdx, r9
movzx eax, byte [rdx + rcx]
cmp byte [rcx], al
jne 0x140004234
inc edi
inc rcx
cmp edi, r8d
jb 0x140004222
mov dword [rsp + 0x28], edi
inc dword [rbx + 0x32f6c]
cmp edi, dword [rbx + 0x32f68]
jae 0x14000511f
inc r15d
mov eax, esi
lea rdi, [rbx + 0x4d4]
mov dword [rbp + 0x6f], r15d
lea rcx, [rax + rax*2]
shl rcx, 4
add rdi, rcx
mov r11d, dword [rdi + 8]
mov edx, dword [rdi + 0x18]
test r11d, r11d
je 0x1400042d4
dec edx
cmp dword [rdi + 0xc], 0
je 0x1400042bc
mov eax, dword [rdi + 0x10]
lea rcx, [rax + rax*2]
add rcx, rcx
cmp dword [rdi + 0x14], 4
mov eax, dword [rbx + rcx*8 + 0x4d8]
lea rax, [rax*4]
jae 0x1400042aa
mov eax, dword [rax + r13 + 0xa348]
mov ecx, dword [r13 + rax*4 + 0xa2e8]
jmp 0x1400042e2
mov eax, dword [rax + r13 + 0xa318]
mov ecx, dword [r13 + rax*4 + 0xa2e8]
jmp 0x1400042e2
lea rcx, [rdx + rdx*2]
add rcx, rcx
mov eax, dword [rbx + rcx*8 + 0x4d8]
mov ecx, dword [r13 + rax*4 + 0xa2e8]
jmp 0x1400042e2
lea rcx, [rdx + rdx*2]
add rcx, rcx
mov ecx, dword [rbx + rcx*8 + 0x4d8]
lea eax, [rsi - 1]
cmp edx, eax
jne 0x140004315
cmp dword [rdi + 0x1c], 0
mov eax, ecx
jne 0x140004303
mov r13d, dword [r13 + rax*4 + 0xa378]
mov dword [rsp + 0x24], r13d
jmp 0x140004410
mov r13d, dword [r13 + rax*4 + 0xa2e8]
mov dword [rsp + 0x24], r13d
jmp 0x140004410
test r11d, r11d
je 0x140004354
cmp dword [rdi + 0xc], 0
je 0x140004354
mov r10d, dword [rdi + 0x14]
lea r9, [rbx + 0x4d4]
mov eax, ecx
mov r13d, dword [r13 + rax*4 + 0xa348]
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x24], r13d
lea rcx, [rax + rax*2]
shl rcx, 4
add r9, rcx
cmp r10d, 4
jae 0x1400043f4
jmp 0x140004387
mov r10d, dword [rdi + 0x1c]
lea r9, [rbx + 0x4d4]
mov eax, ecx
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r9, rcx
lea rax, [rax*4]
cmp r10d, 4
jae 0x1400043e7
mov r13d, dword [rax + r13 + 0xa348]
mov dword [rsp + 0x24], r13d
mov eax, r10d
mov r8d, 1
mov ecx, dword [r9 + rax*4 + 0x20]
mov dword [rbp - 0x71], ecx
cmp r10d, r8d
jb 0x1400043be
nop dword [rax]
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 0x1400043a0
cmp r8d, 4
jae 0x140004410
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 sub.VCRUNTIME140.dll_memcpy
jmp 0x140004410
mov r13d, dword [rax + r13 + 0xa318]
mov dword [rsp + 0x24], r13d
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], r13d
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 r12d, 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, r13d
mov qword [rbp - 0x59], rax
mov rsi, rdx
sub rsi, rcx
shl rax, 4
mov ecx, dword [rbx + 0x33bdc]
and ecx, dword [rbp + 0x6f]
add rax, rcx
mov dword [rbp - 0x11], ecx
movzx r15d, byte [rsi]
mov qword [rbp - 0x19], rax
mov qword [rbp - 1], rcx
mov ecx, 8
sub cl, byte [rbx + 0x33bcc]
movzx eax, word [rbx + rax*2 + 0x33be8]
shr rax, 4
mov qword [rbp - 0x51], rdx
movzx edx, byte [rdx - 1]
shr edx, cl
mov r13d, dword [rbx + rax*4 + 0x324d4]
mov ecx, dword [rbx + 0x33bcc]
add r13d, r12d
mov eax, dword [rbx + 0x33bd8]
and eax, dword [rbp + 0x6f]
shl eax, cl
add edx, eax
mov rax, qword [rbx + 0x33be0]
lea ecx, [rdx + rdx*2]
shl ecx, 8
cmp dword [rsp + 0x24], 7
lea rdi, [rax + rcx*2]
jb 0x140004532
mov r9d, r15d
xor r11d, r11d
mov r10d, 0x100
nop dword [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 + 0x324d4]
cmp r8d, 0x10000
jb 0x1400044e0
jmp 0x14000457b
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 + 0x324d4]
cmp r8d, 0x10000
jb 0x140004540
mov r11d, r9d
mov edx, dword [rbp + 0x7f]
lea r8, [rbx + 0x4d4]
add r13d, r11d
lea eax, [rdx + 1]
lea rcx, [rax + rax*2]
mov dword [rbp - 0x5d], eax
shl rcx, 4
add r8, rcx
mov edi, dword [r8]
cmp r13d, edi
jae 0x1400045bd
mov dword [r8 + 8], r14d
mov edi, r13d
mov r14d, 1
mov dword [r8], r13d
mov dword [r8 + 0x18], edx
mov dword [r8 + 0x1c], 0xffffffff
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x59]
movzx eax, word [rbx + rdx*2 + 0x33be8]
xor rax, 0x7f0
shr rax, 4
add r12d, dword [rbx + rax*4 + 0x324d4]
lea rax, [rcx + 0x19eb4]
lea rax, [rbx + rax*2]
mov dword [rbp - 0x31], r12d
mov qword [rbp - 0x49], rax
movzx eax, word [rax]
xor rax, 0x7f0
shr rax, 4
mov eax, dword [rbx + rax*4 + 0x324d4]
add eax, r12d
movzx r12d, byte [rbp + 0x67]
mov dword [rbp - 0x7d], eax
cmp r15b, r12b
jne 0x14000466b
mov eax, dword [rbp + 0x7f]
cmp dword [r8 + 0x18], eax
jae 0x140004626
cmp dword [r8 + 0x1c], 0
je 0x14000466b
movzx eax, word [rbx + rdx*2 + 0x33dc8]
movzx ecx, word [rbx + rcx*2 + 0x33d80]
shr rcx, 4
shr rax, 4
mov edx, dword [rbx + rcx*4 + 0x324d4]
add edx, dword [rbx + rax*4 + 0x324d4]
add edx, dword [rbp - 0x7d]
cmp edx, edi
ja 0x14000466b
mov eax, dword [rbp + 0x7f]
mov dword [r8 + 0x18], eax
xor eax, eax
mov dword [r8], edx
mov dword [r8 + 0x1c], eax
mov dword [r8 + 8], eax
lea r14d, [rax + 1]
mov eax, dword [rbx + 0x4d0]
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 0x1400050f0
mov r8d, dword [rbx + 0x32f68]
cmp edi, r8d
mov eax, r8d
cmovbe eax, edi
mov dword [rbp + 0x67], eax
test r14d, r14d
jne 0x140004833
cmp r15b, r12b
je 0x140004833
inc r8d
cmp r8d, edi
jbe 0x1400046c0
mov r8d, edi
jmp 0x1400046ca
mov edx, 1
cmp r8d, edx
jbe 0x1400046f2
mov rax, qword [rbp - 0x51]
mov edx, 1
sub rsi, rax
lea rcx, [rax + 1]
nop word [rax + rax]
movzx eax, byte [rsi + rcx]
cmp byte [rcx], al
jne 0x1400046f2
inc edx
inc rcx
cmp edx, r8d
jb 0x1400046e0
mov r14, qword [rbp - 0x59]
lea r11d, [rdx - 1]
cmp r11d, 2
jb 0x140004839
mov r10d, dword [rbp + 0x6f]
lea rax, [0x140000000]
mov edi, dword [rax + r14*4 + 0xa2e8]
inc r10d
mov eax, dword [rbx + 0x33bdc]
mov esi, edi
mov r8d, dword [rbp + 0x7f]
and r10, rax
mov r15d, dword [rsp + 0x20]
add r8d, edx
movzx eax, word [rbx + rdi*2 + 0x33d68]
shl rsi, 4
xor rax, 0x7f0
add rsi, r10
shr rax, 4
movzx ecx, word [rbx + rsi*2 + 0x33be8]
xor rcx, 0x7f0
shr rcx, 4
mov r9d, dword [rbx + rcx*4 + 0x324d4]
add r9d, dword [rbx + rax*4 + 0x324d4]
add r9d, r13d
cmp r15d, r8d
jae 0x1400047b1
lea rcx, [r15 + r15*2]
mov dword [rsp + 0x20], r8d
shl rcx, 4
lea rdx, [rbx + 0x4d4]
add rdx, rcx
mov ecx, r8d
sub ecx, r15d
nop dword [rax]
nop word [rax + rax]
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x1400047a0
imul rax, r10, 0x110
lea ecx, [r11 - 2]
mov r11d, dword [rbp + 0x7f]
add rcx, rax
movzx eax, word [rbx + rsi*2 + 0x33dc8]
xor rax, 0x7f0
shr rax, 4
mov edx, dword [rbx + rcx*4 + 0x38e98]
lea rcx, [r8 + r8*2]
add rcx, rcx
add edx, dword [rbx + rax*4 + 0x324d4]
movzx eax, word [rbx + rdi*2 + 0x33d80]
shr rax, 4
add edx, dword [rbx + rax*4 + 0x324d4]
add edx, r9d
cmp edx, dword [rbx + rcx*8 + 0x4d4]
jae 0x14000483d
mov eax, dword [rbp - 0x5d]
mov dword [rbx + rcx*8 + 0x4ec], eax
mov dword [rbx + rcx*8 + 0x4d4], edx
mov dword [rbx + rcx*8 + 0x4f0], 0
mov qword [rbx + rcx*8 + 0x4dc], 1
jmp 0x14000483d
mov r14, qword [rbp - 0x59]
jmp 0x14000483d
mov r11d, dword [rbp + 0x7f]
mov r15, qword [rbp - 0x51]
lea rax, [r14*4]
mov qword [rbp - 0x19], rax
mov r9d, 2
lea rax, [rbp - 0x71]
mov dword [rbp - 0x61], r9d
xor r12d, r12d
mov qword [rbp - 9], rax
mov dword [rbp - 0x39], r12d
nop word [rax + rax]
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 0x140004c43
movzx eax, byte [r14 + 1]
cmp byte [r15 + 1], al
jne 0x140004c43
mov edi, 2
cmp r13d, edi
jbe 0x1400048c2
lea rcx, [r14 + 2]
movzx eax, byte [rcx]
cmp byte [rsi + rcx], al
jne 0x1400048c2
inc edi
inc rcx
cmp edi, r13d
jb 0x1400048b0
mov r9d, dword [rsp + 0x20]
lea r8d, [rdi + r11]
mov dword [rbp - 0x59], r8d
cmp r9d, r8d
jae 0x140004902
lea rcx, [r9 + r9*2]
mov dword [rsp + 0x20], r8d
shl rcx, 4
lea rdx, [rbx + 0x4d4]
add rdx, rcx
mov ecx, r8d
sub ecx, r9d
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x1400048f1
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.1400054d0
mov r11d, dword [rbp + 0x7f]
mov esi, eax
add esi, dword [rbp - 0x7d]
imul r14, qword [rbp - 1], 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 + 0x38e98]
add r8d, esi
cmp r8d, dword [rbx + rax*8 + 0x4d4]
jae 0x140004989
mov dword [rbx + rax*8 + 0x4d4], r8d
mov dword [rbx + rax*8 + 0x4ec], r11d
mov dword [rbx + rax*8 + 0x4f0], r12d
mov dword [rbx + rax*8 + 0x4dc], 0
dec edi
cmp edi, 2
jae 0x140004940
mov r9d, dword [rbp - 0x61]
lea r10d, [r15 + 1]
mov edx, dword [rbx + 0x32f68]
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 0x1400049d9
mov ecx, r10d
add rcx, r14
movzx eax, byte [rcx]
cmp byte [rcx + rsi], al
jne 0x1400049d9
inc r10d
inc rcx
cmp r10d, edx
jb 0x1400049c6
mov eax, 0xffffffff
mov dword [rbp - 0x21], r10d
sub eax, r15d
add r10d, eax
cmp r10d, 2
jb 0x140004c3f
mov rcx, qword [rbp - 0x51]
mov esi, 0x100
mov r8d, dword [rbx + 0x33bcc]
movzx edi, byte [r15 + r14]
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 + 0x33bdc]
add r13d, r15d
mov r15, qword [rbx + 0x33be0]
and r12d, r13d
dec eax
movzx r9d, byte [rax + rcx]
mov ecx, 8
sub cl, r8b
mov eax, r13d
and eax, dword [rbx + 0x33bd8]
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 + 0x324d4]
cmp r11d, 0x10000
jb 0x140004a60
mov rax, qword [rbp - 0x19]
lea rdx, [0x140000000]
mov r8d, dword [rbp + 0x7f]
lea r11d, [r13 + 1]
add r8d, dword [rbp - 0x21]
mov ecx, dword [rax + rdx + 0xa348]
mov eax, dword [rbx + 0x33bdc]
and r11, rax
mov eax, r12d
mov edi, dword [rdx + rcx*4 + 0xa2e8]
shl rcx, 4
mov esi, edi
add rcx, rax
shl rsi, 4
add rsi, r11
movzx ecx, word [rbx + rcx*2 + 0x33be8]
movzx eax, word [rbx + rsi*2 + 0x33be8]
xor rax, 0x7f0
shr rcx, 4
shr rax, 4
mov r9d, dword [rbx + rcx*4 + 0x324d4]
add r9d, dword [rbx + rax*4 + 0x324d4]
mov ecx, dword [rbp - 0x79]
movzx eax, word [rbx + rdi*2 + 0x33d68]
add ecx, 0xfffffffe
add rcx, qword [rbp + 0xf]
xor rax, 0x7f0
shr rax, 4
add r9d, dword [rbx + rax*4 + 0x324d4]
add r9d, dword [rbx + rcx*4 + 0x38e98]
add r9d, r14d
mov r14d, dword [rsp + 0x20]
add r9d, dword [rbp - 0x35]
cmp r14d, r8d
jae 0x140004b91
lea rcx, [r14 + r14*2]
mov dword [rsp + 0x20], r8d
shl rcx, 4
lea rdx, [rbx + 0x4d4]
add rdx, rcx
mov ecx, r8d
sub ecx, r14d
nop word [rax + rax]
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x140004b80
mov r12d, dword [rbp - 0x39]
lea ecx, [r10 - 2]
mov r13d, dword [rbp + 0x67]
mov r15, qword [rbp - 0x51]
imul rax, r11, 0x110
mov r11d, dword [rbp + 0x7f]
add rcx, rax
movzx eax, word [rbx + rsi*2 + 0x33dc8]
xor rax, 0x7f0
shr rax, 4
mov edx, dword [rbx + rcx*4 + 0x38e98]
lea rcx, [r8 + r8*2]
add rcx, rcx
add edx, dword [rbx + rax*4 + 0x324d4]
movzx eax, word [rbx + rdi*2 + 0x33d80]
shr rax, 4
add edx, dword [rbx + rax*4 + 0x324d4]
add edx, r9d
mov r9d, dword [rbp - 0x61]
cmp edx, dword [rbx + rcx*8 + 0x4d4]
jae 0x140004c43
mov eax, dword [rbp - 0x59]
inc eax
mov dword [rbx + rcx*8 + 0x4d4], edx
mov dword [rbx + rcx*8 + 0x4ec], eax
mov dword [rbx + rcx*8 + 0x4f0], 0
mov dword [rbx + rcx*8 + 0x4dc], 1
mov dword [rbx + rcx*8 + 0x4e0], 1
mov dword [rbx + rcx*8 + 0x4e4], r11d
mov dword [rbx + rcx*8 + 0x4e8], r12d
jmp 0x140004c43
mov r15, qword [rbp - 0x51]
mov rax, qword [rbp - 9]
inc r12d
add rax, 4
mov dword [rbp - 0x39], r12d
mov qword [rbp - 9], rax
cmp r12d, 4
jb 0x140004870
mov ecx, dword [rsp + 0x28]
lea rdi, [rbx + 0x326d4]
cmp ecx, r13d
jbe 0x140004c93
xor edx, edx
mov ecx, r13d
cmp r13d, dword [rdi]
jbe 0x140004c89
nop word [rax + rax]
add edx, 2
cmp r13d, dword [rdi + rdx*4]
ja 0x140004c80
mov dword [rdi + rdx*4], r13d
add edx, 2
mov dword [rbp - 0x29], edx
cmp ecx, r9d
jb 0x1400050f0
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 + 0x324d4]
mov dword [rbp - 0x79], esi
cmp r10d, r8d
jae 0x140004cf1
lea rcx, [r10 + r10*2]
mov dword [rsp + 0x20], r8d
shl rcx, 4
lea rdx, [rbx + 0x4d4]
add rdx, rcx
mov ecx, r8d
sub ecx, r10d
nop
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x140004ce0
xor r12d, r12d
cmp r9d, dword [rdi]
jbe 0x140004d0a
nop dword [rax]
add r12d, 2
cmp r9d, dword [rdi + r12*4]
ja 0x140004d00
mov r14d, dword [rbp + 0x7f]
lea eax, [r12 + 1]
mov r13d, dword [rdi + rax*4]
lea r10d, [r9 + 1]
mov ecx, 0x7ffff
mov eax, r13d
sub ecx, r13d
shr ecx, 0x1f
lea edi, [r14 - 1]
neg ecx
mov dword [rsp + 0x28], edi
and ecx, 0xc
add ecx, 6
shr rax, cl
imul rdx, qword [rbp - 1], 0x110
movzx eax, byte [rax + rbx + 0x304d4]
mov qword [rbp - 0x49], rdx
lea r11d, [rax + rcx*2]
mov dword [rbp - 0x7d], r11d
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 + 0x34650]
mov eax, 3
add r8d, esi
cmp r9d, 5
cmovb eax, ecx
mov ecx, eax
cmp r13d, 0x80
jae 0x140004d9e
shl rcx, 7
add rcx, rdx
mov eax, dword [rbx + rcx*4 + 0x33384]
jmp 0x140004db9
shl rcx, 6
and edx, 0xf
mov eax, r11d
add rcx, rax
mov eax, dword [rbx + rcx*4 + 0x32f84]
add eax, dword [rbx + rdx*4 + 0x33b84]
lea edx, [rax + r8]
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 + 0x4d4]
jae 0x140004dfc
lea eax, [r13 + 4]
mov dword [rbx + rcx*8 + 0x4d4], edx
mov dword [rbx + rcx*8 + 0x4f0], eax
mov dword [rbx + rcx*8 + 0x4ec], r14d
mov dword [rbx + rcx*8 + 0x4dc], 0
cmp r9d, dword [rbx + r12*4 + 0x326d4]
jne 0x1400050e4
mov edx, dword [rbx + 0x32f68]
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 0x140004e44
mov ecx, r10d
add rcx, r11
movzx eax, byte [rcx]
cmp byte [r8 + rcx], al
jne 0x140004e44
inc edi
inc rcx
cmp edi, edx
jb 0x140004e32
mov eax, 0xffffffff
mov dword [rbp - 0x21], edi
sub eax, r9d
add edi, eax
cmp edi, 2
jb 0x140005087
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 + 0x33bdc]
mov r8d, dword [rbx + 0x33bcc]
and r10d, dword [rbx + 0x33bd8]
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 + 0x33be0]
shl r10d, cl
add r9d, r10d
lea r9d, [r9 + r9*2]
shl r9d, 8
nop
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 + 0x324d4]
cmp r11d, 0x10000
jb 0x140004ec0
mov rax, qword [rbp - 0x19]
lea rdx, [0x140000000]
mov r9d, dword [rbp - 0x21]
mov r14d, dword [rbp + 0x7f]
add r9d, r14d
mov ecx, dword [rax + rdx + 0xa318]
mov eax, dword [rbx + 0x33bdc]
mov r11d, dword [rdx + rcx*4 + 0xa2e8]
mov edx, dword [rbp - 0x31]
mov esi, r11d
shl rcx, 4
add rcx, rdx
shl rsi, 4
lea r10d, [rdx + 1]
and r10, rax
movzx ecx, word [rbx + rcx*2 + 0x33be8]
add rsi, r10
shr rcx, 4
movzx eax, word [rbx + rsi*2 + 0x33be8]
mov r8d, dword [rbx + rcx*4 + 0x324d4]
xor rax, 0x7f0
shr rax, 4
add r8d, dword [rbx + rax*4 + 0x324d4]
movzx eax, word [rbx + r11*2 + 0x33d68]
xor rax, 0x7f0
shr rax, 4
add r8d, dword [rbx + rax*4 + 0x324d4]
add r8d, r15d
mov r15d, dword [rsp + 0x20]
add r8d, dword [rbp - 0x59]
cmp r15d, r9d
jae 0x140004fe1
lea rcx, [r15 + r15*2]
mov dword [rsp + 0x20], r9d
shl rcx, 4
lea rdx, [rbx + 0x4d4]
add rdx, rcx
mov ecx, r9d
sub ecx, r15d
nop
mov dword [rdx + 0x30], 0x40000000
lea rdx, [rdx + 0x30]
sub rcx, 1
jne 0x140004fd0
mov r15, qword [rbp - 0x51]
lea ecx, [rdi - 2]
imul rax, r10, 0x110
mov r10d, dword [rbp + 0x67]
add rcx, rax
movzx eax, word [rbx + rsi*2 + 0x33dc8]
mov esi, dword [rbp - 0x79]
xor rax, 0x7f0
shr rax, 4
mov edx, dword [rbx + rcx*4 + 0x38e98]
lea rcx, [r9 + r9*2]
add rcx, rcx
add edx, dword [rbx + rax*4 + 0x324d4]
movzx eax, word [rbx + r11*2 + 0x33d80]
shr rax, 4
add edx, dword [rbx + rax*4 + 0x324d4]
add edx, r8d
cmp edx, dword [rbx + rcx*8 + 0x4d4]
jae 0x140005087
mov eax, dword [rbp - 0x35]
inc eax
mov dword [rbx + rcx*8 + 0x4d4], edx
mov dword [rbx + rcx*8 + 0x4ec], eax
lea eax, [r13 + 4]
mov dword [rbx + rcx*8 + 0x4e8], eax
mov dword [rbx + rcx*8 + 0x4f0], 0
mov dword [rbx + rcx*8 + 0x4dc], 1
mov dword [rbx + rcx*8 + 0x4e0], 1
mov dword [rbx + rcx*8 + 0x4e4], r14d
add r12d, 2
cmp r12d, dword [rbp - 0x29]
je 0x1400050f0
mov edi, dword [rsp + 0x28]
lea eax, [r12 + 1]
mov r13d, dword [rbx + rax*4 + 0x326d4]
cmp r13d, 0x80
jb 0x1400050e0
mov rdx, qword [rbp - 0x49]
mov ecx, 0x7ffff
sub ecx, r13d
mov eax, r13d
shr ecx, 0x1f
neg ecx
and ecx, 0xc
add ecx, 6
shr rax, cl
inc r10d
movzx eax, byte [rax + rbx + 0x304d4]
lea r11d, [rax + rcx*2]
mov dword [rbp - 0x7d], r11d
jmp 0x140004d58
mov r11d, dword [rbp - 0x7d]
mov rdx, qword [rbp - 0x49]
inc r10d
jmp 0x140004d58
mov esi, dword [rbp - 0x5d]
lea r12, [rbx + 0x326d4]
lea r13, [0x140000000]
mov dword [rbp + 0x7f], esi
cmp esi, dword [rsp + 0x20]
jne 0x1400041a0
mov rdx, qword [rbp + 0x77]
mov r8d, esi
mov rcx, rbx
call fcn.140003210
jmp 0x14000514c
mov rdx, qword [rbp + 0x77]
mov r8d, esi
mov rcx, rbx
mov dword [rbx + 0x4cc], r14d
mov dword [rbx + 0x4c8], edi
call fcn.140003210
jmp 0x14000514c
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