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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov ebx, dword [eax + 0x2048]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x58], ebx
mov ebx, dword [eax + 0x2074]
mov dword [esp + 0x34], ebx
mov ebx, dword [eax + 0x207c]
mov dword [esp + 0x70], ebx
mov ebx, dword [eax + 0x2078]
mov dword [esp + 0x38], ebx
mov ebx, dword [eax + 0x2080]
mov dword [esp + 0x74], ebx
mov ebx, dword [eax + 0x2134]
mov dword [esp + 0x44], ebx
mov ebx, dword [eax + 0x2084]
mov dword [esp + 0x5c], ebx
mov ebx, dword [eax + 0x2088]
mov dword [esp + 0x78], ebx
mov ebx, dword [eax + 0x2044]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0xac]
and eax, 1
add eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
mov ebx, dword [edx + ebx*4 + 0x1448]
mov eax, dword [eax + 0x204c]
mov dword [esp + 0x6c], eax
movzx eax, byte [edx + 0x2070]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0xac]
mov ebx, dword [edx + ebx*4 + 0x144c]
mov edx, eax
neg edx
cmp edx, dword [esp + 0x70]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x70]
cmovge ebx, edx
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x74]
cmp eax, dword [esp + 0x74]
cmovle ebx, eax
cmp dword [esp + 0x24], ebx
mov dword [esp + 0x7c], ebx
jg 0x90277f
cmp edx, dword [esp + 0x34]
cmovl edx, dword [esp + 0x34]
cmp eax, dword [esp + 0x38]
cmovg eax, dword [esp + 0x38]
mov dword [esp + 0x68], edx
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x68], ebx
jg 0x90276c
mov ebx, dword [esp + 0x68]
cmp dword [esp + 0x34], ebx
jg 0x902d6e
cmp dword [esp + 0x38], ebx
jl 0x902d52
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x70], ebx
jg 0x902d36
cmp dword [esp + 0x74], ebx
jl 0x902d1a
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x24]
movzx ecx, byte [esp + 0x48]
mov ebx, dword [esp + 0x24]
shl edx, 0xb
mov edi, dword [esp + 0x68]
add ebp, edx
add edx, dword [esp + 0x6c]
shl eax, cl
mov esi, dword [esp + 0x68]
sub eax, dword [esp + 0x78]
add eax, dword [esp + 0x44]
shl ebx, 3
add edi, ebx
add ebp, dword [esp + 0x6c]
and edi, 0x3f
mov dword [esp + 0x30], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], edx
jmp 0x9026b3
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
add edi, esi
add ebp, esi
and edi, 0x3f
cmp dword [esp + 0x34], esi
jg 0x902d6e
cmp dword [esp + 0x38], esi
jl 0x902d52
mov eax, dword [esp + 0x3c]
lea ebx, [eax + edi*4]
cmp dword [ebx], ebp
je 0x90275f
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], edx
mov edx, esi
call fcn.008fd210
movzx ecx, byte [esp + 0x48]
mov edx, esi
mov dword [ebx], ebp
mov ebx, dword [esp + 0x58]
shl edx, cl
sub edx, dword [esp + 0x5c]
mov dword [ebx + edi*4], eax
mov ebx, dword [esp + 0x44]
movzx ecx, byte [ebx + edx]
mov ebx, dword [esp + 0x50]
movzx edx, byte [ebx]
add edx, ecx
imul edx, dword [esp + 0xa8]
add edx, eax
cmp dword [esp + 0x28], edx
jle 0x90275f
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov dword [eax], esi
mov dword [eax + 4], ebx
add esi, 1
cmp esi, dword [esp + 0x2c]
jle 0x902690
add dword [esp + 0x24], 1
mov ebx, dword [esp + 0x7c]
cmp dword [esp + 0x24], ebx
jle 0x902604
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
mov ebx, dword [edx + 4]
mov ebp, dword [edx]
cmp ebp, dword [esp + 0x38]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x34]
cmovle eax, ebp
cmp eax, dword [esp + 0x34]
cmovge ebx, eax
cmp dword [esp + 0x34], ebx
jg 0x902dfa
cmp dword [esp + 0x38], ebx
jl 0x902e16
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
cmp dword [esp + 0x24], eax
cmovle eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x70]
cmovge esi, eax
cmp dword [esp + 0x70], esi
jg 0x902e32
cmp dword [esp + 0x74], esi
jl 0x902dde
mov edx, esi
shl edx, 0xb
mov eax, edx
add eax, ebx
add eax, dword [esp + 0x6c]
lea ecx, [esi*8]
mov edi, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
add edi, ebx
and edi, 0x3f
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x28]
lea eax, [eax + edi*4]
cmp dword [eax], ecx
mov dword [esp + 0x50], eax
je 0x9028d3
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], edx
mov edx, ebx
mov dword [esp + 4], ecx
mov ecx, esi
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
call fcn.008fd210
mov ecx, dword [esp + 0x50]
mov edx, eax
mov eax, dword [esp + 0x2c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x58]
mov eax, ebx
mov dword [ecx + edi*4], edx
movzx ecx, byte [esp + 0x48]
shl eax, cl
mov ecx, dword [esp + 0x44]
sub eax, dword [esp + 0x5c]
movzx edi, byte [ecx + eax]
mov eax, esi
movzx ecx, byte [esp + 0x48]
shl eax, cl
mov ecx, dword [esp + 0x44]
sub eax, dword [esp + 0x78]
movzx eax, byte [ecx + eax]
add eax, edi
imul eax, dword [esp + 0xa8]
add edx, eax
cmp edx, dword [esp + 0x28]
jge 0x9028d3
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], edx
mov dword [eax], ebx
mov dword [eax + 4], esi
mov edi, dword [esp + 0x34]
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x38]
cmovg eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x34]
cmovge edi, eax
cmp dword [esp + 0x34], edi
jg 0x902da6
cmp dword [esp + 0x38], edi
jl 0x902dc2
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
add eax, edi
add eax, dword [esp + 0x6c]
add ecx, edi
and ecx, 0x3f
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x50]
cmp dword [eax], ecx
mov dword [esp + 0x68], eax
je 0x9029e9
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], edx
mov edx, edi
mov dword [esp + 4], ecx
mov ecx, esi
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
call fcn.008fd210
mov ecx, dword [esp + 0x68]
mov edx, eax
mov eax, dword [esp + 0x50]
mov dword [ecx], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x58]
mov dword [eax + ecx*4], edx
movzx ecx, byte [esp + 0x48]
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x44]
sub eax, dword [esp + 0x5c]
movzx eax, byte [ecx + eax]
movzx ecx, byte [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, esi
shl eax, cl
mov ecx, dword [esp + 0x44]
sub eax, dword [esp + 0x78]
movzx eax, byte [ecx + eax]
add eax, dword [esp + 0x2c]
imul eax, dword [esp + 0xa8]
add edx, eax
cmp dword [esp + 0x28], edx
jle 0x9029e9
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], edx
mov dword [eax], edi
mov dword [eax + 4], esi
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x70]
add eax, 1
cmp eax, dword [esp + 0x74]
cmovg eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x70]
cmovge edi, eax
cmp dword [esp + 0x70], edi
jg 0x902d8a
cmp dword [esp + 0x74], edi
jl 0x902ebe
mov eax, edi
shl eax, 0xb
add eax, ebx
add eax, dword [esp + 0x6c]
lea ecx, [ebx + edi*8]
and ecx, 0x3f
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x50]
cmp dword [eax], ecx
mov dword [esp + 0x68], eax
je 0x902b01
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], edx
mov edx, ebx
mov dword [esp + 4], ecx
mov ecx, edi
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
call fcn.008fd210
mov ecx, dword [esp + 0x68]
mov edx, eax
mov eax, dword [esp + 0x50]
mov dword [ecx], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x58]
mov dword [eax + ecx*4], edx
movzx ecx, byte [esp + 0x48]
mov eax, ebx
shl eax, cl
mov ecx, dword [esp + 0x44]
sub eax, dword [esp + 0x5c]
movzx eax, byte [ecx + eax]
movzx ecx, byte [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x44]
sub eax, dword [esp + 0x78]
movzx eax, byte [ecx + eax]
add eax, dword [esp + 0x2c]
imul eax, dword [esp + 0xa8]
add edx, eax
cmp dword [esp + 0x28], edx
jle 0x902b01
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], edx
mov dword [eax], ebx
mov dword [eax + 4], edi
mov edi, dword [esp + 0x34]
lea eax, [ebp - 1]
cmp eax, dword [esp + 0x38]
cmovg eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x34]
cmovge edi, eax
cmp dword [esp + 0x34], edi
jg 0x902ea2
cmp dword [esp + 0x38], edi
jl 0x902e86
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
add eax, edi
add eax, dword [esp + 0x6c]
add ecx, edi
and ecx, 0x3f
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x30]
cmp dword [eax], ecx
mov dword [esp + 0x34], eax
je 0x902c13
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], edx
mov edx, edi
mov dword [esp + 4], ecx
mov ecx, esi
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
call fcn.008fd210
mov ecx, dword [esp + 0x34]
mov edx, eax
mov eax, dword [esp + 0x30]
mov dword [ecx], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x58]
mov dword [eax + ecx*4], edx
movzx ecx, byte [esp + 0x48]
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x44]
sub eax, dword [esp + 0x5c]
movzx eax, byte [ecx + eax]
movzx ecx, byte [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, esi
shl eax, cl
mov ecx, dword [esp + 0x44]
sub eax, dword [esp + 0x78]
movzx eax, byte [ecx + eax]
add eax, dword [esp + 0x2c]
imul eax, dword [esp + 0xa8]
add edx, eax
cmp dword [esp + 0x28], edx
jle 0x902c13
mov eax, dword [esp + 0x54]
mov dword [eax], edi
mov dword [eax + 4], esi
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x70]
sub eax, 1
cmp eax, dword [esp + 0x74]
cmovg eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x70]
cmovge esi, eax
cmp dword [esp + 0x70], esi
jg 0x902e6a
cmp dword [esp + 0x74], esi
jl 0x902e4e
mov ecx, dword [esp + 0x3c]
lea edi, [ebx + esi*8]
mov eax, esi
and edi, 0x3f
shl eax, 0xb
add eax, ebx
lea ecx, [ecx + edi*4]
add eax, dword [esp + 0x6c]
cmp dword [ecx], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
je 0x902d00
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], edx
mov edx, ebx
mov dword [esp + 4], ecx
mov ecx, esi
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
call fcn.008fd210
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [edx], ecx
movzx ecx, byte [esp + 0x48]
mov edx, dword [esp + 0x58]
shl ebx, cl
mov ecx, dword [esp + 0x44]
sub ebx, dword [esp + 0x5c]
mov dword [edx + edi*4], eax
movzx edx, byte [ecx + ebx]
movzx ecx, byte [esp + 0x48]
mov ebx, dword [esp + 0x44]
shl esi, cl
sub esi, dword [esp + 0x78]
movzx ecx, byte [ebx + esi]
add edx, ecx
imul edx, dword [esp + 0xa8]
add edx, eax
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x24]
mov dword [eax], ebp
mov dword [eax + 4], ebx
add esp, 0x8c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x27c
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._y____ymax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x27c
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._y____ymin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x27c
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._x____xmax
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x27c
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._x____xmin
call sub.msvcrt.dll__assert
mov dword [esp + 8], 0x285
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], 0x284
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], 0x284
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], 0x283
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], 0x283
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], 0x283
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], 0x283
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], 0x287
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], 0x287
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], 0x286
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], 0x286
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], 0x285
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._Ly2____ymax
call sub.msvcrt.dll__assert
lea esi, [esi]