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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov eax, dword [0x101db764]
mov esi, ecx
xor eax, ebp
mov dword [esp + 0xd8], eax
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 4]
mov edx, dword [esi + 0x14]
mov ecx, eax
shr ecx, 3
mov ebx, dword [edi + ecx]
mov ecx, eax
add eax, 8
and cl, 7
shr ebx, cl
cmp edx, eax
cmovbe eax, edx
cmp bl, 0x76
mov dword [esi + 0xc], eax
jne 0x10022520
mov ecx, eax
shr ecx, 3
mov ebx, dword [edi + ecx]
mov ecx, eax
add eax, 8
and cl, 7
shr ebx, cl
cmp edx, eax
cmovbe eax, edx
cmp bl, 0x6f
lea ebx, [esi + 0xc]
mov dword [ebx], eax
jne 0x10022520
mov ecx, eax
mov dword [esp + 4], ebx
shr ecx, 3
mov ebx, dword [edi + ecx]
mov ecx, eax
add eax, 8
and cl, 7
shr ebx, cl
cmp edx, eax
cmovbe eax, edx
cmp bl, 0x72
mov ebx, dword [esp + 4]
mov dword [ebx], eax
jne 0x10022520
mov ecx, eax
shr ecx, 3
mov ebx, dword [edi + ecx]
mov ecx, eax
add eax, 8
and cl, 7
shr ebx, cl
cmp edx, eax
cmovbe eax, edx
cmp bl, 0x62
mov ebx, dword [esp + 4]
mov dword [ebx], eax
jne 0x10022520
mov ecx, eax
shr ecx, 3
mov ebx, dword [edi + ecx]
mov ecx, eax
add eax, 8
and cl, 7
shr ebx, cl
cmp edx, eax
cmovbe eax, edx
cmp bl, 0x69
mov ebx, dword [esp + 4]
mov dword [ebx], eax
jne 0x10022520
mov ecx, eax
shr ecx, 3
mov ebx, dword [edi + ecx]
mov ecx, eax
add eax, 8
and cl, 7
shr ebx, cl
cmp edx, eax
cmovbe eax, edx
cmp bl, 0x73
mov ebx, dword [esp + 4]
mov dword [ebx], eax
jne 0x10022520
mov ecx, eax
shr ecx, 3
mov ebx, dword [edi + ecx]
mov ecx, eax
add eax, 8
and cl, 7
shr ebx, cl
cmp edx, eax
cmovbe eax, edx
mov dword [esi + 0xc], eax
movzx eax, bl
lea ecx, [eax + 1]
mov word [esi + 0xd4], cx
lea ecx, [ecx + ecx*8]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx + 1]
movzx eax, ax
push eax
call fcn.100539f3
add esp, 4
mov dword [esi + 0xd8], eax
push 0x10000
call fcn.100539f3
add esp, 4
mov dword [esp + 8], eax
push 0x40000
call fcn.100539f3
add esp, 4
mov ebx, eax
push 0x20000
call sym.ffmpeg.dll_av_malloc
add esp, 4
test eax, eax
mov edi, 0xfffffff4
mov dword [esp + 0x20], eax
je 0x100215f1
test ebx, ebx
je 0x100215f1
mov eax, dword [esp + 8]
test eax, eax
je 0x100215f5
mov ecx, dword [esi + 0xd8]
test ecx, ecx
je 0x100215f5
cmp word [esi + 0xd4], 0
lea eax, [esi + 4]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
lea eax, [esi + 0x14]
mov dword [esp + 0x14], eax
je 0x10021618
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 4]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx]
mov esi, dword [ecx]
mov ecx, eax
shr ecx, 3
mov edi, dword [esi + ecx]
mov ecx, eax
add eax, 0x18
and cl, 7
shr edi, cl
and edi, 0xffffff
cmp edx, eax
cmovbe eax, edx
cmp edi, 0x564342
mov dword [ebx], eax
jne 0x100215e8
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 8]
mov dword [esp + 0x4c], 0
add edi, 2
inc ecx
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x54], ecx
mov ecx, eax
shr ecx, 3
mov ebx, dword [esi + ecx]
mov ecx, eax
mov esi, dword [esp + 4]
add eax, 0x10
and cl, 7
shr ebx, cl
mov ecx, dword [esp + 0x4c]
cmp edx, eax
cmovbe eax, edx
mov dword [esi], eax
lea eax, [ecx + ecx*8]
lea eax, [eax + eax*2]
add eax, ecx
movzx ecx, bl
dec ecx
mov dword [esp + 0x44], eax
mov byte [edi + eax], bl
cmp ecx, 0xf
ja 0x100215e8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], edi
mov edx, dword [esi]
mov edi, dword [eax]
mov eax, dword [esp + 0x10]
mov ecx, edx
shr ecx, 3
mov eax, dword [eax]
mov dword [esp + 0x30], edi
mov ebx, dword [eax + ecx]
mov ecx, edx
add edx, 0x18
and cl, 7
shr ebx, cl
and ebx, 0xffffff
cmp edi, edx
cmovbe edx, edi
cmp ebx, 0x10000
mov dword [esp], ebx
mov dword [esi], edx
ja 0x100215e8
mov ecx, edx
mov edi, eax
shr ecx, 3
mov dword [esp + 0x1c], edi
movzx ebx, byte [eax + ecx]
xor eax, eax
cmp edx, dword [esp + 0x30]
setl al
add eax, edx
and dl, 7
mov ecx, eax
movzx edx, dl
mov dword [esi], eax
shr ecx, 3
bt ebx, edx
jae 0x10020fc0
mov edx, dword [edi + ecx]
mov ecx, eax
mov esi, dword [esp + 0x30]
add eax, 5
and cl, 7
shr edx, cl
mov ecx, dword [esp + 4]
cmp esi, eax
cmovbe eax, esi
mov dword [esp + 0x28], eax
mov dword [ecx], eax
mov ecx, dword [esp]
test ecx, ecx
mov ecx, ecx
je 0x10021121
mov ecx, dword [esp]
and edx, 0x1f
inc edx
cmp edx, 0x20
ja 0x10021121
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
xor esi, esi
jmp 0x10020f4f
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 4]
mov esi, ecx
mov eax, dword [eax]
mov edi, dword [ebx]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp]
mov dword [esp + 0x28], edi
shr edi, 3
mov edi, dword [eax + edi]
mov eax, 0x20
sub ecx, esi
lea ecx, [ecx + ecx + 1]
bsr ebx, ecx
mov ecx, dword [esp + 0x28]
sub eax, ebx
add ebx, ecx
and cl, 7
shr edi, cl
mov ecx, eax
mov eax, dword [esp + 0x30]
shl edi, cl
shr edi, cl
lea ecx, [edi + esi]
cmp eax, ebx
cmovbe ebx, eax
mov eax, dword [esp + 4]
cmp esi, ecx
mov dword [eax], ebx
mov eax, dword [esp + 8]
jae 0x10020fa3
cmp esi, dword [esp]
jae 0x10020f9f
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x10020f97
inc edx
cmp edx, 0x20
ja 0x10020fae
cmp dword [esp], ecx
ja 0x10020f37
mov eax, dword [esp]
cmp eax, ecx
mov ecx, eax
jae 0x10021121
jmp 0x100215e8
xor edx, edx
cmp eax, dword [esp + 0x30]
movzx ecx, byte [edi + ecx]
setl dl
add edx, eax
and al, 7
movzx esi, al
bt ecx, esi
mov ecx, dword [esp + 4]
mov dword [ecx], edx
jae 0x10021090
cmp dword [esp], 0
je 0x1002111f
mov eax, dword [esp]
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x3c], 0
lea ecx, [eax - 1]
mov eax, dword [esp + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
jmp 0x10021031
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 4]
mov ecx, dword [ecx]
dec edi
inc ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0xc], ebx
mov edx, dword [esi]
mov eax, dword [eax]
mov edi, esi
mov esi, ecx
mov ecx, edx
xor ebx, ebx
shr ecx, 3
cmp edx, esi
movzx ecx, byte [eax + ecx]
setl bl
add ebx, edx
and dl, 7
movzx edx, dl
mov dword [edi], ebx
bt ecx, edx
jae 0x10021073
mov ecx, ebx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, ebx
add ebx, 5
and cl, 7
shr eax, cl
cmp esi, ebx
cmovbe ebx, esi
inc dword [esp + 0x3c]
and al, 0x1f
inc al
mov dword [edi], ebx
jmp 0x10021075
xor eax, eax
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
test edi, edi
mov byte [ebx], al
jne 0x10021015
mov ecx, dword [esp + 0x3c]
jmp 0x10021121
cmp dword [esp], 0
je 0x1002111f
mov eax, dword [esp + 0x1c]
mov ecx, edx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, edx
add edx, 5
and cl, 7
shr eax, cl
mov ecx, dword [esp + 0x30]
cmp ecx, edx
cmovbe edx, ecx
mov ecx, dword [esp + 4]
and al, 0x1f
inc al
cmp dword [esp], 1
mov dword [ecx], edx
mov ecx, dword [esp + 8]
mov byte [ecx], al
mov ecx, 1
mov ecx, ecx
je 0x10021121
mov eax, dword [esp]
mov edx, dword [esp + 0x54]
lea esi, [eax - 1]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov edi, eax
shr edi, 3
mov ebx, dword [ecx + edi]
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx]
mov ecx, eax
add eax, 5
and cl, 7
shr ebx, cl
mov ecx, dword [esp + 4]
cmp edi, eax
cmovbe eax, edi
and bl, 0x1f
inc bl
mov dword [ecx], eax
mov byte [edx], bl
inc edx
dec esi
jne 0x100210e0
mov ecx, dword [esp]
jmp 0x10021121
xor ecx, ecx
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov edx, dword [edi]
mov eax, dword [eax]
mov ecx, edx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
mov ecx, edx
add edx, 4
and cl, 7
shr eax, cl
mov ecx, dword [esp + 0x48]
cmp esi, edx
cmovbe edx, esi
and al, 0xf
mov dword [edi], edx
mov edx, dword [esp + 0x44]
mov byte [ecx + edx + 1], al
je 0x100213f2
cmp al, 1
jne 0x100215e8
mov eax, dword [esp + 0x44]
lea eax, [ecx + eax]
mov dword [esp + 0x38], eax
movzx eax, byte [eax]
push eax
push dword [esp + 4]
call fcn.1001d334
add esp, 8
mov ebx, dword [esp + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, dword [ebx]
mov eax, dword [eax]
mov edi, dword [edi]
mov ecx, edx
shr ecx, 3
mov esi, dword [eax + ecx]
mov ecx, edx
add edx, 0x10
and cl, 7
shr esi, cl
cmp edi, edx
cmovbe edx, edi
mov ecx, edx
mov dword [ebx], edx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, edx
add edx, 0x10
and cl, 7
shr eax, cl
cmp edi, edx
movzx ecx, si
mov esi, eax
cmovbe edx, edi
shr eax, 5
shl esi, 0x10
and eax, 0x3ff
mov dword [ebx], edx
or esi, ecx
mov ecx, esi
and ecx, 0x1fffff
test esi, esi
cvtsi2sd xmm0, ecx
jns 0x100211f8
xorps xmm0, xmmword [0x101805a0]
add eax, 0xfffffcec
sub esp, 0xc
mov dword [esp + 8], eax
movsd qword [esp], xmm0
call fcn.1016b821
add esp, 0xc
fstp dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 4]
movss xmm1, dword [esp + 0x6c]
mov esi, dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
movss dword [esp + 0x50], xmm1
mov eax, dword [eax]
mov ecx, edx
shr ecx, 3
mov edi, dword [eax + ecx]
mov ecx, edx
add edx, 0x10
and cl, 7
shr edi, cl
cmp esi, edx
cmovbe edx, esi
mov ecx, edx
mov dword [ebx], edx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, edx
add edx, 0x10
and cl, 7
shr eax, cl
cmp esi, edx
movzx ecx, di
cmovbe edx, esi
mov esi, eax
shr eax, 5
shl esi, 0x10
and eax, 0x3ff
mov dword [ebx], edx
or esi, ecx
mov ecx, esi
and ecx, 0x1fffff
test esi, esi
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
jns 0x10021291
xorps xmm0, xmmword [0x101805a0]
add eax, 0xfffffcec
sub esp, 0xc
mov dword [esp + 8], eax
movsd qword [esp], xmm0
call fcn.1016b821
add esp, 0xc
fstp dword [esp + 0x68]
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
movss xmm0, dword [esp + 0x68]
mov edx, dword [ebx]
mov ecx, dword [eax]
mov esi, dword [edi]
mov eax, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], esi
shr eax, 3
mov eax, dword [ecx + eax]
mov ecx, edx
add edx, 4
and cl, 7
shr eax, cl
cmp esi, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
cmovbe edx, esi
mov ecx, edx
mov dword [ebx], edx
mov dword [esp + 0x60], edx
shr ecx, 3
movzx ecx, byte [eax + ecx]
mov eax, ebx
xor ebx, ebx
cmp edx, esi
setl bl
add ebx, edx
cmp dword [esp + 0x30], 0
mov dword [eax], ebx
mov dword [esp + 0x5c], ecx
je 0x100213ae
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
mov ecx, ebx
shr ecx, 3
and eax, 0xf
mov esi, dword [edx + ecx]
lea ecx, [eax + 1]
xor eax, 0x1f
xor edx, edx
mov dword [esp + 0x28], ecx
mov ecx, eax
dec edx
mov eax, dword [esp + 0x1c]
shr edx, cl
mov ecx, ebx
add ebx, dword [esp + 0x28]
and cl, 7
mov dword [esp + 0xc], edx
shr esi, cl
mov ecx, dword [esp + 4]
and esi, edx
mov edx, dword [esp + 0x20]
cmp eax, ebx
cmovbe ebx, eax
cmp dword [esp + 0x30], 1
mov dword [ecx], ebx
mov word [edx], si
je 0x100213ae
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
lea esi, [eax - 1]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
mov ebx, eax
shr ebx, 3
mov ebx, dword [ecx + ebx]
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx]
mov ecx, eax
add eax, dword [esp + 0x28]
and cl, 7
shr ebx, cl
mov ecx, dword [esp + 4]
and ebx, dword [esp + 0xc]
cmp edi, eax
cmovbe eax, edi
mov dword [ecx], eax
mov word [edx], bx
add edx, 2
dec esi
jne 0x10021375
mov ecx, dword [esp + 0x3c]
movss dword [esp + 0x64], xmm0
test ecx, ecx
je 0x100213fe
mov eax, dword [esp + 0x38]
movzx eax, byte [eax]
shl eax, 2
push eax
push ecx
call fcn.100539a9
add esp, 8
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
test eax, eax
mov esi, dword [esp]
movss xmm2, dword [esp + 0x50]
mov dword [ecx + edx + 0x14], eax
mov eax, dword [esp + 8]
jne 0x1002141b
jmp 0x1002247d
mov esi, dword [esp]
mov eax, dword [esp + 8]
jmp 0x100214ed
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov esi, dword [esp]
movss xmm2, dword [esp + 0x50]
mov dword [ecx + eax + 0x14], 0
mov eax, dword [esp + 8]
test esi, esi
je 0x100214df
mov edx, dword [esp + 0x60]
movss xmm3, dword [esp + 0x64]
and edx, 7
mov edi, edx
mov edx, dword [esp + 0x44]
lea ebx, [ecx + edx + 0x14]
xor ecx, ecx
inc ecx
mov edx, ecx
mov ecx, edi
xor edi, edi
shl edx, cl
and edx, dword [esp + 0x5c]
mov dword [esp + 0x28], edx
xor edx, edx
mov al, byte [eax + edi]
test al, al
je 0x100214d0
mov ecx, dword [esp + 0x38]
movzx ecx, byte [ecx]
test cl, cl
je 0x100214c4
mov eax, edi
mov edi, edx
xorps xmm0, xmm0
mov dword [esp + 0xc], edx
imul edi, ecx
mov dword [esp + 0x1c], eax
shl edi, 2
xor edx, edx
div dword [esp + 0x30]
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x28], 0
movzx edx, word [esi + edx*2]
mov esi, dword [ebx]
xorps xmm1, xmm1
cvtsi2ss xmm1, edx
mulss xmm1, xmm3
addss xmm1, xmm2
addss xmm1, xmm0
movss dword [esi + edi], xmm1
je 0x100214ac
mov edx, dword [ebx]
movss xmm0, dword [edx + edi]
add edi, 4
dec ecx
jne 0x10021476
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp]
mov edx, dword [esp + 0xc]
mov al, byte [eax + edi]
mov ecx, dword [esp + 8]
mov byte [ecx + edx], al
mov eax, ecx
inc edx
jmp 0x100214d4
mov eax, dword [esp + 8]
inc edi
cmp edi, esi
jne 0x1002144f
jmp 0x100214e1
xor edx, edx
mov esi, dword [esp + 0x3c]
cmp edx, esi
jne 0x1002246f
push esi
push dword [esp + 0x44]
push eax
call fcn.1001d35d
add esp, 0xc
test eax, eax
jne 0x100215e8
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
test esi, esi
mov dword [esp + 0x3c], esi
lea ecx, [eax + ecx + 2]
mov byte [ecx], 0
je 0x1002153d
mov edx, dword [esp + 8]
xor eax, eax
mov bl, byte [edx]
cmp bl, al
jb 0x1002152a
mov eax, ebx
mov byte [ecx], bl
inc edx
dec esi
jne 0x10021520
xor edx, edx
cmp al, 0x18
seta dl
lea esi, [edx + edx*2]
or esi, 8
jmp 0x10021544
mov esi, 8
xor eax, eax
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
movzx eax, al
lea eax, [eax + esi - 1]
lea edi, [edx + edi + 4]
xor edx, edx
mov dword [edi + 0x14], esi
div esi
mov byte [ecx], al
push 2
xor eax, eax
push eax
push eax
push eax
mov eax, 4
push eax
push eax
push dword [esp + 0x58]
mov eax, 1
push eax
push eax
push dword [esp + 0x2c]
push dword [esp + 0x64]
push esi
push edi
call fcn.1000931c
add esp, 0x34
test eax, eax
jne 0x10022468
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
movzx eax, word [ecx + 0xd4]
inc edx
mov dword [esp + 0x4c], edx
cmp edx, eax
jae 0x10021618
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 4]
mov ebx, ecx
mov edx, dword [ecx + 0x14]
mov ecx, eax
shr ecx, 3
mov edi, dword [esi + ecx]
mov ecx, eax
add eax, 0x18
and cl, 7
shr edi, cl
and edi, 0xffffff
cmp edx, eax
cmovbe eax, edx
cmp edi, 0x564342
mov edi, dword [ebx + 0xd8]
mov dword [ebx + 0xc], eax
je 0x10020e3d
mov edi, 0xbebbb1b7
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 8]
push eax
call sym.ffmpeg.dll_av_free
add esp, 4
push ebx
call sym.ffmpeg.dll_av_free
add esp, 4
push dword [esp + 0x20]
call sym.ffmpeg.dll_av_free
add esp, 4
jmp 0x10022525
push dword [esp + 8]
call sym.ffmpeg.dll_av_free
add esp, 4
push dword [esp + 0x40]
call sym.ffmpeg.dll_av_free
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym.ffmpeg.dll_av_free
add esp, 4
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
mov esi, dword [ecx]
mov eax, dword [eax]
mov ecx, edx
mov dword [esp], esi
shr ecx, 3
mov esi, dword [esi + ecx]
mov ecx, edx
add edx, 6
and cl, 7
shr esi, cl
and esi, 0x3f
cmp eax, edx
cmovbe edx, eax
xor ebx, ebx
mov dword [esp + 0x20], esi
mov dword [edi], edx
dec ebx
mov esi, edx
mov ecx, edx
lea edx, [edx + 0x10]
mov edi, 0xffff
shr esi, 3
cmp eax, edx
cmovbe edx, eax
and cl, 7
shl edi, cl
mov ecx, dword [esp]
test dword [ecx + esi], edi
mov esi, dword [esp + 4]
mov dword [esi], edx
jne 0x10022520
inc ebx
cmp ebx, dword [esp + 0x20]
jb 0x10021674
mov esi, dword [esp]
mov ecx, edx
shr ecx, 3
mov ebx, dword [esi + ecx]
mov ecx, edx
add edx, 6
mov esi, dword [esp + 0x18]
and cl, 7
shr ebx, cl
cmp eax, edx
cmovbe edx, eax
and bl, 0x3f
inc bl
mov dword [esi + 0xc], edx
movzx eax, bl
mov byte [esi + 0xdc], bl
imul eax, eax, 0x164
push eax
call fcn.100539f3
add esp, 4
mov edi, 0xfffffff4
test eax, eax
mov dword [esi + 0xe0], eax
je 0x10022525
cmp byte [esi + 0xdc], 0
mov ebx, dword [esp + 4]
je 0x1002206a
xor edi, edi
mov dword [esp + 0x38], eax
jmp 0x10022019
lea edi, [edx + ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [edi - 4], 0x10022b1d
mov edx, dword [ebx]
mov eax, dword [eax]
mov ecx, edx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
mov ecx, edx
add edx, 5
and cl, 7
shr eax, cl
mov ecx, edi
mov dword [esp + 0x1c], ecx
cmp esi, edx
cmovbe edx, esi
and al, 0x1f
mov dword [ebx], edx
mov edx, 0xffffffff
mov byte [ecx], al
je 0x100217b9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
xor esi, esi
xor edi, edi
dec edi
lea eax, [eax + ecx + 9]
mov dword [esp], eax
mov eax, dword [esp + 4]
mov ebx, dword [eax]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, ebx
shr ecx, 3
mov edx, dword [eax + ecx]
mov eax, dword [esp + 0x14]
mov ecx, ebx
add ebx, 4
and cl, 7
mov eax, dword [eax]
shr edx, cl
mov ecx, dword [esp + 0x1c]
and edx, 0xf
cmp eax, ebx
cmovbe ebx, eax
mov eax, dword [esp + 4]
cmp edx, edi
mov dword [eax], ebx
mov eax, dword [esp]
mov ebx, dword [esp + 4]
mov byte [eax + esi], dl
cmovl edx, edi
inc esi
movzx eax, byte [ecx]
mov edi, edx
cmp esi, eax
jb 0x1002176a
mov eax, dword [esp + 0x10]
mov ebx, dword [ebx]
mov dword [esp + 0x30], edx
mov eax, dword [eax]
mov ecx, ebx
shr ecx, 3
mov edx, dword [eax + ecx]
mov eax, dword [esp + 0x14]
mov ecx, ebx
and cl, 7
shr edx, cl
cmp dword [esp + 0x30], 0
mov edi, dword [eax]
js 0x10021e06
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 4]
lea eax, [eax + ecx + 0x5a]
mov dword [esp], eax
xor eax, eax
add ebx, 3
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
cmp edi, ebx
cmovbe ebx, edi
mov edi, dword [esp + 0xc]
and dl, 7
inc dl
mov dword [esi], ebx
lea ecx, [ecx + edi]
lea edi, [eax + ecx + 0x39]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov byte [edi - 0x10], dl
mov ebx, dword [esi]
mov eax, dword [eax]
mov ecx, ebx
shr ecx, 3
mov edx, dword [eax + ecx]
mov eax, dword [esp + 0x14]
mov ecx, ebx
add ebx, 2
and cl, 7
mov eax, dword [eax]
shr edx, cl
mov cl, 3
cmp eax, ebx
cmovbe ebx, eax
and dl, cl
mov dword [esi], ebx
mov byte [edi], dl
je 0x100218ae
mov ebx, esi
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov ecx, edx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, dword [esi + 0x14]
mov dword [esp + 8], ecx
mov ecx, edx
add edx, 8
and cl, 7
shr eax, cl
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 8]
cmp eax, edx
cmovbe edx, eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x3c]
mov byte [eax + ecx + 0x49], dl
movzx eax, dl
movzx ecx, word [esi + 0xd4]
cmp eax, ecx
jae 0x10022520
cmp byte [edi], 0x1f
je 0x10021917
xor edx, edx
mov eax, dword [esp + 4]
mov ebx, dword [eax]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, ebx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
mov ecx, ebx
add ebx, 8
and cl, 7
shr eax, cl
mov ecx, dword [esp + 4]
cmp esi, ebx
cmovbe ebx, esi
mov dword [ecx], ebx
mov ebx, dword [esp + 4]
movzx ecx, al
mov eax, ecx
dec eax
test cx, cx
je 0x10021904
mov esi, dword [esp + 0x18]
movsx ecx, ax
movzx esi, word [esi + 0xd4]
cmp ecx, esi
jge 0x10022520
mov ecx, dword [esp]
mov word [ecx + edx*2], ax
inc edx
xor eax, eax
mov cl, byte [edi]
inc eax
shl eax, cl
cmp edx, eax
jl 0x100218b0
mov eax, dword [esp + 0x10]
mov esi, ebx
mov ebx, dword [ebx]
add dword [esp], 0x10
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
mov ecx, ebx
shr ecx, 3
mov edx, dword [edx + ecx]
mov edi, dword [eax]
mov eax, dword [esp + 0x20]
mov ecx, ebx
and cl, 7
shr edx, cl
cmp eax, dword [esp + 0x30]
lea eax, [eax + 1]
jl 0x100217fa
jmp 0x10021e0a
mov dword [edx + ecx + 4], 0x10023111
mov ecx, dword [esp + 0x10]
mov edi, edx
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov edx, eax
shr edx, 3
mov edx, dword [ecx + edx]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
mov ecx, eax
add eax, 8
and cl, 7
shr edx, cl
cmp esi, eax
cmovbe eax, esi
test dl, dl
mov dword [ebx], eax
mov eax, dword [esp + 0xc]
mov byte [edi + eax + 8], dl
je 0x10022520
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov edx, eax
shr edx, 3
mov edx, dword [ecx + edx]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
mov ecx, eax
add eax, 0x10
and cl, 7
shr edx, cl
cmp esi, eax
cmovbe eax, esi
test dx, dx
mov dword [ebx], eax
mov eax, dword [esp + 0xc]
mov word [edi + eax + 0xa], dx
je 0x10022520
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov edx, eax
shr edx, 3
mov edx, dword [ecx + edx]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
mov ecx, eax
add eax, 0x10
and cl, 7
shr edx, cl
cmp esi, eax
cmovbe eax, esi
test dx, dx
mov dword [ebx], eax
mov eax, dword [esp + 0xc]
mov word [edi + eax + 0xc], dx
je 0x10022520
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
mov eax, dword [eax]
mov ecx, edx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
mov ecx, edx
add edx, 6
and cl, 7
shr eax, cl
mov ecx, dword [esp + 0xc]
cmp esi, edx
cmovbe edx, esi
and al, 0x3f
mov dword [ebx], edx
mov byte [edi + ecx + 0x20], al
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov edx, eax
shr edx, 3
mov edx, dword [ecx + edx]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
mov ecx, eax
add eax, 8
and cl, 7
shr edx, cl
cmp esi, eax
cmovbe eax, esi
mov dword [ebx], eax
mov eax, dword [esp + 0xc]
mov byte [edi + eax + 0x21], dl
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
mov eax, dword [eax]
mov ecx, edx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
mov ecx, edx
add edx, 4
and cl, 7
shr eax, cl
cmp esi, edx
cmovbe edx, esi
mov esi, dword [esp + 0xc]
and al, 0xf
inc al
mov dword [ebx], edx
mov byte [edi + esi + 0x22], al
movzx eax, al
push eax
call sym.ffmpeg.dll_av_malloc
add esp, 4
test eax, eax
mov dword [edi + esi + 0x24], eax
je 0x10022973
mov eax, esi
lea eax, [edi + esi + 0x22]
mov ebx, dword [esp + 0x18]
cmp byte [eax], 0
mov dword [esp], eax
mov eax, 0
je 0x10021b49
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xc]
xor esi, esi
lea eax, [ecx + edx + 0x24]
mov dword [esp + 0x20], eax
xor eax, eax
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x14]
mov edi, ebx
mov ebx, edx
shr ebx, 3
mov ebx, dword [ecx + ebx]
mov ecx, edx
add edx, 8
and cl, 7
shr ebx, cl
cmp eax, edx
cmovbe edx, eax
movzx ecx, bl
mov dword [edi + 0xc], edx
movzx edx, word [edi + 0xd4]
cmp ecx, edx
jae 0x10022520
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov eax, dword [esp + 0x3c]
mov byte [edx + esi], bl
lea edx, [ecx + ecx*8]
mov ebx, edi
lea edx, [edx + edx*2]
add edx, ecx
mov ecx, dword [edi + 0xd8]
movzx ecx, byte [ecx + edx]
cmp eax, ecx
cmovb eax, ecx
mov ecx, dword [esp]
inc esi
movzx ecx, byte [ecx]
cmp esi, ecx
jb 0x10021add
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebx + 0xe0]
mov esi, ebx
xor ebx, ebx
lea eax, [eax + ecx + 8]
lea edi, [edx + ecx + 0x10]
mov dword [esp + 0x44], eax
mov esi, dword [esi + ebx*4 + 0xc4]
shr esi, 1
lea eax, [esi + 1]
push 4
push eax
call fcn.1005397b
add esp, 8
test eax, eax
mov dword [edi + ebx*4], eax
mov dword [esp + 8], eax
je 0x10022973
test esi, esi
mov dword [esp + 0x1c], ebx
je 0x10021dae
xorps xmm0, xmm0
cvtsi2ss xmm0, esi
xor ebx, ebx
addss xmm0, xmm0
movss dword [esp], xmm0
movzx eax, word [edi - 6]
movss xmm1, dword [0x1019b07c]
imul eax, ebx
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
divss xmm0, dword [esp]
mulss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.1016a300
add esp, 8
fstp qword [esp + 0x90]
movsd xmm0, qword [0x1019b080]
movss xmm2, dword [0x1019b088]
movzx eax, word [edi - 6]
movsd xmm1, qword [esp + 0x90]
imul eax, ebx
mulsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movsd qword [esp + 0x20], xmm1
divss xmm0, dword [esp]
movaps xmm1, xmm0
mulss xmm1, xmm2
mulss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
sub esp, 8
movsd qword [esp], xmm0
call fcn.1016a300
add esp, 8
fstp qword [esp + 0x88]
movsd xmm1, qword [0x1019b090]
mov ecx, ebx
movss xmm2, dword [0x1019b098]
movzx eax, word [edi - 6]
movsd xmm0, qword [esp + 0x88]
imul ecx, eax
mulsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2ss xmm1, ecx
addsd xmm0, qword [esp + 0x20]
movzx ecx, word [edi - 4]
divss xmm1, dword [esp]
mulss xmm1, xmm2
movss xmm2, dword [0x10187134]
cvtss2sd xmm1, xmm1
addsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
movsd qword [esp + 0x30], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movsd qword [esp + 0x20], xmm1
mulss xmm0, xmm2
mulss xmm0, dword [0x1019b07c]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.1016a300
add esp, 8
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
movzx eax, word [edi - 6]
mulsd xmm0, qword [0x1019b080]
movsd qword [esp + 0x28], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x10187134]
movaps xmm1, xmm0
mulss xmm1, dword [0x1019b088]
mulss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
sub esp, 8
movsd qword [esp], xmm0
call fcn.1016a300
add esp, 8
fstp qword [esp + 0x78]
movzx eax, word [edi - 6]
movsd xmm0, qword [esp + 0x78]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulsd xmm0, qword [0x1019b090]
mulss xmm1, dword [0x10187134]
addsd xmm0, qword [esp + 0x28]
mulss xmm1, dword [0x1019b098]
cvtss2sd xmm1, xmm1
addsd xmm1, xmm0
movsd xmm0, qword [esp + 0x30]
divsd xmm0, xmm1
mulsd xmm0, qword [esp + 0x20]
sub esp, 8
movsd qword [esp], xmm0
call fcn.1016b1e0
add esp, 8
fstp qword [esp + 0x70]
cvttsd2si ecx, qword [esp + 0x70]
mov eax, dword [esp + 8]
mov dword [eax + ebx*4], ecx
movzx eax, word [edi - 4]
cmp eax, ecx
jg 0x10021da5
mov ecx, dword [esp + 8]
dec eax
mov dword [ecx + ebx*4], eax
inc ebx
cmp esi, ebx
jne 0x10021baf
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
mov dword [eax + esi*4], 0xffffffff
mov dword [edi + ebx*4 + 8], esi
mov esi, dword [esp + 0x18]
inc ebx
cmp ebx, 2
jb 0x10021b6b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
movzx eax, byte [eax]
lea eax, [ecx + eax + 1]
push 4
push eax
call fcn.1005397b
add esp, 8
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 4]
test eax, eax
mov dword [ecx + edx + 0x28], eax
jne 0x10021ffd
jmp 0x10022973
mov esi, dword [esp + 4]
add ebx, 2
mov ecx, dword [esp + 0x1c]
cmp edi, ebx
cmovbe ebx, edi
and dl, 3
mov dword [esi], ebx
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0xc]
inc dl
lea eax, [ebx + esi + 0x15c]
mov byte [eax - 2], dl
mov word [eax], 2
mov dword [esp + 0x44], eax
movzx ecx, byte [ecx]
test ecx, ecx
je 0x10021e65
lea edx, [ebx + esi + 9]
mov ax, 2
mov edi, dword [esp + 0xc]
movzx esi, byte [edx]
inc edx
lea edi, [ebx + edi]
movzx esi, byte [esi + edi + 0x29]
mov edi, dword [esp + 0x44]
add eax, esi
dec ecx
mov word [edi], ax
jne 0x10021e47
jmp 0x10021e69
mov ax, 2
movzx eax, ax
push 8
push eax
call fcn.100539a9
add esp, 8
mov ecx, dword [esp + 0xc]
test eax, eax
mov dword [ebx + ecx + 0x160], eax
je 0x10022973
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov edx, eax
shr edx, 3
mov esi, dword [ecx + edx]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, eax
add eax, 4
and cl, 7
shr esi, cl
mov ecx, esi
mov esi, dword [esp + 0x18]
cmp edx, eax
cmovbe eax, edx
and ecx, 0xf
mov dword [ebx], eax
mov eax, dword [esp + 0x1c]
jne 0x10021ecd
cmp byte [eax], 0
jne 0x10022520
mov edx, dword [esi + 0xc8]
xor eax, eax
mov dword [esp + 0x28], ecx
inc eax
shl eax, cl
shr edx, 1
cmp eax, edx
mov edx, dword [esp + 0x38]
ja 0x10022520
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], edx
lea edi, [edx + ecx + 0x160]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi]
mov dword [esp + 0x30], edi
mov word [ecx], 0
mov ecx, dword [edi]
mov word [ecx + 8], ax
mov ch, byte [edx]
test ch, ch
je 0x10021fdd
mov ebx, 0x20
mov edi, 2
sub ebx, dword [esp + 0x28]
xor eax, eax
xor edx, edx
dec eax
mov cl, bl
mov ebx, dword [esp + 4]
shr eax, cl
mov dword [esp + 8], eax
mov byte [esp + 0x20], ch
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], edx
lea ecx, [ecx + eax]
movzx eax, byte [edx + ecx + 9]
mov dword [esp], ecx
cmp byte [eax + ecx + 0x29], 0
je 0x10021fc9
mov eax, dword [esp]
lea eax, [edx + eax + 9]
xor edx, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 4]
mov ebx, dword [eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, ebx
shr eax, 3
mov eax, dword [ecx + eax]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
mov ecx, ebx
add ebx, dword [esp + 0x28]
and cl, 7
shr eax, cl
mov ecx, dword [esp + 4]
and eax, dword [esp + 8]
cmp esi, ebx
cmovbe ebx, esi
inc edx
mov dword [ecx], ebx
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 4]
mov ecx, dword [ecx]
mov word [ecx + edi*8], ax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp]
inc edi
movzx eax, byte [eax]
movzx eax, byte [eax + ecx + 0x29]
cmp edx, eax
jb 0x10021f66
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ch, byte [eax]
jmp 0x10021fcd
mov ch, byte [esp + 0x20]
mov edx, dword [esp + 0x3c]
movzx eax, ch
inc edx
cmp edx, eax
jb 0x10021f37
mov eax, dword [esp + 0x44]
movzx eax, word [eax]
push eax
mov eax, dword [esp + 0x34]
push dword [eax]
push dword [esi]
call fcn.1001d4b6
add esp, 0xc
test eax, eax
jne 0x10022520
mov edx, dword [esp + 0x48]
movzx eax, byte [esi + 0xdc]
inc edx
cmp edx, eax
jae 0x1002206a
mov eax, dword [esi + 0xe0]
mov edi, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
mov dword [esp + 0x48], edi
mov eax, dword [eax]
mov ecx, edx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
mov ecx, edx
add edx, 0x10
and cl, 7
shr eax, cl
cmp esi, edx
cmovbe edx, esi
imul ecx, edi, 0x164
test al, al
mov dword [ebx], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
mov byte [edx + ecx], al
je 0x10021950
cmp al, 1
je 0x10021713
jmp 0x10022520
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
mov esi, dword [ecx + 0x14]
mov ecx, edx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, edx
add edx, 6
and cl, 7
shr eax, cl
cmp esi, edx
cmovbe edx, esi
mov esi, dword [esp + 0x18]
and al, 0x3f
inc al
mov dword [esi + 0xc], edx
mov byte [esi + 0xe4], al
movzx eax, al
imul eax, eax, 0x41c
push eax
call fcn.100539f3
add esp, 4
test eax, eax
mov dword [esi + 0xe8], eax
je 0x10022973
cmp byte [esi + 0xe4], 0
je 0x1002248b
mov ecx, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x1c], eax
jmp 0x10022363
mov edi, dword [esp + 0x18]
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi + 0x14]
mov ecx, edx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, edx
add edx, 6
and cl, 7
shr eax, cl
cmp esi, edx
mov ecx, dword [esp + 0x1c]
cmovbe edx, esi
mov esi, dword [esp + 0xc]
and al, 0x3f
inc al
mov dword [edi + 0xc], edx
mov byte [ecx + esi + 0x10], al
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, eax
shr edx, 3
mov edx, dword [ecx + edx]
mov ecx, dword [edi + 0x14]
mov dword [esp], ecx
mov ecx, eax
add eax, 8
and cl, 7
shr edx, cl
mov ecx, dword [esp]
cmp ecx, eax
cmovbe eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0xc], eax
movzx eax, dl
mov byte [ecx + esi + 0x11], dl
movzx ecx, word [edi + 0xd4]
cmp eax, ecx
jae 0x1002245c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
xor edx, edx
lea esi, [eax + ecx + 4]
mov eax, dword [esi + 4]
sub eax, dword [esi]
div dword [esi + 8]
mov word [esi + 0x410], ax
movzx eax, ax
movzx ecx, byte [edi + 0xb0]
push ecx
push eax
call fcn.1005397b
add esp, 8
test eax, eax
mov dword [esi + 0x414], eax
je 0x10022b13
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esi + eax + 0x10]
cmp byte [eax], 0
mov dword [esp + 0x30], eax
je 0x10022329
mov esi, dword [ecx]
mov edx, dword [edx]
mov eax, dword [ebx]
xor edi, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], esi
mov ecx, eax
shr ecx, 3
mov ebx, dword [edx + ecx]
mov ecx, eax
add eax, 3
and cl, 7
shr ebx, cl
cmp esi, eax
ja 0x100221dd
mov eax, esi
and ebx, 7
mov ecx, eax
mov dword [esp], ebx
mov ebx, dword [esp + 4]
shr ecx, 3
mov dword [ebx], eax
movzx ecx, byte [edx + ecx]
xor edx, edx
cmp eax, esi
setl dl
add edx, eax
and al, 7
movzx eax, al
mov dword [ebx], edx
bt ecx, eax
jae 0x10022232
mov ecx, dword [esp + 0x20]
mov eax, edx
mov esi, dword [esp + 0x28]
shr eax, 3
mov eax, dword [ecx + eax]
mov ecx, edx
add edx, 5
and cl, 7
shr eax, cl
cmp esi, edx
ja 0x10022227
mov edx, esi
mov ecx, dword [esp + 4]
and eax, 0x1f
mov dword [ecx], edx
jmp 0x10022238
mov esi, dword [esp + 0x28]
xor eax, eax
mov ecx, dword [esp]
lea eax, [ecx + eax*8]
mov byte [esp + edi + 0x98], al
mov eax, dword [esp + 0x30]
inc edi
movzx ecx, byte [eax]
mov eax, edx
mov edx, dword [esp + 0x20]
cmp edi, ecx
jb 0x100221c5
xor eax, eax
test cl, cl
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov byte [edx + edi + 0x412], al
je 0x1002233f
mov eax, edx
lea edx, [edx + edi + 0x412]
mov dword [esp + 0x20], edx
lea eax, [eax + edi + 0x12]
xor edx, edx
mov dword [esp], eax
movzx edi, byte [esp + edx + 0x98]
xor ebx, ebx
mov dword [esp + 0x28], edx
bt edi, ebx
jae 0x10022300
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov ecx, edx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x14]
mov ecx, edx
add edx, 8
and cl, 7
shr eax, cl
mov ecx, dword [esp]
movzx eax, al
cmp esi, edx
cmovbe edx, esi
mov esi, dword [esp + 0x18]
mov dword [esi + 0xc], edx
mov word [ecx + ebx*2], ax
movzx ecx, word [esi + 0xd4]
cmp eax, ecx
jae 0x1002245c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
movzx eax, byte [eax]
cmp ebx, eax
jbe 0x10022309
mov eax, dword [esp + 0x20]
mov byte [eax], bl
jmp 0x10022309
mov eax, dword [esp]
mov word [eax + ebx*2], 0xffff
inc ebx
cmp ebx, 8
jb 0x100222a0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
add dword [esp], 0x10
movzx eax, byte [eax]
inc edx
cmp edx, eax
jb 0x10022292
jmp 0x1002233f
mov ecx, dword [esp + 0xc]
mov eax, esi
mov byte [esi + ecx + 0x412], 0
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 8]
movzx eax, byte [esi + 0xe4]
mov ebx, dword [esp + 4]
inc ecx
cmp ecx, eax
jae 0x1002248b
mov eax, dword [esi + 0xe8]
mov edi, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx]
mov dword [esp + 8], edi
mov ecx, dword [ecx]
mov esi, eax
shr esi, 3
mov esi, dword [ecx + esi]
mov ecx, eax
add eax, 0x10
and cl, 7
shr esi, cl
cmp edx, eax
mov ecx, dword [esp + 0x10]
cmovbe eax, edx
mov dword [ebx], eax
imul eax, edi, 0x41c
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov word [edi + eax], si
mov esi, dword [esp + 0x14]
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov edx, eax
shr edx, 3
mov edx, dword [ecx + edx]
mov ecx, dword [esi]
mov dword [esp], ecx
mov ecx, eax
add eax, 0x18
and cl, 7
shr edx, cl
mov ecx, dword [esp]
and edx, 0xffffff
cmp ecx, eax
cmovbe eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ebx], eax
mov eax, dword [esp + 0xc]
mov dword [edi + eax + 4], edx
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov esi, dword [esi]
mov edx, eax
shr edx, 3
mov edx, dword [ecx + edx]
mov ecx, eax
add eax, 0x18
and cl, 7
shr edx, cl
mov ecx, dword [esp + 0x10]
and edx, 0xffffff
cmp esi, eax
cmovbe eax, esi
mov dword [ebx], eax
mov eax, dword [esp + 0xc]
mov dword [edi + eax + 8], edx
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov edx, eax
shr edx, 3
mov esi, dword [ecx + edx]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, eax
add eax, 0x18
and cl, 7
shr esi, cl
mov ecx, 0xbebbb1b7
and esi, 0xffffff
cmp edx, eax
cmovbe eax, edx
mov edx, dword [esp + 0xc]
inc esi
mov dword [ebx], eax
mov dword [edi + edx + 0xc], esi
mov eax, dword [edi + edx + 8]
sub eax, dword [edi + edx + 4]
jb 0x10022461
xor edx, edx
div esi
cmp eax, 0xffff
jbe 0x100220db
mov ecx, 0xbebbb1b7
mov edi, ecx
jmp 0x10022525
mov edi, eax
jmp 0x100215ed
mov ebx, dword [esp + 0x40]
mov edi, 0xbebbb1b7
jmp 0x100215f5
mov ebx, dword [esp + 0x40]
mov edi, 0xfffffff4
jmp 0x100215f5
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
mov esi, dword [ecx + 0x14]
mov ecx, edx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, edx
add edx, 6
and cl, 7
shr eax, cl
cmp esi, edx
cmovbe edx, esi
mov esi, dword [esp + 0x18]
and al, 0x3f
inc al
mov dword [esi + 0xc], edx
mov byte [esi + 0xec], al
movzx eax, al
shl eax, 4
lea eax, [eax + eax*2]
push eax
call fcn.100539f3
add esp, 4
test eax, eax
mov dword [esi + 0xf0], eax
mov dword [esp + 0x20], eax
je 0x10022973
cmp byte [esi + 0xec], 0
je 0x1002297d
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 4]
mov edx, ecx
lea ebx, [ecx + 0x10]
mov dword [esp + 0x30], edi
mov dword [esp], eax
shr edx, 3
cmp edi, ebx
cmovbe ebx, edi
and cl, 7
mov edi, 0xffff
shl edi, cl
test dword [eax + edx], edi
mov dword [esi + 0xc], ebx
je 0x1002253d
mov edi, 0xbebbb1b7
mov ecx, dword [esp + 0xd8]
xor ecx, ebp
call fcn.1015e65c
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x1c], 0
mov edx, dword [esp]
mov ecx, ebx
mov eax, dword [esp + 4]
shr ecx, 3
movzx ecx, byte [edx + ecx]
xor edx, edx
cmp ebx, dword [esp + 0x30]
setl dl
add edx, ebx
and bl, 7
movzx edi, bl
mov dword [eax], edx
bt ecx, edi
jae 0x10022598
mov esi, dword [esp]
mov ecx, edx
mov eax, dword [esp + 0x30]
shr ecx, 3
mov ebx, dword [esi + ecx]
mov ecx, edx
add edx, 4
and cl, 7
shr ebx, cl
mov ecx, dword [esp + 4]
cmp eax, edx
cmovbe edx, eax
and bl, 0xf
inc bl
mov dword [ecx], edx
jmp 0x1002259a
mov bl, 1
mov eax, dword [esp + 0x1c]
xor edx, edx
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x20]
shl ecx, 4
mov dword [esp + 0x28], ecx
mov byte [eax + ecx], bl
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x10]
mov ebx, dword [ecx]
mov esi, dword [eax]
mov eax, ebx
shr eax, 3
movzx eax, byte [esi + eax]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp ebx, eax
setl dl
add edx, ebx
and bl, 7
movzx edi, bl
mov ebx, dword [esp]
mov dword [ecx], edx
bt ebx, edi
jae 0x10022768
mov ebx, edx
mov ecx, edx
add edx, 8
mov edi, dword [esp + 0x20]
shr ebx, 3
and cl, 7
mov ebx, dword [esi + ebx]
mov esi, dword [esp + 0x28]
shr ebx, cl
mov ecx, dword [esp + 0x18]
cmp eax, edx
cmovbe edx, eax
movzx eax, bl
inc eax
mov dword [ecx + 0xc], edx
mov word [edi + esi + 2], ax
cmp byte [ecx + 0xb0], 2
jb 0x10022520
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
movzx eax, ax
lea esi, [ecx + edx + 2]
push eax
call fcn.100539f3
add esp, 4
mov dword [esi + 2], eax
movzx eax, word [esi]
push eax
call fcn.100539f3
add esp, 4
test eax, eax
mov dword [esp + 0x30], esi
mov dword [esi + 6], eax
je 0x10022973
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
lea eax, [eax + ecx + 4]
cmp dword [eax], 0
mov dword [esp + 8], eax
je 0x10022973
mov eax, dword [esp + 0x30]
cmp word [eax], 0
je 0x10022777
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esp], 0
lea eax, [eax + ecx + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
mov al, byte [eax + 0xb0]
mov edi, dword [esp + 0x18]
movzx eax, al
lea eax, [eax + eax - 1]
bsr ebx, eax
mov eax, 0x20
sub eax, ebx
mov edx, dword [edi + 0xc]
mov esi, dword [edi + 4]
mov ecx, edx
add ebx, edx
shr edx, 3
mov edx, dword [esi + edx]
and cl, 7
mov esi, dword [edi + 0x14]
shr edx, cl
mov ecx, eax
shl edx, cl
shr edx, cl
mov ecx, dword [esp + 8]
cmp esi, ebx
cmovbe ebx, esi
mov esi, dword [esp]
mov dword [edi + 0xc], ebx
mov eax, dword [ecx]
mov byte [eax + esi], dl
mov ecx, dword [ecx]
movzx eax, byte [edi + 0xb0]
cmp byte [ecx + esi], al
jae 0x10022520
mov ebx, dword [edi + 0xc]
lea eax, [eax + eax - 1]
bsr esi, eax
mov eax, dword [edi + 4]
mov ecx, ebx
shr ecx, 3
mov edx, dword [eax + ecx]
mov ecx, ebx
mov eax, 0x20
add ebx, esi
sub eax, esi
and cl, 7
mov esi, dword [edi + 0x14]
shr edx, cl
mov ecx, eax
shl edx, cl
shr edx, cl
mov ecx, dword [esp + 0xc]
cmp esi, ebx
cmovbe ebx, esi
mov esi, dword [esp]
mov dword [edi + 0xc], ebx
mov eax, dword [ecx]
mov byte [eax + esi], dl
mov ecx, dword [ecx]
mov al, byte [edi + 0xb0]
cmp byte [ecx + esi], al
jae 0x10022520
mov ecx, dword [esp + 0x30]
mov edx, dword [esp]
movzx ecx, word [ecx]
inc edx
mov dword [esp], edx
cmp edx, ecx
jb 0x100226a4
jmp 0x10022777
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov word [eax + ecx + 2], 0
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx]
mov eax, dword [eax]
mov edx, dword [edx]
mov esi, ecx
lea edi, [ecx + 2]
shr esi, 3
cmp eax, edi
cmova eax, edi
and cl, 7
mov edi, 3
shl edi, cl
test dword [edx + esi], edi
mov dword [ebx], eax
jne 0x10022520
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
lea eax, [eax + ecx]
mov dword [esp + 0x30], eax
mov al, byte [eax]
cmp al, 2
jb 0x1002284e
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 0xb0]
push 1
push eax
call fcn.100539a9
add esp, 8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
test eax, eax
mov dword [ecx + edx + 0xc], eax
je 0x10022973
mov esi, dword [esp + 0x18]
cmp byte [esi + 0xb0], 0
je 0x10022848
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
xor edx, edx
lea edi, [eax + ecx + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov ebx, eax
shr ebx, 3
mov ebx, dword [ecx + ebx]
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x14]
mov ecx, eax
add eax, 4
and cl, 7
shr ebx, cl
cmp esi, eax
cmovbe eax, esi
mov esi, dword [esp + 0x18]
and bl, 0xf
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov byte [eax + edx], bl
inc edx
movzx eax, byte [esi + 0xb0]
cmp edx, eax
jb 0x10022809
mov eax, dword [esp + 0x30]
mov al, byte [eax]
test al, al
je 0x10022915
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esp], 0
lea eax, [eax + ecx + 0x20]
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ebx, dword [edi + 0xc]
mov esi, dword [edi + 0x14]
mov eax, dword [edi + 4]
add ebx, 8
cmp esi, ebx
cmovbe ebx, esi
mov ecx, ebx
mov dword [edi + 0xc], ebx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, ebx
add ebx, 8
and cl, 7
shr eax, cl
cmp esi, ebx
cmovbe ebx, esi
mov esi, edi
movzx ecx, al
mov dword [edi + 0xc], ebx
mov edi, dword [esp]
mov byte [edx + edi - 0x10], al
movzx eax, byte [esi + 0xdc]
cmp ecx, eax
jae 0x10022520
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov edi, esi
mov esi, dword [esi + 0x14]
mov ecx, ebx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, ebx
add ebx, 8
and cl, 7
shr eax, cl
cmp esi, ebx
cmovbe ebx, esi
mov esi, dword [esp]
movzx ecx, al
mov dword [edi + 0xc], ebx
mov byte [edx + esi], al
movzx eax, byte [edi + 0xe4]
cmp ecx, eax
jae 0x10022520
mov eax, dword [esp]
mov edx, eax
mov eax, dword [esp + 0x30]
inc edx
mov ecx, edx
mov dword [esp], edx
movzx eax, byte [eax]
cmp edx, eax
jb 0x1002286d
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
movzx edi, byte [esi + 0xec]
mov edx, eax
inc edx
mov ecx, edx
mov dword [esp + 0x1c], edx
cmp edx, edi
jae 0x1002297d
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 4]
mov edx, ecx
lea ebx, [ecx + 0x10]
mov dword [esp + 0x30], edi
mov dword [esp], eax
shr edx, 3
cmp edi, ebx
cmovbe ebx, edi
and cl, 7
mov edi, 0xffff
shl edi, cl
mov ecx, dword [esi + 0xf0]
test dword [eax + edx], edi
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], ecx
je 0x10022545
jmp 0x10022520
mov edi, 0xfffffff4
jmp 0x10022525
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov edi, esi
mov esi, dword [esi + 0x14]
mov ecx, edx
shr ecx, 3
mov eax, dword [eax + ecx]
mov ecx, edx
add edx, 6
and cl, 7
shr eax, cl
cmp esi, edx
cmovbe edx, esi
and al, 0x3f
inc al
mov dword [edi + 0xc], edx
mov byte [edi + 0xf4], al
movzx eax, al
shl eax, 3
push eax
call fcn.100539f3
add esp, 4
mov dword [edi + 0xf8], eax
test eax, eax
mov edi, 0xfffffff4
je 0x10022525
mov esi, dword [esp + 0x18]
cmp byte [esi + 0xf4], 0
je 0x10022ad8
mov ecx, eax
xor eax, eax
inc eax
mov dword [esp], ecx
jmp 0x10022a04
movzx eax, byte [esi + 0xf4]
cmp edi, eax
jae 0x10022ad8
mov eax, dword [esi + 0xf8]
inc edi
mov dword [esp], eax
mov eax, edi
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov dword [esp + 0x20], eax
mov edi, edx
shr edi, 3
movzx ebx, byte [ecx + edi]
mov ecx, edx
and cl, 7
shr ebx, cl
xor ecx, ecx
cmp edx, dword [esi + 0x14]
setl cl
and bl, 1
add ecx, edx
mov dword [esi + 0xc], ecx
mov ecx, dword [esp]
mov byte [ecx + eax*8 - 8], bl
mov eax, ecx
mov dword [esp], ecx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 0x14]
mov edi, edx
shr edi, 3
mov edi, dword [ecx + edi]
mov ecx, edx
add edx, 0x10
and cl, 7
shr edi, cl
mov ecx, dword [esp + 0x20]
cmp ebx, edx
cmovbe edx, ebx
mov dword [esi + 0xc], edx
mov word [eax + ecx*8 - 6], di
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 0x14]
mov edi, edx
shr edi, 3
mov edi, dword [ecx + edi]
mov ecx, edx
add edx, 0x10
and cl, 7
shr edi, cl
mov ecx, dword [esp]
cmp ebx, edx
cmovbe edx, ebx
mov dword [esi + 0xc], edx
mov word [ecx + eax*8 - 4], di
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edi, dword [esi + 0x14]
mov edx, ebx
shr edx, 3
mov edx, dword [ecx + edx]
mov ecx, ebx
add ebx, 8
and cl, 7
shr edx, cl
cmp edi, ebx
cmovbe ebx, edi
mov edi, eax
mov eax, dword [esp]
mov dword [esi + 0xc], ebx
mov byte [eax + edi*8 - 2], dl
movzx eax, dl
movzx ecx, byte [esi + 0xec]
cmp eax, ecx
jb 0x100229e9
jmp 0x10022520
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, dword [ecx]
mov edx, eax
shr edx, 3
movzx ecx, byte [ecx + edx]
xor edx, edx
cmp eax, dword [edi]
mov edi, 0xbebbb1b7
setl dl
add edx, eax
and al, 7
movzx eax, al
mov dword [esi], edx
xor edx, edx
bt ecx, eax
cmovb edi, edx
jmp 0x10022525
mov ecx, 0xfffffff4
jmp 0x10022461