Function at 0x496cd4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
xor ebx, ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49761f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x497601
mov eax, dword [ebp - 4]
call sym.WMP54Gv4.exe__Gifimage_TGIFImage_PaintStop_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0050a944
xor eax, eax
push ebp
push 0x4975fa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 0x64]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.005097e0
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x68]
mov eax, sym.WMP54Gv4.exe__Gifimage__sProgressOptimizing
call fcn.0052450c
mov eax, dword [ebp - 0x68]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00521384
xor eax, eax
push ebp
push 0x4975da
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
add eax, eax
lea eax, [eax + eax*2]
mov dword [ebp - 0x20], eax
test byte [ebp - 5], 8
je 0x496e73
mov eax, dword [ebp - 4]
call sym.WMP54Gv4.exe__Gifimage_TGIFImage_GetColorMap_qqrv
cmp dword [eax + 8], 0
jle 0x496dcf
mov eax, dword [ebp - 4]
call sym.WMP54Gv4.exe__Gifimage_TGIFImage_GetColorMap_qqrv
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
dec eax
test eax, eax
jl 0x496e73
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x20]
cmp dword [eax + 8], 0
jle 0x496e67
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x20]
push eax
push 0x64
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x64]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.005097e0
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x6c]
mov eax, sym.WMP54Gv4.exe__Gifimage__sProgressOptimizing
call fcn.0052450c
mov eax, dword [ebp - 0x6c]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00521384
inc dword [ebp - 0xc]
dec dword [ebp - 0x24]
jne 0x496dee
test byte [ebp - 5], 4
je 0x4970a2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
dec eax
test eax, eax
jl 0x496f6b
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
cmp byte [eax + 0x34], 0
je 0x496f5f
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x38]
call sym.WMP54Gv4.exe__Gifimage_TGIFGraphicControlExtension_GetTransparentColorIndex_qqrv
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x18]
pop edx
pop ecx
call fcn.00496cb8
pop ecx
test al, al
jne 0x496f5f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x38]
xor edx, edx
call sym.WMP54Gv4.exe__Gifimage_TGIFGraphicControlExtension_SetTransparent_qqro
mov eax, dword [ebp - 0x20]
push eax
push 0x64
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x64]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.005097e0
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x70]
mov eax, sym.WMP54Gv4.exe__Gifimage__sProgressOptimizing
call fcn.0052450c
mov eax, dword [ebp - 0x70]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00521384
inc dword [ebp - 0xc]
dec dword [ebp - 0x24]
jne 0x496e9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
sub eax, 2
test eax, eax
jl 0x4970b2
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
cmp dword [eax + 0x38], 0
je 0x497094
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x38]
call sym.WMP54Gv4.exe__Gifimage_TGIFGraphicControlExtension_GetDisposal_qqrv
add al, 0xfe
sub al, 2
jae 0x497094
mov edx, dword [ebp - 0xc]
inc edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
cmp byte [eax + 0x34], 0
jne 0x497094
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
lea edx, [ebp - 0x34]
call sym.WMP54Gv4.exe__Gifimage_TGIFSubImage_GetBoundsRect_qqrv
mov edx, dword [ebp - 0xc]
inc edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
lea edx, [ebp - 0x44]
call sym.WMP54Gv4.exe__Gifimage_TGIFSubImage_GetBoundsRect_qqrv
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.USER32.DLL_IntersectRect
test eax, eax
je 0x497094
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.USER32.DLL_EqualRect
test eax, eax
je 0x49704b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x38]
xor edx, edx
call sym.WMP54Gv4.exe__Gifimage_TGIFGraphicControlExtension_SetDisposal_qqr24Gifimage_TDisposalMethod
mov eax, dword [ebp - 0x20]
push eax
push 0x64
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x64]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.005097e0
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x74]
mov eax, sym.WMP54Gv4.exe__Gifimage__sProgressOptimizing
call fcn.0052450c
mov eax, dword [ebp - 0x74]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00521384
inc dword [ebp - 0xc]
dec dword [ebp - 0x24]
jne 0x496f8c
jmp 0x4970b2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
add eax, eax
add dword [ebp - 0x1c], eax
test byte [ebp - 5], 2
je 0x497192
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
dec eax
cmp eax, 1
jl 0x4971a0
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x4970e3
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jle 0x497117
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x10]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
cmp dword [eax + 0x38], 0
je 0x497117
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x10]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x38]
call sym.WMP54Gv4.exe__Gifimage_TGIFGraphicControlExtension_GetDisposal_qqrv
cmp al, 3
je 0x4970e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x10]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
pop edx
call sym.WMP54Gv4.exe__Gifimage_TGIFSubImage_Merge_qqrp21Gifimage_TGIFSubImage
mov eax, dword [ebp - 0x20]
push eax
push 0x64
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x64]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.005097e0
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x78]
mov eax, sym.WMP54Gv4.exe__Gifimage__sProgressOptimizing
call fcn.0052450c
mov eax, dword [ebp - 0x78]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00521384
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x4970d4
jmp 0x4971a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
add dword [ebp - 0x1c], eax
test byte [ebp - 5], 1
je 0x4972f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
dec eax
cmp eax, 0
jl 0x497301
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
call sym.WMP54Gv4.exe__Gifimage_TGIFSubImage_GetEmpty_qqrv
test al, al
jne 0x4972e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
cmp byte [eax + 0x34], 0
je 0x4972e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x38]
call sym.WMP54Gv4.exe__Gifimage_TGIFGraphicControlExtension_GetDelay_qqrv
movzx eax, ax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
call sym.WMP54Gv4.exe__Gifimage_TGIFSubImage_Crop_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
call sym.WMP54Gv4.exe__Gifimage_TGIFSubImage_GetEmpty_qqrv
test al, al
je 0x49729b
cmp dword [ebp - 0xc], 0
jle 0x49728d
mov edx, dword [ebp - 0xc]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
cmp byte [eax + 0x34], 0
je 0x49728d
mov edx, dword [ebp - 0xc]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x38]
call sym.WMP54Gv4.exe__Gifimage_TGIFGraphicControlExtension_GetDelay_qqrv
add ax, word [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x38]
pop edx
call sym.WMP54Gv4.exe__Gifimage_TGIFGraphicControlExtension_SetDelay_qqrus
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_Delete_qqri
mov eax, dword [ebp - 0x20]
push eax
push 0x64
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x64]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.005097e0
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x7c]
mov eax, sym.WMP54Gv4.exe__Gifimage__sProgressOptimizing
call fcn.0052450c
mov eax, dword [ebp - 0x7c]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00521384
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4971c2
jmp 0x497301
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
add dword [ebp - 0x1c], eax
test byte [ebp - 5], 4
je 0x49754b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
dec eax
cmp eax, 0
jl 0x497500
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x30]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
dec eax
cmp eax, 0
jl 0x497432
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call sym.WMP54Gv4.exe__Gifimage_TGIFExtensionList_GetExtension_qqri
mov edx, dword [sym.WMP54Gv4.exe__Gifimage_TGIFCommentExtension_]
call fcn.00521320
test al, al
jne 0x49740c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call sym.WMP54Gv4.exe__Gifimage_TGIFExtensionList_GetExtension_qqri
mov edx, dword [sym.WMP54Gv4.exe__Gifimage_TGIFTextExtension_]
call fcn.00521320
test al, al
jne 0x49740c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call sym.WMP54Gv4.exe__Gifimage_TGIFExtensionList_GetExtension_qqri
mov edx, dword [sym.WMP54Gv4.exe__Gifimage_TGIFUnknownAppExtension_]
call fcn.00521320
test al, al
jne 0x49740c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call sym.WMP54Gv4.exe__Gifimage_TGIFExtensionList_GetExtension_qqri
mov edx, dword [sym.WMP54Gv4.exe__Gifimage_TGIFAppExtNSLoop_]
call fcn.00521320
test al, al
je 0x497425
cmp dword [ebp - 0xc], 0
jg 0x49740c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
dec eax
jne 0x497425
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_Delete_qqri
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffff
jne 0x497354
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
cmp dword [eax + 0x38], 0
je 0x4974af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call sym.WMP54Gv4.exe__Gifimage_TGIFGraphicControlExtension_GetDelay_qqrv
test ax, ax
je 0x497475
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
dec eax
jne 0x4974af
mov eax, dword [ebp - 0x18]
call sym.WMP54Gv4.exe__Gifimage_TGIFGraphicControlExtension_GetTransparent_qqrv
test al, al
jne 0x4974af
mov eax, dword [ebp - 0x18]
call sym.WMP54Gv4.exe__Gifimage_TGIFGraphicControlExtension_GetUserInput_qqrv
test al, al
jne 0x4974af
mov eax, dword [ebp - 0x18]
call sym.WMP54Gv4.exe__Gifimage_TGIFGraphicControlExtension_GetDisposal_qqrv
sub al, 2
jb 0x4974a7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
dec eax
jne 0x4974af
mov eax, dword [ebp - 0x18]
call fcn.005211a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
call sym.WMP54Gv4.exe__Gifimage_TGIFSubImage_GetEmpty_qqrv
test al, al
je 0x4974f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
mov eax, dword [eax + 0x30]
call sym.WMP54Gv4.exe__Gifimage_TGIFList_GetCount_qqrv
test eax, eax
jne 0x4974f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
call sym.WMP54Gv4.exe__Gifimage_TGIFImageList_GetImage_qqri
call fcn.005211a8
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x497331
mov eax, dword [ebp - 0x20]
push eax
push 0x64
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x64]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.005097e0
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x80]
mov eax, sym.WMP54Gv4.exe__Gifimage__sProgressOptimizing
call fcn.0052450c
mov eax, dword [ebp - 0x80]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00521384
jmp 0x497572
test byte [ebp - 5], 0x10
je 0x497572
cmp byte [ebp - 6], 9
jne 0x497572
lea edx, [ebp - 0x84]
mov eax, sym.WMP54Gv4.exe__Gifimage__sInvalidReduction
call fcn.0052450c
mov eax, dword [ebp - 0x84]
call fcn.00486330
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4975e1
call fcn.0051c500
test eax, eax
jne 0x497591
mov dword [ebp - 0xc], 0x64
jmp 0x497596
xor eax, eax
mov dword [ebp - 0xc], eax
mov al, byte [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x64]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.005097e0
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x88]
mov eax, sym.WMP54Gv4.exe__Gifimage__sProgressOptimizing
call fcn.0052450c
mov eax, dword [ebp - 0x88]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffd
call fcn.00521384
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497626
lea eax, [ebp - 0x88]
mov edx, 9
call fcn.00521e68
ret