Function at 0x1402546f0
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 0x140254724
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 + 0x1e0]
mov qword [rsp + 0xd8], rax
movsxd rax, dword [rsp + 0x88]
cmp rax, qword [rsp + 0xd8]
jge 0x1402547fc
movsxd rax, dword [rsp + 0x88]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
add rax, 0x1d0
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xf0], 0
jl 0x1402547ba
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0xf0], rax
jge 0x1402547ba
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 0x1402547bf
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 + CFile::CFile]
jmp 0x140254713
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x74], 0
jne 0x140254818
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x70], 0
je 0x14025484e
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 0x140254f5c
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 0x140254879
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x78], 0
je 0x1402548af
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 0x140254f5c
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 + CAsyncSocket::Accept]
test eax, eax
je 0x14025492e
mov rcx, qword [rsp + 0x158]
mov rax, qword [rsp + 0x38]
mov qword [rcx], rax
mov rax, qword [rsp + 0x158]
jmp 0x140254f5c
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call fcn.140259e80
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 0x14025498c
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x3c], eax
jne 0x14025498c
mov dword [rsp + 0x118], 1
jmp 0x140254997
mov dword [rsp + 0x118], 0
cmp dword [rsp + 0x118], 0
jne 0x1402549b3
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x30], 0
je 0x140254d10
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x30], 0
je 0x140254a7e
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 0x140254a12
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0x3c], eax
jne 0x140254a12
mov dword [rsp + 0x11c], 0
jmp 0x140254a1d
mov dword [rsp + 0x11c], 1
cmp dword [rsp + 0x11c], 0
je 0x140254a7e
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 + 0x134], 5
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x130]
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 + 0x100], 0
jle 0x140254b69
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x130]
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
add ecx, dword [rax + 0x100]
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 0x140254b28
mov eax, dword [rsp + 0xc0]
cmp dword [rsp + 0x3c], eax
jne 0x140254b28
mov dword [rsp + 0x120], 0
jmp 0x140254b33
mov dword [rsp + 0x120], 1
cmp dword [rsp + 0x120], 0
je 0x140254b69
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x30], 0
je 0x140254b69
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x130]
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 + 0x104]
cmp dword [rsp + 0x24], eax
jle 0x140254b8a
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x124], eax
jmp 0x140254b9f
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rax + 0x104]
mov dword [rsp + 0x124], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x134]
mov eax, dword [rsp + 0x124]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x24], 0
jne 0x140254be4
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x134]
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 0x140254c8e
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 + 0x380]
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 + 0x124], 0
je 0x140254c8e
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0xc], 0xffffffff
je 0x140254c8e
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0xc], 0
je 0x140254c8e
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x100], 0
jle 0x140254c8e
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 + 0xcc]
mov dword [rsp + 0x100], eax
cmp dword [rsp + 0x100], 0
je 0x140254cda
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 0x140254cda
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 0x140254f5c
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 + 0x418]
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 + 0x3b8]
test eax, eax
je 0x140254d7e
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x130]
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 + 0x130]
mov eax, dword [rsp + 0x38]
lea ecx, [rax + rcx*2]
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rax + 0x108]
add eax, 5
cmp ecx, eax
jle 0x140254dc6
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov ecx, dword [rax + 0x130]
mov eax, dword [rsp + 0x38]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x128], eax
jmp 0x140254dde
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rax + 0x108]
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 + 0x3b8]
test eax, eax
je 0x140254e11
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 0x140254e3b
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 0x140254eb6
lea rax, [0x1404f79c0]
cmp dword [rax + reloc.mfc90u.dll_CPaintDC::CPaintDC], 0
je 0x140254e83
lea rax, [0x1404f79c0]
movsd xmm0, qword [rax + 0x2e0]
movsd qword [rsp + 0x130], xmm0
jmp 0x140254e94
movsd xmm0, qword [0x140417d88]
movsd qword [rsp + 0x130], xmm0
movsd xmm0, qword [rsp + 0x130]
ucomisd xmm0, qword [0x140417d88]
jp 0x140254eb6
jne 0x140254eb6
mov dword [rsp + 0x138], 5
jmp 0x140254ec1
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 + 0x10c], ecx
jle 0x140254efa
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rax + 0x10c]
mov dword [rsp + 0x13c], eax
jmp 0x140254f08
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