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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
movzx eax, word [esp + 0xe8]
movzx ebx, word [esp + 0xf8]
movzx esi, word [esp + 0xf6]
movzx edx, word [esp + 0xee]
mov dword [esp + 0x7c], eax
movzx eax, word [esp + 0xea]
mov dword [esp + 0x3c], ebx
movzx ecx, word [esp + 0xf4]
movzx ebx, word [esp + 0xfa]
test esi, esi
mov dword [esp + 0x78], edx
movzx ebp, word [esp + 0xfc]
mov dword [esp + 0x88], eax
movzx eax, word [esp + 0xec]
mov dword [esp + 0x84], ecx
movzx edx, word [esp + 0x102]
mov dword [esp + 0x40], ebx
movzx edi, word [esp + 0x106]
mov dword [esp + 0x6c], esi
movzx ebx, word [esp + 0x100]
mov dword [esp + 0x80], eax
movzx eax, word [esp + 0xf0]
mov dword [esp + 0x74], eax
movzx eax, word [esp + 0xf2]
mov dword [esp + 0x70], eax
movzx eax, word [esp + 0xfe]
mov dword [esp + 0x38], eax
movzx eax, word [esp + 0x104]
jne 0x100222f9
test ecx, ecx
jne 0x1002233a
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x10022355
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x10022341
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x1002238e
mov ecx, dword [esp + 0x80]
test ecx, ecx
jne 0x1002237d
mov ecx, dword [esp + 0x88]
test ecx, ecx
jne 0x100223b3
mov ecx, 0xffffffff
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jne 0x100223aa
test edi, edi
jne 0x10022317
test eax, eax
jne 0x10022331
test edx, edx
jne 0x1002234c
test ebx, ebx
jne 0x10022360
mov esi, dword [esp + 0x38]
test esi, esi
jne 0x10022369
test ebp, ebp
jne 0x10022374
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x1002239c
mov esi, dword [esp + 0x3c]
mov ecx, 0xffffffff
test esi, esi
jne 0x100223c4
mov esi, dword [esp + 0xe4]
test esi, esi
je 0x10021ff0
movsx esi, word [esp + 0x6c]
mov dword [esp + 0x8c], esi
test esi, esi
js 0x10022012
mov esi, dword [esp + 0x34]
sub esi, ecx
mov dword [esp + 0x44], esi
test esi, esi
jle 0x10021f1e
mov word [esp + 0xbe], di
mov esi, dword [esp + 0x34]
mov word [esp + 0xb8], bx
mov word [esp + 0xbc], ax
xor eax, eax
mov word [esp + 0xb4], bp
mov word [esp + 0xba], dx
sub ecx, esi
mov esi, dword [esp + 0x3c]
mov edi, ecx
and ecx, 0xf
sar edi, 4
lea ebx, [edi + 1]
mov word [esp + 0xb0], si
mov esi, dword [esp + 0x40]
cmp ebx, 7
mov word [esp + 0xb2], si
mov esi, dword [esp + 0x38]
mov word [esp + 0xb6], si
ja 0x10021abb
movzx eax, word [esp + ebx*2 + 0xb0]
shl eax, 0x10
cmp edi, 7
ja 0x10021aca
movzx edx, word [esp + edi*2 + 0xb0]
or eax, edx
shr eax, cl
lea edx, [edi + 2]
movzx eax, ax
mov dword [esp + 0x3c], eax
xor eax, eax
cmp edx, 7
ja 0x10021ae8
movzx eax, word [esp + edx*2 + 0xb0]
shl eax, 0x10
cmp ebx, 7
ja 0x10021af7
movzx ebx, word [esp + ebx*2 + 0xb0]
or eax, ebx
shr eax, cl
lea ebx, [edi + 3]
movzx eax, ax
mov dword [esp + 0x40], eax
xor eax, eax
cmp ebx, 7
ja 0x10021b15
movzx eax, word [esp + ebx*2 + 0xb0]
shl eax, 0x10
cmp edx, 7
ja 0x10021b24
movzx edx, word [esp + edx*2 + 0xb0]
or eax, edx
shr eax, cl
lea edx, [edi + 4]
movzx ebp, ax
xor eax, eax
cmp edx, 7
ja 0x10021b3e
movzx eax, word [esp + edx*2 + 0xb0]
shl eax, 0x10
cmp ebx, 7
ja 0x10021b4d
movzx ebx, word [esp + ebx*2 + 0xb0]
or eax, ebx
shr eax, cl
xor ebx, ebx
movzx eax, ax
mov dword [esp + 0x38], eax
lea eax, [edi + 5]
cmp eax, 7
ja 0x10021b6b
movzx ebx, word [esp + eax*2 + 0xb0]
shl ebx, 0x10
cmp edx, 7
ja 0x10021b7a
movzx edx, word [esp + edx*2 + 0xb0]
or ebx, edx
lea edx, [edi + 6]
mov dword [esp + 0x34], edx
shr ebx, cl
mov esi, edx
xor edx, edx
cmp esi, 7
movzx ebx, bx
ja 0x10021b9a
movzx edx, word [esp + esi*2 + 0xb0]
shl edx, 0x10
cmp eax, 7
ja 0x10021ba9
movzx eax, word [esp + eax*2 + 0xb0]
or edx, eax
lea eax, [edi + 7]
mov dword [esp + 0x48], eax
shr edx, cl
mov esi, eax
xor eax, eax
cmp esi, 7
movzx edx, dx
ja 0x10021bc9
movzx eax, word [esp + esi*2 + 0xb0]
shl eax, 0x10
mov esi, dword [esp + 0x34]
cmp esi, 7
ja 0x10021bdc
movzx esi, word [esp + esi*2 + 0xb0]
or eax, esi
mov dword [esp + 0x34], 0
shr eax, cl
cmp edi, 0xfffffff8
lea esi, [edi + 8]
movzx eax, ax
jb 0x10021c00
movzx edi, word [esp + esi*2 + 0xb0]
shl edi, 0x10
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x48]
cmp edi, 7
ja 0x10021c15
movzx edi, word [esp + edi*2 + 0xb0]
or dword [esp + 0x34], edi
mov esi, dword [esp + 0xe4]
mov edi, dword [esp + 0x34]
mov dword [esi], 0
mov dword [esi + 4], 0
shr edi, cl
mov dword [esi + 8], 0
movzx edi, di
mov dword [esi + 0xc], 0
mov esi, dword [esp + 0x44]
dec esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebp
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x68], ecx
xor ecx, ecx
mov dword [esp + 0x64], esi
xor esi, esi
mov dword [esp + 0x60], ecx
xor ecx, ecx
mov dword [esp + 0x5c], esi
xor esi, esi
mov dword [esp + 0x54], ecx
xor ecx, ecx
mov dword [esp + 0x50], esi
xor esi, esi
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x34], edi
jmp 0x10021e56
mov ecx, dword [esp + 0x84]
sub ecx, eax
jne 0x10021f02
mov ecx, dword [esp + 0x70]
sub ecx, edx
jne 0x10021f02
mov ecx, dword [esp + 0x74]
sub ecx, ebx
jne 0x10021f02
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x38]
sub ecx, edi
jne 0x10021f02
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x48]
sub ecx, edi
jne 0x10021f02
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x40]
sub ecx, esi
jne 0x10021f02
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x3c]
sub ecx, edi
jne 0x10021f02
mov esi, dword [esp + 0x7c]
sar ecx, 0x10
mov edi, dword [esp + 0x3c]
sub esi, edi
mov edi, dword [esp + 0x40]
movzx esi, si
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x88]
add ecx, esi
sub ecx, edi
mov edi, dword [esp + 0x80]
movzx esi, cx
mov dword [esp + 0x88], esi
mov esi, dword [esp + 0x48]
sar ecx, 0x10
add ecx, edi
sub ecx, esi
mov esi, dword [esp + 0x78]
movzx edi, cx
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x38]
sar ecx, 0x10
add ecx, esi
sub ecx, edi
mov edi, dword [esp + 0x74]
movzx esi, cx
mov dword [esp + 0x78], esi
sar ecx, 0x10
add ecx, edi
mov edi, dword [esp + 0x70]
sub ecx, ebx
movzx esi, cx
mov dword [esp + 0x74], esi
sar ecx, 0x10
add ecx, edi
mov edi, dword [esp + 0x84]
sub ecx, edx
movzx esi, cx
mov dword [esp + 0x70], esi
sar ecx, 0x10
add ecx, edi
mov edi, dword [esp + 0x6c]
sub ecx, eax
movzx esi, cx
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x34]
sar ecx, 0x10
add ecx, edi
sub ecx, esi
movzx edi, cx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x6c], edi
inc ecx
movzx esi, cx
mov dword [esp + 0x4c], esi
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
dec dword [esp + 0x44]
mov ecx, edi
shl ecx, 0x10
or esi, ecx
mov ecx, esi
shr ecx, 1
movzx esi, cx
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x48]
mov ecx, esi
shl ecx, 0x10
or edi, ecx
mov ecx, edi
shr ecx, 1
movzx edi, cx
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x38]
mov ecx, edi
shl ecx, 0x10
or esi, ecx
mov ecx, esi
shr ecx, 1
movzx esi, cx
mov ecx, ebx
mov dword [esp + 0x48], esi
shl ecx, 0x10
or edi, ecx
mov ecx, edi
mov edi, dword [esp + 0x44]
shr ecx, 1
movzx esi, cx
mov ecx, edx
mov dword [esp + 0x38], esi
shl ecx, 0x10
mov esi, dword [esp + 0x34]
or ecx, ebx
shr ecx, 1
movzx ebx, cx
mov ecx, eax
shl ecx, 0x10
or ecx, edx
shr ecx, 1
movzx edx, cx
mov ecx, esi
shl ecx, 0x10
shr esi, 1
or ecx, eax
mov dword [esp + 0x34], esi
shr ecx, 1
cmp edi, 0xfffffffe
movzx eax, cx
je 0x10021f50
movsx ecx, word [esp + 0x6c]
mov esi, dword [esp + 0x4c]
lea edi, [esi + esi]
movzx edi, di
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x58]
mov ebp, edi
shl ebp, 0x10
or esi, ebp
shr esi, 0xf
movzx esi, si
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x50]
mov ebp, esi
shl ebp, 0x10
or edi, ebp
shr edi, 0xf
movzx edi, di
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x54]
mov ebp, edi
shl ebp, 0x10
or esi, ebp
shr esi, 0xf
movzx esi, si
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x5c]
mov ebp, esi
shl ebp, 0x10
or edi, ebp
shr edi, 0xf
movzx edi, di
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x60]
mov ebp, edi
shl ebp, 0x10
or esi, ebp
shr esi, 0xf
movzx esi, si
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x64]
mov ebp, esi
shl ebp, 0x10
or edi, ebp
shr edi, 0xf
movzx edi, di
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x68]
shl edi, 0x10
or esi, edi
shr esi, 0xf
movzx esi, si
mov dword [esp + 0x68], esi
movsx esi, word [esp + 0x34]
sub ecx, esi
je 0x10021c90
sar ecx, 0x10
or ecx, 1
inc ecx
je 0x10021dba
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x3c]
sub ecx, edi
jmp 0x10021cfd
mov esi, dword [esp + 0xe4]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
jne 0x10021f96
mov ecx, 0xffffffff
mov dword [esp + 0x44], ecx
jmp 0x10021c49
mov eax, dword [esp + 0xe4]
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov word [eax + 0xe], bx
mov ebx, dword [esp + 0x60]
mov word [eax + 0xc], dx
mov edx, dword [esp + 0x5c]
mov word [eax + 0xa], bx
mov ebx, dword [esp + 0x54]
mov word [eax + 8], dx
mov edx, dword [esp + 0x50]
mov word [eax + 6], bx
mov ebx, dword [esp + 0x58]
mov word [eax + 4], dx
mov edx, dword [esp + 0x4c]
mov word [eax + 2], bx
mov word [eax], dx
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov word [eax], dx
mov edx, dword [esp + 0x88]
mov word [eax + 4], bx
mov ebx, dword [esp + 0x74]
mov word [eax + 2], dx
mov edx, dword [esp + 0x78]
mov word [eax + 8], bx
mov ebx, dword [esp + 0x84]
mov word [eax + 6], dx
mov edx, dword [esp + 0x70]
mov word [eax + 0xc], bx
mov word [eax + 0xa], dx
mov edx, dword [esp + 0x6c]
mov word [eax + 0xe], dx
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [esp + 0x90]
mov dword [esp + 0xe4], esi
movsx esi, word [esp + 0x6c]
mov dword [esp + 0x8c], esi
test esi, esi
jns 0x10021a3a
mov eax, dword [esp + 0x7c]
lea esi, [esp + 0xe8]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0xf8]
neg eax
mov word [esp + 0xb0], ax
sar eax, 0x10
sub eax, edx
mov edx, dword [esp + 0x80]
mov word [esp + 0xb2], ax
sar eax, 0x10
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xfc]
sub eax, edx
mov edx, dword [esp + 0x74]
mov word [esp + 0xb4], ax
sar eax, 0x10
mov dword [esp + 0x1c], edi
sub eax, ebx
mov ebx, dword [esp + 0x70]
mov word [esp + 0xb6], ax
sar eax, 0x10
mov edi, dword [esp + 0x100]
sub eax, edx
mov edx, dword [esp + 0x84]
mov word [esp + 0xb8], ax
sar eax, 0x10
mov ecx, dword [esp + 0xb4]
sub eax, ebx
mov ebx, dword [esp + 0x6c]
mov word [esp + 0xba], ax
sar eax, 0x10
mov dword [esp + 0x20], edi
sub eax, edx
mov edi, dword [esp + 0x104]
mov word [esp + 0xbc], ax
sar eax, 0x10
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xa4], ecx
sub eax, ebx
mov ebx, dword [esp + 0xb0]
mov word [esp + 0xbe], ax
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xac], eax
mov dword [esp + 8], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.avutil_ics_57.dll_mv_mod_i
movzx eax, word [esp + 0xe8]
movzx ebx, word [esp + 0xec]
movzx ecx, word [esp + 0xf2]
movzx edx, word [esp + 0xea]
mov dword [esp + 0x38], eax
movzx eax, word [esp + 0xf6]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0xe4]
mov dword [esp + 0x4c], ecx
movzx esi, word [esp + 0xf0]
mov dword [esp + 0x3c], edx
movzx ebp, word [esp + 0xf4]
mov dword [esp + 0x54], eax
movzx edi, word [esp + 0xee]
mov eax, dword [ebx]
mov dword [esp + 0x48], esi
mov esi, dword [ebx + 8]
mov dword [esp + 0x50], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x44], edi
mov ebx, dword [ebx + 0xc]
movzx ecx, ax
shr eax, 0x10
neg ecx
mov edx, ecx
mov dword [esp + 0x34], ebx
sar edx, 0x10
movzx ebx, bp
shr ebp, 0x10
sub edx, eax
mov edi, edx
sar edi, 0x10
mov eax, edi
sub eax, ebx
movzx ebx, si
mov dword [esp + 0x5c], eax
shr esi, 0x10
mov edi, eax
sar edi, 0x10
mov eax, dword [esp + 0x34]
sub edi, ebp
mov ebp, edi
sar ebp, 0x10
sub ebp, ebx
movzx ebx, ax
mov dword [esp + 0x58], ebp
sar ebp, 0x10
sub ebp, esi
mov esi, ebp
sar esi, 0x10
sub esi, ebx
mov ebx, esi
sar ebx, 0x10
mov dword [esp + 0x34], ebx
mov ebx, eax
mov eax, dword [esp + 0x34]
shr ebx, 0x10
sub eax, ebx
mov ebx, eax
mov eax, dword [esp + 0xe4]
mov word [eax], cx
mov ecx, eax
mov word [eax + 2], dx
mov eax, dword [esp + 0x5c]
mov word [ecx + 4], ax
mov word [ecx + 6], di
mov eax, dword [esp + 0x38]
mov edi, ecx
mov word [edi + 0xe], bx
mov ecx, dword [esp + 0x58]
mov word [edi + 0xa], bp
mov edx, dword [esp + 0x3c]
mov word [edi + 0xc], si
mov ebx, dword [esp + 0x40]
neg eax
mov esi, dword [esp + 0x48]
mov word [esp + 0xb0], ax
sar eax, 0x10
mov ebp, dword [esp + 0x50]
mov word [edi + 8], cx
sub eax, edx
mov edi, dword [esp + 0x44]
mov word [esp + 0xb2], ax
sar eax, 0x10
mov ecx, dword [esp + 0x4c]
sub eax, ebx
mov edx, dword [esp + 0x54]
mov word [esp + 0xb4], ax
sar eax, 0x10
sub eax, edi
mov word [esp + 0xb6], ax
sar eax, 0x10
sub eax, esi
mov word [esp + 0xb8], ax
sar eax, 0x10
sub eax, ecx
mov word [esp + 0xba], ax
sar eax, 0x10
sub eax, ebp
mov word [esp + 0xbc], ax
sar eax, 0x10
sub eax, edx
mov edx, dword [esp + 0xe0]
mov word [esp + 0xbe], ax
mov eax, dword [esp + 0xb0]
mov dword [edx], eax
mov eax, dword [esp + 0xb4]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xb8]
mov dword [edx + 8], eax
mov eax, dword [esp + 0xbc]
mov dword [edx + 0xc], eax
add esp, 0xcc
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, esi
mov esi, 7
shl esi, 4
or ecx, 1
movzx ecx, cx
bsr ecx, ecx
add esi, ecx
mov dword [esp + 0x34], esi
jmp 0x100219c6
mov ecx, edi
mov esi, 7
shl esi, 4
or ecx, 1
movzx ecx, cx
bsr ecx, ecx
add ecx, esi
jmp 0x10021a17
mov ecx, eax
mov esi, 6
jmp 0x1002231e
mov esi, 6
jmp 0x10022300
mov ecx, dword [esp + 0x74]
mov esi, 4
jmp 0x10022300
mov ecx, edx
mov esi, 5
jmp 0x1002231e
mov ecx, dword [esp + 0x70]
mov esi, 5
jmp 0x10022300
mov ecx, ebx
mov esi, 4
jmp 0x1002231e
mov ecx, dword [esp + 0x38]
mov esi, 3
jmp 0x1002231e
mov ecx, ebp
mov esi, 2
jmp 0x1002231e
mov ecx, dword [esp + 0x80]
mov esi, 2
jmp 0x10022300
mov ecx, dword [esp + 0x78]
mov esi, 3
jmp 0x10022300
mov ecx, dword [esp + 0x40]
mov esi, 1
jmp 0x1002231e
mov ecx, dword [esp + 0x7c]
jmp 0x10022300
mov ecx, dword [esp + 0x88]
mov esi, 1
jmp 0x10022300
mov ecx, dword [esp + 0x3c]
xor esi, esi
jmp 0x1002231e