Function at 0x455f34
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc8
mov r12, rcx
mov ecx, dword [rcx + 0x4c4]
mov rsi, r8
cmp dword [r12 + 0x4c0], ecx
je 0x455f97
lea rdx, [rcx + rcx*2]
add rdx, rdx
mov eax, dword [r12 + rdx*8 + 0x4ec]
sub eax, ecx
mov ecx, dword [r12 + rdx*8 + 0x4f0]
mov dword [r8], ecx
mov ecx, dword [r12 + rdx*8 + 0x4ec]
mov dword [r12 + 0x4c4], ecx
jmp 0x4574da
mov rcx, qword [r12 + 0x30]
xor r13d, r13d
mov dword [r12 + 0x4c0], r13d
mov dword [r12 + 0x4c4], r13d
call qword [r12 + 0x10]
cmp dword [r12 + 0x4c8], r13d
mov edi, eax
jne 0x455fdc
lea rdx, [rsp + 0x110]
mov rcx, r12
call fcn.00455cc0
mov r15d, dword [rsp + 0x110]
mov ebx, eax
jmp 0x455ff4
mov ebx, dword [r12 + 0x4cc]
mov r15d, dword [r12 + 0x4d0]
mov dword [r12 + 0x4c8], r13d
mov rcx, qword [r12 + 0x30]
mov dword [rsp + 0x110], r15d
call qword [r12 + 0x18]
cmp edi, 2
lea r11, [rax - 1]
jae 0x45601f
mov dword [rsi], 0xffffffff
mov eax, 1
jmp 0x4574da
mov sil, byte [r11]
mov eax, 0x111
mov ebp, r13d
cmp edi, eax
mov r10d, r13d
mov r8, r13
mov r14, r13
cmova edi, eax
lea r13, [r12 + 0x32f70]
mov eax, dword [r13]
mov rdx, r11
lea ecx, [rax + 1]
mov dword [rsp + r8 + 0x68], eax
sub rdx, rcx
cmp sil, byte [rdx]
jne 0x45609c
mov al, byte [rdx + 1]
cmp byte [r11 + 1], al
jne 0x45609c
mov ecx, 2
cmp edi, ecx
jbe 0x456082
lea r9, [r11 + 2]
sub rdx, r11
mov al, byte [rdx + r9]
cmp byte [r9], al
jne 0x456082
inc ecx
inc r9
cmp ecx, edi
jb 0x456070
mov dword [rsp + r8 + 0x98], ecx
cmp ecx, dword [rsp + r14 + 0x98]
jbe 0x4560a8
mov ebp, r10d
mov r14, r8
jmp 0x4560a8
mov dword [rsp + r8 + 0x98], 0
inc r10d
add r8, 4
add r13, 4
cmp r10d, 4
jb 0x456040
mov eax, ebp
mov r13d, dword [rsp + rax*4 + 0x98]
mov eax, dword [r12 + 0x32f68]
cmp r13d, eax
jb 0x4560fc
mov rdx, qword [rsp + 0x120]
mov dword [rdx], ebp
lea edx, [r13 - 1]
test edx, edx
je 0x4560f4
mov rcx, qword [r12 + 0x30]
add dword [r12 + 0x32f6c], edx
call qword [r12 + 0x28]
mov eax, r13d
jmp 0x4574da
cmp ebx, eax
jb 0x456139
mov rdx, qword [rsp + 0x120]
lea eax, [r15 - 1]
mov eax, dword [r12 + rax*4 + 0x326d4]
add eax, 4
mov dword [rdx], eax
lea edx, [rbx - 1]
test edx, edx
je 0x456132
mov rcx, qword [r12 + 0x30]
add dword [r12 + 0x32f6c], edx
call qword [r12 + 0x28]
mov eax, ebx
jmp 0x4574da
mov ecx, dword [rsp + 0x68]
mov rax, r11
inc ecx
sub rax, rcx
cmp ebx, 2
mov bpl, byte [rax]
jae 0x45616b
cmp sil, bpl
je 0x45616b
cmp r13d, 2
jae 0x45616b
mov rdx, qword [rsp + 0x120]
mov dword [rdx], 0xffffffff
jmp 0x456015
mov edi, dword [r12 + 0x32f80]
mov edx, dword [r12 + 0x33bcc]
mov r9d, dword [rsp + 0x118]
mov eax, dword [r12 + 0x33bd8]
mov ecx, 8
mov dword [r12 + 0x4d8], edi
movzx r8d, byte [r11 - 1]
sub cl, dl
and eax, r9d
shr r8d, cl
mov ecx, edx
mov r14d, r9d
and r14d, dword [r12 + 0x33bdc]
shl eax, cl
add r8d, eax
mov rax, qword [r12 + 0x33be0]
lea ecx, [r8 + r8*2]
shl ecx, 8
cmp edi, 7
lea r10, [rax + rcx*2]
jb 0x4561ec
lea r9, [r12 + 0x324d4]
movzx r8d, bpl
movzx edx, sil
mov rcx, r10
call fcn.004558ec
mov r11d, eax
jmp 0x456232
movzx r8d, sil
xor r11d, r11d
bts r8d, 8
mov ecx, r8d
mov eax, r8d
add r8d, r8d
shr ecx, 7
shr rax, 8
movzx edx, word [r10 + rax*2]
and ecx, 1
neg rcx
shr rdx, 4
sar rcx, 4
and ecx, 0x7f
xor rdx, rcx
add r11d, dword [r12 + rdx*4 + 0x324d4]
cmp r8d, 0x10000
jb 0x4561f8
mov rdx, rdi
mov r9d, r14d
mov r10d, 0xffffffff
shl rdx, 4
add rdx, r9
movzx eax, word [r12 + rdx*2 + 0x33be8]
shr rax, 4
mov eax, dword [r12 + rax*4 + 0x324d4]
mov dword [r12 + 0x520], r10d
lea ecx, [r11 + rax]
xor r11d, r11d
mov dword [r12 + 0x504], ecx
mov dword [r12 + 0x50c], r11d
movzx eax, word [r12 + rdx*2 + 0x33be8]
mov edx, 0x7f0
xor rax, rdx
shr rax, 4
mov ecx, dword [r12 + rax*4 + 0x324d4]
movzx eax, word [r12 + rdi*2 + 0x33d68]
xor rax, rdx
mov dword [rsp + 0x24], ecx
shr rax, 4
cmp bpl, sil
mov eax, dword [r12 + rax*4 + 0x324d4]
lea r8d, [rcx + rax]
jne 0x456314
mov rax, rdi
shl rax, 4
add rax, r9
movzx ecx, word [r12 + rax*2 + 0x33dc8]
movzx eax, word [r12 + rdi*2 + 0x33d80]
shr rcx, 4
shr rax, 4
mov edx, dword [r12 + rcx*4 + 0x324d4]
add edx, dword [r12 + rax*4 + 0x324d4]
add edx, r8d
cmp edx, dword [r12 + 0x504]
jae 0x456314
mov dword [r12 + 0x504], edx
mov dword [r12 + 0x520], r11d
mov dword [r12 + 0x50c], r11d
cmp ebx, r13d
cmovae r13d, ebx
cmp r13d, 2
mov dword [rsp + 0x128], r13d
jae 0x456340
mov rdx, qword [rsp + 0x120]
mov eax, dword [r12 + 0x520]
mov dword [rdx], eax
jmp 0x456015
lea rcx, [rsp + 0x68]
mov dword [r12 + 0x51c], r11d
mov edx, r13d
mov rax, qword [rcx]
mov qword [r12 + 0x4f4], rax
mov rax, qword [rcx + 8]
mov qword [r12 + 0x4fc], rax
movsxd rax, r13d
lea rcx, [rax + rax*2]
add rcx, rcx
lea rax, [r12 + rcx*8 + 0x4d4]
add edx, r10d
mov dword [rax], 0x40000000
sub rax, 0x30
cmp edx, 2
jae 0x456379
mov esi, r11d
movsxd rbp, r14d
lea r15, [rsp + 0x98]
mov r13d, r8d
movsxd rdi, dword [r15]
cmp edi, 2
jb 0x456417
mov r8d, dword [r12 + 0x32f80]
mov r9d, r14d
mov edx, esi
mov rcx, r12
call fcn.00455d64
mov rcx, rbp
mov r10d, 0xffffffff
lea r11d, [r13 + rax]
imul rcx, rcx, 0x110
add rcx, rdi
lea r8, [r12 + rcx*4 + 0x38e90]
lea rcx, [rdi + rdi*2]
add rcx, rcx
lea rdx, [r12 + rcx*8 + 0x4f0]
mov eax, dword [r8]
lea ecx, [r11 + rax]
cmp ecx, dword [rdx - 0x1c]
jae 0x456407
mov dword [rdx - 0x1c], ecx
mov dword [rdx - 4], 0
mov dword [rdx], esi
mov dword [rdx - 0x14], 0
add edi, r10d
sub r8, 4
sub rdx, 0x30
cmp edi, 2
jae 0x4563e8
inc esi
add r15, 4
cmp esi, 4
jb 0x45639c
mov eax, dword [r12 + 0x32f80]
mov edx, dword [rsp + 0x24]
mov r13d, dword [rsp + 0x128]
movzx ecx, word [r12 + rax*2 + 0x33d68]
mov r9d, 2
shr rcx, 4
add edx, dword [r12 + rcx*4 + 0x324d4]
mov ecx, dword [rsp + 0x98]
cmp ecx, r9d
lea eax, [rcx + 1]
mov dword [rsp + 0x20], edx
cmovae r9d, eax
cmp r9d, ebx
ja 0x456599
xor ebx, ebx
cmp r9d, dword [r12 + 0x326d4]
jbe 0x456493
lea rax, [r12 + 0x326d4]
add rax, 8
add ebx, 2
cmp r9d, dword [rax]
ja 0x456487
mov r13d, dword [rsp + 0x110]
imul rbp, rbp, 0x110
movsxd rax, ebx
movsxd rcx, r9d
lea r14, [r12 + rax*4 + 0x326d4]
lea r15d, [r9 - 2]
add rbp, rcx
lea rax, [rcx + rcx*2]
add rax, rax
lea rbp, [r12 + rbp*4 + 0x34648]
lea r10, [r12 + rax*8 + 0x4f0]
mov edi, dword [r14 + 4]
mov eax, dword [rbp]
cmp r9d, 5
mov esi, 3
lea r11d, [rdx + rax]
cmovb esi, r15d
cmp edi, 0x80
jae 0x456501
mov ecx, esi
shl rcx, 7
add rcx, rdi
add r11d, dword [r12 + rcx*4 + 0x33384]
jmp 0x45654d
mov ecx, 0x7ffff
mov rax, rdi
sub ecx, edi
shr ecx, 0x1f
neg ecx
and ecx, 0xc
add ecx, 6
shr rax, cl
movzx eax, byte [rax + r12 + 0x304d4]
lea ecx, [rax + rcx*2]
mov eax, esi
shl rax, 6
mov edx, ecx
mov cl, dil
add rdx, rax
and ecx, 0xf
mov eax, dword [r12 + rdx*4 + 0x32f84]
mov edx, dword [rsp + 0x20]
add eax, dword [r12 + rcx*4 + 0x33b84]
add r11d, eax
cmp r11d, dword [r10 - 0x1c]
jae 0x45656d
lea eax, [rdi + 4]
mov dword [r10 - 0x1c], r11d
mov dword [r10 - 4], 0
mov dword [r10], eax
mov dword [r10 - 0x14], 0
cmp r9d, dword [r14]
jne 0x45657e
add ebx, 2
add r14, 8
cmp ebx, r13d
je 0x456591
inc r9d
inc r15d
add rbp, 4
add r10, 0x30
jmp 0x4564ce
mov r13d, dword [rsp + 0x128]
mov ebx, 1
cmp r13d, ebx
mov r15d, ebx
mov qword [rsp + 0x38], rbx
je 0x4574c7
lea rdi, [0x00400000]
mov rcx, qword [r12 + 0x30]
call qword [r12 + 0x10]
lea rdx, [rsp + 0x44]
mov rcx, r12
mov dword [rsp + 0x40], eax
call fcn.00455cc0
cmp eax, dword [r12 + 0x32f68]
mov ecx, eax
mov dword [rsp + 0x64], eax
jae 0x4574a7
inc dword [rsp + 0x118]
lea rbx, [rbx + rbx*2]
xor r14d, r14d
shl rbx, 4
mov r8d, dword [rbx + r12 + 0x4dc]
mov edx, dword [rbx + r12 + 0x4ec]
cmp r8d, r14d
je 0x456667
add edx, 0xffffffff
cmp dword [rbx + r12 + 0x4e0], r14d
je 0x45664d
mov eax, dword [rbx + r12 + 0x4e4]
lea rcx, [rax + rax*2]
add rcx, rcx
cmp dword [rbx + r12 + 0x4e8], 4
mov eax, dword [r12 + rcx*8 + 0x4d8]
jae 0x456644
mov ecx, dword [rdi + rax*4 + 0x290a30]
jmp 0x45665c
mov ecx, dword [rdi + rax*4 + 0x290a00]
jmp 0x45665c
lea rcx, [rdx + rdx*2]
add rcx, rcx
mov ecx, dword [r12 + rcx*8 + 0x4d8]
mov eax, ecx
mov ecx, dword [rdi + rax*4 + 0x2909d0]
jmp 0x456676
lea rcx, [rdx + rdx*2]
add rcx, rcx
mov ecx, dword [r12 + rcx*8 + 0x4d8]
lea eax, [r15 - 1]
cmp edx, eax
jne 0x4566a6
cmp dword [rbx + r12 + 0x4f0], r14d
mov eax, ecx
jne 0x45669d
mov esi, dword [rdi + rax*4 + 0x290a60]
mov dword [rsp + 0x128], esi
jmp 0x456769
mov esi, dword [rdi + rax*4 + 0x2909d0]
jmp 0x456691
cmp r8d, r14d
je 0x4566c9
cmp dword [rbx + r12 + 0x4e0], r14d
je 0x4566c9
mov edx, dword [rbx + r12 + 0x4e4]
mov r8d, dword [rbx + r12 + 0x4e8]
mov eax, ecx
jmp 0x4566d9
mov r8d, dword [rbx + r12 + 0x4f0]
mov eax, ecx
cmp r8d, 4
jae 0x4566e2
mov esi, dword [rdi + rax*4 + 0x290a30]
jmp 0x4566e9
mov esi, dword [rdi + rax*4 + 0x290a00]
mov eax, edx
mov dword [rsp + 0x128], esi
lea rcx, [rax + rax*2]
add rcx, rcx
cmp r8d, 4
lea rdi, [r12 + rcx*8 + 0x4d4]
jae 0x456885
mov esi, r8d
mov eax, dword [rdi + rsi*4 + 0x20]
mov dword [rsp + 0x68], eax
mov eax, 1
cmp r8d, eax
mov r9d, eax
jb 0x456746
mov r8, rsi
lea rdx, [rdi + 0x20]
lea rcx, [rsp + 0x6c]
shl r8, 2
call fcn.00553680
lea r9d, [rsi + 1]
lea rax, [rsi + 1]
cmp r9d, 4
jae 0x456762
mov r8d, 4
lea rcx, [rsp + rax*4 + 0x68]
lea rdx, [rdi + rax*4 + 0x20]
sub r8d, r9d
shl r8, 2
call fcn.00553680
mov esi, dword [rsp + 0x128]
mov eax, dword [rsp + 0x6c]
mov ebp, dword [rbx + r12 + 0x4d4]
mov edi, dword [rsp + 0x68]
mov dword [rbx + r12 + 0x4f8], eax
mov eax, dword [rsp + 0x70]
mov dword [rbx + r12 + 0x4d8], esi
mov dword [rbx + r12 + 0x4fc], eax
mov eax, dword [rsp + 0x74]
mov dword [rbx + r12 + 0x4f4], edi
mov dword [rbx + r12 + 0x500], eax
mov rcx, qword [r12 + 0x30]
mov dword [rsp + 0x20], ebp
call qword [r12 + 0x18]
mov r10d, dword [rsp + 0x118]
mov ecx, esi
lea r8, [rax - 1]
mov qword [rsp + 0x80], rcx
add rcx, rcx
mov bl, byte [r8]
mov eax, r10d
lea edx, [rdi + 1]
and eax, dword [r12 + 0x33bdc]
mov rdi, r8
mov qword [rsp + 0x30], r8
movzx r8d, byte [r8 - 1]
lea rsi, [rax + rcx*8]
mov dword [rsp + 0x48], eax
movzx eax, word [r12 + rsi*2 + 0x33be8]
sub rdi, rdx
mov edx, dword [r12 + 0x33bcc]
mov r9b, byte [rdi]
shr rax, 4
mov ecx, 8
mov eax, dword [r12 + rax*4 + 0x324d4]
sub cl, dl
mov byte [rsp + 0x110], r9b
add ebp, eax
mov eax, dword [r12 + 0x33bd8]
shr r8d, cl
and eax, r10d
mov ecx, edx
shl eax, cl
add r8d, eax
mov rax, qword [r12 + 0x33be0]
lea ecx, [r8 + r8*2]
shl ecx, 8
cmp dword [rsp + 0x128], 7
lea r10, [rax + rcx*2]
jb 0x4568a7
movzx r8d, byte [rsp + 0x110]
lea r9, [r12 + 0x324d4]
movzx edx, bl
mov rcx, r10
call fcn.004558ec
mov r9b, byte [rsp + 0x110]
mov r11d, eax
jmp 0x4568ed
lea eax, [r8 - 4]
mov dword [rsp + 0x68], eax
mov eax, dword [rdi + 0x20]
mov dword [rsp + 0x6c], eax
mov eax, dword [rdi + 0x24]
mov dword [rsp + 0x70], eax
mov eax, dword [rdi + 0x28]
mov dword [rsp + 0x74], eax
jmp 0x456769
movzx r8d, bl
xor r11d, r11d
bts r8d, 8
mov ecx, r8d
mov eax, r8d
add r8d, r8d
shr ecx, 7
shr rax, 8
movzx edx, word [r10 + rax*2]
and ecx, 1
neg rcx
shr rdx, 4
sar rcx, 4
and ecx, 0x7f
xor rdx, rcx
add r11d, dword [r12 + rdx*4 + 0x324d4]
cmp r8d, 0x10000
jb 0x4568b3
mov rax, qword [rsp + 0x38]
add ebp, r11d
inc rax
mov qword [rsp + 0x98], rax
lea rdx, [rax + rax*2]
add rdx, rdx
cmp ebp, dword [r12 + rdx*8 + 0x4d4]
jae 0x45693b
mov dword [r12 + rdx*8 + 0x4dc], r14d
mov dword [r12 + rdx*8 + 0x4d4], ebp
mov dword [r12 + rdx*8 + 0x4ec], r15d
mov r14d, 1
mov dword [r12 + rdx*8 + 0x4f0], 0xffffffff
movzx eax, word [r12 + rsi*2 + 0x33be8]
mov ecx, dword [rsp + 0x20]
mov r11, qword [rsp + 0x80]
mov r8d, 0x7f0
xor rax, r8
shr rax, 4
mov eax, dword [r12 + rax*4 + 0x324d4]
add ecx, eax
movzx eax, word [r12 + r11*2 + 0x33d68]
xor rax, r8
mov dword [rsp + 0x5c], ecx
shr rax, 4
cmp r9b, bl
mov eax, dword [r12 + rax*4 + 0x324d4]
lea r10d, [rcx + rax]
mov dword [rsp + 0x58], r10d
jne 0x456a0b
cmp dword [r12 + rdx*8 + 0x4ec], r15d
jae 0x4569a6
cmp dword [r12 + rdx*8 + 0x4f0], 0
je 0x456a0b
movzx ecx, word [r12 + rsi*2 + 0x33dc8]
movzx eax, word [r12 + r11*2 + 0x33d80]
shr rcx, 4
shr rax, 4
mov r8d, dword [r12 + rcx*4 + 0x324d4]
add r8d, dword [r12 + rax*4 + 0x324d4]
add r8d, r10d
cmp r8d, dword [r12 + rdx*8 + 0x4d4]
ja 0x456a0b
mov dword [r12 + rdx*8 + 0x4d4], r8d
mov dword [r12 + rdx*8 + 0x4ec], r15d
mov dword [r12 + rdx*8 + 0x4f0], 0
mov dword [r12 + rdx*8 + 0x4dc], 0
mov r14d, 1
mov edx, dword [rsp + 0x40]
mov eax, 0xfff
sub eax, r15d
cmp eax, edx
cmovb edx, eax
cmp edx, 2
mov dword [rsp + 0x40], edx
jb 0x457485
mov ecx, dword [r12 + 0x32f68]
mov esi, edx
cmp edx, ecx
cmova esi, ecx
test r14d, r14d
mov dword [rsp + 0x24], esi
jne 0x456ba5
cmp r9b, bl
je 0x456ba5
inc ecx
lea ebx, [r14 + 1]
cmp ecx, edx
mov r8d, ebx
mov r10, rbx
cmova ecx, edx
cmp ecx, ebx
jbe 0x456a85
mov r9, qword [rsp + 0x30]
lea rdx, [rdi + 1]
sub r9, rdi
mov al, byte [rdx]
cmp byte [r9 + rdx], al
jne 0x456a85
add r8d, ebx
add r10, rbx
add rdx, rbx
cmp r8d, ecx
jb 0x456a6f
dec r8d
lea r14, [r10 - 1]
cmp r8d, 2
jb 0x456ba5
mov r9d, dword [rsp + 0x118]
lea rax, [0x00400000]
mov r10d, dword [rax + r11*4 + 0x2909d0]
inc r9d
mov r11d, 0x7f0
and r9d, dword [r12 + 0x33bdc]
mov rax, r10
shl rax, 4
mov ebx, r9d
add rax, rbx
movzx ecx, word [r12 + rax*2 + 0x33be8]
movzx eax, word [r12 + r10*2 + 0x33d68]
xor rax, r11
xor rcx, r11
shr rax, 4
shr rcx, 4
mov edi, dword [r12 + rcx*4 + 0x324d4]
lea ecx, [r8 + r15 + 1]
add edi, dword [r12 + rax*4 + 0x324d4]
mov rax, qword [rsp + 0x38]
add edi, ebp
cmp r13d, ecx
lea rbp, [rax + r14 + 1]
movsxd rax, r13d
jae 0x456b3a
lea rax, [rax + rax*2]
sub ecx, r13d
add rax, rax
add r13d, ecx
lea rdx, [r12 + rax*8 + 0x4d4]
mov eax, ecx
add rdx, 0x30
dec rax
mov dword [rdx], 0x40000000
jne 0x456b2b
mov r8d, r10d
xor edx, edx
mov rcx, r12
call fcn.00455d64
lea rcx, [rbp + rbp*2]
imul rbx, rbx, 0x110
add rbx, r14
add rcx, rcx
add eax, dword [r12 + rbx*4 + 0x38e90]
add eax, edi
cmp eax, dword [r12 + rcx*8 + 0x4d4]
jae 0x456ba5
mov dword [r12 + rcx*8 + 0x4d4], eax
lea eax, [r15 + 1]
mov dword [r12 + rcx*8 + 0x4f0], 0
mov dword [r12 + rcx*8 + 0x4dc], 1
mov dword [r12 + rcx*8 + 0x4e0], 0
mov dword [r12 + rcx*8 + 0x4ec], eax
movsxd r11, dword [rsp + 0x48]
movsxd r10, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
xor edi, edi
movsxd r8, r13d
mov qword [rsp + 0x88], r11
mov qword [rsp + 0xb0], r10
mov dword [rsp + 0x20], 2
mov dword [rsp + 0x110], edi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0xa8], rax
mov ecx, dword [rax]
mov r14, rdx
inc ecx
sub r14, rcx
mov al, byte [r14]
cmp byte [rdx], al
jne 0x456f85
mov al, byte [r14 + 1]
cmp byte [rdx + 1], al
jne 0x456f85
mov ebx, 2
cmp esi, ebx
mov r9, rbx
mov qword [rsp + 0x50], rbx
jbe 0x456c3f
lea rcx, [r14 + 2]
sub rdx, r14
mov al, byte [rcx]
cmp byte [rdx + rcx], al
jne 0x456c3a
inc ebx
inc r9
inc rcx
cmp ebx, esi
jb 0x456c27
mov qword [rsp + 0x50], r9
lea ecx, [rbx + r15]
cmp r13d, ecx
jae 0x456c76
sub ecx, r13d
lea rax, [r8 + r8*2]
add rax, rax
add r13d, ecx
lea rdx, [r12 + rax*8 + 0x4d4]
mov eax, ecx
add r8, rax
mov qword [rsp + 0x28], r8
add rdx, 0x30
dec rax
mov dword [rdx], 0x40000000
jne 0x456c67
mov r9d, r11d
mov r8d, r10d
mov edx, edi
mov rcx, r12
mov ebp, ebx
mov dword [rsp + 0x78], ebx
call fcn.00455d64
mov r10, qword [rsp + 0x50]
mov r11d, 0xffffffff
mov r9d, eax
mov rax, qword [rsp + 0x88]
add r9d, dword [rsp + 0x58]
mov dword [rsp + 0x60], r9d
imul rax, rax, 0x110
lea rcx, [rax + r10]
mov qword [rsp + 0x90], rax
lea r8, [r12 + rcx*4 + 0x38e90]
mov rcx, qword [rsp + 0x38]
add rcx, r10
lea rdx, [rcx + rcx*2]
add rdx, rdx
lea rcx, [r12 + rdx*8 + 0x4f0]
mov eax, dword [r8]
lea edx, [r9 + rax]
cmp edx, dword [rcx - 0x1c]
jae 0x456cfa
mov dword [rcx - 0x1c], edx
mov dword [rcx - 4], r15d
mov dword [rcx], edi
mov dword [rcx - 0x14], 0
add ebx, r11d
sub r8, 4
sub rcx, 0x30
cmp ebx, 2
jae 0x456cde
test edi, edi
jne 0x456d15
lea eax, [rbp + 1]
mov dword [rsp + 0x20], eax
mov eax, dword [r12 + 0x32f68]
inc ebp
lea ecx, [rbp + rax]
mov eax, dword [rsp + 0x40]
cmp ecx, eax
cmova ecx, eax
cmp ebp, ecx
jae 0x456d4e
mov r8, qword [rsp + 0x30]
lea rdx, [r10 + r14 + 1]
sub r8, r14
mov al, byte [rdx]
cmp byte [r8 + rdx], al
jne 0x456d4e
inc ebp
inc rdx
cmp ebp, ecx
jb 0x456d3d
mov ecx, dword [rsp + 0x78]
mov eax, r11d
sub eax, ecx
add ebp, eax
cmp ebp, 2
jb 0x456f6e
movzx r8d, byte [r10 + r14]
mov r11d, dword [r12 + 0x33bcc]
mov eax, dword [rsp + 0x118]
mov esi, dword [r12 + 0x33bdc]
lea ebx, [rcx + rax]
mov rax, qword [rsp + 0xb0]
lea rcx, [0x00400000]
lea r9, [r12 + 0x324d4]
mov edi, dword [rcx + rax*4 + 0x290a30]
mov rax, qword [rsp + 0x30]
mov ecx, 8
movzx edx, byte [r10 + rax]
movzx r10d, byte [r10 + rax - 1]
sub cl, r11b
shr r10d, cl
mov ecx, r11d
mov eax, ebx
and eax, dword [r12 + 0x33bd8]
shl eax, cl
add r10d, eax
mov rax, qword [r12 + 0x33be0]
lea ecx, [r10 + r10*2]
shl ecx, 8
lea rcx, [rax + rcx*2]
call fcn.004558ec
mov r9, qword [rsp + 0x50]
mov edx, ebx
mov ebx, dword [rsp + 0x78]
mov r11d, eax
and rdx, rsi
lea rax, [0x00400000]
mov rcx, rdi
mov r10d, 0x7f0
mov r8d, dword [rax + rdi*4 + 0x2909d0]
mov eax, dword [rsp + 0x118]
shl rcx, 4
add rdx, rcx
movzx ecx, word [r12 + rdx*2 + 0x33be8]
shr rcx, 4
add r11d, dword [r12 + rcx*4 + 0x324d4]
mov rcx, qword [rsp + 0x90]
add rcx, r9
lea r9d, [rbx + rax + 1]
mov rax, r8
add r11d, dword [r12 + rcx*4 + 0x38e90]
shl rax, 4
and r9d, esi
add r11d, dword [rsp + 0x60]
mov edi, r9d
add rax, rdi
movzx ecx, word [r12 + rax*2 + 0x33be8]
movzx eax, word [r12 + r8*2 + 0x33d68]
xor rax, r10
xor rcx, r10
shr rax, 4
shr rcx, 4
mov r14d, dword [r12 + rcx*4 + 0x324d4]
add r14d, dword [r12 + rax*4 + 0x324d4]
lea eax, [rbp + rbx]
lea esi, [rax + r15 + 1]
add r14d, r11d
cmp r13d, esi
jae 0x456ed3
mov r10, qword [rsp + 0x28]
lea rax, [r10 + r10*2]
add rax, rax
lea rdx, [r12 + rax*8 + 0x4d4]
mov eax, esi
sub eax, r13d
mov ecx, eax
add r13d, eax
add r10, rcx
mov qword [rsp + 0x28], r10
add rdx, 0x30
dec rcx
mov dword [rdx], 0x40000000
jne 0x456ec4
xor edx, edx
mov rcx, r12
call fcn.00455d64
mov r8, qword [rsp + 0x28]
mov r10d, dword [rsp + 0x128]
imul rdi, rdi, 0x110
mov r11d, dword [rsp + 0x48]
lea edx, [rbp - 2]
add rdx, rdi
mov edi, dword [rsp + 0x110]
add eax, dword [r12 + rdx*4 + 0x38e98]
lea rdx, [rsi + rsi*2]
mov esi, dword [rsp + 0x24]
add rdx, rdx
add eax, r14d
cmp eax, dword [r12 + rdx*8 + 0x4d4]
jae 0x456f80
mov dword [r12 + rdx*8 + 0x4d4], eax
lea eax, [rbx + r15 + 1]
mov dword [r12 + rdx*8 + 0x4f0], 0
mov dword [r12 + rdx*8 + 0x4dc], 1
mov dword [r12 + rdx*8 + 0x4e0], 1
mov dword [r12 + rdx*8 + 0x4e4], r15d
mov dword [r12 + rdx*8 + 0x4ec], eax
mov dword [r12 + rdx*8 + 0x4e8], edi
jmp 0x456f80
mov r8, qword [rsp + 0x28]
mov r10d, dword [rsp + 0x128]
mov r11d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0xa8]
inc edi
add rax, 4
cmp edi, 4
mov dword [rsp + 0x110], edi
mov qword [rsp + 0xa8], rax
jb 0x456bed
mov edx, dword [rsp + 0x64]
lea rdi, [r12 + 0x326d4]
cmp edx, esi
jbe 0x456fd5
xor ecx, ecx
cmp esi, dword [rdi]
mov edx, esi
jbe 0x456fcb
add ecx, 2
cmp esi, dword [rdi + rcx*4]
ja 0x456fc3
mov dword [rdi + rcx*4], esi
add ecx, 2
mov dword [rsp + 0x44], ecx
movsxd r9, dword [rsp + 0x20]
cmp edx, r9d
jb 0x457485
mov rax, qword [rsp + 0x80]
mov r8d, dword [rsp + 0x5c]
lea ecx, [rdx + r15]
movzx eax, word [r12 + rax*2 + 0x33d68]
shr rax, 4
mov eax, dword [r12 + rax*4 + 0x324d4]
add r8d, eax
cmp r13d, ecx
movsxd rax, r13d
mov dword [rsp + 0x58], r8d
jae 0x45703f
lea rax, [rax + rax*2]
sub ecx, r13d
add rax, rax
add r13d, ecx
lea rdx, [r12 + rax*8 + 0x4d4]
mov eax, ecx
add rdx, 0x30
dec rax
mov dword [rdx], 0x40000000
jne 0x457030
xor ebx, ebx
xor edx, edx
cmp r9d, dword [rdi]
mov dword [rsp + 0x110], ebx
jbe 0x457063
add rdx, 2
add ebx, 2
cmp r9d, dword [rdi + rdx*4]
ja 0x45704f
mov dword [rsp + 0x110], ebx
mov r14d, dword [rdi + rdx*4 + 4]
mov rbp, qword [rsp + 0x88]
mov ecx, 0x7ffff
sub ecx, r14d
mov rax, r14
lea rdx, [rdi + rdx*4]
imul rbp, rbp, 0x110
shr ecx, 0x1f
add rbp, r9
mov r11, r9
neg ecx
mov qword [rsp + 0x28], r9
lea r10d, [r9 + 1]
and ecx, 0xc
mov qword [rsp + 0x50], rdx
lea rbp, [r12 + rbp*4 + 0x34648]
add ecx, 6
shr rax, cl
movzx eax, byte [rax + r12 + 0x304d4]
lea ebx, [rax + rcx*2]
movsxd rax, r13d
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x38]
mov dword [rsp + 0x24], ebx
add rax, r9
lea rcx, [rax + rax*2]
add rcx, rcx
lea r9, [r12 + rcx*8 + 0x4f0]
add r8d, dword [rbp]
lea esi, [r10 - 1]
lea eax, [r10 - 3]
cmp esi, 5
mov ecx, 3
mov qword [rsp + 0x38], r9
cmovb ecx, eax
cmp r14d, 0x80
mov qword [rsp + 0x78], rbp
mov dword [rsp + 0x128], r10d
mov dword [rsp + 0x64], esi
jae 0x45712c
shl rcx, 7
mov eax, r14d
add rcx, rax
add r8d, dword [r12 + rcx*4 + 0x33384]
jmp 0x457155
mov edx, ecx
mov eax, ebx
mov ecx, r14d
shl rdx, 6
and ecx, 0xf
add rdx, rax
mov eax, dword [r12 + rdx*4 + 0x32f84]
mov rdx, qword [rsp + 0x50]
add eax, dword [r12 + rcx*4 + 0x33b84]
add r8d, eax
cmp r8d, dword [r9 - 0x1c]
mov dword [rsp + 0x20], r8d
jae 0x457177
lea eax, [r14 + 4]
mov dword [r9 - 0x1c], r8d
mov dword [r9 - 4], r15d
mov dword [r9], eax
mov dword [r9 - 0x14], 0
cmp esi, dword [rdx]
jne 0x457468
mov eax, dword [r12 + 0x32f68]
mov rdi, qword [rsp + 0x30]
lea ecx, [r14 + 1]
lea edx, [r10 + rax]
mov eax, dword [rsp + 0x40]
mov r8, rdi
sub r8, rcx
cmp edx, eax
lea rbx, [r11 + 1]
cmova edx, eax
mov qword [rsp + 0x88], r8
mov ecx, r10d
cmp r10d, edx
jae 0x4571e1
sub rdi, qword [rsp + 0x88]
lea r8, [r11 + r8 + 1]
mov al, byte [r8]
cmp byte [rdi + r8], al
jne 0x4571d9
inc ecx
inc rbx
inc r8
cmp ecx, edx
jb 0x4571c4
mov r8, qword [rsp + 0x88]
mov eax, 0xffffffff
sub eax, esi
add ecx, eax
mov rax, 0xffffffffffffffff
sub rax, r11
mov dword [rsp + 0x5c], ecx
add rbx, rax
cmp ecx, 2
mov qword [rsp + 0x90], rbx
jb 0x457407
movzx r8d, byte [r11 + r8]
mov ecx, dword [rsp + 0x118]
mov rax, qword [rsp + 0xb0]
mov ebp, dword [r12 + 0x33bdc]
lea ebx, [r10 + rcx - 1]
mov r10d, dword [r12 + 0x33bcc]
lea rcx, [0x00400000]
lea r9, [r12 + 0x324d4]
mov esi, ebp
mov edi, dword [rcx + rax*4 + 0x290a00]
mov rax, qword [rsp + 0x30]
mov ecx, 8
movzx edx, byte [r11 + rax]
movzx r11d, byte [r11 + rax - 1]
mov eax, dword [r12 + 0x33bd8]
sub cl, r10b
and eax, ebx
and esi, ebx
shr r11d, cl
mov ecx, r10d
shl eax, cl
add r11d, eax
mov rax, qword [r12 + 0x33be0]
lea ecx, [r11 + r11*2]
shl ecx, 8
lea rcx, [rax + rcx*2]
call fcn.004558ec
mov ecx, esi
mov rdx, rdi
mov r11d, eax
lea rax, [0x00400000]
shl rdx, 4
mov r8d, dword [rax + rdi*4 + 0x2909d0]
mov edi, dword [rsp + 0x64]
add rdx, rcx
movzx ecx, word [r12 + rdx*2 + 0x33be8]
lea r9d, [rsi + 1]
mov r10d, 0x7f0
shr rcx, 4
and r9d, ebp
mov rax, r8
add r11d, dword [r12 + rcx*4 + 0x324d4]
shl rax, 4
mov ebx, r9d
add r11d, dword [rsp + 0x20]
add rax, rbx
movzx ecx, word [r12 + rax*2 + 0x33be8]
movzx eax, word [r12 + r8*2 + 0x33d68]
xor rcx, r10
xor rax, r10
shr rcx, 4
shr rax, 4
mov ecx, dword [r12 + rcx*4 + 0x324d4]
add ecx, dword [r12 + rax*4 + 0x324d4]
mov eax, dword [rsp + 0x5c]
add eax, r15d
add ecx, r11d
lea esi, [rax + rdi + 1]
mov dword [rsp + 0x60], ecx
cmp r13d, esi
jae 0x45736d
mov rbp, qword [rsp + 0x80]
lea rax, [rbp + rbp*2]
add rax, rax
lea rdx, [r12 + rax*8 + 0x4d4]
mov eax, esi
sub eax, r13d
mov ecx, eax
add r13d, eax
add rbp, rcx
mov qword [rsp + 0x80], rbp
add rdx, 0x30
dec rcx
mov dword [rdx], 0x40000000
jne 0x45735e
xor edx, edx
mov rcx, r12
call fcn.00455d64
mov r9, qword [rsp + 0x38]
mov r11, qword [rsp + 0x28]
imul rbx, rbx, 0x110
add rbx, qword [rsp + 0x90]
mov r10d, dword [rsp + 0x128]
mov rbp, qword [rsp + 0x78]
add eax, dword [r12 + rbx*4 + 0x38e90]
lea rdx, [rsi + rsi*2]
add eax, dword [rsp + 0x60]
add rdx, rdx
cmp eax, dword [r12 + rdx*8 + 0x4d4]
jae 0x457407
mov dword [r12 + rdx*8 + 0x4d4], eax
lea eax, [r15 + rdi + 1]
mov dword [r12 + rdx*8 + 0x4f0], 0
mov dword [r12 + rdx*8 + 0x4ec], eax
lea eax, [r14 + 4]
mov dword [r12 + rdx*8 + 0x4dc], 1
mov dword [r12 + rdx*8 + 0x4e0], 1
mov dword [r12 + rdx*8 + 0x4e4], r15d
mov dword [r12 + rdx*8 + 0x4e8], eax
mov ebx, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x50]
add ebx, 2
add rdx, 8
cmp ebx, dword [rsp + 0x44]
mov dword [rsp + 0x110], ebx
mov qword [rsp + 0x50], rdx
je 0x457485
mov r14d, dword [rdx + 4]
cmp r14d, 0x80
jb 0x457464
mov ecx, 0x7ffff
mov rax, r14
sub ecx, r14d
shr ecx, 0x1f
neg ecx
and ecx, 0xc
add ecx, 6
shr rax, cl
movzx eax, byte [rax + r12 + 0x304d4]
lea ebx, [rax + rcx*2]
mov dword [rsp + 0x24], ebx
jmp 0x457468
mov ebx, dword [rsp + 0x24]
mov r8d, dword [rsp + 0x58]
inc r11
inc r10d
add rbp, 4
add r9, 0x30
mov qword [rsp + 0x28], r11
jmp 0x4570e2
mov rbx, qword [rsp + 0x98]
inc r15d
lea rdi, [0x00400000]
cmp r15d, r13d
mov qword [rsp + 0x38], rbx
jne 0x4565b6
jmp 0x4574c7
mov eax, dword [rsp + 0x44]
mov dword [r12 + 0x4cc], ecx
mov dword [r12 + 0x4c8], 1
mov dword [r12 + 0x4d0], eax
mov rdx, qword [rsp + 0x120]
mov r8d, r15d
mov rcx, r12
call fcn.00455e28
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret