Function at 0x10023e20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10264002
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x157c
call fcn.101f6830
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x10], esp
test edi, edi
je 0x10024cf6
xor ecx, ecx
cmp eax, 0xffffffff
cmovne ecx, eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
js 0x10024cf6
mov eax, dword [edi + 0x44]
sub eax, dword [edi + 0x40]
sar eax, 2
cmp ecx, eax
jge 0x10024cf6
mov ebx, dword [ebp + 0x14]
xor esi, esi
mov dword [ebp - 0x18], esi
test ebx, 0x8000
je 0x10023eea
push edi
push 2
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10023e20
mov edi, eax
test edi, edi
je 0x10023ed5
push edi
call sym.FreeImage.dll__FreeImage_GetWidth_4
push edi
mov esi, eax
call sym.FreeImage.dll__FreeImage_GetHeight_4
push 0xff
push 0xff00
push 0xff0000
push 0x20
push eax
push esi
push 1
call sym.FreeImage.dll__FreeImage_AllocateHeader_28
mov esi, eax
test esi, esi
je 0x10023ed5
push edi
push esi
call sym.FreeImage.dll__FreeImage_SetThumbnail_8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x64], 0
push 0
test bl, 2
je 0x1002441a
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 8]
push 6
push ebx
call eax
push ebx
push 1
push 2
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi]
call eax
push ebx
push 1
push 2
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi]
call eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10023f79
movzx ecx, byte [edi + 0x18]
cmp ecx, dword [edi + 0x14]
jge 0x10023f79
lea eax, [eax + ecx*2]
push 0
add eax, ecx
push eax
mov eax, dword [esi + 8]
push ebx
call eax
push ebx
push 1
push 1
lea eax, [ebp - 0x1a]
push eax
mov eax, dword [esi]
call eax
push ebx
push 1
push 1
lea eax, [ebp - 0x1b]
push eax
mov eax, dword [esi]
call eax
push ebx
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi]
call eax
jmp 0x10023f83
mov word [ebp - 0x1b], 0
mov byte [ebp - 0x1c], 0
movzx eax, word [ebp - 0x24]
push 0
push 0
push 0
push 0x20
push eax
movzx eax, word [ebp - 0x2c]
push eax
mov byte [ebp - 0x19], 0
call sym.FreeImage.dll__FreeImage_Allocate_24
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x10023fba
push 0x103fa050
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], str.DIB_allocation_failed__maybe_caused_by_an_invalid_image_size_or_by_a_lack_of_memory
push eax
call fcn.101f94fb
mov bx, word [ebp - 0x24]
xor ecx, ecx
xor edi, edi
cmp cx, bx
jae 0x10024004
movzx esi, word [ebp - 0x2c]
nop dword [eax + eax]
push edi
push eax
call sym.FreeImage.dll__FreeImage_GetScanLine_8
xor edx, edx
test esi, esi
je 0x10023ff6
nop dword [eax]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + 4]
mov dword [eax - 4], ecx
inc edx
movzx esi, word [ebp - 0x2c]
cmp edx, esi
jl 0x10023fe0
mov bx, word [ebp - 0x24]
movzx eax, bx
inc edi
cmp edi, eax
mov eax, dword [ebp - 0x18]
jl 0x10023fd0
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], ecx
nop dword [eax]
test ecx, ecx
js 0x100240d8
mov eax, dword [ebp + 0x18]
push 0
mov eax, dword [eax + 0x34]
mov eax, dword [eax + ecx*4]
inc eax
push eax
mov eax, dword [esi + 8]
push ebx
call eax
push ebx
push 1
push 1
lea eax, [ebp - 0x11]
push eax
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x38]
movzx edi, byte [ebp - 0x11]
push 0
mov eax, dword [eax + 0x40]
shr edi, 2
and edi, 7
push dword [eax + ecx*4]
mov eax, dword [esi + 8]
push ebx
call eax
push ebx
push 1
push 2
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esi]
call eax
push ebx
push 1
push 2
lea eax, [ebp - 0x44]
push eax
mov eax, dword [esi]
call eax
push ebx
push 1
push 2
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esi]
call eax
push ebx
push 1
push 2
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi]
call eax
movzx eax, word [ebp - 0x40]
movzx ecx, word [ebp - 0x44]
movzx esi, word [ebp - 0x20]
movzx edx, word [ebp - 0x28]
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x70]
mov word [ebp - 0x6a], cx
lea ecx, [ebp - 0x60]
push eax
mov dword [ebp - 0x70], edi
mov word [ebp - 0x68], dx
mov word [ebp - 0x66], si
call fcn.100256e0
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp + 8]
dec ecx
mov dword [ebp - 0x38], ecx
jmp 0x10024020
mov dword [ebp - 0x50], 0
xor ecx, ecx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], ecx
cmp ecx, eax
jg 0x100243b7
push dword [ebp + 0x18]
mov edx, dword [ebp - 0x60]
sub eax, ecx
push 1
push ecx
push dword [ebp + 0xc]
lea eax, [eax + eax*2]
push esi
lea ebx, [edx + eax*4]
call fcn.10023e20
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
je 0x1002435e
push edi
call sym.FreeImage.dll__FreeImage_GetPalette_4
push edi
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x12], 0
call sym.FreeImage.dll__FreeImage_IsTransparent_4
test eax, eax
je 0x10024158
push edi
call sym.FreeImage.dll__FreeImage_GetTransparencyCount_4
push edi
mov esi, eax
call sym.FreeImage.dll__FreeImage_GetTransparencyTable_4
xor ecx, ecx
test esi, esi
jle 0x10024158
cmp byte [ecx + eax], 0
je 0x10024151
inc ecx
cmp ecx, esi
jl 0x10024144
jmp 0x10024158
mov byte [ebp - 0x12], 1
mov dword [ebp - 0x64], ecx
movzx esi, word [ebx + 0xa]
xor edx, edx
mov dword [ebp - 0x38], edx
test esi, esi
je 0x1002420a
nop dword [eax]
movzx eax, word [ebx + 6]
movzx ecx, word [ebp - 0x24]
sub ecx, eax
sub ecx, edx
sub ecx, 1
js 0x10024207
push ecx
push dword [ebp - 0x18]
call sym.FreeImage.dll__FreeImage_GetScanLine_8
sub esi, dword [ebp - 0x38]
movzx ecx, word [ebx + 4]
dec esi
push esi
push dword [ebp - 0x30]
lea edi, [eax + ecx*4]
call sym.FreeImage.dll__FreeImage_GetScanLine_8
mov esi, eax
mov dword [ebp - 0x3c], 0
nop dword [eax + eax]
movzx ecx, word [ebx + 4]
movzx edx, word [ebp - 0x28]
movzx eax, word [ebx + 8]
sub edx, ecx
mov ecx, dword [ebp - 0x3c]
cmp eax, edx
cmovl edx, eax
cmp ecx, edx
jge 0x100241f4
cmp byte [ebp - 0x12], 0
je 0x100241d8
movzx eax, byte [esi]
cmp eax, dword [ebp - 0x64]
je 0x100241ea
movzx eax, byte [esi]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + eax*4]
mov dword [edi], eax
mov byte [edi + 3], 0xff
add edi, 4
inc esi
inc ecx
mov dword [ebp - 0x3c], ecx
jmp 0x100241b0
mov edx, dword [ebp - 0x38]
movzx esi, word [ebx + 0xa]
inc edx
mov dword [ebp - 0x38], edx
cmp edx, esi
jl 0x10024170
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x54]
mov edx, edi
push eax
push 4
push str.FrameTime
call fcn.10023060
add esp, 0xc
test eax, eax
je 0x10024230
push dword [ebp - 0x54]
call sym.FreeImage.dll__FreeImage_GetTagValue_4
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
push edi
call sym.FreeImage.dll__FreeImage_Unload_4
cmp dword [ebp + 0x10], 0xffffffff
je 0x100242c4
push dword [ebp - 0x18]
call sym.FreeImage.dll__FreeImage_Clone_4
mov esi, eax
mov ecx, 9
lea eax, [ebp - 0x50]
mov dword [ebp - 0x30], esi
push eax
push 4
push 1
push 4
push 0x1005
push str.FrameTime
mov edx, esi
call fcn.10022fc0
mov edi, dword [ebp + 0x18]
lea ecx, [ebp - 0x30]
add esp, 0x18
mov eax, dword [edi + 4]
cmp ecx, eax
jae 0x100242aa
mov ecx, dword [edi]
lea edx, [ebp - 0x30]
cmp ecx, edx
ja 0x100242aa
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [edi + 8]
jne 0x1002429a
push ecx
mov ecx, edi
call fcn.10025b30
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x100242c0
mov eax, dword [edi]
mov eax, dword [eax + esi*4]
mov dword [ecx], eax
jmp 0x100242c0
cmp eax, dword [edi + 8]
jne 0x100242b7
push ecx
mov ecx, edi
call fcn.10025b30
mov eax, dword [edi + 4]
test eax, eax
je 0x100242c0
mov dword [eax], esi
add dword [edi + 4], 4
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x4c]
cmp edi, eax
je 0x1002435b
cmp dword [ebx], 3
jne 0x100242fb
add edi, 0xffffffff
js 0x100242fb
mov ecx, dword [ebp - 0x60]
sub eax, edi
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
cmp ecx, 2
je 0x10024367
cmp ecx, 3
jne 0x10024367
add eax, 0xc
sub edi, 1
jns 0x100242e7
mov edi, dword [ebp - 0x18]
cmp dword [ebx], 2
jne 0x1002435b
xor eax, eax
xor esi, esi
cmp ax, word [ebx + 0xa]
jae 0x1002435b
nop dword [eax]
movzx eax, word [ebx + 6]
movzx ecx, word [ebp - 0x24]
sub ecx, eax
sub ecx, esi
sub ecx, 1
js 0x1002435b
push ecx
push edi
call sym.FreeImage.dll__FreeImage_GetScanLine_8
movzx ecx, word [ebx + 4]
xor edx, edx
lea ecx, [eax + ecx*4]
xor eax, eax
cmp ax, word [ebx + 8]
jae 0x10024352
nop dword [eax]
mov eax, dword [ebp - 0x1c]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc edx
movzx eax, word [ebx + 8]
cmp edx, eax
jl 0x10024340
movzx eax, word [ebx + 0xa]
inc esi
cmp esi, eax
jl 0x10024310
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x34]
inc ecx
jmp 0x100240e1
push dword [ebp - 0x18]
call sym.FreeImage.dll__FreeImage_GetPitch_4
push dword [ebp - 0x18]
mov esi, eax
call sym.FreeImage.dll__FreeImage_GetHeight_4
mov edx, dword [ebp - 0x60]
lea ecx, [edi + 1]
imul esi, eax
mov eax, dword [ebp - 0x4c]
sub eax, edi
push esi
lea eax, [eax + eax*2]
cmp dword [edx + eax*4], 2
mov eax, dword [ebp + 0x18]
cmovne ecx, edi
mov eax, dword [eax]
push dword [eax + ecx*4]
call sym.FreeImage.dll__FreeImage_GetBits_4
mov edi, dword [ebp - 0x18]
push eax
push edi
call sym.FreeImage.dll__FreeImage_GetBits_4
push eax
call fcn.101f8da0
add esp, 0xc
jmp 0x100242fe
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x50]
push eax
push 4
push 1
push 4
push 0x1005
push str.FrameTime
mov edx, ebx
mov ecx, 9
call fcn.10022fc0
mov edi, dword [ebp - 0x60]
add esp, 0x18
test edi, edi
je 0x10024405
mov ecx, dword [ebp - 0x58]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
push 0xc
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.1000b440
add esp, 0xc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [edi + 0x40]
mov edi, dword [ebp + 0xc]
push dword [eax + ecx*4]
mov eax, dword [esi + 8]
push edi
call eax
push edi
push 1
push 2
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esi]
call eax
push edi
push 1
push 2
lea eax, [ebp - 0x44]
push eax
mov eax, dword [esi]
call eax
push edi
push 1
push 2
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esi]
call eax
push edi
push 1
push 2
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi]
call eax
push edi
push 1
push 1
lea eax, [ebp - 0x11]
push eax
mov eax, dword [esi]
call eax
mov cl, byte [ebp - 0x11]
mov edx, 8
mov al, cl
mov dword [ebp - 0x1c], edx
shr al, 6
and al, 1
mov byte [ebp - 0x12], al
mov al, cl
shr al, 7
not al
and al, 1
mov byte [ebp + 0x13], al
test bl, 1
jne 0x100244ef
test al, al
jne 0x100244c0
mov ebx, 2
movzx ecx, cl
and ecx, 7
mov eax, ebx
shl eax, cl
cmp eax, ebx
jg 0x100244b1
mov edx, 1
mov dword [ebp - 0x1c], edx
jmp 0x100244f4
cmp eax, 0x10
jg 0x100244f4
mov edx, 4
mov dword [ebp - 0x1c], edx
jmp 0x100244f4
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x10], 0
je 0x100244ef
mov eax, dword [eax + 0x14]
mov ebx, 2
cmp eax, ebx
jg 0x100244df
mov edx, 1
mov dword [ebp - 0x1c], edx
jmp 0x100244f4
cmp eax, 0x10
mov ecx, 4
cmovle edx, ecx
mov dword [ebp - 0x1c], edx
jmp 0x100244f4
mov ebx, 2
movzx eax, word [ebp - 0x20]
push 0
push 0
push 0
push edx
push eax
movzx eax, word [ebp - 0x28]
push eax
call sym.FreeImage.dll__FreeImage_Allocate_24
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x1002452e
push 0x103fa050
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], str.DIB_allocation_failed__maybe_caused_by_an_invalid_image_size_or_by_a_lack_of_memory
push eax
call fcn.101f94fb
lea eax, [ebp - 0x40]
mov edx, edi
push eax
push 2
push 1
push 3
push 0x1001
push str.FrameLeft
mov ecx, 9
call fcn.10022fc0
add esp, 0x18
lea eax, [ebp - 0x44]
mov edx, edi
mov ecx, 9
push eax
push 2
push 1
push 3
push 0x1002
push str.FrameTop
call fcn.10022fc0
mov al, byte [ebp + 0x13]
add esp, 0x18
mov byte [ebp + 0x17], al
mov edx, edi
lea eax, [ebp + 0x17]
mov ecx, 9
push eax
push 1
push 1
push 1
push 0x1003
push str.NoLocalPalette
call fcn.10022fc0
mov al, byte [ebp - 0x12]
add esp, 0x18
mov byte [ebp + 0x17], al
mov edx, edi
lea eax, [ebp + 0x17]
mov ecx, 9
push eax
push 1
push 1
push 1
push 0x1004
push str.Interlaced
call fcn.10022fc0
add esp, 0x18
push edi
call sym.FreeImage.dll__FreeImage_GetPalette_4
cmp byte [ebp + 0x13], 0
mov edi, eax
mov dword [ebp - 0x3c], edi
jne 0x10024627
movzx ecx, byte [ebp - 0x11]
and ecx, 7
shl ebx, cl
xor esi, esi
cmp esi, ebx
jge 0x100246c6
mov ecx, dword [ebp + 0xc]
lea edi, [edi + esi*4]
push ecx
push 1
push 1
lea eax, [edi + 2]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call eax
push dword [ebp + 0xc]
lea eax, [edi + 1]
push 1
push 1
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push 1
push 1
push edi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x3c]
inc esi
jmp 0x100245e2
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x10], 0
je 0x100246a4
push dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
call eax
mov ecx, dword [esi + 8]
mov ebx, eax
mov eax, dword [ebp + 0x18]
push 0
push dword [eax + 0x10]
push dword [ebp + 0xc]
call ecx
xor esi, esi
nop dword [eax]
mov eax, dword [ebp + 0x18]
cmp esi, dword [eax + 0x14]
jge 0x10024694
push dword [ebp + 0xc]
lea edi, [edi + esi*4]
push 1
push 1
lea eax, [edi + 2]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call eax
push dword [ebp + 0xc]
lea eax, [edi + 1]
push 1
push 1
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push 1
push 1
push edi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x3c]
inc esi
jmp 0x10024650
mov esi, dword [ebp + 8]
push 0
push ebx
push dword [ebp + 0xc]
mov eax, dword [esi + 8]
call eax
jmp 0x100246c9
xor eax, eax
lea ecx, [edi + 1]
nop dword [eax]
mov byte [ecx + 1], al
lea ecx, [ecx + 4]
mov byte [ecx - 4], al
mov byte [ecx - 5], al
inc eax
cmp eax, 0x100
jl 0x100246b0
jmp 0x100246c9
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
lea eax, [ebp + 0x17]
push 1
push 1
push eax
mov eax, dword [esi]
call eax
push 0x1058e998
push 0x18050
call fcn.101f59b8
add esp, 8
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x10024703
mov ecx, eax
call fcn.10023090
mov ecx, eax
mov dword [ebp - 0x2c], eax
jmp 0x10024708
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 0
movzx eax, byte [ebp + 0x17]
push eax
call fcn.10023150
xor ecx, ecx
mov eax, 1
mov dword [ebp - 0x4c], ecx
mov esi, 8
mov dword [ebp - 0x34], ecx
xor edi, edi
mov ecx, dword [ebp - 0x1c]
xor ebx, ebx
shl eax, cl
sub esi, ecx
dec eax
mov dword [ebp - 0x54], eax
movzx eax, word [ebp - 0x20]
dec eax
push eax
push dword [ebp - 0x18]
call sym.FreeImage.dll__FreeImage_GetScanLine_8
push dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x17]
push 1
push 1
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call ecx
nop word [eax + eax]
mov al, byte [ebp + 0x17]
test al, al
je 0x10024884
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x2c]
movzx eax, al
push 1
push eax
push eax
call fcn.100231b0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 0x1000
push ecx
lea ecx, [ebp - 0x1588]
push ecx
mov ecx, eax
call fcn.100234e0
test al, al
je 0x1002486d
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0x10], eax
jle 0x10024786
mov edx, dword [ebp - 0x30]
nop word [eax + eax]
mov al, byte [ebp + eax - 0x1588]
mov ecx, esi
and al, byte [ebp - 0x54]
shl al, cl
mov ecx, dword [ebp - 0x34]
or byte [edx + ecx], al
mov edx, dword [ebp - 0x1c]
test esi, esi
jg 0x100247e4
inc ecx
mov esi, 8
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x4c]
sub esi, edx
movzx eax, word [ebp - 0x28]
inc ecx
mov dword [ebp - 0x4c], ecx
cmp ecx, eax
jl 0x10024846
cmp byte [ebp - 0x12], 0
mov cx, word [ebp - 0x20]
je 0x1002481c
add edi, dword [ebx*4 + 0x103c4560]
movzx eax, cx
cmp edi, eax
jl 0x1002481d
inc ebx
cmp ebx, 4
jge 0x1002481d
mov edi, dword [ebx*4 + 0x103c4570]
jmp 0x1002481d
inc edi
movzx eax, cx
cmp edi, eax
jge 0x1002485e
sub eax, edi
xor ecx, ecx
dec eax
mov dword [ebp - 0x34], ecx
push eax
push dword [ebp - 0x18]
mov esi, 8
mov dword [ebp - 0x4c], ecx
sub esi, edx
call sym.FreeImage.dll__FreeImage_GetScanLine_8
mov edx, eax
mov dword [ebp - 0x30], edx
jmp 0x10024849
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebp + 0x10]
jl 0x100247c0
jmp 0x10024786
mov eax, dword [ebp - 0x2c]
mov ecx, eax
call fcn.100237b0
jmp 0x10024789
push dword [ebp + 0xc]
lea eax, [ebp + 0x17]
push 1
push 1
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call eax
jmp 0x10024760
cmp dword [ebp - 0x38], 0
mov ebx, dword [ebp + 8]
jne 0x10024bb2
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
push 0
push 6
push esi
call eax
push esi
push 1
push 2
lea eax, [ebp + 8]
push eax
mov eax, dword [ebx]
call eax
push esi
push 1
push 2
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebx]
call eax
mov edi, dword [ebp - 0x18]
lea eax, [ebp + 8]
push eax
push 2
push 1
push 3
push 1
push str.LogicalWidth
mov edx, edi
mov ecx, 9
call fcn.10022fc0
add esp, 0x18
lea eax, [ebp + 0x10]
mov edx, edi
mov ecx, 9
push eax
push 2
push 1
push 3
push 2
push str.LogicalHeight
call fcn.10022fc0
mov ecx, dword [ebp + 0x18]
add esp, 0x18
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x100249b2
push 0
push eax
mov eax, dword [ebx + 8]
push esi
call eax
mov edi, dword [ebp + 0xc]
xor esi, esi
mov eax, dword [ebp + 0x18]
cmp esi, dword [eax + 0x14]
jge 0x10024963
push edi
push 1
lea eax, [ebp - 0x586]
lea eax, [eax + esi*4]
push 1
push eax
mov eax, dword [ebx]
call eax
push edi
push 1
lea eax, [ebp - 0x587]
lea eax, [eax + esi*4]
push 1
push eax
mov eax, dword [ebx]
call eax
push edi
push 1
lea eax, [ebp - 0x588]
lea eax, [eax + esi*4]
push 1
push eax
mov eax, dword [ebx]
call eax
mov byte [ebp + esi*4 - 0x585], 0
inc esi
jmp 0x10024917
mov ecx, dword [eax + 0x14]
lea eax, [ebp - 0x588]
mov esi, dword [ebp - 0x18]
mov edx, esi
push eax
lea eax, [ecx*4]
push eax
push ecx
push 0xe
push 3
push str.GlobalPalette
mov ecx, 9
call fcn.10022fc0
mov ecx, dword [ebp + 0x18]
add esp, 0x18
movzx eax, byte [ecx + 0x18]
cmp eax, dword [ecx + 0x14]
jge 0x100249b0
lea ecx, [ebp - 0x588]
lea eax, [ecx + eax*4]
push eax
push esi
call sym.FreeImage.dll__FreeImage_SetBackgroundColor_8
mov ecx, dword [ebp + 0x18]
mov esi, edi
mov dword [ebp - 0x34], 1
xor edi, edi
nop dword [eax + eax]
mov eax, dword [ecx + 0x20]
sub eax, dword [ecx + 0x1c]
sar eax, 2
cmp edi, eax
jae 0x10024ab0
mov eax, dword [ecx + 0x1c]
push 0
push dword [eax + edi*4]
mov eax, dword [ebx + 8]
push esi
call eax
push esi
push 1
push 1
lea eax, [ebp + 0x17]
push eax
mov eax, dword [ebx]
call eax
cmp byte [ebp + 0x17], 0xb
jne 0x10024aa7
push esi
push 1
push 0xb
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebx]
call eax
lea ecx, [ebp - 0x60]
mov edx, str.NETSCAPE2.0
mov esi, 7
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10024a31
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10024a10
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x10024a31
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
je 0x10024a61
lea ecx, [ebp - 0x60]
mov edx, str.ANIMEXTS1.0
mov esi, 7
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10024aa4
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10024a40
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x10024aa4
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10024aa4
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0x17]
push esi
push 1
push 1
push eax
mov eax, dword [ebx]
call eax
cmp byte [ebp + 0x17], 3
jne 0x10024aa7
mov edi, esi
lea eax, [ebp + 0x17]
push edi
push 1
push 1
push eax
mov eax, dword [ebx]
call eax
push edi
push 1
push 2
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebx]
call eax
movzx eax, word [ebp - 0x48]
mov dword [ebp - 0x34], eax
test eax, eax
jle 0x10024ab3
inc eax
mov dword [ebp - 0x34], eax
jmp 0x10024ab3
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
inc edi
jmp 0x100249c0
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push eax
push 4
push 1
push 4
push 4
push str.Loop
mov ecx, 9
call fcn.10022fc0
add esp, 0x18
xor esi, esi
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0x2c]
sub eax, dword [ecx + 0x28]
sar eax, 2
cmp esi, eax
jae 0x10024bb5
mov eax, dword [ecx + 0x28]
push 0
push dword [eax + esi*4]
mov eax, dword [ebx + 8]
push edi
call eax
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
mov byte [ebp - 4], 3
push edi
push 1
push 1
lea eax, [ebp + 0x17]
push eax
mov eax, dword [ebx]
call eax
mov al, byte [ebp + 0x17]
test al, al
je 0x10024b4a
push edi
movzx eax, al
push 1
push eax
lea eax, [ebp - 0x188]
push eax
mov eax, dword [ebx]
call eax
movzx eax, byte [ebp + 0x17]
lea ecx, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.100212f0
jmp 0x10024b0e
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.10025930
push esi
lea eax, [ebp - 0x188]
push str.Comment_d
push eax
call fcn.100142e0
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x7c]
xor ecx, ecx
push eax
mov eax, dword [ebp - 0x6c]
push eax
push eax
push 2
lea eax, [ebp - 0x188]
push 1
push eax
call fcn.10022fc0
mov byte [ebp - 4], 0
add esp, 0x24
mov eax, dword [ebp - 0x68]
cmp eax, 0x10
jb 0x10024bac
push 1
inc eax
push eax
push dword [ebp - 0x7c]
call fcn.1000b440
add esp, 0xc
inc esi
jmp 0x10024ad6
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0x34]
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x10024cd9
mov esi, dword [ebp + 0xc]
inc eax
push 0
push eax
mov eax, dword [ebx + 8]
push esi
call eax
push esi
push 1
push 1
lea eax, [ebp - 0x11]
push eax
mov eax, dword [ebx]
call eax
push esi
push 1
push 2
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebx]
call eax
push esi
push 1
push 1
lea eax, [ebp + 0x17]
push eax
mov eax, dword [ebx]
call eax
mov dl, byte [ebp - 0x11]
movzx eax, word [ebp - 0x48]
movzx esi, byte [ebp + 0x17]
movzx ebx, dl
shr ebx, 2
lea eax, [eax + eax*4]
and ebx, 7
add eax, eax
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x50], eax
and dl, 1
je 0x10024c5c
mov ecx, dword [ebp - 0x1c]
mov ebx, 1
shl ebx, cl
cmp esi, ebx
jg 0x10024c59
push ebx
lea eax, [ebp - 0x188]
push 0xff
push eax
call fcn.101f9320
add esp, 0xc
mov byte [ebp + esi - 0x188], 0
lea eax, [ebp - 0x188]
push ebx
push eax
push dword [ebp - 0x18]
call sym.FreeImage.dll__FreeImage_SetTransparencyTable_12
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x50]
push eax
push 4
push 1
push 4
push 0x1005
push str.FrameTime
mov ecx, 9
call fcn.10022fc0
mov edx, dword [ebp - 0x18]
lea eax, [ebp + 0x17]
add esp, 0x18
mov byte [ebp + 0x17], bl
mov ecx, 9
push eax
push 1
push 1
push 1
push 0x1006
push str.DisposalMethod
call fcn.10022fc0
mov ebx, dword [ebp - 0x2c]
add esp, 0x18
test ebx, ebx
je 0x10024cc3
mov ecx, ebx
call fcn.100230e0
push 0x18050
push ebx
call fcn.101f5987
add esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, 1
jmp 0x10024c5c
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14