Function at 0x905300
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 + 0x58], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x60], ebx
mov ebx, dword [eax + 0x2074]
mov dword [esp + 0x48], ebx
mov ebx, dword [eax + 0x207c]
mov dword [esp + 0x44], ebx
mov ebx, dword [eax + 0x2078]
mov dword [esp + 0x3c], ebx
mov ebx, dword [eax + 0x2080]
mov dword [esp + 0x40], ebx
mov ebx, dword [eax + 0x2134]
mov dword [esp + 0x30], ebx
mov ebx, dword [eax + 0x2084]
mov dword [esp + 0x64], ebx
mov ebx, dword [eax + 0x2088]
mov dword [esp + 0x68], ebx
mov ebx, dword [eax + 0x2044]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0xac]
and eax, 1
add eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x204c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
mov ebx, dword [eax + ebx*4 + 0x1448]
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0xac]
mov ebp, dword [eax + 0x2070]
mov ebx, dword [eax + ebx*4 + 0x144c]
test ebp, ebp
mov dword [esp + 0x70], ebx
jle 0x905b3c
mov ebx, dword [edx]
mov dword [esp + 0x78], 1
mov dword [esp + 0x7c], ebx
mov edx, dword [esp + 0x5c]
mov ecx, 0
mov esi, dword [esp + 0x78]
mov edx, dword [edx + 4]
add esi, edx
mov eax, esi
sub eax, dword [esp + 0x40]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x3c]
cmovs eax, ecx
sub edx, dword [esp + 0x7c]
add edx, 1
cmp edx, dword [esp + 0x78]
cmovg edx, dword [esp + 0x78]
cmp eax, edx
mov dword [esp + 0x54], edx
jge 0x9055ad
mov ebx, dword [esp + 0x7c]
add ebx, eax
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x28], ebx
jg 0x905b4b
cmp dword [esp + 0x3c], ebx
jl 0x905b67
mov ebx, esi
sub ebx, eax
cmp dword [esp + 0x44], ebx
mov dword [esp + 0x24], ebx
jg 0x905b83
cmp dword [esp + 0x40], ebx
jl 0x905b9f
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
shl edx, 0xb
add edx, dword [esp + 0x28]
add edx, dword [esp + 0x4c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
lea ebp, [edx + ebx*8]
mov ebx, dword [esp + 0x7c]
mov edx, eax
not edx
and ebp, 0x3f
add esi, edx
lea edi, [eax + ebx + 1]
jmp 0x9054ce
mov eax, esi
shl eax, 0xb
lea ebp, [edi + esi*8]
add eax, edi
and ebp, 0x3f
add eax, dword [esp + 0x4c]
cmp dword [esp + 0x48], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
jg 0x905b4b
cmp dword [esp + 0x3c], edi
jl 0x905b67
cmp dword [esp + 0x44], esi
jg 0x905b83
add edi, 1
cmp dword [esp + 0x40], esi
lea eax, [esi - 1]
jl 0x905b9f
mov esi, eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
lea ebx, [eax + ebp*4]
cmp dword [ebx], edx
je 0x90559a
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x28]
mov dword [esp], ecx
mov ecx, dword [esp + 0x24]
call fcn.008fd210
mov edx, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x34]
mov dword [ebx], edx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x60]
shl edx, cl
mov ecx, dword [esp + 0x30]
sub edx, dword [esp + 0x64]
mov dword [ebx + ebp*4], eax
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 + 0x68]
movzx edx, byte [ecx + edx]
add edx, ebx
imul edx, dword [esp + 0xa8]
add edx, eax
cmp edx, dword [esp + 0x38]
jge 0x90559a
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
add dword [esp + 0x20], 1
mov ebx, dword [esp + 0x54]
cmp dword [esp + 0x20], ebx
jne 0x905481
mov edi, dword [esp + 0x78]
mov edx, 0
add edi, dword [esp + 0x7c]
mov eax, edi
sub eax, dword [esp + 0x3c]
cmovs eax, edx
mov edx, dword [esp + 0x74]
sub edx, dword [esp + 0x44]
add edx, 1
cmp dword [esp + 0x78], edx
cmovle edx, dword [esp + 0x78]
cmp eax, edx
mov dword [esp + 0x54], edx
jge 0x90577c
mov ebx, edi
sub ebx, eax
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x28], ebx
jg 0x905bbb
cmp dword [esp + 0x3c], ebx
jl 0x905bd7
mov ebx, dword [esp + 0x74]
sub ebx, eax
cmp dword [esp + 0x44], ebx
mov dword [esp + 0x24], ebx
jg 0x905bf3
cmp dword [esp + 0x40], ebx
jl 0x905c0f
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x20], eax
shl edx, 0xb
add edx, dword [esp + 0x28]
add edx, dword [esp + 0x4c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
lea ebp, [edx + ebx*8]
mov edx, eax
not edx
and ebp, 0x3f
add esi, edx
add edi, edx
jmp 0x90569d
mov eax, esi
shl eax, 0xb
lea ebp, [edi + esi*8]
add eax, edi
and ebp, 0x3f
add eax, dword [esp + 0x4c]
cmp dword [esp + 0x48], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
jg 0x905bbb
cmp dword [esp + 0x3c], edi
jl 0x905bd7
cmp dword [esp + 0x44], esi
jg 0x905bf3
sub edi, 1
cmp dword [esp + 0x40], esi
lea eax, [esi - 1]
jl 0x905c0f
mov esi, eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x2c]
lea ebx, [ecx + ebp*4]
cmp dword [ebx], eax
je 0x905769
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
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 + 0x58]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
call fcn.008fd210
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [ebx], ecx
movzx ecx, byte [esp + 0x34]
mov ebx, dword [esp + 0x60]
shl edx, cl
mov ecx, dword [esp + 0x30]
sub edx, dword [esp + 0x64]
mov dword [ebx + ebp*4], eax
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 + 0x68]
movzx edx, byte [ecx + edx]
add edx, ebx
imul edx, dword [esp + 0xa8]
add edx, eax
cmp edx, dword [esp + 0x38]
jge 0x905769
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
add dword [esp + 0x20], 1
mov ebx, dword [esp + 0x54]
cmp dword [esp + 0x20], ebx
jne 0x905650
mov eax, dword [esp + 0x78]
mov edx, 0
sub eax, dword [esp + 0x74]
add eax, dword [esp + 0x44]
cmovs eax, edx
mov edx, dword [esp + 0x7c]
sub edx, dword [esp + 0x48]
add edx, 1
cmp edx, dword [esp + 0x78]
cmovg edx, dword [esp + 0x78]
cmp eax, edx
mov dword [esp + 0x2c], edx
jge 0x90593a
mov ebx, dword [esp + 0x7c]
sub ebx, eax
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x24], ebx
jg 0x905c2b
cmp dword [esp + 0x3c], ebx
jl 0x905c47
mov ebx, dword [esp + 0x74]
sub ebx, dword [esp + 0x78]
mov esi, ebx
add esi, eax
cmp dword [esp + 0x44], esi
mov dword [esp + 0x54], ebx
jg 0x905c63
cmp dword [esp + 0x40], esi
jl 0x905c7f
mov ebx, dword [esp + 0x24]
mov edx, esi
mov edi, eax
shl edx, 0xb
not edi
add edx, dword [esp + 0x24]
add edx, dword [esp + 0x4c]
lea ebp, [ebx + esi*8]
and ebp, 0x3f
mov dword [esp + 0x28], edx
add edi, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
jmp 0x90586c
mov esi, dword [esp + 0x20]
add esi, dword [esp + 0x54]
mov dword [esp + 0x24], edi
mov eax, esi
shl eax, 0xb
lea ebp, [edi + esi*8]
add eax, edi
and ebp, 0x3f
add eax, dword [esp + 0x4c]
cmp dword [esp + 0x48], edi
mov dword [esp + 0x28], eax
jg 0x905c2b
cmp dword [esp + 0x3c], edi
jl 0x905c47
cmp dword [esp + 0x44], esi
jg 0x905c63
sub edi, 1
cmp dword [esp + 0x40], esi
jl 0x905c7f
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
lea ebx, [eax + ebp*4]
cmp dword [ebx], edx
je 0x905927
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
mov dword [esp], ecx
mov ecx, esi
call fcn.008fd210
mov edx, dword [esp + 0x28]
movzx ecx, byte [esp + 0x34]
mov dword [ebx], edx
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
mov dword [ebx + ebp*4], eax
mov ebx, dword [esp + 0x30]
mov ebp, esi
shl edx, cl
shl ebp, cl
sub edx, dword [esp + 0x64]
sub ebp, dword [esp + 0x68]
movzx edx, byte [ebx + edx]
movzx ecx, byte [ebx + ebp]
add edx, ecx
imul edx, dword [esp + 0xa8]
add edx, eax
cmp edx, dword [esp + 0x38]
jge 0x905927
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov dword [ebx + 4], esi
mov dword [ebx], eax
add dword [esp + 0x20], 1
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x20], ebx
jne 0x905820
mov eax, dword [esp + 0x78]
mov edx, 0
sub eax, dword [esp + 0x7c]
add eax, dword [esp + 0x48]
cmovs eax, edx
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x74]
add edx, 1
cmp dword [esp + 0x78], edx
cmovle edx, dword [esp + 0x78]
cmp eax, edx
mov dword [esp + 0x2c], edx
jge 0x905aea
mov edx, dword [esp + 0x7c]
sub edx, dword [esp + 0x78]
lea ebx, [edx + eax]
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x24], ebx
jg 0x905c9b
cmp dword [esp + 0x3c], ebx
jl 0x905cb7
mov esi, dword [esp + 0x74]
add esi, eax
cmp dword [esp + 0x44], esi
jg 0x905cd3
cmp dword [esp + 0x40], esi
jl 0x905cef
mov ebx, dword [esp + 0x24]
mov ecx, esi
shl ecx, 0xb
add ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x4c]
lea ebp, [ebx + esi*8]
and ebp, 0x3f
mov dword [esp + 0x28], ecx
lea edi, [edx + eax + 1]
mov dword [esp + 0x20], eax
jmp 0x905a1c
mov esi, dword [esp + 0x20]
add esi, dword [esp + 0x74]
mov dword [esp + 0x24], edi
mov eax, esi
shl eax, 0xb
lea ebp, [edi + esi*8]
add eax, edi
and ebp, 0x3f
add eax, dword [esp + 0x4c]
cmp dword [esp + 0x48], edi
mov dword [esp + 0x28], eax
jg 0x905c9b
cmp dword [esp + 0x3c], edi
jl 0x905cb7
cmp dword [esp + 0x44], esi
jg 0x905cd3
add edi, 1
cmp dword [esp + 0x40], esi
jl 0x905cef
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
lea ebx, [eax + ebp*4]
cmp dword [ebx], edx
je 0x905ad7
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
mov dword [esp], ecx
mov ecx, esi
call fcn.008fd210
mov edx, dword [esp + 0x28]
movzx ecx, byte [esp + 0x34]
mov dword [ebx], edx
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
mov dword [ebx + ebp*4], eax
mov ebx, dword [esp + 0x30]
mov ebp, esi
shl edx, cl
shl ebp, cl
sub edx, dword [esp + 0x64]
sub ebp, dword [esp + 0x68]
movzx edx, byte [ebx + edx]
movzx ecx, byte [ebx + ebp]
add edx, ecx
imul edx, dword [esp + 0xa8]
add edx, eax
cmp dword [esp + 0x38], edx
jle 0x905ad7
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov dword [ebx + 4], esi
mov dword [ebx], eax
add dword [esp + 0x20], 1
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x20], ebx
jne 0x9059d0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
cmp eax, dword [esp + 0x7c]
je 0x905b17
mov dword [esp + 0x78], 1
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x58]
cmp dword [edx + 0x2070], ebx
jl 0x905b3c
mov dword [esp + 0x7c], eax
jmp 0x9053d3
mov ecx, edx
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x78], 1
add edx, 1
cmp dword [ecx + 4], ebx
cmovne edx, dword [esp + 0x78]
mov dword [esp + 0x78], edx
mov ebx, edx
jmp 0x905b02
mov eax, dword [esp + 0x38]
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x31c
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], 0x31c
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], 0x31c
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], 0x31c
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], 0x325
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], 0x325
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], 0x325
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], 0x325
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], 0x32e
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], 0x32e
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], 0x32e
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], 0x32e
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], 0x337
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], 0x337
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], 0x337
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], 0x337
mov dword [esp + 4], str.libavcodec_motion_est_template.c
mov dword [esp], str._y__dir____ymax
call sub.msvcrt.dll__assert
nop
lea esi, [esi]