Function at 0x6d441920
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xf8
mov eax, dword [ecx + 8]
mov edi, dword [ecx]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
mov dword [ebp - 0xa8], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0xac], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xb0], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0xa4], eax
test byte [0x6d44702c], 8
jne 0x6d441e18
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x6d441c18
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x9c], edx
mov dword [eax], 0
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x6d441c18
test edi, edi
je 0x6d441ba0
mov eax, dword [edi]
lea ecx, [ebp - 0x8c]
mov dword [esp], edi
mov dword [esp + 4], ecx
call dword [eax + 0x30]
lea eax, [ebp - 0x58]
sub esp, 8
mov dword [ebp - 0xb8], eax
mov dword [esp + 8], eax
mov eax, dword [0x6d447018]
mov dword [esp + 0xc], 0x20
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_LoadStringW]
mov dword [esp + 4], 0x135
mov dword [ebp - 0xbc], eax
call eax
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x9c]
sub esp, 0x10
test eax, eax
je 0x6d441bce
test edx, edx
je 0x6d441ea0
mov dword [ebp - 0xc0], edx
lea edx, [ebp - 0x78]
mov ecx, esi
mov dword [esp], edx
mov edx, ebx
call sym._get_next_insertable_verb
lea eax, [ebp - 0x68]
mov edx, ebx
mov ecx, esi
mov dword [esp], eax
mov eax, dword [ebp - 0x8c]
call sym._get_next_insertable_verb
mov edx, eax
test eax, eax
je 0x6d441c30
mov ecx, dword [ebp - 0xb0]
test ecx, ecx
jne 0x6d441c30
mov esi, dword [ebp - 0xb8]
mov eax, dword [0x6d447018]
mov dword [esp + 0xc], 0x20
mov dword [esp + 4], 0x132
mov dword [esp + 8], esi
mov dword [esp], eax
mov eax, dword [ebp - 0xbc]
call eax
mov eax, dword [ebp - 0x74]
sub esp, 0x10
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 4], esi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x84]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0x2500
call dword [sym.imp.kernel32.dll_FormatMessageW]
mov edi, dword [ebp - 0xac]
mov esi, dword [ebp - 0xa8]
sub esp, 0x1c
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], 0x400
call dword [sym.imp.user32.dll_RemoveMenu]
mov eax, dword [ebp - 0x84]
sub esp, 0xc
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x400
call dword [sym.imp.user32.dll_InsertMenuW]
mov eax, dword [ebp - 0x74]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 0x14
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x84]
sub esp, 4
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x8c]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x88]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, 1
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x24
lea eax, [ebp - 0x58]
mov dword [esp + 0xc], 0x20
mov dword [ebp - 0xb8], eax
mov dword [esp + 8], eax
mov eax, dword [0x6d447018]
mov dword [esp + 4], 0x135
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
sub esp, 0x10
mov esi, dword [ebp - 0xac]
mov edi, dword [ebp - 0xa8]
mov dword [esp + 8], 0x400
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.user32.dll_RemoveMenu]
mov eax, dword [ebp - 0xb8]
sub esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x401
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.user32.dll_InsertMenuW]
sub esp, 0x14
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x24
mov dword [ebp - 0xc4], edx
call dword [sym.imp.user32.dll_CreatePopupMenu]
mov dword [esp + 4], 0xffffffff
mov edi, eax
mov eax, dword [ebp - 0x74]
mov dword [esp], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x78]
add eax, ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x70]
or ah, 4
mov dword [esp + 8], eax
mov eax, dword [sym.imp.user32.dll_InsertMenuW]
mov dword [ebp - 0x9c], eax
call eax
mov eax, dword [ebp - 0x74]
sub esp, 0x14
mov dword [esp], eax
mov eax, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0xa0], eax
call eax
mov edx, dword [ebp - 0xc4]
sub esp, 4
test edx, edx
jne 0x6d441cd9
lea esi, [esi]
nop
mov eax, dword [ebp - 0x64]
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x68]
add eax, ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x60]
or ah, 4
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x9c]
call eax
mov eax, dword [ebp - 0x64]
sub esp, 0x14
mov dword [esp], eax
mov eax, dword [ebp - 0xa0]
call eax
sub esp, 4
lea eax, [ebp - 0x68]
mov ecx, esi
mov edx, ebx
mov dword [esp], eax
mov eax, dword [ebp - 0x8c]
call sym._get_next_insertable_verb
test eax, eax
je 0x6d441c98
mov eax, dword [ebp - 0xb0]
test eax, eax
jne 0x6d441ee0
test edi, edi
je 0x6d441d0c
mov eax, dword [ebp - 0xa4]
mov dword [eax], edi
mov esi, dword [ebp - 0xb8]
mov eax, dword [0x6d447018]
mov dword [esp + 0xc], 0x20
mov dword [esp + 4], 0x134
mov dword [esp + 8], esi
mov dword [esp], eax
mov eax, dword [ebp - 0xbc]
call eax
mov eax, dword [ebp - 0xc0]
sub esp, 0x10
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x84]
mov dword [esp + 4], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0x2500
call dword [sym.imp.kernel32.dll_FormatMessageW]
mov eax, dword [ebp - 0x84]
sub esp, 0x1c
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp + 8], 0x410
mov dword [esp], eax
mov eax, dword [ebp - 0x9c]
call eax
mov edx, dword [ebp - 0x84]
sub esp, 0x14
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x8c]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x88]
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0xa0]
call eax
mov eax, 1
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x24
mov eax, edx
mov dword [ebp - 0x9c], edx
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp - 0xa4]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], edx
mov edx, dword [ebp - 0xb4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], edx
mov edx, dword [ebp - 0xb0]
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], edx
mov edx, dword [ebp - 0xac]
mov dword [esp + 0xc], str.__p___s___p___d___d___d___d___d___p__n
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0xa8]
mov dword [esp + 8], str.OleUIAddVerbMenuW
mov dword [esp + 0x18], edx
mov dword [esp + 4], 0x6d44702c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [ebp - 0x9c]
jmp 0x6d441990
mov eax, dword [edi]
lea edx, [ebp - 0x88]
mov dword [esp + 4], 2
mov dword [esp + 8], edx
mov dword [esp], edi
call dword [eax + 0x40]
sub esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x8c]
je 0x6d441f70
mov dword [ebp - 0xc0], 0
jmp 0x6d441a32
mov ebx, dword [ebp - 0xb8]
mov eax, dword [0x6d447018]
mov dword [esp + 0xc], 0x20
mov dword [esp + 4], 0x130
mov dword [esp], eax
mov eax, dword [ebp - 0xbc]
mov dword [esp + 8], ebx
call eax
mov esi, dword [ebp - 0x9c]
sub esp, 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xc00
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call esi
mov eax, dword [ebp - 0xb4]
sub esp, 0x14
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call esi
sub esp, 0x14
jmp 0x6d441d00
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0xc0], edi
jmp 0x6d441a32