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

Disassembly:
push ebp
mov edx, 0x10
push edi
push esi
push ebx
sub esp, 0xfc
movzx ebp, word [esp + 0x120]
mov ecx, dword [esp + 0x124]
mov eax, ebp
movzx edi, byte [ecx*4 + 0x684f9980]
mov ebx, ebp
movsx eax, ah
mov byte [esp + 0x44], bl
mov esi, eax
mov byte [esp + 0x40], al
mov eax, dword [esp + 0x110]
mov dword [esp + 0x5c], edi
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 0xa0]
sub eax, dword [esp + 0x130]
cmp eax, 0x10
cmovg eax, edx
cmp eax, edi
cmovg eax, edi
movzx edi, byte [ecx*4 + 0x684f9981]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x60], edi
mov eax, dword [eax + 0xa8]
mov dword [esp + 0x3c], eax
sub eax, dword [esp + 0x12c]
cmp eax, 0x10
cmovg eax, edx
cmp eax, edi
cmovg eax, edi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x118]
mov dword [eax], 0
lea eax, [esi + 1]
cmp al, 9
ja 0x68490c07
cmp bl, 8
jbe 0x68490c23
mov dword [esp + 8], 0x16b
mov dword [esp + 4], str..._src_refmvs.c
mov dword [esp], str.ref.ref_0____0__ref.ref_0____8__ref.ref_1_____1__ref.ref_1____8
call fcn.684d2880
movzx eax, byte [esp + 0x44]
test al, al
jg 0x68491934
mov dword [esp + 0xd8], 0
mov dword [esp + 0xd0], 0x80008000
movzx eax, byte [esp + 0x40]
test al, al
jg 0x6849179e
mov eax, dword [esp + 0x110]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov eax, dword [eax + 0xa4]
cmp eax, dword [esp + 0x12c]
jge 0x6849154b
mov edi, dword [esp + 0x12c]
xor edx, edx
cmp dword [esp + 0x60], 1
setg dl
mov ebx, dword [esp + 0x12c]
mov esi, dword [esp + 0x110]
sub edi, eax
add edx, 2
mov eax, edi
mov edi, edx
add eax, 1
sar eax, 1
cmp eax, edx
cmovle edi, eax
and ebx, 0x1f
mov eax, dword [esp + 0x130]
mov edx, dword [esi + ebx*4 + 0x14]
lea esi, [esp + 0xbc]
lea eax, [eax + eax*2]
mov dword [esp + 0x8c], edi
lea ecx, [edx + eax*4]
mov edx, ebp
mov dl, byte [esp + 0x44]
xor eax, eax
cmp dword [esp + 0x5c], 0xf
mov dword [esp + 0x10], edi
setg al
mov ebp, edx
mov edi, dword [esp + 0x78]
mov dword [esp + 4], ecx
lea eax, [eax + eax*2 + 1]
mov edx, ebp
mov dh, byte [esp + 0x40]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
mov ebp, edx
mov dword [esp + 0xc], edi
lea edx, [esp + 0xc4]
lea edi, [esp + 0xd0]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x118]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x114]
mov dword [esp], edi
mov dword [esp + 0x80], ecx
mov ecx, ebp
call fcn.68490410
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 0x9c]
cmp eax, dword [esp + 0x130]
jge 0x68491663
mov ecx, dword [esp + 0x130]
xor edx, edx
cmp dword [esp + 0x5c], 1
mov dword [esp + 0x1c], esi
setg dl
mov dword [esp], edi
sub ecx, eax
add edx, 2
mov eax, ecx
mov ecx, edx
add eax, 1
sar eax, 1
cmp eax, edx
lea edx, [esp + 0xc0]
cmovle ecx, eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x118]
lea eax, [eax + ebx*4 + 0x18]
mov ebx, ebp
mov bl, byte [esp + 0x44]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x84], eax
xor eax, eax
cmp dword [esp + 0x60], 0xf
setg al
mov dword [esp + 0x88], ecx
mov ebp, ebx
mov ecx, dword [esp + 0x130]
lea eax, [eax + eax*2 + 1]
mov ebx, ebp
mov bh, byte [esp + 0x40]
mov dword [esp + 0x18], eax
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x7c]
mov ebp, ebx
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], ecx
mov ecx, ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
call fcn.68490570
mov dword [esp + 0x74], eax
or eax, dword [esp + 0x64]
mov dword [esp + 0x90], eax
cmp dword [esp + 0x64], 0xffffffff
je 0x68490e46
test byte [esp + 0x128], 1
jne 0x68491595
mov eax, dword [esp + 0xc4]
add eax, dword [esp + 0xc0]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x118]
mov edi, dword [eax]
mov eax, dword [esp + 0x114]
mov edx, edi
mov dword [esp + 0x54], edi
shl edx, 4
add edx, eax
test edi, edi
jle 0x68490e8e
lea esi, [esi]
add dword [eax + 8], 0x280
add eax, 0x10
cmp edx, eax
jne 0x68490e80
mov edi, dword [esp + 0x48]
mov eax, dword [edi]
mov ebx, dword [edi + 0x18]
mov eax, dword [eax + 0x200]
mov dword [esp + 0xc8], eax
test ebx, ebx
je 0x68491020
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x130]
mov edi, dword [eax + 0xa4]
mov eax, dword [esp + 0x12c]
sar esi, 1
mov dword [esp + 0xa0], esi
sar eax, 1
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], eax
and eax, 0xf
imul eax, edi
add eax, esi
mov esi, dword [esp + 0x110]
mov edx, dword [esi + 0x98]
lea ecx, [edx + eax*8]
xor eax, eax
cmp dword [esp + 0x5c], 0xf
setg al
xor ebx, ebx
mov dword [esp + 0xac], ecx
add eax, 1
cmp dword [esp + 0x60], 0xf
mov esi, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x78]
setg bl
add ebx, 1
add eax, 1
mov dword [esp + 0x70], ebx
sar eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x7c]
add eax, 1
sar eax, 1
mov dword [esp + 0x68], eax
test eax, eax
jle 0x68490ff7
imul ebx, edi
mov dword [esp + 0x58], ecx
xor edi, edi
mov eax, ebx
shl eax, 3
mov dword [esp + 0x6c], eax
lea eax, [esi*8]
mov dword [esp + 0x50], eax
nop
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
xor ebx, ebx
test ecx, ecx
jle 0x68490fe1
nop
mov ecx, ebp
mov cl, byte [esp + 0x44]
mov eax, edi
lea edx, [esp + 0xc8]
or eax, ebx
mov eax, 0
mov dword [esp], esi
mov ebp, ecx
cmove eax, edx
lea ecx, [esp + 0xda]
mov edx, ebp
mov dh, byte [esp + 0x40]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
lea eax, [esi + 4]
mov ecx, dword [esp + 0x118]
mov ebp, edx
lea edx, [esp + 0xd8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x114]
mov word [esp + 8], bp
call fcn.684906e0
add ebx, dword [esp + 0x4c]
add esi, dword [esp + 0x50]
cmp dword [esp + 0x3c], ebx
jg 0x68490f70
mov esi, dword [esp + 0x6c]
add edi, dword [esp + 0x70]
add dword [esp + 0x58], esi
cmp dword [esp + 0x68], edi
jg 0x68490f60
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
cmp esi, edi
mov eax, edi
cmovle eax, esi
cmp eax, 1
jle 0x68491020
cmp esi, edi
mov eax, edi
cmovge eax, esi
cmp eax, 0xf
jle 0x68491b82
nop
lea esi, [esi]
mov eax, dword [esp + 0x118]
cmp dword [eax], 8
jg 0x68491aca
cmp dword [esp + 0x90], 0xffffffff
je 0x68491095
mov eax, ebp
mov al, byte [esp + 0x44]
mov edx, dword [esp + 0x118]
mov ecx, 4
mov ebp, eax
mov eax, ebp
mov ah, byte [esp + 0x40]
mov ebp, eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xd0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
mov word [esp + 4], bp
sub eax, 0xc
mov dword [esp], eax
mov eax, dword [esp + 0x114]
call fcn.6848feb0
xor eax, eax
cmp dword [esp + 0x5c], 0xf
mov edi, dword [esp + 0x110]
mov ebx, 2
setg al
lea eax, [eax + eax + 2]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x130]
or eax, 1
lea eax, [eax + eax*2]
shl eax, 2
mov dword [esp + 0x4c], eax
xor eax, eax
cmp dword [esp + 0x60], 0xf
setg al
lea esi, [eax + eax + 2]
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x58], esi
and eax, 0x1e
or eax, 1
lea edi, [edi + eax*4 + 0x18]
mov eax, dword [esp + 0x12c]
and eax, 0x1f
add eax, 1
mov dword [esp + 0x50], eax
cmp dword [esp + 0x64], ebx
jae 0x6849119f
mov ecx, dword [esp + 0x8c]
cmp ecx, ebx
jb 0x6849119f
mov edx, dword [esp + 0x50]
lea eax, [ebx + ebx]
mov esi, dword [esp + 0x110]
sub edx, eax
mov eax, edx
mov edx, dword [esp + 0x4c]
or eax, 1
add edx, dword [esi + eax*4 + 0x18]
mov eax, ebp
mov al, byte [esp + 0x44]
mov esi, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov ebp, eax
mov edx, dword [esp + 0x118]
mov eax, ebp
mov ah, byte [esp + 0x40]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x78]
mov ebp, eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x18], eax
lea eax, [ecx + 1]
mov ecx, ebp
sub eax, ebx
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 8], esi
call fcn.68490410
add dword [esp + 0x64], eax
cmp dword [esp + 0x74], ebx
jae 0x6849123d
mov edx, dword [esp + 0x88]
cmp edx, ebx
jb 0x6849123d
mov eax, ebp
mov al, byte [esp + 0x44]
mov esi, dword [esp + 0x130]
mov dword [esp + 4], edi
mov ebp, eax
mov eax, ebp
mov ah, byte [esp + 0x40]
mov ebp, eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xcc]
mov ecx, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
lea eax, [edx + 1]
mov edx, dword [esp + 0x118]
sub eax, ebx
mov dword [esp + 0x14], eax
lea eax, [ebx + ebx]
neg eax
lea eax, [esi + eax + 1]
mov esi, dword [esp + 0x7c]
or eax, 1
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x60]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 8], esi
call fcn.68490570
add dword [esp + 0x74], eax
cmp ebx, 3
jne 0x68491541
mov eax, dword [esp + 0x118]
cmp dword [eax], 8
jg 0x68491aeb
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0xc4]
add eax, dword [esp + 0xc0]
cmp edi, 1
je 0x68491b0c
cmp edi, 2
je 0x68491b5f
test edi, edi
je 0x68491b39
mov eax, dword [esp + 0x54]
test eax, eax
je 0x68491338
mov word [esp + 0x120], bp
mov ebp, eax
nop
lea esi, [esi]
cmp ebp, 1
jle 0x68491330
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x114]
mov edx, 1
xor ebx, ebx
nop
lea esi, [esi]
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0x18]
jge 0x68491311
mov ebp, dword [eax + 0x10]
mov edi, dword [eax]
mov dword [esp + 0xe8], ecx
mov esi, dword [eax + 4]
mov ebx, dword [eax + 0xc]
mov dword [eax], ebp
mov ebp, dword [eax + 0x14]
mov dword [esp + 0xe0], edi
mov dword [eax + 4], ebp
mov ebp, dword [eax + 0x18]
mov dword [esp + 0xe4], esi
mov dword [eax + 8], ebp
mov ebp, dword [eax + 0x1c]
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], ebp
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], ecx
mov dword [esp + 0xec], ebx
mov dword [eax + 0x1c], ebx
mov ebx, edx
add edx, 1
add eax, 0x10
cmp edx, dword [esp + 0x3c]
jne 0x684912c0
mov ebp, ebx
test ebx, ebx
jne 0x684912a0
mov esi, esi
lea edi, [edi]
movzx ebp, word [esp + 0x120]
mov eax, dword [esp + 0x118]
mov edi, dword [esp + 0x54]
mov ebx, dword [eax]
lea eax, [edi + 1]
mov dword [esp + 0x4c], eax
mov eax, edi
shl eax, 4
add eax, dword [esp + 0x114]
mov dword [esp + 0x50], eax
cmp edi, ebx
jge 0x68491411
mov word [esp + 0x120], bp
lea esi, [esi]
cmp ebx, dword [esp + 0x4c]
jle 0x68491400
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x3c], ebx
mov esi, dword [esp + 0x54]
lea esi, [esi]
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0x18]
jge 0x684913e1
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax]
mov dword [esp + 0xe8], ecx
mov edi, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov dword [eax], ebx
mov ebx, dword [eax + 0x14]
mov dword [esp + 0xe0], ebp
mov dword [eax + 4], ebx
mov ebx, dword [eax + 0x18]
mov dword [esp + 0xe4], edi
mov dword [eax + 8], ebx
mov ebx, dword [eax + 0x1c]
mov dword [eax + 0x10], ebp
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], ecx
mov dword [esp + 0xec], esi
mov dword [eax + 0x1c], esi
mov esi, edx
add edx, 1
add eax, 0x10
cmp edx, dword [esp + 0x3c]
jne 0x68491390
mov ebx, esi
cmp esi, dword [esp + 0x54]
jg 0x68491370
lea esi, [esi]
mov eax, dword [esp + 0x118]
movzx ebp, word [esp + 0x120]
mov ebx, dword [eax]
movzx ecx, byte [esp + 0x40]
test cl, cl
jg 0x68491686
cmp ebx, 1
jg 0x6849142e
cmp byte [esp + 0x44], 0
jg 0x68491fbc
cmp ebx, 8
jg 0x68491d71
test ebx, ebx
je 0x684914e8
mov esi, 0xfffffffc
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x5c]
xor edx, edx
add eax, dword [esp + 0x130]
mov edi, esi
sub edi, eax
mov eax, dword [ecx + 4]
sub eax, dword [esp + 0x130]
add eax, 4
shl edi, 5
shl eax, 5
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x12c]
sub esi, eax
mov eax, dword [ecx + 8]
sub eax, dword [esp + 0x12c]
add eax, 4
shl esi, 5
shl eax, 5
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x114]
nop
lea esi, [esi]
movsx ecx, word [eax + 2]
mov ebp, edi
cmp ecx, edi
jl 0x684914b5
mov ebp, dword [esp + 0x3c]
cmp ecx, ebp
cmovg ecx, ebp
mov ebp, ecx
movsx ecx, word [eax]
mov word [eax + 2], bp
mov ebp, esi
cmp ecx, esi
jl 0x684914cd
mov ebp, dword [esp + 0x40]
cmp ecx, ebp
cmovg ecx, ebp
mov ebp, ecx
add edx, 1
mov word [eax], bp
add eax, 0x10
cmp edx, ebx
jl 0x684914a0
mov eax, dword [esp + 0x118]
mov ebx, dword [eax]
cmp ebx, 1
jg 0x68491510
mov edx, dword [esp + 0xd8]
mov ecx, dword [esp + 0x114]
lea esi, [esi]
lea edi, [edi]
mov eax, ebx
add ebx, 1
shl eax, 4
mov dword [ecx + eax], edx
cmp ebx, 2
jne 0x68491500
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0x11c]
shl eax, 3
shl edx, 4
or eax, dword [esp + 0x9c]
or eax, edx
mov dword [edi], eax
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, 3
jmp 0x684910fb
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 0x9c]
cmp eax, dword [esp + 0x130]
jge 0x68491622
mov ebx, dword [esp + 0x12c]
mov dword [esp + 0x64], 0xffffffff
lea esi, [esp + 0xbc]
lea edi, [esp + 0xd0]
mov dword [esp + 0x8c], 0
and ebx, 0x1f
jmp 0x68490d6f
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
cmovge eax, ecx
cmp eax, 0x10
jg 0x68490e46
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x130]
cmp eax, dword [ecx + 0xa0]
jge 0x68490e46
mov eax, ebp
mov al, byte [esp + 0x44]
mov dword [esp + 8], edi
mov ecx, 4
mov edi, dword [esp + 0x80]
mov dword [esp + 0xc], esi
mov ebp, eax
mov edx, dword [esp + 0x118]
mov eax, ebp
mov ah, byte [esp + 0x40]
mov ebp, eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov word [esp + 4], bp
lea eax, [eax + eax*2]
lea eax, [edi + eax*4]
mov dword [esp], eax
mov eax, dword [esp + 0x114]
call fcn.6848feb0
jmp 0x68490e46
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x88], 0
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x8c], 0
jmp 0x68490e5b
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x88], 0
jmp 0x68490e31
cmp ebx, 1
jle 0x68491d9b
mov edi, dword [esp + 0x48]
mov edx, 0xfffffffc
mov eax, dword [esp + 0x5c]
xor esi, esi
add eax, dword [esp + 0x130]
mov ecx, edx
mov dword [esp + 0x40], ebx
sub ecx, eax
mov eax, dword [edi + 4]
sub eax, dword [esp + 0x130]
add eax, 4
shl ecx, 5
shl eax, 5
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x12c]
sub edx, eax
mov eax, dword [edi + 8]
sub eax, dword [esp + 0x12c]
add eax, 4
shl edx, 5
shl eax, 5
mov edi, eax
mov eax, dword [esp + 0x114]
lea esi, [esi]
movsx ebx, word [eax + 2]
mov ebp, ecx
cmp ebx, ecx
jl 0x68491705
mov ebp, dword [esp + 0x3c]
cmp ebx, ebp
cmovg ebx, ebp
mov ebp, ebx
movsx ebx, word [eax]
mov word [eax + 2], bp
mov ebp, edx
cmp ebx, edx
jl 0x68491719
cmp ebx, edi
cmovg ebx, edi
mov ebp, ebx
movsx ebx, word [eax + 6]
mov word [eax], bp
mov ebp, ecx
cmp ebx, ecx
jl 0x68491731
mov ebp, dword [esp + 0x3c]
cmp ebx, ebp
cmovg ebx, ebp
mov ebp, ebx
movsx ebx, word [eax + 4]
mov word [eax + 6], bp
mov ebp, edx
cmp ebx, edx
jl 0x68491746
cmp ebx, edi
cmovg ebx, edi
mov ebp, ebx
mov word [eax + 4], bp
add esi, 1
add eax, 0x10
cmp esi, dword [esp + 0x40]
jl 0x684916f0
mov eax, dword [esp + 0x98]
sar eax, 1
cmp eax, 1
je 0x684922a2
cmp eax, 2
je 0x6849226e
test eax, eax
jne 0x68491536
mov edi, dword [esp + 0x9c]
mov eax, 1
test edi, edi
cmovle eax, edi
mov edi, dword [esp + 0x11c]
mov dword [edi], eax
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x48]
mov esi, dword [edi]
movsx edi, al
sub edi, 1
lea eax, [edi + edi*8]
mov dword [esp + 0x3c], esi
lea eax, [esi + eax*4]
mov ebx, dword [eax + 0x590]
cmp ebx, 1
je 0x68491d08
test ebx, ebx
je 0x68492170
cmp ebx, 2
je 0x684920e2
mov ecx, dword [eax + 0x5a0]
mov eax, dword [eax + 0x5a4]
mov dword [esp + 0x54], eax
mov esi, dword [esp + 0x130]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x12c]
lea eax, [eax + esi*2]
lea esi, [eax + eax - 1]
mov eax, dword [esp + 0x60]
lea eax, [eax + edx*2]
lea eax, [eax + eax - 1]
mov dword [esp + 0x50], eax
imul ecx, dword [esp + 0x50]
lea eax, [edi + edi*8]
mov edi, dword [esp + 0x3c]
lea edx, [edi + eax*4]
mov eax, dword [edx + 0x59c]
sub eax, 0x10000
imul eax, esi
imul esi, dword [esp + 0x54]
add eax, ecx
mov ecx, dword [edx + 0x5a8]
add eax, dword [edx + 0x594]
mov dword [esp + 0x4c], eax
lea eax, [ecx - 0x10000]
imul eax, dword [esp + 0x50]
add eax, esi
add eax, dword [edx + 0x598]
mov edx, dword [edi + 0x1f4]
cmp edx, 1
sbb edi, edi
and edi, 0x1000
add edi, 0x1000
cmp edx, 1
sbb esi, esi
not esi
add esi, 0xe
test edx, edx
mov edx, eax
sete byte [esp + 0x54]
sar edx, 0x1f
mov ecx, edx
xor edx, eax
sub edx, ecx
mov ecx, esi
add edx, edi
sar edx, cl
movzx ecx, byte [esp + 0x54]
shl edx, cl
mov ecx, edx
neg edx
test eax, eax
mov eax, dword [esp + 0x4c]
cmovns edx, ecx
mov ecx, esi
mov dword [esp + 0x58], edx
mov word [esp + 0x50], dx
mov edx, eax
sar edx, 0x1f
xor eax, edx
sub eax, edx
add eax, edi
mov edi, dword [esp + 0x4c]
sar eax, cl
movzx ecx, byte [esp + 0x54]
shl eax, cl
mov esi, eax
neg esi
test edi, edi
mov edi, dword [esp + 0x3c]
cmovs eax, esi
mov ecx, dword [edi + 0x128]
mov edx, eax
test ecx, ecx
je 0x68491903
lea edx, [eax + 3]
sar ax, 0xf
movzx ecx, word [esp + 0x50]
sub edx, eax
movzx eax, word [esp + 0x58]
sar cx, 0xf
and edx, 0xfffffff8
add eax, 3
sub eax, ecx
and eax, 0xfffffff8
mov word [esp + 0x50], ax
movzx eax, word [esp + 0x50]
mov word [esp + 0xde], dx
mov word [esp + 0xdc], ax
cmp ebx, 1
jbe 0x68491d58
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xd4], edx
jmp 0x68490c53
mov edi, dword [esp + 0x48]
mov esi, dword [edi]
movsx edi, al
sub edi, 1
lea eax, [edi + edi*8]
mov dword [esp + 0x3c], esi
lea eax, [esi + eax*4]
mov ebx, dword [eax + 0x590]
cmp ebx, 1
je 0x6849218b
test ebx, ebx
je 0x68490c30
cmp ebx, 2
je 0x684921e0
mov ecx, dword [eax + 0x5a0]
mov eax, dword [eax + 0x5a4]
mov dword [esp + 0x54], eax
mov esi, dword [esp + 0x130]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x12c]
lea eax, [eax + esi*2]
lea esi, [eax + eax - 1]
mov eax, dword [esp + 0x60]
lea eax, [eax + edx*2]
lea eax, [eax + eax - 1]
mov dword [esp + 0x50], eax
imul ecx, dword [esp + 0x50]
lea eax, [edi + edi*8]
mov edi, dword [esp + 0x3c]
lea edx, [edi + eax*4]
mov eax, dword [edx + 0x59c]
sub eax, 0x10000
imul eax, esi
imul esi, dword [esp + 0x54]
add eax, ecx
mov ecx, dword [edx + 0x5a8]
add eax, dword [edx + 0x594]
mov dword [esp + 0x4c], eax
lea eax, [ecx - 0x10000]
imul eax, dword [esp + 0x50]
add eax, esi
add eax, dword [edx + 0x598]
mov edx, dword [edi + 0x1f4]
cmp edx, 1
sbb edi, edi
and edi, 0x1000
add edi, 0x1000
cmp edx, 1
sbb esi, esi
not esi
add esi, 0xe
test edx, edx
mov edx, eax
sete byte [esp + 0x54]
sar edx, 0x1f
mov ecx, edx
xor edx, eax
sub edx, ecx
mov ecx, esi
add edx, edi
sar edx, cl
movzx ecx, byte [esp + 0x54]
shl edx, cl
mov ecx, edx
neg edx
test eax, eax
mov eax, dword [esp + 0x4c]
cmovns edx, ecx
mov ecx, esi
mov dword [esp + 0x58], edx
mov word [esp + 0x50], dx
mov edx, eax
sar edx, 0x1f
xor eax, edx
sub eax, edx
add eax, edi
mov edi, dword [esp + 0x4c]
sar eax, cl
movzx ecx, byte [esp + 0x54]
shl eax, cl
mov esi, eax
neg esi
test edi, edi
mov edi, dword [esp + 0x3c]
cmovs eax, esi
mov ecx, dword [edi + 0x128]
mov edx, eax
test ecx, ecx
je 0x68491a99
lea edx, [eax + 3]
sar ax, 0xf
movzx ecx, word [esp + 0x50]
sub edx, eax
movzx eax, word [esp + 0x58]
sar cx, 0xf
and edx, 0xfffffff8
add eax, 3
sub eax, ecx
and eax, 0xfffffff8
mov word [esp + 0x50], ax
movzx eax, word [esp + 0x50]
mov word [esp + 0xda], dx
mov word [esp + 0xd8], ax
cmp ebx, 1
jbe 0x68490c3b
mov edx, dword [esp + 0xd8]
mov dword [esp + 0xd0], edx
jmp 0x68490c46
mov dword [esp + 8], 0x1c5
mov dword [esp + 4], str..._src_refmvs.c
mov dword [esp], str.cnt___8
call fcn.684d2880
jmp 0x68491030
mov dword [esp + 8], 0x1df
mov dword [esp + 4], str..._src_refmvs.c
mov dword [esp], str.cnt___8
call fcn.684d2880
jmp 0x68491256
lea eax, [eax + eax*2]
mov edx, 4
cmp eax, 4
cmovle edx, eax
mov eax, 3
sub eax, dword [esp + 0xbc]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], edx
jmp 0x68491285
cmp eax, 2
mov edx, 2
cmovle edx, eax
test eax, eax
setg al
movzx eax, al
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
jmp 0x68491285
mov dword [esp + 0x98], 5
mov eax, 5
sub eax, dword [esp + 0xbc]
mov dword [esp + 0x9c], eax
jmp 0x68491285
sar edi, 1
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
mov eax, edi
mov edi, esi
mov esi, dword [esp + 0xac]
imul edx, eax
add eax, ecx
and ecx, 0xfffffff8
sar edi, 1
mov ebx, ecx
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x3c], eax
add ebx, 8
mov ecx, dword [ecx + 0xa8]
lea esi, [esi + edx*8]
mov eax, ecx
mov ecx, dword [esp + 0xa0]
sar eax, 1
lea edx, [ecx + edi]
cmp eax, ebx
mov dword [esp + 0x4c], edx
mov edx, ecx
cmovg eax, ebx
and edx, 0xfffffff8
lea ecx, [edx + 8]
mov dword [esp + 0x50], ecx
cmp dword [esp + 0x3c], eax
jge 0x684922cb
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 0x9c]
mov dword [esp + 0x58], eax
sar eax, 1
cmp eax, edx
cmovl eax, edx
cmp dword [esp + 0xa0], eax
jg 0x684923bf
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x50]
mov eax, dword [eax + 0xa0]
mov dword [esp + 0x58], eax
sar eax, 1
cmp eax, ecx
cmovg eax, ecx
cmp eax, dword [esp + 0x4c]
jle 0x68491020
mov edx, ebp
mov dl, byte [esp + 0x44]
lea eax, [esi + edi*8]
mov dword [esp + 0x14], 2
mov dword [esp], eax
mov ecx, dword [esp + 0x118]
mov ebp, edx
mov dword [esp + 0x10], 0
mov edx, ebp
mov dh, byte [esp + 0x40]
mov dword [esp + 0xc], 0
mov word [esp + 8], dx
mov ebp, edx
lea edx, [eax + 4]
mov eax, dword [esp + 0x48]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x114]
call fcn.684906e0
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 0xa8]
mov dword [esp + 0x4c], eax
sar eax, 1
cmp eax, ebx
cmovg eax, ebx
cmp dword [esp + 0x3c], eax
jg 0x68491020
mov ebx, ebp
mov bl, byte [esp + 0x44]
sub edi, dword [esp + 0xa4]
mov dword [esp + 0x14], 2
lea eax, [esi + edi*8]
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x118]
mov ebp, ebx
lea edx, [eax + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov ebx, ebp
mov bh, byte [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0x114]
mov word [esp + 8], bx
mov ebp, ebx
call fcn.684906e0
jmp 0x68491020
mov edi, dword [esp + 0x3c]
mov ecx, dword [eax + 0x594]
mov eax, dword [eax + 0x598]
mov esi, dword [edi + 0x128]
sar ecx, 0xd
sar eax, 0xd
mov edx, ecx
mov ebx, eax
test esi, esi
je 0x68491d48
lea edx, [eax + 3]
sar ax, 0xf
sub edx, eax
lea eax, [ecx + 3]
sar cx, 0xf
sub eax, ecx
mov ebx, edx
and eax, 0xfffffff8
and ebx, 0xfffffff8
mov edx, eax
mov word [esp + 0xdc], dx
mov word [esp + 0xde], bx
mov dword [esp + 0xd4], 0x80008000
jmp 0x68490c53
cmp ebx, 8
jle 0x6849143f
mov dword [esp + 8], 0x276
mov dword [esp + 4], str..._src_refmvs.c
mov dword [esp], str.cnt___8
call fcn.684d2880
mov eax, dword [esp + 0x118]
mov ebx, dword [eax]
jmp 0x68491437
mov esi, dword [esp + 0x48]
movsx eax, byte [esp + 0x44]
mov edi, dword [esp + 0x78]
movzx eax, byte [esi + eax + 0x1b]
mov dword [esp + 0x4c], eax
movsx eax, cl
movzx eax, byte [esi + eax + 0x1b]
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
cmp edi, eax
cmovle eax, edi
mov edi, dword [esp + 0x114]
shl ebx, 4
add edi, ebx
cmp dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x3c], eax
je 0x68492342
test eax, eax
jle 0x6849239f
lea eax, [esi + 0x1c]
xor ebx, ebx
mov dword [esp + 0x54], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x58], eax
lea esi, [esi]
mov esi, dword [esp + 0x80]
lea eax, [ebx + ebx*2]
mov edx, dword [esp + 0x58]
lea esi, [esi + eax*4]
mov eax, ebp
mov al, byte [esp + 0x44]
mov ecx, esi
mov ebp, eax
mov eax, ebp
mov ah, byte [esp + 0x40]
mov ebp, eax
mov eax, dword [esp + 0x54]
mov word [esp + 8], bp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, edi
call fcn.684900b0
movzx eax, byte [esi + 0xa]
movzx eax, byte [eax*4 + 0x684f9980]
add ebx, eax
cmp dword [esp + 0x3c], ebx
jg 0x68491e30
cmp dword [esp + 0x74], 0xffffffff
je 0x68491f0b
mov eax, dword [esp + 0x130]
xor ebx, ebx
lea eax, [eax + eax*2]
lea eax, [eax*4 - 0xc]
mov dword [esp + 0x64], eax
nop
lea esi, [esi]
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
add esi, dword [eax + ebx*4]
mov eax, ebp
mov al, byte [esp + 0x44]
mov ecx, esi
mov ebp, eax
mov eax, ebp
mov ah, byte [esp + 0x40]
mov ebp, eax
mov eax, dword [esp + 0x54]
mov word [esp + 8], bp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, edi
call fcn.684900b0
movzx eax, byte [esi + 0xa]
movzx eax, byte [eax*4 + 0x684f9981]
add ebx, eax
cmp dword [esp + 0x3c], ebx
jg 0x68491eb0
mov edx, dword [esp + 0xe0]
cmp edx, 1
jle 0x684922f8
mov eax, dword [esp + 0xe4]
cmp eax, 1
jg 0x68491f6e
mov ecx, dword [esp + 0xec]
test ecx, ecx
je 0x68492460
mov ebx, dword [edi + 0x24]
lea edx, [eax + 1]
shl eax, 4
mov dword [edi + eax + 4], ebx
cmp edx, 2
je 0x68491f6e
cmp ecx, 2
je 0x68492426
lea eax, [edx*4 + 1]
mov edx, dword [esp + 0xdc]
lea ecx, [edi + 0x24]
lea eax, [edi + eax*4]
mov dword [eax], edx
add eax, 0x10
cmp ecx, eax
jne 0x68491f65
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
mov eax, dword [eax]
cmp eax, 1
je 0x6849236c
mov esi, esi
lea edi, [edi]
mov edx, eax
add eax, 1
shl edx, 4
mov dword [ecx + edx + 8], 2
cmp eax, 1
jle 0x68491f90
mov eax, dword [esp + 0x118]
mov ebx, 2
mov dword [eax], 2
jmp 0x6849168f
movsx eax, byte [esp + 0x44]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x78]
movzx ebp, byte [edi + eax + 0x1b]
mov eax, dword [esp + 0x7c]
cmp esi, eax
cmovle eax, esi
cmp dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x3c], eax
je 0x68492438
test eax, eax
jle 0x68491437
add edi, 0x1c
xor esi, esi
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x118]
jmp 0x6849200b
mov ebx, dword [edi]
cmp ebx, 1
jg 0x6849142e
mov ecx, dword [esp + 0x80]
lea eax, [esi + esi*2]
mov dword [esp], ebp
mov edx, edi
lea ebx, [ecx + eax*4]
mov eax, dword [esp + 0x40]
mov ecx, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
call fcn.68490300
movzx eax, byte [ebx + 0xa]
movzx eax, byte [eax*4 + 0x684f9980]
add esi, eax
cmp esi, dword [esp + 0x3c]
jl 0x68492000
mov eax, dword [esp + 0x118]
cmp dword [esp + 0x74], 0xffffffff
mov edi, dword [esp + 0x40]
mov ebx, dword [eax]
je 0x6849142e
cmp ebx, 1
jg 0x6849142e
mov eax, dword [esp + 0x130]
mov dword [esp + 0x44], edi
xor esi, esi
mov edi, dword [esp + 0x118]
lea eax, [eax + eax*2]
lea eax, [eax*4 - 0xc]
mov dword [esp + 0x40], eax
jmp 0x68492097
mov ebx, dword [edi]
cmp ebx, 1
jg 0x68491d68
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x40]
mov edx, edi
add ebx, dword [eax + esi*4]
mov eax, dword [esp + 0x44]
mov dword [esp], ebp
mov ecx, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
call fcn.68490300
movzx eax, byte [ebx + 0xa]
movzx eax, byte [eax*4 + 0x684f9981]
add esi, eax
cmp esi, dword [esp + 0x3c]
jl 0x6849208c
mov eax, dword [esp + 0x118]
mov ebx, dword [eax]
jmp 0x6849142e
mov esi, dword [eax + 0x59c]
cmp dword [eax + 0x5a8], esi
je 0x6849210c
mov dword [esp + 8], 0x1e6
mov dword [esp + 4], str..._src_env.h
mov dword [esp], str.gmv__matrix_5___gmv__matrix_2_
call fcn.684d2880
lea eax, [edi + edi*8]
lea esi, [eax*4]
mov eax, dword [esp + 0x3c]
lea ebx, [eax + esi]
mov eax, dword [ebx + 0x5a4]
mov ecx, dword [ebx + 0x5a0]
mov dword [esp + 0x54], eax
add eax, ecx
je 0x6849215d
mov dword [esp + 8], 0x1e7
mov dword [esp + 4], str..._src_env.h
mov dword [esp], str.gmv__matrix_4____gmv__matrix_3_
call fcn.684d2880
mov eax, dword [ebx + 0x5a4]
mov ecx, dword [ebx + 0x5a0]
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x48]
mov eax, dword [ebx]
add eax, esi
mov ebx, dword [eax + 0x590]
jmp 0x684917e4
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd4], 0x80008000
jmp 0x68490c53
mov edi, dword [esp + 0x3c]
mov ecx, dword [eax + 0x594]
mov eax, dword [eax + 0x598]
mov esi, dword [edi + 0x128]
sar ecx, 0xd
sar eax, 0xd
mov edx, ecx
mov ebx, eax
test esi, esi
je 0x684921cb
lea edx, [eax + 3]
sar ax, 0xf
sub edx, eax
lea eax, [ecx + 3]
sar cx, 0xf
sub eax, ecx
mov ebx, edx
and eax, 0xfffffff8
and ebx, 0xfffffff8
mov edx, eax
mov word [esp + 0xd8], dx
mov word [esp + 0xda], bx
jmp 0x68490c3b
mov esi, dword [eax + 0x59c]
cmp dword [eax + 0x5a8], esi
je 0x6849220a
mov dword [esp + 8], 0x1e6
mov dword [esp + 4], str..._src_env.h
mov dword [esp], str.gmv__matrix_5___gmv__matrix_2_
call fcn.684d2880
lea eax, [edi + edi*8]
lea esi, [eax*4]
mov eax, dword [esp + 0x3c]
lea ebx, [eax + esi]
mov eax, dword [ebx + 0x5a4]
mov ecx, dword [ebx + 0x5a0]
mov dword [esp + 0x54], eax
add eax, ecx
je 0x6849225b
mov dword [esp + 8], 0x1e7
mov dword [esp + 4], str..._src_env.h
mov dword [esp], str.gmv__matrix_4____gmv__matrix_3_
call fcn.684d2880
mov eax, dword [ebx + 0x5a4]
mov ecx, dword [ebx + 0x5a0]
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x48]
mov eax, dword [ebx]
add eax, esi
mov ebx, dword [eax + 0x590]
jmp 0x6849197a
mov eax, dword [esp + 0x9c]
mov edx, 7
mov edi, dword [esp + 0x11c]
add eax, 3
cmp eax, 7
cmovg eax, edx
mov edx, 4
cmp eax, 4
cmovl eax, edx
mov dword [edi], eax
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x9c]
mov eax, 3
cmp edi, 3
cmovle eax, edi
mov edi, dword [esp + 0x11c]
add eax, 1
mov dword [edi], eax
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x110]
mov ecx, dword [ecx + 0xa0]
mov edx, ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x50]
sar edx, 1
cmp edx, ecx
cmovg edx, ecx
cmp edx, dword [esp + 0x4c]
jg 0x68491ca1
jmp 0x68491020
mov ecx, dword [esp + 0xe8]
test ecx, ecx
je 0x68492431
mov ebx, dword [edi + 0x20]
lea eax, [edx + 1]
shl edx, 4
mov dword [edi + edx], ebx
cmp eax, 2
je 0x68491f1b
cmp ecx, 2
je 0x68492467
shl eax, 4
mov edx, dword [esp + 0xd8]
lea ecx, [edi + 0x20]
add eax, edi
mov dword [eax], edx
add eax, 0x10
cmp ecx, eax
jne 0x68492334
jmp 0x68491f1b
cmp dword [esp + 0x74], 0xffffffff
je 0x6849239f
mov edx, dword [esp + 0x3c]
test edx, edx
jle 0x6849239f
mov eax, dword [esp + 0x48]
add eax, 0x1c
mov dword [esp + 0x54], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x58], eax
jmp 0x68491e91
mov eax, dword [esp + 0x114]
mov esi, dword [esp + 0x114]
mov eax, dword [eax]
mov edx, dword [esi + 4]
xor eax, dword [edi]
xor edx, dword [edi + 4]
or edx, eax
je 0x68492415
mov eax, dword [esp + 0x114]
mov dword [eax + 0x18], 2
jmp 0x68491fa5
mov ecx, dword [esp + 0xe8]
xor eax, eax
test ecx, ecx
je 0x68492325
mov eax, dword [edi + 0x20]
mov dword [edi], eax
mov eax, 1
jmp 0x6849231c
mov eax, ebp
mov al, byte [esp + 0x44]
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x118]
mov ebp, eax
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0x114]
mov eax, ebp
mov ah, byte [esp + 0x40]
mov ebp, eax
mov word [esp + 8], ax
lea eax, [esi - 4]
mov dword [esp + 4], eax
lea eax, [esi - 8]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
call fcn.684906e0
jmp 0x68491c12
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
jmp 0x6849238c
mov eax, dword [edi + 0x34]
mov dword [edi + 0x14], eax
jmp 0x68491f6e
mov eax, edx
jmp 0x68492325
cmp dword [esp + 0x74], 0xffffffff
je 0x68491437
mov eax, dword [esp + 0x48]
lea edi, [eax + 0x1c]
mov eax, dword [esp + 0x3c]
test eax, eax
jg 0x68492068
jmp 0x68491437
mov edx, eax
jmp 0x68491f51
mov eax, dword [edi + 0x30]
mov dword [edi + 0x10], eax
jmp 0x68491f1b