Function at 0x423b20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x506c6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xb0]
mov eax, dword [esi + 0xa8]
mov edx, dword [esi + 0xac]
cmp eax, edx
mov dword [esp + 0x30], esi
je 0x423b71
mov ecx, dword [eax]
cmp dword [ecx + 0x88], edi
je 0x423c5a
add eax, 4
cmp eax, edx
jne 0x423b5c
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
cmp ebx, ebp
je 0x423b8f
mov ecx, ebx
call fcn.004208b0
test eax, eax
jne 0x423b8f
push ebx
push edi
mov ecx, esi
call fcn.00423650
mov dword [esp + 0x14], vtable.CMenu.0
mov dword [esp + 0x18], ebp
mov dword [esp + 0xa8], ebp
call fcn.004fa7f5
mov eax, dword [eax + 0xc]
push 0x113
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
lea ecx, [esp + 0x18]
call fcn.004eb592
lea eax, [esp + 0x14]
push eax
call fcn.004482e0
mov ecx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_GetSubMenu]
add esp, 4
push ebp
push ecx
call ebx
push eax
call fcn.004eb55f
mov ebp, eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [esi + 0x1c]
mov edx, eax
sar eax, 0x10
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
and edx, 0xffff
push eax
push ecx
mov dword [esp + 0x30], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
call fcn.0043bcd0
mov esi, eax
push 0x78
mov dword [esp + 0x24], esi
call fcn.004e5c1a
add esp, 4
mov ecx, esi
mov dword [esp + 0x1c], eax
push 0x1e
push edi
push eax
call fcn.0043ce10
mov esi, eax
test esi, esi
jg 0x423c61
mov dword [esp + 0x14], vtable.CMenu.0
lea ecx, [esp + 0x14]
mov dword [esp + 0xa8], 1
call fcn.004eb5e9
or eax, 0xffffffff
jmp 0x423f34
mov ebx, ecx
jmp 0x423b75
lea ecx, [esp + 0x60]
call fcn.0041ddf0
push edi
lea ecx, [esp + 0x64]
mov byte [esp + 0xac], 2
call fcn.0041de90
mov edx, dword [ebp + 4]
push 0
push 0x800a
push edx
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
lea ecx, [esp + 0x60]
call fcn.0041e390
test eax, eax
push 1
je 0x423ca7
mov eax, dword [ebp + 4]
push 0x8004
push eax
jmp 0x423cb0
mov ecx, dword [ebp + 4]
push 0x8005
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
cmp esi, 1
jle 0x423e60
mov edx, dword [esp + 0x18]
push 1
push edx
call ebx
push eax
call fcn.004eb55f
mov ebx, eax
push 0x400
push 0
mov dword [esp + 0x2c], ebx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
test esi, esi
jle 0x423dcb
mov edi, dword [esp + 0x1c]
mov ebx, esi
mov eax, dword [0x54a6a4]
xor esi, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov edx, dword [edi]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov byte [esp + 0xb0], 3
call fcn.0043c960
test eax, eax
je 0x423d68
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x7c]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push edx
call fcn.0043c7e0
test eax, eax
je 0x423d68
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [edx + 4]
push ecx
push esi
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
lea ecx, [esp + 0x50]
mov byte [esp + 0xa8], 7
call fcn.004e5549
lea ecx, [esp + 0x44]
mov byte [esp + 0xa8], 6
call fcn.004e5549
lea ecx, [esp + 0x40]
mov byte [esp + 0xa8], 5
call fcn.004e5549
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa8], 4
call fcn.004e5549
lea ecx, [esp + 0x38]
mov byte [esp + 0xa8], 2
call fcn.004e5549
add edi, 4
dec ebx
jne 0x423cf3
mov ebx, dword [esp + 0x24]
mov ecx, dword [0x54a6a4]
mov dword [esp + 0x10], ecx
mov edx, dword [ebp + 4]
mov edi, dword [sym.imp.USER32.dll_GetMenuStringA]
push 0
push 0
push 0
push 0x800b
push edx
mov byte [esp + 0xbc], 8
call edi
test eax, eax
jle 0x423e22
lea esi, [eax + eax + 2]
lea ecx, [esp + 0x10]
push esi
call fcn.004e59f0
push 0
push esi
push eax
mov eax, dword [ebp + 4]
push 0x800b
push eax
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004e59c8
jmp 0x423e2b
lea ecx, [esp + 0x10]
call fcn.004e54d4
test ebx, ebx
jne 0x423e33
xor eax, eax
jmp 0x423e36
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 4]
push ecx
push eax
push 0x10
push 0x800b
push edx
call dword [sym.imp.USER32.dll_ModifyMenuA]
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 2
call fcn.004e5549
jmp 0x423e71
mov eax, dword [ebp + 4]
push 0
push 0x800b
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0
push edi
push ecx
push edx
push 0x182
mov ecx, ebp
call fcn.004e6d37
mov esi, eax
test esi, esi
jle 0x423ef8
cmp esi, 0x8000
jle 0x423ea8
mov eax, dword [edi]
push 0
push esi
mov ecx, edi
call dword [eax + 0x78]
jmp 0x423ef8
mov ecx, dword [edi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_GetParent]
push ecx
call ebp
push eax
call fcn.004e617d
test eax, eax
je 0x423ef8
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x7c]
push edx
push eax
push esi
call fcn.0043c7e0
test eax, eax
je 0x423ef8
mov ecx, dword [edi + 0x1c]
push ecx
call ebp
push eax
call fcn.004e617d
mov edx, dword [esp + 0x7c]
mov eax, dword [eax + 0x1c]
push 0
push edx
push 0x8001
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004e5c43
add esp, 4
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 0
call fcn.0041de40
mov dword [esp + 0x14], vtable.CMenu.0
lea ecx, [esp + 0x14]
mov dword [esp + 0xa8], 9
call fcn.004eb5e9
xor eax, eax
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret 8