Function at 0x64a90f20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
test byte [0x64ab50d0], 8
jne 0x64a91050
test ebx, ebx
je 0x64a91118
test esi, esi
je 0x64a91118
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x24]
xor eax, eax
lock cmpxchg dword [ebx + 0x34], edx
mov esi, eax
test eax, eax
je 0x64a90f75
mov eax, 4
cmp edx, esi
jne 0x64a91046
mov eax, dword [ebx + 0x20]
cmp edi, eax
jae 0x64a91100
mov eax, dword [ebx + 8]
lea edx, [eax - 1]
cmp edx, 1
ja 0x64a91170
cmp dword [ebx + 0x24], edi
je 0x64a91155
mov eax, dword [ebx]
test eax, eax
je 0x64a91148
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0xc]
cmp dword [0x64abd1d0], ecx
je 0x64a914d0
mov ecx, dword [ebx + 0xc]
cmp dword [0x64abd228], ecx
je 0x64a911c0
mov ecx, dword [ebx + 0xc]
cmp dword [0x64abd280], ecx
je 0x64a91220
mov ecx, dword [ebx + 0xc]
cmp dword [0x64abd2d8], ecx
je 0x64a91258
mov ecx, dword [ebx + 0xc]
cmp dword [0x64abd330], ecx
je 0x64a91290
mov ecx, dword [ebx + 0xc]
cmp dword [0x64abd388], ecx
je 0x64a912d0
mov ecx, dword [ebx + 0xc]
cmp dword [0x64abd3e0], ecx
je 0x64a91340
mov ecx, dword [ebx + 0xc]
cmp dword [0x64abd438], ecx
je 0x64a91380
movzx edx, byte [0x64ab50d0]
test dl, 8
jne 0x64a913c0
and edx, 4
jne 0x64a91468
test esi, esi
jne 0x64a91041
mov dword [ebx + 0x34], 0
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
test esi, esi
je 0x64a911b0
mov eax, esi
shr eax, 0x10
je 0x64a91130
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__s__u__n
mov dword [esp + 8], str.GdipImageSelectActiveFrame
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x64a90f42
test byte [0x64ab50d0], 4
jne 0x64a91498
test esi, esi
jne 0x64a91118
mov dword [ebx + 0x34], 0
lea esp, [ebp - 0xc]
mov eax, 2
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [esp + 4], esi
mov dword [esp], 0x64abb730
call sym._wine_dbg_sprintf_2
jmp 0x64a910c5
test byte [0x64ab50d0], 8
jne 0x64a91310
test esi, esi
jne 0x64a91160
mov dword [ebx + 0x34], 0
xor eax, eax
jmp 0x64a91046
test byte [0x64ab50d0], 4
je 0x64a9110d
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.invalid_image_type__d_n
mov dword [esp + 8], str.GdipImageSelectActiveFrame
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.1_5
jmp 0x64a9110d
mov eax, 0x64abb5aa
jmp 0x64a910c5
mov ecx, dword [eax + 4]
cmp dword [0x64abd22c], ecx
jne 0x64a90fc3
mov ecx, dword [eax + 8]
cmp dword [0x64abd230], ecx
jne 0x64a90fc3
mov ecx, dword [eax + 0xc]
cmp dword [0x64abd234], ecx
jne 0x64a90fc3
mov eax, 1
imul eax, eax, 0x58
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [eax + 0x64abd214]
test esi, esi
jne 0x64a91046
mov dword [ebx + 0x34], 0
jmp 0x64a91046
mov ecx, dword [eax + 4]
cmp dword [0x64abd284], ecx
jne 0x64a90fd2
mov ecx, dword [eax + 8]
cmp dword [0x64abd288], ecx
jne 0x64a90fd2
mov ecx, dword [eax + 0xc]
cmp dword [0x64abd28c], ecx
jne 0x64a90fd2
mov eax, 2
jmp 0x64a911f2
mov ecx, dword [eax + 4]
cmp dword [0x64abd2dc], ecx
jne 0x64a90fe1
mov ecx, dword [eax + 8]
cmp dword [0x64abd2e0], ecx
jne 0x64a90fe1
mov ecx, dword [eax + 0xc]
cmp dword [0x64abd2e4], ecx
jne 0x64a90fe1
mov eax, 3
jmp 0x64a911f2
mov ecx, dword [eax + 4]
cmp dword [0x64abd334], ecx
jne 0x64a90ff0
mov ecx, dword [eax + 8]
cmp dword [0x64abd338], ecx
jne 0x64a90ff0
mov ecx, dword [eax + 0xc]
cmp dword [0x64abd33c], ecx
jne 0x64a90ff0
mov eax, 4
jmp 0x64a911f2
mov ecx, dword [eax + 4]
cmp dword [0x64abd38c], ecx
jne 0x64a90fff
mov ecx, dword [eax + 8]
cmp dword [0x64abd390], ecx
jne 0x64a90fff
mov ecx, dword [eax + 0xc]
cmp dword [0x64abd394], ecx
jne 0x64a90fff
mov eax, 5
jmp 0x64a911f2
mov dword [esp + 0xc], str.image_doesnt_have_an_associated_decoder_n
mov dword [esp + 8], str.GdipImageSelectActiveFrame
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x64a91155
mov ecx, dword [eax + 4]
cmp dword [0x64abd3e4], ecx
jne 0x64a9100e
mov ecx, dword [eax + 8]
cmp dword [0x64abd3e8], ecx
jne 0x64a9100e
mov ecx, dword [eax + 0xc]
cmp dword [0x64abd3ec], ecx
jne 0x64a9100e
mov eax, 6
jmp 0x64a911f2
mov ecx, dword [eax + 4]
cmp dword [0x64abd43c], ecx
jne 0x64a9101d
mov ecx, dword [eax + 8]
cmp dword [0x64abd440], ecx
jne 0x64a9101d
mov ecx, dword [eax + 0xc]
cmp dword [0x64abd444], ecx
jne 0x64a9101d
mov eax, 7
jmp 0x64a911f2
mov ecx, eax
shr ecx, 0x10
je 0x64a91508
movzx eax, byte [ebx + 0x1b]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0x1a]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0x19]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0x18]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0x17]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0x16]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 0x15]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 0x14]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 0x12]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esp], str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.no_match_for_format:__s_n
mov dword [esp + 8], str.get_decoder_info_from_image
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
movzx edx, byte [0x64ab50d0]
jmp 0x64a9102d
mov dword [esp + 0xc], str.cant_find_decoder_info_n
mov dword [esp + 8], str.GdipImageSelectActiveFrame
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.1_5
jmp 0x64a91036
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.requested_frame__u__but_image_has_only__u_n
mov dword [esp + 8], str.GdipImageSelectActiveFrame
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.1_5
jmp 0x64a9110d
mov ecx, dword [eax + 4]
cmp dword [0x64abd1d4], ecx
jne 0x64a90fb4
mov ecx, dword [eax + 8]
cmp dword [0x64abd1d8], ecx
jne 0x64a90fb4
mov ecx, dword [eax + 0xc]
cmp dword [0x64abd1dc], ecx
jne 0x64a90fb4
xor eax, eax
jmp 0x64a911f2
mov dword [esp + 4], eax
mov dword [esp], 0x64abb730
call sym._wine_dbg_sprintf_2
jmp 0x64a9142e