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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov dword [esp + 0x60], eax
mov eax, dword [eax + 0x2048]
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x2074]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x207c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x2078]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x2080]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x2134]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x2084]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x2088]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x2044]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc8]
and eax, 1
add eax, 1
sub edx, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
and edx, ecx
mov dword [esp + 0x8c], edx
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x60]
mov eax, dword [eax + 0x204c]
mov ecx, dword [edx + ecx*4 + 0x144c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0xc8]
mov eax, dword [edx + eax*4 + 0x1448]
test ecx, ecx
mov dword [esp + 0x70], eax
je 0x9036e8
mov edx, dword [esp + 0x50]
mov edx, dword [edx]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x50]
mov edx, dword [edx + 4]
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xc8]
mov edi, dword [esp + 0x48]
neg ecx
sar edx, 1
sar ecx, 1
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
jmp 0x903028
mov dword [esp + 0x5c], eax
mov dword [esp + 0x48], edi
sub edi, dword [esp + 0xc8]
cmp edi, dword [esp + 0x2c]
cmovg edi, dword [esp + 0x2c]
cmp edi, dword [esp + 0x28]
cmovl edi, dword [esp + 0x28]
cmp dword [esp + 0x28], edi
jg 0x903702
cmp dword [esp + 0x2c], edi
jl 0x90371e
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x5c], ecx
mov ebp, ecx
cmovle ebp, dword [esp + 0x5c]
cmp ebp, dword [esp + 0x40]
cmovl ebp, dword [esp + 0x40]
cmp dword [esp + 0x40], ebp
jg 0x90373a
cmp dword [esp + 0x3c], ebp
jl 0x903756
lea edx, [ebp*8]
mov ecx, dword [esp + 0x54]
mov eax, ebp
mov ebx, edx
add ebx, edi
and ebx, 0x3f
shl eax, 0xb
lea esi, [ecx + ebx*4]
mov dword [esp + 0x24], eax
add eax, edi
add eax, dword [esp + 0x58]
cmp dword [esi], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x4c], eax
je 0x90315e
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 8], edx
mov edx, edi
mov dword [esp + 4], ecx
mov ecx, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x60]
call fcn.008fd210
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x64]
mov dword [esi], edx
mov edx, edi
mov dword [ecx + ebx*4], eax
movzx ecx, byte [esp + 0x34]
shl edx, cl
mov ecx, dword [esp + 0x30]
sub edx, dword [esp + 0x68]
movzx ebx, byte [ecx + edx]
mov edx, ebp
movzx ecx, byte [esp + 0x34]
shl edx, cl
mov ecx, dword [esp + 0x30]
sub edx, dword [esp + 0x6c]
movzx edx, byte [ecx + edx]
add edx, ebx
imul edx, dword [esp + 0xb8]
add eax, edx
cmp dword [esp + 0x44], eax
jle 0x90315e
mov edx, dword [esp + 0x50]
mov dword [esp + 0x44], eax
mov dword [edx], edi
mov dword [edx + 4], ebp
mov edi, dword [esp + 0xc8]
add edi, dword [esp + 0x48]
cmp edi, dword [esp + 0x2c]
cmovg edi, dword [esp + 0x2c]
cmp edi, dword [esp + 0x28]
cmovl edi, dword [esp + 0x28]
cmp dword [esp + 0x28], edi
jg 0x903772
cmp dword [esp + 0x2c], edi
jl 0x90378e
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
add ebx, edi
and ebx, 0x3f
lea esi, [ecx + ebx*4]
add eax, edi
add eax, dword [esp + 0x58]
cmp dword [esi], eax
mov dword [esp + 0x24], eax
je 0x90325e
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 8], edx
mov edx, edi
mov dword [esp + 4], ecx
mov ecx, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x60]
call fcn.008fd210
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x64]
mov dword [esi], edx
mov edx, edi
mov dword [ecx + ebx*4], eax
movzx ecx, byte [esp + 0x34]
shl edx, cl
mov ecx, dword [esp + 0x30]
sub edx, dword [esp + 0x68]
movzx ebx, byte [ecx + edx]
mov edx, ebp
movzx ecx, byte [esp + 0x34]
shl edx, cl
mov ecx, dword [esp + 0x30]
sub edx, dword [esp + 0x6c]
movzx edx, byte [ecx + edx]
add edx, ebx
imul edx, dword [esp + 0xb8]
add edx, eax
cmp dword [esp + 0x44], edx
jle 0x90325e
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], edx
mov dword [eax], edi
mov dword [eax + 4], ebp
mov edi, dword [esp + 0x84]
add edi, dword [esp + 0x48]
cmp edi, dword [esp + 0x2c]
cmovg edi, dword [esp + 0x2c]
cmp edi, dword [esp + 0x28]
cmovl edi, dword [esp + 0x28]
cmp dword [esp + 0x28], edi
jg 0x9037aa
cmp dword [esp + 0x2c], edi
jl 0x9037c6
mov ebp, dword [esp + 0xc8]
add ebp, dword [esp + 0x5c]
cmp ebp, dword [esp + 0x3c]
cmovg ebp, dword [esp + 0x3c]
cmp ebp, dword [esp + 0x40]
cmovl ebp, dword [esp + 0x40]
cmp dword [esp + 0x40], ebp
jg 0x9037e2
cmp dword [esp + 0x3c], ebp
jl 0x9037fe
mov edx, ebp
shl edx, 0xb
mov eax, edx
add eax, edi
add eax, dword [esp + 0x58]
lea ecx, [ebp*8]
mov ebx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
add ebx, edi
and ebx, 0x3f
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], ecx
lea esi, [eax + ebx*4]
cmp dword [esi], edx
je 0x9033a3
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], edx
mov edx, edi
mov dword [esp], ecx
mov ecx, ebp
call fcn.008fd210
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x64]
mov dword [esi], edx
mov edx, edi
mov dword [ecx + ebx*4], eax
movzx ecx, byte [esp + 0x34]
shl edx, cl
mov ecx, dword [esp + 0x30]
sub edx, dword [esp + 0x68]
movzx ebx, byte [ecx + edx]
mov edx, ebp
movzx ecx, byte [esp + 0x34]
shl edx, cl
mov ecx, dword [esp + 0x30]
sub edx, dword [esp + 0x6c]
movzx edx, byte [ecx + edx]
add edx, ebx
imul edx, dword [esp + 0xb8]
add edx, eax
cmp dword [esp + 0x44], edx
jle 0x9033a3
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], edx
mov dword [eax], edi
mov dword [eax + 4], ebp
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0xc8]
cmp eax, dword [esp + 0x3c]
cmovg eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x40]
cmovl eax, dword [esp + 0x40]
cmp dword [esp + 0x40], eax
mov dword [esp + 0x24], eax
jg 0x90381a
cmp dword [esp + 0x3c], eax
jl 0x903836
mov ecx, eax
mov edx, dword [esp + 0x54]
shl ecx, 0xb
mov eax, ecx
add eax, edi
add eax, dword [esp + 0x58]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x78]
shl eax, 3
mov ebx, eax
add ebx, edi
and ebx, 0x3f
lea esi, [edx + ebx*4]
cmp dword [esi], ecx
mov dword [esp + 0x80], eax
je 0x9034c8
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov edx, edi
mov dword [esp], eax
mov eax, dword [esp + 0x60]
call fcn.008fd210
mov ecx, dword [esp + 0x78]
mov dword [esi], ecx
movzx ecx, byte [esp + 0x34]
mov edx, eax
mov eax, dword [esp + 0x64]
mov dword [eax + ebx*4], edx
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x30]
sub eax, dword [esp + 0x68]
movzx ebx, byte [ecx + eax]
movzx ecx, byte [esp + 0x34]
mov eax, dword [esp + 0x24]
shl eax, cl
mov ecx, dword [esp + 0x30]
sub eax, dword [esp + 0x6c]
movzx eax, byte [ecx + eax]
add eax, ebx
imul eax, dword [esp + 0xb8]
add eax, edx
cmp dword [esp + 0x44], eax
jle 0x9034c8
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov dword [edx], edi
mov dword [edx + 4], ecx
cmp dword [esp + 0xc8], 1
jle 0x9036f7
mov edi, dword [esp + 0x88]
add edi, dword [esp + 0x48]
cmp edi, dword [esp + 0x2c]
cmovg edi, dword [esp + 0x2c]
cmp edi, dword [esp + 0x28]
cmovl edi, dword [esp + 0x28]
cmp dword [esp + 0x28], edi
jg 0x90386e
cmp dword [esp + 0x2c], edi
jl 0x903852
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
add ebx, edi
and ebx, 0x3f
lea esi, [ecx + ebx*4]
add eax, edi
add eax, dword [esp + 0x58]
cmp dword [esi], eax
mov dword [esp + 0x38], eax
je 0x9035d8
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 8], edx
mov edx, edi
mov dword [esp + 4], ecx
mov ecx, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x60]
call fcn.008fd210
mov ecx, dword [esp + 0x38]
mov dword [esi], ecx
movzx ecx, byte [esp + 0x34]
mov edx, eax
mov eax, dword [esp + 0x64]
mov dword [eax + ebx*4], edx
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x30]
sub eax, dword [esp + 0x68]
movzx ebx, byte [ecx + eax]
mov eax, ebp
movzx ecx, byte [esp + 0x34]
shl eax, cl
mov ecx, dword [esp + 0x30]
sub eax, dword [esp + 0x6c]
movzx eax, byte [ecx + eax]
add eax, ebx
imul eax, dword [esp + 0xb8]
add eax, edx
cmp dword [esp + 0x44], eax
jle 0x9035d8
mov edx, dword [esp + 0x50]
mov dword [esp + 0x44], eax
mov dword [edx], edi
mov dword [edx + 4], ebp
mov ebx, dword [esp + 0x80]
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x7c]
add ebx, edi
and ebx, 0x3f
lea esi, [ecx + ebx*4]
add ebp, edi
add ebp, dword [esp + 0x58]
cmp dword [esi], ebp
je 0x9036f7
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], edx
mov edx, edi
mov dword [esp], ecx
mov ecx, dword [esp + 0x24]
call fcn.008fd210
mov edx, dword [esp + 0x64]
movzx ecx, byte [esp + 0x34]
mov dword [esi], ebp
mov dword [edx + ebx*4], eax
mov edx, edi
shl edx, cl
mov ecx, dword [esp + 0x30]
sub edx, dword [esp + 0x68]
movzx ebx, byte [ecx + edx]
movzx ecx, byte [esp + 0x34]
mov edx, dword [esp + 0x24]
shl edx, cl
mov ecx, dword [esp + 0x30]
sub edx, dword [esp + 0x6c]
movzx edx, byte [ecx + edx]
add edx, ebx
imul edx, dword [esp + 0xb8]
add edx, eax
cmp dword [esp + 0x44], edx
jle 0x9036f7
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], edx
mov dword [ecx], edi
mov dword [ecx + 4], eax
cmp edi, dword [esp + 0x48]
jne 0x903020
cmp dword [esp + 0x5c], eax
jne 0x903020
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x8c]
sub eax, 1
test edx, edx
cmove eax, dword [esp + 0x84]
test eax, eax
mov dword [esp + 0xc8], eax
jne 0x902ff5
mov eax, dword [esp + 0x44]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x50]
mov edi, dword [edx]
mov eax, dword [edx + 4]
jmp 0x9036aa
mov dword [esp + 8], 0x208
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Lx2____xmin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x208
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Lx2____xmax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x208
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Ly2____ymin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x208
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Ly2____ymax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x209
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Lx2____xmin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x209
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Lx2____xmax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x20a
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Lx2____xmin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x20a
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Lx2____xmax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x20a
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Ly2____ymin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x20a
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Ly2____ymax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x20b
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Ly2____ymin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x20b
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Ly2____ymax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x20d
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Lx2____xmax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x20d
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Lx2____xmin
call sub.msvcrt.dll__assert
lea esi, [esi]