Function at 0x10052aa0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x34
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
test byte [0x100720d0], 8
jne 0x10052be0
test ebx, ebx
je 0x10052bd0
test esi, esi
je 0x10052bd0
lea esi, [ebx + 0x34]
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
mov edx, eax
sub esp, 4
mov eax, 4
test dl, dl
je 0x10052b88
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebp - 0x10]
jbe 0x10052b98
mov eax, dword [ebx + 8]
lea edx, [eax - 1]
cmp edx, 1
ja 0x10052d58
mov eax, dword [ebp - 0x10]
cmp dword [ebx + 0x24], eax
je 0x10052d3d
mov edi, dword [ebx]
mov eax, 0x1007a330
xor edx, edx
lea ecx, [ebx + 0xc]
test edi, edi
jne 0x10052b3f
jmp 0x10052d10
add edx, 1
add eax, 0x58
cmp edx, 8
je 0x10052ce0
test byte [eax + 0x24], 2
je 0x10052b30
mov edi, dword [ecx]
cmp dword [eax], edi
jne 0x10052b30
mov edi, dword [ecx + 4]
cmp dword [eax + 4], edi
jne 0x10052b30
mov edi, dword [ecx + 8]
cmp dword [eax + 8], edi
jne 0x10052b30
mov edi, dword [ecx + 0xc]
cmp dword [eax + 0xc], edi
jne 0x10052b30
imul edx, edx, 0x58
mov eax, dword [ebp - 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [edx + 0x1007a374]
mov dword [esp], esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp - 0x10]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
test byte [0x100720d0], 4
jne 0x10052ca8
mov eax, dword [ebx + 8]
sub eax, 1
cmp eax, 1
jbe 0x10052b0b
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, 2
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
lea esp, [ebp - 0xc]
mov eax, 2
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
test esi, esi
je 0x10052d98
mov eax, esi
shr eax, 0x10
je 0x10052c90
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 edi, dword [ebp - 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], 0x10079013
mov dword [esp + 8], str.GdipImageSelectActiveFrame
mov dword [esp + 4], 0x100720d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x10052ac2
movzx eax, si
mov dword [esp], str._guid_0x_04hx_
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
jmp 0x10052c55
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], str.requested_frame__u__but_image_has_only__u_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipImageSelectActiveFrame
mov dword [esp + 4], 0x100720d0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x10052afc
movzx eax, byte [0x100720d0]
test al, 8
jne 0x10052da8
test al, 4
jne 0x10052e50
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, 1
sub esp, 4
jmp 0x10052b88
test byte [0x100720d0], 8
je 0x10052d3d
mov dword [esp + 0xc], str.image_doesnt_have_an_associated_decoder_n
mov dword [esp + 8], str.GdipImageSelectActiveFrame
mov dword [esp + 4], 0x100720d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
xor eax, eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
test byte [0x100720d0], 4
je 0x10052bb4
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], 0x100720d0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x10052bb4
mov eax, 0x100788aa
jmp 0x10052c55
lea eax, [ebx + 0xc]
mov ecx, eax
shr ecx, 0x10
je 0x10052e80
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], 0x100720d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
movzx eax, byte [0x100720d0]
jmp 0x10052cef
mov dword [esp + 0xc], str.cant_find_decoder_info_n
mov dword [esp + 8], str.GdipImageSelectActiveFrame
mov dword [esp + 4], 0x100720d0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x10052cf7
movzx eax, ax
mov dword [esp], str._guid_0x_04hx_
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
jmp 0x10052e19