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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc0
mov dword [ebp - 0x80], 0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x7c], 0
test byte [0x1000702c], 8
jne 0x10001d10
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x10001b38
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x10]
mov dword [eax], 0
test ecx, ecx
je 0x10001b38
test esi, esi
je 0x10001ac0
mov eax, dword [esi]
lea edx, [ebp - 0x80]
mov dword [esp], esi
mov dword [esp + 4], edx
call dword [eax + 0x30]
lea eax, [ebp - 0x4c]
sub esp, 8
mov dword [ebp - 0x8c], eax
mov dword [esp + 8], eax
mov eax, dword [0x10007018]
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 - 0x90], eax
call eax
mov eax, dword [ebp - 0x80]
sub esp, 0x10
test eax, eax
je 0x10001aee
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x10001d78
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x94], ecx
lea edx, [ebp - 0x6c]
mov ecx, edi
mov dword [esp], edx
mov edx, ebx
call sym._get_next_insertable_verb
lea eax, [ebp - 0x5c]
mov edx, ebx
mov ecx, edi
mov dword [esp], eax
mov eax, dword [ebp - 0x80]
call sym._get_next_insertable_verb
mov edx, eax
test eax, eax
je 0x10001b48
mov ecx, dword [ebp + 0x20]
test ecx, ecx
jne 0x10001b48
mov edi, dword [ebp - 0x8c]
mov eax, dword [0x10007018]
mov dword [esp + 0xc], 0x20
mov dword [esp + 4], 0x132
mov dword [esp + 8], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x90]
call eax
mov eax, dword [ebp - 0x68]
sub esp, 0x10
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], edi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x74]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x78]
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 + 0x14]
sub esp, 0x1c
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], 0x400
mov dword [esp], eax
call dword [sym.imp.user32.dll_RemoveMenu]
mov eax, dword [ebp - 0x78]
sub esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], 0x400
mov dword [esp], eax
call dword [sym.imp.user32.dll_InsertMenuW]
mov eax, dword [ebp - 0x68]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 0x14
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x78]
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 - 0x80]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x7c]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, 1
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
lea eax, [ebp - 0x4c]
mov dword [esp + 0xc], 0x20
mov dword [ebp - 0x8c], eax
mov dword [esp + 8], eax
mov eax, dword [0x10007018]
mov dword [esp + 4], 0x135
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
sub esp, 0x10
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], 0x400
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call dword [sym.imp.user32.dll_RemoveMenu]
mov eax, dword [ebp - 0x8c]
sub esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], 0x401
mov dword [esp], eax
call dword [sym.imp.user32.dll_InsertMenuW]
sub esp, 0x14
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
mov dword [ebp - 0x98], edx
call dword [sym.imp.user32.dll_CreatePopupMenu]
mov dword [esp + 4], 0xffffffff
mov esi, eax
mov eax, dword [ebp - 0x68]
mov dword [esp], esi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x6c]
add eax, ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x64]
or ah, 4
mov dword [esp + 8], eax
mov eax, dword [sym.imp.user32.dll_InsertMenuW]
mov dword [ebp - 0x84], eax
call eax
mov eax, dword [ebp - 0x68]
sub esp, 0x14
mov dword [esp], eax
mov eax, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x88], eax
call eax
mov edx, dword [ebp - 0x98]
sub esp, 4
test edx, edx
jne 0x10001bf1
lea esi, [esi]
nop
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x5c]
add eax, ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x54]
or ah, 4
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x84]
call eax
mov eax, dword [ebp - 0x58]
sub esp, 0x14
mov dword [esp], eax
mov eax, dword [ebp - 0x88]
call eax
sub esp, 4
lea eax, [ebp - 0x5c]
mov ecx, edi
mov edx, ebx
mov dword [esp], eax
mov eax, dword [ebp - 0x80]
call sym._get_next_insertable_verb
test eax, eax
je 0x10001bb0
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x10001db0
test esi, esi
je 0x10001c1b
mov eax, dword [ebp + 0x28]
mov dword [eax], esi
mov edi, dword [ebp - 0x8c]
mov eax, dword [0x10007018]
mov dword [esp + 0xc], 0x20
mov dword [esp + 4], 0x134
mov dword [esp + 8], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x90]
call eax
mov eax, dword [ebp - 0x94]
sub esp, 0x10
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x78]
mov dword [esp + 4], edi
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 - 0x78]
sub esp, 0x1c
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], 0x410
mov dword [esp], eax
mov eax, dword [ebp - 0x84]
call eax
mov edx, dword [ebp - 0x78]
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 - 0x80]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x7c]
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0x88]
call eax
mov eax, 1
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
mov eax, dword [ebp + 0xc]
call sym._wine_dbgstr_wn.constprop.0
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0xc], str.__p___s___p___d___d___d___d___d___p__n
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], str.OleUIAddVerbMenuW
mov dword [esp + 0x18], ecx
mov dword [esp + 4], 0x1000702c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x100018e0
mov eax, dword [esi]
lea edx, [ebp - 0x7c]
mov dword [esp + 4], 2
mov dword [esp + 8], edx
mov dword [esp], esi
call dword [eax + 0x40]
sub esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x80]
je 0x10001e38
mov dword [ebp - 0x94], 0
jmp 0x1000196d
mov edi, dword [ebp - 0x8c]
mov eax, dword [0x10007018]
mov dword [esp + 0xc], 0x20
mov dword [esp + 4], 0x130
mov dword [esp], eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 8], edi
call eax
mov ebx, dword [ebp - 0x84]
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], esi
call ebx
mov eax, dword [ebp + 0x24]
sub esp, 0x14
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call ebx
sub esp, 0x14
jmp 0x10001c12
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x94], ecx
jmp 0x1000196d