Function at 0x100055b0
Capabilities:
Enumerate pe sections
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x20]
test byte [0x10007038], 8
jne 0x10005660
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x100057d0
mov edi, dword [ebx + 0x18]
test edi, edi
je 0x100057b0
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x10005950
mov dword [esp + 8], 5
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
test eax, eax
je 0x100057e8
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LoadResource]
sub esp, 8
mov esi, eax
test eax, eax
je 0x10005960
mov edi, dword [section..bss]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], sym._ps_dlg_proc_16
mov eax, dword [ebx + 8]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], edi
call dword [sym.imp.user32.dll_DialogBoxIndirectParamW]
sub esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.OleUIPasteSpecialW
mov dword [esp + 4], 0x10007038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
test byte [0x10007038], 8
je 0x100055cc
mov dword [esp], 0x10007038
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x100055cc
mov eax, dword [ebx + 4]
call sym._dump_ps_flags
test byte [0x10007038], 8
jne 0x10005980
mov edi, dword [ebx + 0x2c]
xor edx, edx
test edi, edi
jle 0x10005803
mov dword [ebp - 0x18], esi
mov esi, edx
jmp 0x100056e4
add esi, 1
cmp esi, dword [ebx + 0x2c]
jge 0x10005800
test byte [0x10007038], 8
je 0x100056d8
mov eax, dword [ebx + 0x28]
lea edi, [esi + esi*8]
shl edi, 2
add eax, edi
mov edx, dword [eax + 0x10]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
movzx eax, word [eax]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.arrPasteEntries__d_:_cFormat__08x_pTargetDevice__p_dwAspect__ld_lindex__ld_tymed__ld_n
mov dword [esp + 8], str.dump_pastespecial
mov dword [esp + 4], 0x10007038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
test byte [0x10007038], 8
je 0x100056d8
mov eax, dword [ebx + 0x28]
add eax, edi
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], ecx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + edi + 0x14]
call sym._wine_dbgstr_wn.constprop.0_1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], str._tformat_name__s_result_text__s_flags__04lx_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.dump_pastespecial
mov dword [esp + 4], 0x10007038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x100056d8
mov eax, dword [ebx + 0x20]
mov edi, dword [section..bss]
test eax, eax
jne 0x1000562d
mov eax, 0x454
jmp 0x100055ed
lea eax, [ebx + 0x24]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_OleGetClipboard]
sub esp, 4
jmp 0x100055d7
lea esp, [ebp - 0xc]
mov eax, 0x6e
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x34]
xor edi, edi
test ecx, ecx
jg 0x10005818
jmp 0x10005858
add edi, 1
cmp edi, dword [ebx + 0x34]
jge 0x10005858
test byte [0x10007038], 8
je 0x10005810
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.arrLinkTypes__d___08x_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.dump_pastespecial
mov dword [esp + 4], 0x10007038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x10005810
mov edx, dword [ebx + 0x38]
xor edi, edi
test edx, edx
jne 0x1000587c
jmp 0x100055cc
add edi, 1
cmp edi, dword [ebx + 0x38]
jae 0x100055cc
test byte [0x10007038], 8
je 0x10005870
mov eax, edi
shl eax, 4
add eax, dword [ebx + 0x3c]
je 0x10005970
mov ecx, eax
shr ecx, 0x10
je 0x10005938
movzx edx, byte [eax + 0xf]
mov dword [esp + 0x2c], edx
movzx edx, byte [eax + 0xe]
mov dword [esp + 0x28], edx
movzx edx, byte [eax + 0xd]
mov dword [esp + 0x24], edx
movzx edx, byte [eax + 0xc]
mov dword [esp + 0x20], edx
movzx edx, byte [eax + 0xb]
mov dword [esp + 0x1c], edx
movzx edx, byte [eax + 0xa]
mov dword [esp + 0x18], edx
movzx edx, byte [eax + 9]
mov dword [esp + 0x14], edx
movzx edx, byte [eax + 8]
mov dword [esp + 0x10], edx
movzx edx, word [eax + 6]
mov dword [esp + 0xc], edx
movzx edx, word [eax + 4]
mov dword [esp + 8], edx
mov eax, dword [eax]
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
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.lpClsidExclude__u___s_n
mov dword [esp + 8], str.dump_pastespecial
mov dword [esp + 4], 0x10007038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x10005870
movzx eax, ax
mov dword [esp], str._guid_0x_04hx_
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
jmp 0x10005900
mov eax, 0x6c
jmp 0x10005650
mov eax, 0x6f
jmp 0x10005650
mov eax, str._null_
jmp 0x10005900
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x10], edx
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], str.hwnd__p_caption__s_hook__p_custdata__Ix_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.dump_pastespecial
mov dword [esp + 4], 0x10007038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov eax, dword [ebx + 0x1c]
movzx edx, byte [0x10007038]
mov ecx, eax
and edx, 8
shr ecx, 0x10
jne 0x10005ae0
test dl, dl
je 0x100056be
mov edx, dword [ebx + 0x20]
movzx eax, ax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [ebx + 0x18]
mov dword [esp + 0xc], str.hinst__p_template__04x_hresource__p_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.dump_pastespecial
mov dword [esp + 4], 0x10007038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov eax, dword [ebx + 0x2c]
test byte [0x10007038], 8
je 0x100056be
mov edx, dword [ebx + 0x34]
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0xc], str.dataobj__p_arrpasteent__p_cpasteent__d_arrlinktype__p_clinktype__d_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.dump_pastespecial
mov dword [esp + 4], 0x10007038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
test byte [0x10007038], 8
je 0x100056be
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0xc], str.cclsidex__d_lpclsidex__p_nselect__d_flink__d_hmetapict__p_size__ld__ld__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.dump_pastespecial
mov dword [esp + 4], 0x10007038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x100056be
test dl, dl
je 0x100056be
mov edi, dword [ebx + 0x20]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov eax, dword [ebx + 0x18]
mov dword [esp + 0xc], str.hinst__p_template__s_hresource__p_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.dump_pastespecial
mov dword [esp + 4], 0x10007038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x10005a24