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

Disassembly:
push 0xffffffffffffffff
push 0x67b89ec6
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67bb57cc]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x78]
mov edx, dword [esi + 0x20]
mov ecx, dword [eax]
push edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC80U.DLL_Ordinal_2361
mov ebx, eax
mov edi, dword [ebx]
push 0
push 0
mov dword [esp + 0x3c], ebx
add edi, 0x30
call sym.ImLookU.dll_Ordinal_994
mov ecx, eax
call sym.ImLookU.dll_Ordinal_449
push eax
mov eax, dword [edi]
mov ecx, ebx
call eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x90]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ebp, eax
mov eax, dword [esi + 0x90]
mov edx, dword [eax + 4]
xor edi, edi
push edi
push 1
push edx
mov dword [esp + 0x2c], ebp
call dword [sym.imp.USER32.dll_GetMenuDefaultItem]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esp + 0x70], edi
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx]
cmp eax, 4
jg 0x67b5082d
mov eax, 4
push 0xffffffffffffffff
mov dword [ecx], eax
lea ecx, [esi + 0xec]
push edi
call fcn.67b4f1e0
test ebp, ebp
jbe 0x67b50ae5
mov ecx, dword [esi + 0x90]
push 0x400
lea edx, [esp + 0x18]
push edx
push edi
call sub.MFC80U.DLL_Ordinal_2932
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
movzx ecx, word [eax]
test cx, cx
je 0x67b50925
cmp cx, 0x26
je 0x67b50888
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x67b50871
jmp 0x67b50925
mov ebp, dword [esi + 0xf4]
mov dword [esp + 0x1c], eax
push 0xffffffffffffffff
lea eax, [ebp + 1]
lea ebx, [esi + 0xec]
push eax
mov ecx, ebx
call fcn.67b4f1e0
test ebp, ebp
jl 0x67b50b7b
cmp ebp, dword [ebx + 8]
jge 0x67b50b7b
mov ecx, dword [esp + 0x1c]
movzx edx, word [ecx + 2]
mov eax, dword [esi + 0xf0]
lea ebx, [ebp + ebp*2]
add ebx, ebx
add ebx, ebx
add eax, ebx
push edx
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCR80.dll_toupper]
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
mov eax, dword [esi + 0x90]
mov edx, dword [eax + 4]
add esp, 4
push edi
push edx
call dword [sym.imp.USER32.dll_GetMenuItemID]
cmp ebp, dword [esi + 0xf4]
jge 0x67b50b7b
mov ecx, dword [esi + 0xf0]
add ecx, ebx
mov dword [ecx + 4], eax
cmp ebp, dword [esi + 0xf4]
jge 0x67b50b7b
mov eax, dword [esi + 0xf0]
add eax, ebx
mov ebx, dword [esp + 0x34]
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x90]
push edi
call fcn.67b4bb70
cmp dword [esp + 0x38], edi
jne 0x67b5093c
or eax, 0x100
mov ebp, dword [ebx]
push eax
push 0
add ebp, 0x30
call sym.ImLookU.dll_Ordinal_994
mov ecx, eax
call sym.ImLookU.dll_Ordinal_449
push eax
mov eax, dword [ebp]
mov ecx, ebx
call eax
push 0
push 9
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x67b50a3b
push ebp
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov byte [esp + 0x70], 1
add ebp, 1
push ebp
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_4100]
mov byte [esp + 0x70], 2
lea eax, [esp + 0x40]
push eax
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov byte [esp + 0x78], 3
push edi
push ebx
mov byte [esp + 0x80], 2
mov ecx, esi
call fcn.67b4f9d0
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x18]
jle 0x67b509d9
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
push eax
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov byte [esp + 0x78], 4
push edi
push ebx
mov byte [esp + 0x80], 2
mov ecx, esi
call fcn.67b4f9d0
mov eax, dword [esp + 0x40]
sub eax, 0x2c
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
jle 0x67b50a1b
mov dword [esp + 0x24], eax
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x67b50a76
lea eax, [esp + 0x40]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov byte [esp + 0x78], 5
push edi
push ebx
mov byte [esp + 0x80], 0
mov ecx, esi
call fcn.67b4f9d0
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x18]
jle 0x67b50a76
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x44]
cmp ecx, 7
je 0x67b50a86
add ecx, 4
mov dword [esp + 0x44], ecx
mov ebp, dword [esp + 0x7c]
mov eax, dword [ebp]
lea ecx, [eax + ecx + 1]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x90]
push edi
mov dword [esp + 0x50], 4
mov dword [esp + 0x58], 0
call fcn.67b4bbc0
mov ecx, dword [esp + 0x44]
add ecx, 1
add dword [ebp], ecx
mov ebp, dword [ebp]
add edi, 1
cmp edi, dword [esp + 0x20]
jb 0x67b50845
test edi, edi
je 0x67b50ae1
mov edx, dword [esp + 0x7c]
add ebp, 5
mov dword [edx], ebp
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x78]
mov dword [edx], eax
je 0x67b50afd
lea eax, [ecx + eax + 8]
mov dword [edx], eax
mov edx, dword [ebx]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + 0x30]
push eax
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
xor edi, edi
test ebp, ebp
jbe 0x67b50b53
nop
mov ecx, dword [esi + 0x90]
lea edx, [esp + 0x48]
push edx
push edi
call fcn.67b4bb90
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x90]
push edi
call fcn.67b4bbc0
add edi, 1
cmp edi, ebp
jb 0x67b50b20
mov dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8
call sub.MFC80U.DLL_Ordinal_1176
int3