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

Disassembly:
sub esp, 0xe0
mov eax, dword [esp + 0xec]
dec eax
push ebx
push ebp
mov ebp, dword [esp + 0x108]
add eax, ebp
cdq
idiv ebp
push esi
mov ecx, eax
mov esi, 1
mov eax, dword [esp + 0xfc]
dec eax
mov dword [esp + 0x70], ecx
add eax, ebp
cdq
lea ebx, [ecx + 2]
idiv ebp
mov edx, dword [esp + 0x104]
mov ecx, dword [esp + 0x110]
push edi
mov dword [esp + 0x88], eax
lea edi, [eax + 2]
imul ebx, ebp
mov eax, edi
shl esi, cl
imul eax, ebp
dec esi
mov dword [esp + 0xac], esi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x90], eax
mov eax, dword [edx]
cmp eax, dword [edx + 4]
je 0x101224da
push str.aom_wiener_denoise_2d_doesnt_handle_different_chroma_subsampling_n
push 2
call fcn.105200f0
add esp, 4
push eax
call fcn.100633e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret
push dword [esp + 0x118]
lea eax, [esp + 0xb4]
push ecx
push ebp
push eax
call fcn.10120a00
imul edi, ebx
and eax, 1
mov dword [esp + 0x60], eax
imul edi, ebp
shl edi, 2
push edi
call fcn.1006eac0
mov edi, ebp
mov dword [esp + 0x44], eax
imul edi, ebp
lea ecx, [edi*4]
push ecx
call fcn.1006eac0
shl edi, 3
mov ebx, eax
push edi
push 0x20
mov dword [esp + 0x6c], ebx
call fcn.1006eaf0
mov ebp, eax
push edi
mov dword [esp + 0x60], ebp
call fcn.1006eac0
push edi
mov dword [esp + 0x38], eax
call fcn.1006eac0
push dword [esp + 0x138]
mov edi, eax
mov dword [esp + 0x40], edi
call fcn.10123920
push dword [esp + 0x13c]
mov dword [esp + 0x94], eax
call fcn.1045f770
mov dword [esp + 0x98], eax
add esp, 0x30
mov eax, dword [esp + 0x108]
mov ecx, dword [eax]
test ecx, ecx
je 0x101225f5
push dword [esp + 0x118]
mov edx, dword [esp + 0x114]
lea eax, [esp + 0xd4]
push dword [esp + 0x118]
sar edx, cl
push edx
push eax
call fcn.10120a00
mov ecx, dword [esp + 0x118]
and dword [esp + 0x60], eax
mov eax, dword [esp + 0x120]
mov ecx, dword [ecx]
sar eax, cl
push eax
call fcn.10123920
mov edx, dword [esp + 0x124]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax]
sar edx, cl
push edx
call fcn.1045f770
mov edx, dword [esp + 0x7c]
mov ecx, eax
mov dword [esp + 0x94], eax
add esp, 0x18
mov eax, dword [esp + 0x6c]
jmp 0x10122607
mov edx, dword [esp + 0x64]
mov eax, edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x7c], ecx
cmp dword [esp + 0x68], 0
je 0x1012263b
test ecx, ecx
je 0x1012263b
test ebx, ebx
je 0x1012263b
test edi, edi
je 0x1012263b
test ebp, ebp
je 0x1012263b
cmp dword [esp + 0x10], 0
je 0x1012263b
test edx, edx
je 0x1012263b
test eax, eax
je 0x1012263b
cmp dword [esp + 0x30], 0
je 0x1012263b
mov eax, 1
jmp 0x1012263d
xor eax, eax
mov ecx, dword [esp + 0x50]
mov edx, 0
and ecx, eax
mov eax, 3
mov dword [esp + 0x50], ecx
cmovne eax, edx
mov dword [esp + 0x60], eax
test ecx, ecx
je 0x10122d78
mov eax, dword [esp + 0x104]
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0xf4]
sub dword [esp + 0x10c], edx
sub edx, eax
sub dword [esp + 0xf8], eax
lea ecx, [eax + ebx*4]
mov dword [esp + 0xf4], edx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x6c]
test ebx, ebx
cmove eax, dword [esp + 0x64]
mov dword [esp + 0x84], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x80], eax
jle 0x101226d8
mov eax, dword [esp + 0x108]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], edi
test edi, edi
jle 0x101226e4
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ebx
jmp 0x101226e8
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x68]
cmp dword [ecx + edx], 0
mov dword [esp + 0x8c], eax
je 0x10122d57
mov eax, dword [esp + 0xf8]
cmp dword [eax + ecx], 0
je 0x10122d57
mov eax, dword [esp + 0x60]
test eax, eax
jle 0x10122732
mov ecx, dword [esp + 0x108]
lea eax, [esp + 0xd0]
cmp dword [ecx], 0
cmove eax, dword [esp + 0x80]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x90]
imul eax, dword [esp + 0x5c]
shl eax, 2
push eax
push 0
push dword [esp + 0x38]
call fcn.10513d40
mov eax, dword [esp + 0x11c]
mov ecx, ebx
mov edx, eax
mov dword [esp + 0x54], 0
sar edx, cl
add esp, 0xc
mov dword [esp + 0x44], edx
test edx, edx
jle 0x10122cee
mov esi, dword [esp + 0x4c]
mov ecx, edi
sar eax, cl
mov dword [esp + 0x28], eax
mov eax, edx
mov ecx, dword [esp + 0x28]
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
sar eax, 1
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x44]
nop word [eax + eax]
mov dword [esp + 0x40], 0
test ecx, ecx
jle 0x10122cd4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x40]
or edx, 0xffffffff
mov dword [esp + 0x78], edx
cmp dword [esp + 0x88], edx
jle 0x10122cb9
mov eax, dword [esp + 0x74]
nop word [eax + eax]
mov dword [esp + 0x58], 0xffffffff
cmp eax, 0xffffffff
jle 0x10122ca3
mov eax, dword [esp + 0x44]
mov edi, ecx
imul edi, eax
mov ecx, ebx
imul eax, edx
mov dword [esp + 0x70], edi
add eax, dword [esp + 0x48]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x100]
sar eax, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xfc]
sar eax, cl
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xf4]
add eax, dword [esp + 0x10c]
add eax, dword [esp + 0x2c]
mov dword [esp + 0xa0], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x28]
imul eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0xf4]
push ebx
push dword [esp + 0x18]
add eax, dword [esp + 0x48]
push dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x3c]
push dword [eax]
push dword [esp + 0xac]
push dword [esp + 0xb4]
push dword [eax + ecx]
push dword [esp + 0xa0]
call fcn.101206c0
add esp, 0x24
xor ecx, ecx
test edi, edi
jle 0x10122b7c
cmp edi, 8
jb 0x10122a29
mov eax, dword [esp + 0x14]
lea edx, [edi - 1]
lea edx, [esi + edx*4]
lea eax, [eax + edi*8]
add eax, 0xfffffff8
cmp esi, eax
ja 0x101228cc
cmp edx, dword [esp + 0x14]
jae 0x10122a29
lea eax, [ebx - 8]
lea eax, [eax + edi*8]
cmp esi, eax
ja 0x101228de
cmp edx, ebx
jae 0x10122a29
lea ebx, [edi*4 - 4]
add ebx, ebp
cmp esi, ebx
ja 0x101228f3
cmp edx, ebp
jae 0x10122a25
mov edx, dword [esp + 0x14]
lea eax, [edx - 8]
lea eax, [eax + edi*8]
cmp ebp, eax
ja 0x10122909
cmp ebx, edx
jae 0x10122a25
mov edx, dword [esp + 0x10]
lea eax, [edx - 8]
lea eax, [eax + edi*8]
cmp ebp, eax
ja 0x1012291f
cmp ebx, edx
jae 0x10122d3d
mov eax, edi
and eax, 0x80000007
jns 0x1012292d
dec eax
or eax, 0xfffffff8
inc eax
mov ebx, dword [esp + 0x10]
mov edx, edi
sub edx, eax
lea edi, [ebp + 0x18]
mov dword [esp + 0x20], edi
lea eax, [ebx + 0x30]
sub ebx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
lea eax, [esi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
add eax, 0x10
mov dword [esp + 0x34], eax
mov eax, ebp
sub eax, esi
mov dword [esp + 0x54], eax
jmp 0x10122967
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x38]
add ecx, 8
mov ebp, dword [esp + 0x38]
movups xmm0, xmmword [esi - 0x30]
mov esi, dword [esp + 0x34]
cvtpd2ps xmm0, xmm0
movsd qword [edi - 0x18], xmm0
movups xmm0, xmmword [esi - 0x10]
mov edi, dword [esp + 0x1c]
cvtpd2ps xmm0, xmm0
movsd qword [edi - 8], xmm0
movups xmm0, xmmword [ebx + esi]
mov esi, edi
mov edi, dword [esp + 0x38]
cvtpd2ps xmm0, xmm0
movsd qword [esi + eax], xmm0
mov eax, dword [esp + 0x34]
add dword [esp + 0x34], 0x40
movups xmm0, xmmword [eax]
cvtpd2ps xmm0, xmm0
movsd qword [esi], xmm0
movups xmm0, xmmword [edi - 0x10]
mov edi, dword [esp + 0x20]
cvtpd2ps xmm0, xmm0
movsd qword [edi - 8], xmm0
movups xmm0, xmmword [eax + 0x10]
cvtpd2ps xmm0, xmm0
movsd qword [esi + 8], xmm0
movups xmm0, xmmword [ebp]
add ebp, 0x40
mov dword [esp + 0x38], ebp
cvtpd2ps xmm0, xmm0
movsd qword [edi], xmm0
add edi, 0x20
movups xmm0, xmmword [eax + 0x20]
mov eax, ecx
mov dword [esp + 0x20], edi
cvtpd2ps xmm0, xmm0
movsd qword [esi + 0x10], xmm0
add esi, 0x20
mov dword [esp + 0x1c], esi
cmp ecx, edx
jl 0x10122963
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x4c]
cmp eax, edi
jge 0x10122b7c
mov ebx, dword [esp + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 4
jl 0x10122b2c
lea eax, [ecx*4 + 0xc]
add eax, ebp
lea edx, [ecx + 1]
mov dword [esp + 0x54], eax
lea edx, [esi + edx*4]
lea eax, [ebx + 0x18]
sub ebp, esi
mov ebx, dword [esp + 0x14]
lea eax, [eax + ecx*8]
mov esi, dword [esp + 0x54]
add ebx, 8
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea ebx, [ebx + ecx*8]
mov eax, edi
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x20]
sub eax, ecx
mov edi, dword [esp + 0x1c]
sub eax, 4
shr eax, 2
inc eax
lea ecx, [ecx + eax*4]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x38]
movsd xmm0, qword [ebp - 0x18]
lea ebx, [ebx + 0x20]
lea ebp, [ebp + 0x20]
lea edx, [edx + 0x10]
lea esi, [esi + 0x10]
cvtpd2ps xmm0, xmm0
movss dword [esi - 0x1c], xmm0
movsd xmm0, qword [ebx - 0x28]
cvtpd2ps xmm0, xmm0
movss dword [edx - 0x14], xmm0
movsd xmm0, qword [edi + ebx - 0x20]
cvtpd2ps xmm0, xmm0
movss dword [ecx + edx - 0x10], xmm0
movsd xmm0, qword [ebx - 0x20]
cvtpd2ps xmm0, xmm0
movss dword [edx - 0x10], xmm0
movsd xmm0, qword [ebp - 0x28]
cvtpd2ps xmm0, xmm0
movss dword [esi - 0x14], xmm0
movsd xmm0, qword [ebx - 0x18]
cvtpd2ps xmm0, xmm0
movss dword [edx - 0xc], xmm0
movsd xmm0, qword [ebp - 0x20]
cvtpd2ps xmm0, xmm0
movss dword [esi - 0x10], xmm0
movsd xmm0, qword [ebx - 0x10]
cvtpd2ps xmm0, xmm0
movss dword [edx - 8], xmm0
sub eax, 1
jne 0x10122a91
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x4c]
cmp ecx, edi
jge 0x10122b7c
mov ebx, dword [esp + 0x14]
lea eax, [esi + ecx*4]
mov ebp, dword [esp + 0x10]
sub ebp, ebx
lea edx, [ebx + ecx*8]
mov ebx, dword [esp + 0x3c]
sub ebx, esi
mov dword [esp + 0x54], ebx
mov ebx, edi
sub ebx, ecx
mov ecx, dword [esp + 0x54]
nop
movsd xmm0, qword [edx + ebp]
lea edx, [edx + 8]
lea eax, [eax + 4]
cvtpd2ps xmm0, xmm0
movss dword [eax + ecx - 4], xmm0
movsd xmm0, qword [edx - 8]
cvtpd2ps xmm0, xmm0
movss dword [eax - 4], xmm0
sub ebx, 1
jne 0x10122b50
mov ebp, dword [esp + 0x3c]
push edi
push ebp
push dword [esp + 0x8c]
call fcn.101243a0
mov ebx, dword [esp + 0x98]
push ebp
push ebx
call fcn.1045f620
mov eax, dword [esp + 0xb4]
push dword [eax]
push ebx
call fcn.1045f4d0
push ebp
push ebx
call fcn.1045f670
push edi
mov edi, dword [esp + 0xac]
push esi
push edi
call fcn.101243a0
mov eax, esi
add esp, 0x30
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov ecx, dword [esp + 0x78]
mov edx, eax
mov eax, dword [esp + 0x58]
inc ecx
imul ecx, dword [esp + 0x44]
inc eax
imul eax, dword [esp + 0x28]
add ecx, ebx
add ecx, dword [esp + 0x48]
imul ecx, dword [esp + 0x5c]
add eax, ecx
mov ecx, dword [esp + 0x30]
add eax, dword [esp + 0x40]
lea eax, [ecx + eax*4]
mov ecx, ebp
sub ecx, esi
sub edi, esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x4c]
nop dword [eax + eax]
movss xmm0, dword [edx + ecx]
addss xmm0, dword [edx]
mulss xmm0, dword [edi + edx]
add edx, 4
addss xmm0, dword [eax]
movss dword [eax], xmm0
add eax, 4
sub dword [esp + 0x20], 1
jne 0x10122c10
mov eax, dword [esp + 0x1c]
inc ebx
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov ecx, edi
mov dword [esp + 0x24], edi
lea eax, [eax + ebp*4]
mov edi, dword [esp + 0x84]
mov ebp, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x3c]
cmp ebx, dword [esp + 0x44]
jl 0x10122bc8
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x70]
inc eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], ecx
cmp eax, dword [esp + 0x74]
jl 0x10122850
mov eax, dword [esp + 0x74]
mov edi, edx
mov edx, dword [esp + 0x78]
mov ebx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ebx
inc edx
mov dword [esp + 0x78], edx
cmp edx, dword [esp + 0x88]
jl 0x101227e0
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0xa4]
mov dword [esp + 0x40], eax
cmp eax, ecx
jl 0x101227c2
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
add edx, dword [esp + 0xa8]
mov dword [esp + 0x48], edx
cmp edx, eax
jl 0x101227a0
mov esi, dword [esp + 0xac]
cmp dword [esp + 0x118], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xf8]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
mov ecx, dword [ecx + edx]
push ecx
movss dword [esp], xmm0
push dword [esp + 0x114]
push ebx
push edi
push eax
push dword [esp + 0x114]
push dword [esp + 0x114]
push ecx
push dword [esp + 0x7c]
push dword [esp + 0x54]
je 0x10122d44
call fcn.10123270
jmp 0x10122d49
mov ebx, edx
jmp 0x10122a29
call fcn.10123450
mov edx, dword [esp + 0x11c]
add esp, 0x28
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x60]
add ecx, 4
inc ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x60], ebx
cmp ebx, 3
jl 0x10122690
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x14]
push dword [esp + 0x30]
call fcn.1006eaa0
push ebx
call fcn.1006eaa0
push ebp
call fcn.1006eaa0
push edi
call fcn.1006eaa0
push dword [esp + 0x20]
call fcn.1006eaa0
push dword [esp + 0x78]
call fcn.1006eaa0
push dword [esp + 0x80]
call fcn.1045f640
push dword [esp + 0xd0]
call fcn.1006eaa0
push dword [esp + 0xd0]
call fcn.1006eaa0
mov eax, dword [esp + 0x12c]
add esp, 0x24
cmp dword [eax], 0
je 0x10122e08
push dword [esp + 0xd4]
call fcn.1006eaa0
push dword [esp + 0xd4]
call fcn.1006eaa0
push dword [esp + 0x74]
call fcn.1006eaa0
push dword [esp + 0x88]
call fcn.1045f640
add esp, 0x10
mov eax, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret