Function at 0x10002d10
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, 0x1ac
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
test byte [0x10007028], 8
jne 0x100031f0
mov ebx, dword [ebp + 0x28]
test ebx, ebx
je 0x10002fd3
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x10]
mov dword [eax], 0
test ecx, ecx
je 0x10002fd3
test edi, edi
je 0x10002f58
mov eax, dword [edi]
lea edx, [ebp - 0x16c]
mov dword [esp], edi
mov dword [esp + 4], edx
call dword [eax + 0x30]
lea eax, [ebp - 0x138]
sub esp, 8
mov dword [ebp - 0x17c], eax
mov dword [esp + 8], eax
mov eax, dword [section..bss]
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 - 0x180], eax
call eax
mov eax, dword [ebp - 0x16c]
sub esp, 0x10
test eax, eax
je 0x10002f89
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x10003410
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x184], ebx
lea edx, [ebp - 0x158]
mov ecx, dword [ebp + 0x1c]
lea edi, [ebp - 0x148]
mov dword [esp], edx
mov edx, esi
call sym._get_next_insertable_verb
mov dword [esp], edi
mov ecx, dword [ebp + 0x1c]
mov edx, esi
mov eax, dword [ebp - 0x16c]
call sym._get_next_insertable_verb
mov edx, eax
test eax, eax
je 0x10002fe0
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x10002fe0
mov ebx, dword [ebp - 0x17c]
mov eax, dword [section..bss]
mov dword [esp + 0xc], 0x20
mov dword [esp + 4], 0x132
mov dword [esp + 8], ebx
mov dword [esp], eax
mov eax, dword [ebp - 0x180]
call eax
mov eax, dword [ebp - 0x154]
sub esp, 0x10
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x184]
mov dword [esp + 4], ebx
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x160]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x164]
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 - 0x164]
sub esp, 0xc
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], 0x400
mov dword [esp], eax
call dword [sym.imp.user32.dll_InsertMenuW]
mov eax, dword [ebp - 0x154]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 0x14
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x164]
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 - 0x16c]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x168]
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 - 0x138]
mov dword [esp + 0xc], 0x20
mov dword [ebp - 0x17c], eax
mov dword [esp + 8], eax
mov eax, dword [section..bss]
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 - 0x17c]
sub esp, 0xc
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], 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 - 0x178], edx
call dword [sym.imp.user32.dll_CreatePopupMenu]
mov dword [esp + 4], 0xffffffff
mov ebx, eax
mov eax, dword [ebp - 0x154]
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x158]
add eax, esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x150]
or ah, 4
mov dword [esp + 8], eax
mov eax, dword [sym.imp.user32.dll_InsertMenuW]
mov dword [ebp - 0x170], eax
call eax
mov eax, dword [ebp - 0x154]
sub esp, 0x14
mov dword [esp], eax
mov eax, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x174], eax
call eax
mov edx, dword [ebp - 0x178]
sub esp, 4
test edx, edx
je 0x100034d8
mov dword [ebp - 0x178], ebx
mov ebx, dword [ebp + 0x1c]
jmp 0x100030b3
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], 0xffffffff
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x148]
add eax, esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x140]
or ah, 4
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
mov eax, dword [ebp - 0x170]
call eax
mov eax, dword [ebp - 0x144]
sub esp, 0x14
mov dword [esp], eax
mov eax, dword [ebp - 0x174]
call eax
sub esp, 4
mov dword [esp], edi
mov eax, dword [ebp - 0x16c]
mov ecx, ebx
mov edx, esi
call sym._get_next_insertable_verb
test eax, eax
je 0x10003060
mov esi, dword [ebp + 0x20]
mov ebx, dword [ebp - 0x178]
test esi, esi
jne 0x10003450
test ebx, ebx
je 0x100030e3
mov eax, dword [ebp + 0x28]
mov dword [eax], ebx
mov edi, dword [ebp - 0x17c]
mov eax, dword [section..bss]
mov dword [esp + 0xc], 0x20
mov dword [esp + 4], 0x134
mov dword [esp + 8], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x180]
call eax
mov eax, dword [ebp - 0x184]
sub esp, 0x10
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x160]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x164]
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 - 0x164]
sub esp, 0x1c
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], 0x410
mov dword [esp], eax
mov eax, dword [ebp - 0x170]
call eax
mov edx, dword [ebp - 0x164]
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 - 0x16c]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x168]
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0x174]
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]
test eax, eax
je 0x10003598
mov eax, dword [ebp + 0xc]
shr eax, 0x10
je 0x100032f0
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1000916d
sub esp, 8
test eax, eax
jne 0x10003306
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x100035a2
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x10003240
mov ebx, dword [ebp + 0xc]
mov ecx, 0x224c
mov dword [ebp + 8], edi
mov word [ebp - 0x138], cx
lea ecx, [ebp - 0x136]
mov dword [ebp - 0x170], ebx
jmp 0x100032a8
cmp ax, 9
je 0x100033f8
cmp ax, 0xa
jne 0x10003386
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea ebx, [ebp - 0x16]
lea eax, [edx - 1]
cmp ecx, ebx
ja 0x10003538
test edx, edx
jle 0x10003538
mov edx, eax
add dword [ebp - 0x170], 2
mov eax, dword [ebp - 0x170]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x10003368
jbe 0x10003270
cmp ax, 0x22
je 0x100033e0
cmp ax, 0x5c
jne 0x10003379
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10003290
movzx eax, word [ebp + 0xc]
mov dword [esp], 0x10009160
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0xc], str.__p___s___p___d___d___d___d___d___p__n
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 8], str.OleUIAddVerbMenuW
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], 0x10007028
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], 3
mov dword [esp + 0x18], eax
call sym._wine_dbg_log.constprop.0_1
jmp 0x10002d43
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003290
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10003570
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefOleUIAddVerbMenuA]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefOleUIAddVerbMenuA]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefOleUIAddVerbMenuA]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefOleUIAddVerbMenuA]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10003290
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x10003290
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003290
mov eax, dword [edi]
lea edx, [ebp - 0x168]
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 - 0x16c]
je 0x10003580
mov dword [ebp - 0x184], 0
jmp 0x10002dd9
mov esi, dword [ebp - 0x17c]
mov eax, dword [section..bss]
mov dword [esp + 0xc], 0x20
mov dword [esp + 4], 0x130
mov dword [esp], eax
mov eax, dword [ebp - 0x180]
mov dword [esp + 8], esi
call eax
mov edi, dword [ebp - 0x170]
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], ebx
call edi
mov eax, dword [ebp + 0x24]
sub esp, 0x14
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call edi
sub esp, 0x14
jmp 0x100030da
mov eax, dword [ebp - 0x144]
mov dword [esp], ebx
mov dword [esp + 4], 0xffffffff
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x148]
add eax, esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x140]
or ah, 4
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x170]
call eax
mov eax, dword [ebp - 0x144]
sub esp, 0x14
mov dword [esp], eax
mov eax, dword [ebp - 0x174]
call eax
mov dword [ebp - 0x178], ebx
mov ebx, dword [ebp + 0x1c]
sub esp, 4
jmp 0x100030b3
mov byte [ecx], 0x22
mov edi, dword [ebp + 8]
test eax, eax
jle 0x100035bb
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x10003306
mov byte [ecx], al
add ecx, 1
jmp 0x10003290
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x184], ecx
jmp 0x10002dd9
mov edx, 0x10009166
jmp 0x10003306
mov eax, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], ax
lea eax, [ecx + 1]
jmp 0x10003552