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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov dword [rsp + 0x88], 0
jmp 0x14025e984
mov eax, dword [rsp + 0x88]
add eax, 1
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x1d8]
mov qword [rsp + 0xd8], rax
movsxd rax, dword [rsp + 0x88]
cmp rax, qword [rsp + 0xd8]
jge 0x14025ea5c
movsxd rax, dword [rsp + 0x88]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
add rax, 0x1c8
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xf0], 0
jl 0x14025ea1a
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0xf0], rax
jge 0x14025ea1a
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0xf0]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xe0], rax
jmp 0x14025ea1f
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov rdx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rdx, qword [rdx + 0x48]
mov rcx, qword [rsp + 0x110]
call qword [rax + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary]
jmp 0x14025e973
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x74], 0
jne 0x14025ea78
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x70], 0
je 0x14025eaae
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax]
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call qword [rax + 0xc0]
mov rax, qword [rsp + 0x158]
jmp 0x14025f1bc
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax]
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call qword [rax + 0xd0]
test eax, eax
je 0x14025ead9
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x78], 0
je 0x14025eb0f
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax]
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call qword [rax + 0xc8]
mov rax, qword [rsp + 0x158]
jmp 0x14025f1bc
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax]
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call qword [rax + 0xf0]
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax]
mov r8d, 1
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call qword [rax + 0xf0]
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax]
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call qword [rax + COleCurrency::operator*]
test eax, eax
je 0x14025eb8e
mov rcx, qword [rsp + 0x158]
mov rax, qword [rsp + 0x38]
mov qword [rcx], rax
mov rax, qword [rsp + 0x158]
jmp 0x14025f1bc
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call fcn.140263e30
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x9c], 0
mov dword [rsp + 0xa0], 0
mov rax, qword [rsp + 0x9c]
mov qword [rsp + 0x94], rax
mov eax, dword [rsp + 0x94]
cmp dword [rsp + 0x38], eax
jne 0x14025ebec
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x3c], eax
jne 0x14025ebec
mov dword [rsp + 0x118], 1
jmp 0x14025ebf7
mov dword [rsp + 0x118], 0
cmp dword [rsp + 0x118], 0
jne 0x14025ec13
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x30], 0
je 0x14025ef70
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x30], 0
je 0x14025ecde
mov dword [rsp + 0xac], 0
mov dword [rsp + 0xb0], 0
mov rax, qword [rsp + 0xac]
mov qword [rsp + 0xa4], rax
mov eax, dword [rsp + 0xa4]
cmp dword [rsp + 0x38], eax
jne 0x14025ec72
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0x3c], eax
jne 0x14025ec72
mov dword [rsp + 0x11c], 0
jmp 0x14025ec7d
mov dword [rsp + 0x11c], 1
cmp dword [rsp + 0x11c], 0
je 0x14025ecde
mov eax, dword [rsp + 0x3c]
add eax, 2
mov dword [rsp + 0xfc], eax
mov eax, dword [rsp + 0x38]
add eax, 2
mov dword [rsp + 0xf8], eax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0xfc]
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0xb4]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov dword [rax + 0x12c], 5
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x128]
mov eax, dword [rsp + 0x20]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0xf8], 0
jle 0x14025edc9
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x128]
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
add ecx, dword [rax + 0xf8]
mov eax, dword [rsp + 0x8c]
add eax, ecx
mov dword [rsp + 0x8c], eax
mov dword [rsp + 0xc4], 0
mov dword [rsp + 0xc8], 0
mov rax, qword [rsp + 0xc4]
mov qword [rsp + 0xbc], rax
mov eax, dword [rsp + 0xbc]
cmp dword [rsp + 0x38], eax
jne 0x14025ed88
mov eax, dword [rsp + 0xc0]
cmp dword [rsp + 0x3c], eax
jne 0x14025ed88
mov dword [rsp + 0x120], 0
jmp 0x14025ed93
mov dword [rsp + 0x120], 1
cmp dword [rsp + 0x120], 0
je 0x14025edc9
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x30], 0
je 0x14025edc9
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x128]
mov eax, dword [rsp + 0x8c]
add eax, ecx
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rax + 0xfc]
cmp dword [rsp + 0x24], eax
jle 0x14025edea
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x124], eax
jmp 0x14025edff
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rax + 0xfc]
mov dword [rsp + 0x124], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x12c]
mov eax, dword [rsp + 0x124]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x24], 0
jne 0x14025ee44
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x12c]
mov eax, dword [rsp + 0x90]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax]
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call qword [rax + AFX_MODULE_THREAD_STATE::AFX_MODULE_THREAD_STATE]
test eax, eax
je 0x14025eeee
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax]
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call qword [rax + 0x360]
mov r11d, eax
mov eax, dword [rsp + 0x8c]
add eax, r11d
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x11c], 0
je 0x14025eeee
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0xc], 0xffffffff
je 0x14025eeee
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0xc], 0
je 0x14025eeee
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0xf8], 0
jle 0x14025eeee
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x120]
mov eax, dword [rsp + 0x8c]
add eax, ecx
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rax + 0xcc]
mov dword [rsp + 0x100], eax
cmp dword [rsp + 0x100], 0
je 0x14025ef3a
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rax + 0x74]
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 0
jne 0x14025ef3a
mov eax, dword [rsp + 0x8c]
add eax, 6
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x8c]
add ecx, eax
mov rax, qword [rsp + 0x158]
mov dword [rax], ecx
mov rcx, qword [rsp + 0x158]
mov eax, dword [rsp + 0x90]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x158]
jmp 0x14025f1bc
mov dword [rsp + 0xcc], 5
mov dword [rsp + 0xd0], 1
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax]
lea rdx, [rsp + 0xcc]
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call qword [rax + 0x3e8]
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax]
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call qword [rax + 0x388]
test eax, eax
je 0x14025efde
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x128]
mov eax, dword [rsp + 0x38]
lea eax, [rax + rcx*2 + 2]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x128]
mov eax, dword [rsp + 0x38]
lea ecx, [rax + rcx*2]
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rax + 0x100]
add eax, 5
cmp ecx, eax
jle 0x14025f026
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x128]
mov eax, dword [rsp + 0x38]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x128], eax
jmp 0x14025f03e
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rax + 0x100]
add eax, 5
mov dword [rsp + 0x128], eax
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax]
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call qword [rax + 0x388]
test eax, eax
je 0x14025f071
mov eax, dword [rsp + 0x2c]
add eax, 2
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rax + 0xcc]
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
je 0x14025f09b
mov eax, dword [rsp + 0x2c]
add eax, 6
mov dword [rsp + 0x2c], eax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [rsp + 0x40], 0xf
jl 0x14025f116
lea rax, [0x1404e61f0]
cmp dword [rax + reloc.mfc90u.dll_COleDocument::COleDocument], 0
je 0x14025f0e3
lea rax, [0x1404e61f0]
movsd xmm0, qword [rax + 0x2d0]
movsd qword [rsp + 0x130], xmm0
jmp 0x14025f0f4
movsd xmm0, qword [0x140402370]
movsd qword [rsp + 0x130], xmm0
movsd xmm0, qword [rsp + 0x130]
ucomisd xmm0, qword [0x140402370]
jp 0x14025f116
jne 0x14025f116
mov dword [rsp + 0x138], 5
jmp 0x14025f121
mov dword [rsp + 0x138], 1
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x30], eax
mov ecx, dword [rsp + 0x3c]
add ecx, 1
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x104], ecx
jle 0x14025f15a
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rax + 0x104]
mov dword [rsp + 0x13c], eax
jmp 0x14025f168
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x13c], eax
mov eax, dword [rsp + 0x13c]
mov dword [rsp + 0x84], eax
mov ecx, dword [rsp + 0x84]
mov eax, dword [rsp + 0x3c]
add eax, ecx
add eax, dword [rsp + 0x30]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov rax, qword [rsp + 0x158]
mov dword [rax], ecx
mov rcx, qword [rsp + 0x158]
mov eax, dword [rsp + 0x80]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x158]
add rsp, 0x148
ret