Function at 0x6ecd50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x302b4e44]
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x88c98]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x88c9c]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x48], eax
test byte [edi + 0xc], 7
mov dword [esp + 0x40], edx
je 0x6ece45
cmp dword [esi + 0x18], 2
je 0x6ee23b
mov ecx, 3
movd mm1, ecx
movq mm0, mm1
movq mm2, mm0
punpckldq mm2, mm0
movq mm0, mm2
movq qword [edx + 0x10], mm0
movq qword [edx + 0x18], mm0
movq qword [edx + 0x20], mm0
movq qword [edx + 0x28], mm0
movq qword [edx + 0x30], mm0
movq qword [edx + 0x38], mm0
movq mm0, mm1
punpckldq mm0, mm1
movq qword [edx + 0x60], mm0
movq qword [edx + 0x68], mm0
movq qword [edx + 0x70], mm0
movq qword [edx + 0x78], mm0
movq qword [edx + 0x80], mm0
movq qword [edx + 0x88], mm0
mov eax, dword [esi + 0x88c9c]
lea edi, [eax + 0x128]
add esi, 0x88988
mov ebx, ecx
mov edx, dword [esi]
mov ecx, dword [edx + 0xc]
mov eax, edi
mov edx, 3
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax - 4], ecx
mov dword [eax - 8], ecx
mov dword [eax - 0xec], ecx
mov dword [eax - 0xf0], ecx
mov dword [eax - 0xf4], ecx
mov dword [eax - 0xf8], ecx
add eax, 0x30
dec edx
jne 0x6ece03
add esi, 4
add edi, 0x10
dec ebx
jne 0x6ecdf7
mov ecx, dword [esp + 0x4c]
call fcn.0073efff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 0x18]
xor eax, eax
cmp ebx, 1
sete al
mov ebx, dword [esi + 0x20]
mov ecx, dword [esi + 0x7660]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov edi, dword [esi + 0xc4]
and eax, 0xf
mov dword [esp + 0x3c], eax
xor eax, eax
mov al, byte [esi + 0x11c]
and eax, 1
or eax, ebx
mov ebx, 2
sub ebx, eax
mov eax, dword [esp + 0x3c]
shl ebx, 1
test eax, eax
mov dword [esp + 0x24], ebx
je 0x6ed06a
mov eax, dword [ecx]
mov esi, eax
and esi, 0xffff
neg esi
sbb esi, esi
neg esi
shl esi, 1
mov dword [edx + 0x10], esi
mov esi, eax
and esi, 0xffff00
neg esi
sbb esi, esi
neg esi
shl esi, 1
mov dword [edx + 0x20], esi
mov esi, eax
and esi, 0xffff0000
neg esi
sbb esi, esi
neg esi
shl esi, 1
mov dword [edx + 0x30], esi
lea esi, [edi + edi]
or eax, dword [esi + ecx]
mov ebx, eax
neg bl
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x60], ebx
mov ebx, eax
and ebx, 0xff00
neg ebx
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x64], ebx
mov ebx, eax
and ebx, 0xff0000
neg ebx
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x68], ebx
and eax, 0xff000000
neg eax
sbb eax, eax
neg eax
shl eax, 1
mov dword [edx + 0x6c], eax
mov eax, dword [esi + ecx]
mov ebx, eax
and ebx, 0xffff
neg ebx
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x14], ebx
mov ebx, eax
and ebx, 0xffff00
neg ebx
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x24], ebx
mov ebx, eax
and ebx, 0xffff0000
neg ebx
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x34], ebx
or eax, dword [ecx + esi*2]
mov ebx, eax
neg bl
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x70], ebx
mov ebx, eax
and ebx, 0xff00
neg ebx
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x74], ebx
mov ebx, eax
and ebx, 0xff0000
neg ebx
sbb ebx, ebx
and eax, 0xff000000
neg ebx
shl ebx, 1
neg eax
sbb eax, eax
neg eax
shl eax, 1
mov dword [edx + 0x7c], eax
mov dword [edx + 0x78], ebx
mov eax, dword [ecx + esi*2]
mov esi, eax
and esi, 0xffff
neg esi
sbb esi, esi
neg esi
shl esi, 1
mov dword [edx + 0x18], esi
mov esi, eax
and esi, 0xffff00
neg esi
sbb esi, esi
neg esi
shl esi, 1
mov dword [edx + 0x28], esi
mov esi, eax
and esi, 0xffff0000
neg esi
sbb esi, esi
neg esi
shl esi, 1
mov dword [edx + 0x38], esi
lea esi, [edi + edi*2]
lea esi, [ecx + esi*2]
or eax, dword [esi]
mov ecx, eax
neg cl
sbb ecx, ecx
neg ecx
shl ecx, 1
mov dword [edx + 0x80], ecx
mov ecx, eax
and ecx, 0xff00
neg ecx
sbb ecx, ecx
neg ecx
shl ecx, 1
mov dword [edx + 0x84], ecx
mov ecx, eax
and ecx, 0xff0000
neg ecx
sbb ecx, ecx
neg ecx
shl ecx, 1
and eax, 0xff000000
neg eax
sbb eax, eax
mov dword [edx + 0x88], ecx
neg eax
shl eax, 1
mov dword [edx + 0x8c], eax
mov eax, dword [esi]
mov ecx, eax
and ecx, 0xffff
neg ecx
sbb ecx, ecx
neg ecx
shl ecx, 1
mov dword [edx + 0x1c], ecx
mov ecx, eax
mov ebx, dword [esp + 0x24]
mov esi, dword [ebp + 8]
and ecx, 0xffff00
neg ecx
sbb ecx, ecx
neg ecx
and eax, 0xffff0000
shl ecx, 1
neg eax
sbb eax, eax
neg eax
shl eax, 1
mov dword [edx + 0x2c], ecx
mov dword [edx + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
test al, 0x10
mov ecx, dword [esp + 0x20]
je 0x6ed246
lea eax, [edi*4]
mov edi, dword [esi + 0x7670]
mov dword [esp + 0x10], edi
mov edi, dword [esi + 0x7674]
mov esi, 1
test esi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
jl 0x6ed1ff
mov ecx, dword [esp + 0x10]
mov cl, byte [ecx]
mov byte [esp + 0xf], cl
mov ecx, dword [esp + 0x10]
add ecx, eax
lea eax, [edi + eax*4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
jmp 0x6ed0d0
mov ecx, dword [esp + 0x28]
mov al, byte [esp + 0xf]
cmp al, byte [ecx]
jne 0x6ed1c1
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6ed116
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x10]
sete cl
imul ecx, ecx, 0x360
add ecx, eax
mov al, byte [eax + 0x360]
cmp al, byte [ecx + ebx]
mov ebx, dword [esp + 0x24]
jne 0x6ed1c1
mov al, byte [esp + 0xf]
test al, al
jl 0x6ed15b
mov eax, dword [esp + 0x30]
movsx ecx, word [edi]
movsx esi, word [eax]
sub ecx, esi
add ecx, 3
cmp ecx, 7
jb 0x6ed13c
mov esi, 1
jmp 0x6ed1c1
movsx eax, word [eax + 2]
movsx ecx, word [edi + 2]
sub ecx, eax
lea ecx, [ecx + ebx - 1]
lea eax, [ebx + ebx - 1]
cmp ecx, eax
jb 0x6ed159
mov esi, 1
jmp 0x6ed1c1
xor esi, esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6ed1c1
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x360]
test al, al
jl 0x6ed1c1
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
xor eax, eax
test ecx, ecx
sete al
imul eax, eax, 0x360
add eax, esi
movsx ecx, word [edi + eax*4]
movsx esi, word [edi + 0xd80]
lea eax, [edi + eax*4]
sub esi, ecx
add esi, 3
cmp esi, 7
jb 0x6ed1a7
mov esi, 1
jmp 0x6ed1c1
movsx eax, word [eax + 2]
movsx ecx, word [edi + 0xd82]
sub ecx, eax
lea eax, [ecx + ebx - 1]
lea ecx, [ebx + ebx - 1]
cmp eax, ecx
sbb esi, esi
inc esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
add ecx, 0xd80
add eax, 0x360
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, esi
and eax, ecx
cmp dword [esp + 0x14], eax
jle 0x6ed0d0
test esi, esi
je 0x6ee15e
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov eax, 1
jne 0x6ed21d
mov dword [edx + 0x7c], eax
mov dword [edx + 0x78], eax
mov dword [edx + 0x74], eax
mov dword [edx + 0x70], eax
jmp 0x6ee166
mov ecx, dword [edx + 0x70]
mov eax, dword [edx + 0x74]
sar ecx, 1
inc ecx
sar eax, 1
inc eax
mov dword [edx + 0x70], ecx
mov ecx, dword [edx + 0x78]
mov dword [edx + 0x74], eax
mov eax, dword [edx + 0x7c]
sar ecx, 1
inc ecx
sar eax, 1
inc eax
mov dword [edx + 0x78], ecx
mov dword [edx + 0x7c], eax
jmp 0x6ee15e
test al, 0x20
je 0x6ed3fd
mov eax, dword [esi + 0x7670]
mov edi, dword [esi + 0x7674]
mov esi, 1
test esi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], 0
jl 0x6ed3b6
mov cl, byte [eax]
mov byte [esp + 0xf], cl
lea ecx, [edi + 8]
add eax, 2
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], eax
jmp 0x6ed290
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x10]
cmp al, byte [ecx]
jne 0x6ed378
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6ed2d1
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
xor eax, eax
test ecx, ecx
mov cl, byte [edi + 0x360]
sete al
imul eax, eax, 0x360
cmp cl, byte [eax + edi + 2]
mov edi, dword [esp + 0x2c]
jne 0x6ed378
mov al, byte [esp + 0xf]
test al, al
jl 0x6ed316
mov eax, dword [esp + 0x30]
movsx ecx, word [edi]
movsx esi, word [eax]
sub ecx, esi
add ecx, 3
cmp ecx, 7
jb 0x6ed2f7
mov esi, 1
jmp 0x6ed378
movsx eax, word [eax + 2]
movsx ecx, word [edi + 2]
sub ecx, eax
lea ecx, [ecx + ebx - 1]
lea eax, [ebx + ebx - 1]
cmp ecx, eax
jb 0x6ed314
mov esi, 1
jmp 0x6ed378
xor esi, esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6ed378
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 0x360]
test al, al
jl 0x6ed378
mov esi, dword [esp + 0x14]
xor eax, eax
test esi, esi
movsx esi, word [edi + 0xd80]
sete al
imul eax, eax, 0xd80
movsx ecx, word [eax + edi + 8]
lea eax, [eax + edi + 8]
sub esi, ecx
add esi, 3
cmp esi, 7
jb 0x6ed35e
mov esi, 1
jmp 0x6ed378
movsx eax, word [eax + 2]
movsx ecx, word [edi + 0xd82]
sub ecx, eax
lea eax, [ecx + ebx - 1]
lea ecx, [ebx + ebx - 1]
cmp eax, ecx
sbb esi, esi
inc esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
add ecx, 0x360
add eax, 0xd80
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, esi
and eax, ecx
cmp dword [esp + 0x14], eax
jle 0x6ed290
test esi, esi
je 0x6ee15e
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov eax, 1
jne 0x6ed3d4
mov dword [edx + 0x2c], eax
mov dword [edx + 0x28], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x20], eax
jmp 0x6ee166
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x24]
sar ecx, 1
inc ecx
sar eax, 1
inc eax
mov dword [edx + 0x20], ecx
mov ecx, dword [edx + 0x28]
mov dword [edx + 0x24], eax
mov eax, dword [edx + 0x2c]
sar ecx, 1
inc ecx
sar eax, 1
inc eax
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], eax
jmp 0x6ee15e
test al, 0x40
je 0x6ee15e
test eax, 0x1000000
jne 0x6edae7
mov esi, dword [ebp + 8]
mov al, byte [esi + 0xde]
and al, byte [esi + 0xdc]
and al, byte [esi + 0xda]
and al, byte [esi + 0xd8]
test al, 8
jne 0x6edae7
mov ecx, dword [esi + 0x18]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x28], eax
jne 0x6ed74e
lea esi, [edi*8]
mov dword [esp + 0x18], esi
lea esi, [edi + edi]
mov dword [esp + 0x34], esi
lea esi, [edx + 0x64]
mov dword [esp + 0x24], esi
xor ecx, ecx
lea esi, [edx + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
mov edi, edi
mov edi, dword [ebp + 8]
mov edi, dword [edi + 0x7670]
add edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x7674]
add eax, ecx
mov ecx, dword [esi - 0x10]
test ecx, ecx
jne 0x6ed4d5
movsx ecx, byte [edi + 1]
movsx esi, byte [edi]
sub esi, ecx
je 0x6ed49f
mov ecx, 1
jmp 0x6ed4ce
movsx ecx, word [eax]
movsx esi, word [eax + 4]
sub ecx, esi
add ecx, 3
cmp ecx, 7
jb 0x6ed4b7
mov ecx, 1
jmp 0x6ed4ce
movsx esi, word [eax + 6]
movsx ecx, word [eax + 2]
sub ecx, esi
lea ecx, [ecx + ebx - 1]
lea esi, [ebx + ebx - 1]
cmp ecx, esi
sbb ecx, ecx
inc ecx
mov esi, dword [esp + 0x14]
mov dword [esi - 0x10], ecx
cmp dword [esi], 0
jne 0x6ed523
movsx ecx, byte [edi + 2]
movsx esi, byte [edi + 1]
sub esi, ecx
je 0x6ed4ed
mov ecx, 1
jmp 0x6ed51d
movsx ecx, word [eax + 4]
movsx esi, word [eax + 8]
sub ecx, esi
add ecx, 3
cmp ecx, 7
jb 0x6ed506
mov ecx, 1
jmp 0x6ed51d
movsx esi, word [eax + 0xa]
movsx ecx, word [eax + 6]
sub ecx, esi
lea ecx, [ecx + ebx - 1]
lea esi, [ebx + ebx - 1]
cmp ecx, esi
sbb ecx, ecx
inc ecx
mov esi, dword [esp + 0x14]
mov dword [esi], ecx
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x6ed574
movsx ecx, byte [edi + 3]
movsx esi, byte [edi + 2]
sub esi, ecx
je 0x6ed53d
mov ecx, 1
jmp 0x6ed56d
movsx ecx, word [eax + 0xc]
movsx esi, word [eax + 8]
sub esi, ecx
add esi, 3
cmp esi, 7
jb 0x6ed556
mov ecx, 1
jmp 0x6ed56d
movsx ecx, word [eax + 0xe]
movsx esi, word [eax + 0xa]
sub esi, ecx
lea ecx, [esi + ebx - 1]
lea esi, [ebx + ebx - 1]
cmp ecx, esi
sbb ecx, ecx
inc ecx
mov esi, dword [esp + 0x14]
mov dword [esi + 0x10], ecx
cmp dword [esp + 0x28], 3
jge 0x6ed70b
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx - 4]
test esi, esi
jne 0x6ed5df
mov ecx, dword [esp + 0x34]
movsx ecx, byte [ecx + edi]
movsx esi, byte [edi]
sub esi, ecx
je 0x6ed5a0
mov ecx, 1
jmp 0x6ed5d8
mov ecx, dword [esp + 0x18]
movsx ecx, word [ecx + eax]
movsx esi, word [eax]
sub esi, ecx
add esi, 3
cmp esi, 7
jb 0x6ed5bc
mov ecx, 1
jmp 0x6ed5d8
mov ecx, dword [esp + 0x18]
movsx ecx, word [ecx + eax + 2]
movsx esi, word [eax + 2]
sub esi, ecx
lea ecx, [esi + ebx - 1]
lea esi, [ebx + ebx - 1]
cmp ecx, esi
sbb ecx, ecx
inc ecx
mov esi, dword [esp + 0x24]
mov dword [esi - 4], ecx
mov ecx, dword [esp + 0x24]
cmp dword [ecx], 0
jne 0x6ed640
mov ecx, dword [esp + 0x34]
movsx ecx, byte [ecx + edi + 1]
movsx esi, byte [edi + 1]
sub esi, ecx
je 0x6ed600
mov ecx, 1
jmp 0x6ed63a
mov esi, dword [esp + 0x18]
movsx ecx, word [eax + 4]
movsx esi, word [esi + eax + 4]
sub ecx, esi
add ecx, 3
cmp ecx, 7
jb 0x6ed61e
mov ecx, 1
jmp 0x6ed63a
mov esi, dword [esp + 0x18]
movsx esi, word [esi + eax + 6]
movsx ecx, word [eax + 6]
sub ecx, esi
lea ecx, [ecx + ebx - 1]
lea esi, [ebx + ebx - 1]
cmp ecx, esi
sbb ecx, ecx
inc ecx
mov esi, dword [esp + 0x24]
mov dword [esi], ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 4]
test esi, esi
jne 0x6ed6a4
mov ecx, dword [esp + 0x34]
movsx ecx, byte [ecx + edi + 2]
movsx esi, byte [edi + 2]
sub esi, ecx
je 0x6ed663
mov ecx, 1
jmp 0x6ed69d
mov esi, dword [esp + 0x18]
movsx ecx, word [eax + 8]
movsx esi, word [esi + eax + 8]
sub ecx, esi
add ecx, 3
cmp ecx, 7
jb 0x6ed681
mov ecx, 1
jmp 0x6ed69d
mov esi, dword [esp + 0x18]
movsx esi, word [esi + eax + 0xa]
movsx ecx, word [eax + 0xa]
sub ecx, esi
lea ecx, [ecx + ebx - 1]
lea esi, [ebx + ebx - 1]
cmp ecx, esi
sbb ecx, ecx
inc ecx
mov esi, dword [esp + 0x24]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 8]
test esi, esi
jne 0x6ed707
mov ecx, dword [esp + 0x34]
movsx ecx, byte [ecx + edi + 3]
movsx esi, byte [edi + 3]
sub esi, ecx
je 0x6ed6c7
mov eax, 1
jmp 0x6ed700
mov ecx, dword [esp + 0x18]
movsx esi, word [eax + 0xc]
movsx edi, word [ecx + eax + 0xc]
lea ecx, [ecx + eax + 0xc]
sub esi, edi
add esi, 3
cmp esi, 7
jb 0x6ed6e9
mov eax, 1
jmp 0x6ed700
movsx eax, word [eax + 0xe]
movsx ecx, word [ecx + 2]
sub eax, ecx
lea eax, [eax + ebx - 1]
lea ecx, [ebx + ebx - 1]
cmp eax, ecx
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x24]
mov dword [ecx + 8], eax
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x2c]
add ecx, edi
add dword [esp + 0x24], 0x10
mov edi, dword [esp + 0x28]
add esi, 4
cmp edi, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
jl 0x6ed470
jmp 0x6ee15e
lea ecx, [edi + edi]
mov dword [esp + 0x34], ecx
lea ecx, [edx + 0x60]
mov dword [esp + 0x2c], ecx
lea ecx, [edx + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ecx
jmp 0x6ed770
mov ecx, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
mov edi, edi
mov ecx, dword [esp + 0x10]
cmp dword [ecx], 0
jne 0x6ed8e6
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x7670]
mov esi, dword [esi + 0x7674]
add eax, ebx
add ecx, eax
lea esi, [esi + eax*4]
mov eax, 1
xor edi, edi
test dword [esp + 0x20], eax
jl 0x6ed8dc
mov dl, byte [ecx]
mov byte [esp + 0xf], dl
lea edx, [esi + 4]
mov dword [esp + 0x18], edx
lea edx, [ecx + 1]
mov dword [esp + 0x30], edx
jmp 0x6ed7d0
mov dl, byte [esp + 0xf]
mov ebx, dword [esp + 0x30]
cmp dl, byte [ebx]
jne 0x6ed8a7
mov edx, dword [esp + 0x20]
test edx, edx
je 0x6ed805
mov bl, byte [ecx + 0x360]
xor edx, edx
test edi, edi
sete dl
imul edx, edx, 0x360
cmp bl, byte [edx + ecx + 1]
jne 0x6ed8a7
mov dl, byte [esp + 0xf]
test dl, dl
jl 0x6ed84b
mov eax, dword [esp + 0x18]
movsx edx, word [eax]
movsx ebx, word [esi]
sub ebx, edx
add ebx, 3
cmp ebx, 7
jb 0x6ed828
mov eax, 1
jmp 0x6ed8a7
movsx eax, word [eax + 2]
movsx edx, word [esi + 2]
sub edx, eax
mov eax, dword [esp + 0x24]
lea edx, [edx + eax - 1]
lea eax, [eax + eax - 1]
cmp edx, eax
jb 0x6ed849
mov eax, 1
jmp 0x6ed8a7
xor eax, eax
mov edx, dword [esp + 0x20]
test edx, edx
je 0x6ed8a7
mov dl, byte [ecx + 0x360]
test dl, dl
jl 0x6ed8a7
movsx ebx, word [esi + 0xd80]
xor edx, edx
test edi, edi
sete dl
imul edx, edx, 0xd80
lea eax, [edx + esi + 4]
movsx edx, word [eax]
sub ebx, edx
add ebx, 3
cmp ebx, 7
jb 0x6ed889
mov eax, 1
jmp 0x6ed8a7
movsx eax, word [eax + 2]
movsx edx, word [esi + 0xd82]
sub edx, eax
mov eax, dword [esp + 0x24]
lea edx, [edx + eax - 1]
lea eax, [eax + eax - 1]
cmp edx, eax
sbb eax, eax
inc eax
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
add edx, 0xd80
add ebx, 0x360
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x20]
mov edx, eax
inc edi
and edx, ebx
cmp edi, edx
jle 0x6ed7d0
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
inc ebx
add esi, 0x10
cmp ebx, 3
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
jl 0x6ed780
cmp dword [esp + 0x28], 3
jge 0x6edab0
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
jmp 0x6ed920
mov ecx, dword [esp + 0x10]
cmp dword [ecx], 0
jne 0x6eda97
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x7670]
mov esi, dword [esi + 0x7674]
add eax, ebx
add ecx, eax
lea esi, [esi + eax*4]
mov eax, 1
xor edi, edi
test dword [esp + 0x20], eax
mov dword [esp + 0x44], ecx
jl 0x6eda8d
mov dl, byte [ecx]
mov byte [esp + 0xf], dl
mov edx, dword [esp + 0x34]
lea ebx, [ecx + edx]
lea edx, [esi + edx*4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], edx
mov dl, byte [esp + 0xf]
mov ebx, dword [esp + 0x18]
cmp dl, byte [ebx]
jne 0x6eda58
mov edx, dword [esp + 0x20]
test edx, edx
je 0x6ed9ae
mov ebx, dword [esp + 0x34]
xor edx, edx
test edi, edi
sete dl
imul edx, edx, 0x360
add edx, ecx
mov cl, byte [ecx + 0x360]
cmp cl, byte [edx + ebx]
mov ecx, dword [esp + 0x44]
jne 0x6eda58
mov dl, byte [esp + 0xf]
test dl, dl
jl 0x6ed9f7
mov eax, dword [esp + 0x30]
movsx edx, word [esi]
movsx ebx, word [eax]
sub edx, ebx
add edx, 3
cmp edx, 7
jb 0x6ed9d4
mov eax, 1
jmp 0x6eda58
movsx eax, word [eax + 2]
movsx edx, word [esi + 2]
sub edx, eax
mov eax, dword [esp + 0x24]
lea edx, [edx + eax - 1]
lea eax, [eax + eax - 1]
cmp edx, eax
jb 0x6ed9f5
mov eax, 1
jmp 0x6eda58
xor eax, eax
mov edx, dword [esp + 0x20]
test edx, edx
je 0x6eda58
mov dl, byte [ecx + 0x360]
test dl, dl
jl 0x6eda58
mov ebx, dword [esp + 0x34]
xor edx, edx
test edi, edi
sete dl
imul edx, edx, 0x360
add edx, ebx
movsx ebx, word [esi + 0xd80]
lea eax, [esi + edx*4]
movsx edx, word [eax]
sub ebx, edx
add ebx, 3
cmp ebx, 7
jb 0x6eda3a
mov eax, 1
jmp 0x6eda58
movsx eax, word [eax + 2]
movsx edx, word [esi + 0xd82]
sub edx, eax
mov eax, dword [esp + 0x24]
lea edx, [edx + eax - 1]
lea eax, [eax + eax - 1]
cmp edx, eax
sbb eax, eax
inc eax
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
add edx, 0x360
add ebx, 0xd80
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x20]
mov edx, eax
inc edi
and edx, ebx
cmp edi, edx
jle 0x6ed970
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
inc ebx
add esi, 4
cmp ebx, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
jl 0x6ed920
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
inc ecx
add esi, 4
add ebx, 0x10
add eax, edi
cmp ecx, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], eax
jl 0x6ed770
jmp 0x6ee15e
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7670]
mov esi, dword [esi + 0x7674]
and ecx, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x38], ecx
jl 0x6edc6d
mov cl, byte [eax]
mov byte [esp + 0xf], cl
lea ecx, [esi + 8]
add eax, 2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jmp 0x6edb30
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x1c]
cmp al, byte [ecx]
jne 0x6edc31
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6edb71
mov eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x28]
mov bl, byte [eax + 0x360]
sete cl
imul ecx, ecx, 0x360
cmp bl, byte [ecx + eax + 2]
mov ebx, dword [esp + 0x24]
jne 0x6edc31
mov al, byte [esp + 0xf]
test al, al
jl 0x6edbc6
mov ecx, dword [esp + 0x10]
movsx eax, word [esi]
movsx ecx, word [ecx]
sub eax, ecx
add eax, 3
cmp eax, 7
jb 0x6edb9a
mov dword [esp + 0x34], 1
jmp 0x6edc31
mov ecx, dword [esp + 0x10]
movsx ecx, word [ecx + 2]
movsx eax, word [esi + 2]
sub eax, ecx
lea eax, [eax + ebx - 1]
lea ecx, [ebx + ebx - 1]
cmp eax, ecx
jb 0x6edbbe
mov dword [esp + 0x34], 1
jmp 0x6edc31
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6edc31
mov eax, dword [esp + 0x28]
mov cl, byte [eax + 0x360]
test cl, cl
jl 0x6edc31
mov ebx, dword [esp + 0x14]
xor ecx, ecx
test ebx, ebx
movsx ebx, word [esi + 0xd80]
sete cl
imul ecx, ecx, 0xd80
lea eax, [ecx + esi + 8]
movsx ecx, word [eax]
sub ebx, ecx
add ebx, 3
cmp ebx, 7
mov ebx, dword [esp + 0x24]
jb 0x6edc13
mov dword [esp + 0x34], 1
jmp 0x6edc31
movsx eax, word [eax + 2]
movsx ecx, word [esi + 0xd82]
sub ecx, eax
lea eax, [ecx + ebx - 1]
lea ecx, [ebx + ebx - 1]
cmp eax, ecx
sbb eax, eax
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
add ecx, 0x360
add eax, 0xd80
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
and eax, ecx
cmp dword [esp + 0x14], eax
jle 0x6edb30
mov eax, dword [esp + 0x28]
lea ecx, [edi*4]
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x30], ecx
lea edi, [esi + ecx*4]
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
jl 0x6eddf2
mov eax, dword [esp + 0x1c]
mov cl, byte [eax]
mov byte [esp + 0xf], cl
lea ecx, [edi + 8]
add eax, 2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x2c]
cmp al, byte [ecx]
jne 0x6eddb6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6edcf6
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x1c]
mov bl, byte [eax + 0x360]
sete cl
imul ecx, ecx, 0x360
cmp bl, byte [ecx + eax + 2]
mov ebx, dword [esp + 0x24]
jne 0x6eddb6
mov al, byte [esp + 0xf]
test al, al
jl 0x6edd4b
mov ecx, dword [esp + 0x10]
movsx eax, word [edi]
movsx ecx, word [ecx]
sub eax, ecx
add eax, 3
cmp eax, 7
jb 0x6edd1f
mov dword [esp + 0x14], 1
jmp 0x6eddb6
mov ecx, dword [esp + 0x10]
movsx ecx, word [ecx + 2]
movsx eax, word [edi + 2]
sub eax, ecx
lea eax, [eax + ebx - 1]
lea ecx, [ebx + ebx - 1]
cmp eax, ecx
jb 0x6edd43
mov dword [esp + 0x14], 1
jmp 0x6eddb6
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6eddb6
mov eax, dword [esp + 0x1c]
mov cl, byte [eax + 0x360]
test cl, cl
jl 0x6eddb6
mov ebx, dword [esp + 0x18]
xor ecx, ecx
test ebx, ebx
movsx ebx, word [edi + 0xd80]
sete cl
imul ecx, ecx, 0xd80
lea eax, [ecx + edi + 8]
movsx ecx, word [eax]
sub ebx, ecx
add ebx, 3
cmp ebx, 7
mov ebx, dword [esp + 0x24]
jb 0x6edd98
mov dword [esp + 0x14], 1
jmp 0x6eddb6
movsx eax, word [eax + 2]
movsx ecx, word [edi + 0xd82]
sub ecx, eax
lea eax, [ecx + ebx - 1]
lea ecx, [ebx + ebx - 1]
cmp eax, ecx
sbb eax, eax
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
add ecx, 0x360
add eax, 0xd80
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
and eax, ecx
cmp dword [esp + 0x18], eax
jle 0x6edcb5
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
test eax, eax
mov edi, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], 0
jl 0x6edf63
mov eax, dword [esp + 0x28]
mov al, byte [eax]
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
lea eax, [esi + ecx*4]
mov dword [esp + 0x1c], eax
mov edi, edi
mov ecx, dword [esp + 0x2c]
mov al, byte [esp + 0xf]
cmp al, byte [ecx]
jne 0x6edf29
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6ede76
mov edi, dword [esp + 0x10]
xor ecx, ecx
test edi, edi
mov edi, dword [esp + 0x28]
mov al, byte [edi + 0x360]
sete cl
imul ecx, ecx, 0x360
add ecx, edi
mov edi, dword [esp + 0x30]
cmp al, byte [ecx + edi]
mov edi, dword [esp + 0x18]
jne 0x6edf29
mov al, byte [esp + 0xf]
test al, al
jl 0x6edebf
mov eax, dword [esp + 0x1c]
movsx ecx, word [esi]
movsx edi, word [eax]
sub ecx, edi
add ecx, 3
cmp ecx, 7
jb 0x6ede9c
mov edi, 1
jmp 0x6edf25
movsx eax, word [eax + 2]
movsx ecx, word [esi + 2]
sub ecx, eax
lea ecx, [ecx + ebx - 1]
lea eax, [ebx + ebx - 1]
cmp ecx, eax
jb 0x6edeb9
mov edi, 1
jmp 0x6edf25
xor edi, edi
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6edf29
mov ecx, dword [esp + 0x28]
mov al, byte [ecx + 0x360]
test al, al
jl 0x6edf29
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
xor eax, eax
test edi, edi
sete al
imul eax, eax, 0x360
add eax, ecx
movsx ecx, word [esi + 0xd80]
movsx edi, word [esi + eax*4]
lea eax, [esi + eax*4]
sub ecx, edi
add ecx, 3
cmp ecx, 7
jb 0x6edf0b
mov edi, 1
jmp 0x6edf25
movsx eax, word [eax + 2]
movsx ecx, word [esi + 0xd82]
sub ecx, eax
lea ecx, [ecx + ebx - 1]
lea eax, [ebx + ebx - 1]
cmp ecx, eax
sbb edi, edi
inc edi
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
add eax, 0xd80
add ecx, 0x360
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov ecx, edi
and ecx, eax
cmp dword [esp + 0x10], ecx
jle 0x6ede30
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
add eax, 2
test ebx, ebx
mov dword [esp + 0x10], eax
mov eax, 1
mov dword [esp + 0x28], 0
jl 0x6ee0cc
mov ebx, dword [esp + 0x10]
mov bl, byte [ebx]
mov byte [esp + 0xf], bl
mov ebx, dword [esp + 0x10]
add ebx, ecx
lea ecx, [esi + ecx*4 + 8]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov bl, byte [esp + 0xf]
cmp bl, byte [ecx]
jne 0x6ee09f
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x6edfe9
mov edi, dword [esp + 0x28]
xor ecx, ecx
test edi, edi
mov edi, dword [esp + 0x10]
mov bl, byte [edi + 0x360]
sete cl
imul ecx, ecx, 0x360
add ecx, edi
mov edi, dword [esp + 0x30]
cmp bl, byte [ecx + edi]
mov edi, dword [esp + 0x18]
jne 0x6ee09f
mov cl, byte [esp + 0xf]
test cl, cl
jl 0x6ee033
mov eax, dword [esp + 0x1c]
movsx ecx, word [esi + 8]
movsx ebx, word [eax]
sub ecx, ebx
add ecx, 3
cmp ecx, 7
jb 0x6ee010
mov eax, 1
jmp 0x6ee09f
movsx eax, word [eax + 2]
movsx ecx, word [esi + 0xa]
sub ecx, eax
mov eax, dword [esp + 0x24]
lea ecx, [ecx + eax - 1]
lea eax, [eax + eax - 1]
cmp ecx, eax
jb 0x6ee031
mov eax, 1
jmp 0x6ee09f
xor eax, eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x6ee09f
mov ecx, dword [esp + 0x10]
mov bl, byte [ecx + 0x360]
test bl, bl
jl 0x6ee09f
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
xor eax, eax
test ebx, ebx
sete al
imul eax, eax, 0x360
add eax, ecx
movsx ecx, word [esi + 0xd88]
movsx ebx, word [esi + eax*4 + 8]
lea eax, [esi + eax*4 + 8]
sub ecx, ebx
add ecx, 3
cmp ecx, 7
jb 0x6ee081
mov eax, 1
jmp 0x6ee09f
movsx eax, word [eax + 2]
movsx ecx, word [esi + 0xd8a]
sub ecx, eax
mov eax, dword [esp + 0x24]
lea ecx, [ecx + eax - 1]
lea eax, [eax + eax - 1]
cmp ecx, eax
sbb eax, eax
inc eax
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
add ebx, 0xd80
mov dword [esp + 0x1c], ebx
add dword [esp + 0x2c], 0x360
mov ebx, eax
and ebx, dword [esp + 0x20]
inc ecx
cmp ecx, ebx
mov dword [esp + 0x28], ecx
jle 0x6edfa3
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov ebx, eax
or ebx, edi
or ebx, esi
or ebx, ecx
je 0x6ee15e
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jne 0x6ee104
mov dword [edx + 0x24], ecx
mov dword [edx + 0x20], ecx
mov dword [edx + 0x2c], esi
mov dword [edx + 0x28], esi
mov dword [edx + 0x74], edi
mov dword [edx + 0x70], edi
mov dword [edx + 0x7c], eax
mov dword [edx + 0x78], eax
jmp 0x6ee166
mov ebx, dword [edx + 0x20]
sar ebx, cl
mov ecx, dword [esp + 0x34]
add ebx, ecx
mov dword [edx + 0x20], ebx
mov ebx, dword [edx + 0x24]
sar ebx, cl
add ebx, ecx
mov ecx, esi
mov dword [edx + 0x24], ebx
mov ebx, dword [edx + 0x28]
sar ebx, cl
add ebx, esi
mov dword [edx + 0x28], ebx
mov ebx, dword [edx + 0x2c]
sar ebx, cl
mov ecx, edi
add ebx, esi
mov esi, dword [edx + 0x70]
sar esi, cl
mov dword [edx + 0x2c], ebx
add esi, edi
mov dword [edx + 0x70], esi
mov esi, dword [edx + 0x74]
sar esi, cl
mov ecx, eax
add esi, edi
mov dword [edx + 0x74], esi
mov esi, dword [edx + 0x78]
sar esi, cl
add esi, eax
mov dword [edx + 0x78], esi
mov esi, dword [edx + 0x7c]
sar esi, cl
add esi, eax
mov dword [edx + 0x7c], esi
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x6ee173
mov ecx, dword [ebp + 0xc]
test byte [ecx + 0xc], 8
jne 0x6ee23b
mov ecx, dword [esp + 0x48]
mov esi, dword [ebp + 8]
add ecx, 0x40
add edx, 0x10
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], 2
or edi, 0xffffffff
jmp 0x6ee1a0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 3
lea esp, [esp]
xor eax, eax
mov ebx, dword [edx + eax*4]
test ebx, ebx
je 0x6ee1e9
mov edi, ebx
mov ebx, dword [esi + 0x88988]
mov edi, dword [ebx + edi*4]
mov dword [ecx - 0x10], edi
mov ebx, dword [esi + 0x8898c]
mov edi, dword [edx + eax*4]
mov edi, dword [ebx + edi*4]
mov dword [ecx], edi
mov edi, dword [edx + eax*4]
mov ebx, dword [esi + 0x88990]
mov edi, dword [ebx + edi*4]
mov dword [ecx + 0x10], edi
or edi, 0xffffffff
jmp 0x6ee1f1
mov dword [ecx + 0x10], edi
mov dword [ecx], edi
mov dword [ecx - 0x10], edi
inc eax
add ecx, 4
cmp eax, 4
jl 0x6ee1b2
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
add ecx, 0x30
add edx, 0x10
dec eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
jne 0x6ee1b0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
add edx, 0x50
add ecx, 0xf0
dec eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
jne 0x6ee1a0
mov ecx, dword [esp + 0x4c]
call fcn.0073efff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret