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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov ebx, dword [eax + 0x2048]
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x74], ebx
mov ebx, dword [eax + 0x2074]
mov dword [esp + 0x54], ebx
mov ebx, dword [eax + 0x207c]
mov dword [esp + 0x5c], ebx
mov ebx, dword [eax + 0x2078]
mov dword [esp + 0x4c], ebx
mov ebx, dword [eax + 0x2080]
mov dword [esp + 0x58], ebx
mov ebx, dword [eax + 0x2134]
mov dword [esp + 0x44], ebx
mov ebx, dword [eax + 0x2084]
mov dword [esp + 0x78], ebx
mov ebx, dword [eax + 0x2088]
mov dword [esp + 0x7c], ebx
mov ebx, dword [eax + 0x2044]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0xbc]
and eax, 1
add eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x204c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
mov ebx, dword [eax + ebx*4 + 0x1448]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x40], 1
mov ebx, dword [eax + ebx*4 + 0x144c]
mov dword [esp + 0x84], ebx
mov ebx, dword [edx]
mov dword [esp + 0x88], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0x8c], ebx
mov eax, dword [esp + 0x40]
sub eax, 1
test dword [esp + 0x40], eax
jne 0x902304
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x88]
cmp dword [esp + 0x4c], eax
jl 0x902304
mov edx, dword [esp + 0x88]
sub edx, dword [esp + 0x40]
cmp dword [esp + 0x54], edx
jg 0x902304
mov ebp, dword [esp + 0x40]
add ebp, dword [esp + 0x8c]
cmp dword [esp + 0x58], ebp
jl 0x902304
mov ecx, dword [esp + 0x8c]
sub ecx, dword [esp + 0x40]
cmp dword [esp + 0x5c], ecx
jg 0x902304
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x54], edi
jg 0x902338
cmp dword [esp + 0x4c], edi
jl 0x9024dc
cmp dword [esp + 0x5c], ebp
jg 0x9024c0
cmp dword [esp + 0x58], ebp
jl 0x9024a4
mov eax, ebp
shl eax, 0xb
add eax, edi
add eax, dword [esp + 0x64]
lea ebx, [edi + ebp*8]
and ebx, 0x3f
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
lea esi, [eax + ebx*4]
cmp dword [esi], edx
je 0x901f31
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
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 + 0x68]
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 + 0x74]
mov dword [esi], edx
mov edx, edi
mov dword [ecx + ebx*4], eax
movzx ecx, byte [esp + 0x48]
shl edx, cl
mov ecx, dword [esp + 0x44]
sub edx, dword [esp + 0x78]
movzx ebx, byte [ecx + edx]
mov edx, ebp
movzx ecx, byte [esp + 0x48]
shl edx, cl
mov ecx, dword [esp + 0x44]
sub edx, dword [esp + 0x7c]
movzx edx, byte [ecx + edx]
add edx, ebx
imul edx, dword [esp + 0xb8]
add eax, edx
cmp eax, dword [esp + 0x50]
jge 0x901f31
mov edx, dword [esp + 0x70]
mov dword [esp + 0x50], eax
mov dword [edx], edi
mov dword [edx + 4], ebp
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x54], ebx
jg 0x902488
cmp dword [esp + 0x4c], ebx
jl 0x90246c
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x5c], ebx
jg 0x902450
cmp dword [esp + 0x58], ebx
jl 0x902434
mov eax, ebx
mov edx, dword [esp + 0x28]
shl eax, 0xb
mov ecx, dword [esp + 0x60]
add eax, dword [esp + 0x28]
add eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
lea ebx, [edx + eax*8]
mov eax, dword [esp + 0x24]
and ebx, 0x3f
lea esi, [ecx + ebx*4]
cmp dword [esi], eax
je 0x902052
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
call fcn.008fd210
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x74]
mov dword [esi], ecx
movzx ecx, byte [esp + 0x48]
mov dword [edx + ebx*4], eax
mov edx, dword [esp + 0x28]
shl edx, cl
mov ecx, dword [esp + 0x44]
sub edx, dword [esp + 0x78]
movzx ebx, byte [ecx + edx]
movzx ecx, byte [esp + 0x48]
mov edx, dword [esp + 0x2c]
shl edx, cl
mov ecx, dword [esp + 0x44]
sub edx, dword [esp + 0x7c]
movzx edx, byte [ecx + edx]
add edx, ebx
imul edx, dword [esp + 0xb8]
add eax, edx
cmp dword [esp + 0x50], eax
jle 0x902052
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x50], eax
mov dword [edx], ebx
mov ebx, dword [esp + 0x2c]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x54], ebx
jg 0x902418
cmp dword [esp + 0x4c], ebx
jl 0x9023fc
mov ebx, dword [esp + 0x34]
cmp dword [esp + 0x5c], ebx
jg 0x9023e0
cmp dword [esp + 0x58], ebx
jl 0x9023c4
mov eax, ebx
mov edx, dword [esp + 0x30]
shl eax, 0xb
mov ecx, dword [esp + 0x60]
add eax, dword [esp + 0x30]
add eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
lea ebx, [edx + eax*8]
mov eax, dword [esp + 0x24]
and ebx, 0x3f
lea esi, [ecx + ebx*4]
cmp dword [esi], eax
je 0x902173
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
call fcn.008fd210
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x74]
mov dword [esi], ecx
movzx ecx, byte [esp + 0x48]
mov dword [edx + ebx*4], eax
mov edx, dword [esp + 0x30]
shl edx, cl
mov ecx, dword [esp + 0x44]
sub edx, dword [esp + 0x78]
movzx ebx, byte [ecx + edx]
movzx ecx, byte [esp + 0x48]
mov edx, dword [esp + 0x34]
shl edx, cl
mov ecx, dword [esp + 0x44]
sub edx, dword [esp + 0x7c]
movzx edx, byte [ecx + edx]
add edx, ebx
imul edx, dword [esp + 0xb8]
add eax, edx
cmp dword [esp + 0x50], eax
jle 0x902173
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x50], eax
mov dword [edx], ebx
mov ebx, dword [esp + 0x34]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x38]
cmp dword [esp + 0x54], ebx
jg 0x9023a8
cmp dword [esp + 0x4c], ebx
jl 0x90238c
mov ebx, dword [esp + 0x3c]
cmp dword [esp + 0x5c], ebx
jg 0x902370
cmp dword [esp + 0x58], ebx
jl 0x902354
mov eax, ebx
mov edx, dword [esp + 0x38]
shl eax, 0xb
mov ecx, dword [esp + 0x60]
add eax, dword [esp + 0x38]
add eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
lea ebx, [edx + eax*8]
mov eax, dword [esp + 0x24]
and ebx, 0x3f
lea esi, [ecx + ebx*4]
cmp dword [esi], eax
je 0x902294
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp], edx
mov edx, dword [esp + 0x38]
call fcn.008fd210
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x74]
mov dword [esi], ecx
movzx ecx, byte [esp + 0x48]
mov dword [edx + ebx*4], eax
mov edx, dword [esp + 0x38]
shl edx, cl
mov ecx, dword [esp + 0x44]
sub edx, dword [esp + 0x78]
movzx ebx, byte [ecx + edx]
movzx ecx, byte [esp + 0x48]
mov edx, dword [esp + 0x3c]
shl edx, cl
mov ecx, dword [esp + 0x44]
sub edx, dword [esp + 0x7c]
movzx edx, byte [ecx + edx]
add edx, ebx
imul edx, dword [esp + 0xb8]
add eax, edx
cmp dword [esp + 0x50], eax
jle 0x902294
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x50], eax
mov dword [edx], ebx
mov ebx, dword [esp + 0x3c]
mov dword [edx + 4], ebx
add dword [esp + 0x6c], 2
add edi, 2
mov ebx, dword [esp + 0x6c]
sub ebp, 2
add dword [esp + 0x3c], 2
add dword [esp + 0x38], 2
add dword [esp + 0x34], 2
sub dword [esp + 0x30], 2
sub dword [esp + 0x2c], 2
sub dword [esp + 0x28], 2
cmp dword [esp + 0x40], ebx
jg 0x901e32
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
cmp eax, dword [esp + 0x88]
je 0x902323
mov edx, dword [edx + 4]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x40]
sub eax, 1
test dword [esp + 0x40], eax
je 0x901da9
add dword [esp + 0x40], 1
cmp dword [esp + 0x40], 4
jle 0x901d98
mov eax, dword [esp + 0x50]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [edx + 4]
cmp edx, dword [esp + 0x8c]
je 0x902304
mov dword [esp + 0x8c], edx
jmp 0x9022e4
mov dword [esp + 8], 0x1e8
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._x__dir____xmin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1eb
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._y__dir____ymax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1eb
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._y__dir____ymin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1eb
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._x___dia_size__dir____xmax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1eb
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._x___dia_size__dir____xmin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1ea
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._y___dia_size__dir____ymax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1ea
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._y___dia_size__dir____ymin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1ea
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._x___dir____xmax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1ea
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._x___dir____xmin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1e9
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._y___dir____ymax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1e9
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._y___dir____ymin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1e9
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._x__dia_size___dir____xmax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1e9
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._x__dia_size___dir____xmin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1e8
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._y__dia_size___dir____ymax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1e8
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._y__dia_size___dir____ymin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x1e8
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._x__dir____xmax
call sub.msvcrt.dll__assert
nop
lea esi, [esi]