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

Disassembly:
push ebp
push edi
mov edi, 1
push esi
push ebx
sub esp, 0x9c
mov ebx, dword [eax + 0x204c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x6c], ebx
mov ebx, dword [eax + 0x2078]
mov dword [esp + 0x50], ebx
mov ebx, dword [eax + 0x2080]
mov dword [esp + 0x5c], ebx
mov ebx, dword [eax + 0x207c]
mov dword [esp + 0x4c], ebx
mov ebx, dword [eax + 0x2084]
mov dword [esp + 0x58], ebx
mov ebx, dword [eax + 0x2138]
mov dword [esp + 0x44], ebx
mov ebx, dword [eax + 0x2088]
mov dword [esp + 0x70], ebx
mov ebx, dword [eax + 0x208c]
mov dword [esp + 0x74], ebx
mov ebx, dword [eax + 0x2048]
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 + 0x40]
mov eax, dword [eax + 0x2050]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x40]
mov ebx, dword [eax + ebx*4 + 0x144c]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0xbc]
mov ebx, dword [eax + ebx*4 + 0x1450]
mov dword [esp + 0x7c], ebx
mov ebx, dword [edx]
mov dword [esp + 0x84], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0x88], ebx
nop
lea eax, [edi - 1]
test eax, edi
jne 0x979753
mov eax, dword [esp + 0x84]
add eax, edi
cmp dword [esp + 0x4c], eax
jl 0x979753
mov ecx, dword [esp + 0x84]
sub ecx, edi
cmp dword [esp + 0x50], ecx
jg 0x979753
mov ebp, dword [esp + 0x88]
add ebp, edi
cmp dword [esp + 0x58], ebp
jl 0x979753
mov edx, dword [esp + 0x88]
sub edx, edi
cmp dword [esp + 0x5c], edx
jg 0x979753
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x8c], edi
mov edi, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x80], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x3c], ebx
jmp 0x979697
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x4c], edx
jl 0x9796e6
cmp dword [esp + 0x5c], ebp
jg 0x97970c
cmp dword [esp + 0x58], ebp
jl 0x979732
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
lea esi, [ecx + ebx*4]
cmp dword [esi], eax
je 0x979306
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov ecx, ebp
mov dword [esp], edx
mov edx, dword [esp + 0x3c]
call fcn.00974430
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x6c]
mov dword [esi], ecx
movzx ecx, byte [esp + 0x48]
mov dword [edx + ebx*4], eax
mov edx, dword [esp + 0x3c]
shl edx, cl
mov ecx, dword [esp + 0x44]
sub edx, dword [esp + 0x70]
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 + 0x74]
movzx edx, byte [ecx + edx]
add edx, ebx
imul edx, dword [esp + 0xb8]
add eax, edx
cmp eax, dword [esp + 0x54]
jge 0x979306
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov dword [edx + 4], ebp
mov dword [edx], ebx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
shl eax, 0xb
add eax, dword [esp + 0x34]
add eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
lea ebx, [edx + eax*8]
and ebx, 0x3f
cmp dword [esp + 0x50], edx
jg 0x9798e2
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x4c], ecx
jl 0x9798c1
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x5c], eax
jg 0x9798a0
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x58], edx
jl 0x979878
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
lea esi, [ecx + ebx*4]
cmp dword [esi], eax
je 0x979427
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
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 + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], edx
mov edx, dword [esp + 0x34]
call fcn.00974430
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x6c]
mov dword [esi], ecx
movzx ecx, byte [esp + 0x48]
mov dword [edx + ebx*4], eax
mov edx, dword [esp + 0x34]
shl edx, cl
mov ecx, dword [esp + 0x44]
sub edx, dword [esp + 0x70]
movzx ebx, byte [ecx + edx]
movzx ecx, byte [esp + 0x48]
mov edx, dword [esp + 0x30]
shl edx, cl
mov ecx, dword [esp + 0x44]
sub edx, dword [esp + 0x74]
movzx edx, byte [ecx + edx]
add edx, ebx
imul edx, dword [esp + 0xb8]
add eax, edx
cmp dword [esp + 0x54], eax
jle 0x979427
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x54], eax
mov dword [edx], ebx
mov ebx, dword [esp + 0x30]
mov dword [edx + 4], ebx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
shl eax, 0xb
add eax, dword [esp + 0x38]
add eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
lea ebx, [edx + eax*8]
and ebx, 0x3f
cmp dword [esp + 0x50], edx
jg 0x979857
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x4c], ecx
jl 0x979836
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x5c], eax
jg 0x979815
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x58], edx
jl 0x9797f4
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
lea esi, [ecx + ebx*4]
cmp dword [esi], eax
je 0x979548
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
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 + 0x40]
mov dword [esp], edx
mov edx, dword [esp + 0x38]
call fcn.00974430
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x6c]
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 + 0x70]
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 + 0x74]
movzx edx, byte [ecx + edx]
add edx, ebx
imul edx, dword [esp + 0xb8]
add eax, edx
cmp dword [esp + 0x54], eax
jle 0x979548
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x54], eax
mov dword [edx], ebx
mov ebx, dword [esp + 0x2c]
mov dword [edx + 4], ebx
mov eax, dword [esp + 0x28]
shl eax, 0xb
add eax, edi
add eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
lea ebx, [edi + eax*8]
and ebx, 0x3f
cmp dword [esp + 0x50], edi
jg 0x9797d3
cmp dword [esp + 0x4c], edi
jl 0x9797b2
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x5c], edx
jg 0x979791
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x58], ecx
jl 0x979770
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
lea esi, [eax + ebx*4]
cmp dword [esi], edx
je 0x979657
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
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 + 0x40]
mov dword [esp + 4], edx
mov edx, edi
mov dword [esp], ecx
mov ecx, dword [esp + 0x28]
call fcn.00974430
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x6c]
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 + 0x70]
movzx ebx, byte [ecx + edx]
movzx ecx, byte [esp + 0x48]
mov edx, dword [esp + 0x28]
shl edx, cl
mov ecx, dword [esp + 0x44]
sub edx, dword [esp + 0x74]
movzx edx, byte [ecx + edx]
add edx, ebx
imul edx, dword [esp + 0xb8]
add eax, edx
cmp dword [esp + 0x54], eax
jle 0x979657
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x54], eax
mov dword [edx], edi
mov dword [edx + 4], ebx
add dword [esp + 0x80], 2
sub ebp, 2
mov ebx, dword [esp + 0x8c]
add edi, 2
add dword [esp + 0x3c], 2
add dword [esp + 0x28], 2
sub dword [esp + 0x38], 2
add dword [esp + 0x2c], 2
sub dword [esp + 0x34], 2
sub dword [esp + 0x30], 2
cmp dword [esp + 0x80], ebx
jge 0x979903
mov eax, ebp
shl eax, 0xb
add eax, dword [esp + 0x3c]
add eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
lea ebx, [eax + ebp*8]
and ebx, 0x3f
cmp dword [esp + 0x50], eax
jle 0x979220
mov dword [esp + 8], 0x1e8
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._x__dir____xmin
call fcn.010891c0
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x4c], edx
jge 0x97922e
mov dword [esp + 8], 0x1e8
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._x__dir____xmax
call fcn.010891c0
cmp dword [esp + 0x5c], ebp
jle 0x979238
mov dword [esp + 8], 0x1e8
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._y__dia_size___dir____ymin
call fcn.010891c0
cmp dword [esp + 0x58], ebp
jge 0x979242
mov dword [esp + 8], 0x1e8
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._y__dia_size___dir____ymax
call fcn.010891c0
jmp 0x979242
add edi, 1
cmp edi, 4
jle 0x979180
mov eax, dword [esp + 0x54]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x1eb
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._y__dir____ymax
call fcn.010891c0
jmp 0x979593
mov dword [esp + 8], 0x1eb
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._y__dir____ymin
call fcn.010891c0
jmp 0x979585
mov dword [esp + 8], 0x1eb
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._x___dia_size__dir____xmax
call fcn.010891c0
jmp 0x979577
mov dword [esp + 8], 0x1eb
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._x___dia_size__dir____xmin
call fcn.010891c0
jmp 0x97956d
mov dword [esp + 8], 0x1ea
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._y___dia_size__dir____ymax
call fcn.010891c0
jmp 0x97947c
mov dword [esp + 8], 0x1ea
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._y___dia_size__dir____ymin
call fcn.010891c0
jmp 0x97946e
mov dword [esp + 8], 0x1ea
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._x___dir____xmax
call fcn.010891c0
jmp 0x979460
mov dword [esp + 8], 0x1ea
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._x___dir____xmin
call fcn.010891c0
jmp 0x979452
mov dword [esp + 8], 0x1e9
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._y___dir____ymax
call fcn.010891c0
jmp 0x97935b
mov dword [esp + 8], 0x1e9
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._y___dir____ymin
call fcn.010891c0
jmp 0x97934d
mov dword [esp + 8], 0x1e9
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._x__dia_size___dir____xmax
call fcn.010891c0
jmp 0x97933f
mov dword [esp + 8], 0x1e9
mov dword [esp + 4], str._home_kyle_software_ffmpeg_source_ffmpeg_git_libavcodec_motion_est_template.c
mov dword [esp], str._x__dia_size___dir____xmin
call fcn.010891c0
jmp 0x979331
mov edx, dword [esp + 0x68]
mov edi, ebx
mov eax, dword [edx]
cmp dword [esp + 0x84], eax
je 0x97992f
mov edx, dword [edx + 4]
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], eax
mov edi, 1
jmp 0x979180
mov edx, dword [edx + 4]
cmp edx, dword [esp + 0x88]
je 0x979753
mov dword [esp + 0x88], edx
jmp 0x97991e