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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
cmp qword [rsp + 0xe0], 0
je 0x1400e1149
mov rax, qword [rsp + 0xe0]
cmp dword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], 0
je 0x1400e1125
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x100], 0
jne 0x1400e1125
mov dword [rsp + 0x98], 1
jmp 0x1400e1130
mov dword [rsp + 0x98], 0
cmp dword [rsp + 0x98], 0
je 0x1400e1149
mov eax, dword [0x1404e6218]
mov dword [rsp + 0x9c], eax
jmp 0x1400e1156
mov eax, dword [0x1404e624c]
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0xe0], 0
je 0x1400e11bf
mov rax, qword [rsp + 0xe0]
cmp dword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], 0
je 0x1400e119b
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x100], 0
jne 0x1400e119b
mov dword [rsp + 0xa0], 1
jmp 0x1400e11a6
mov dword [rsp + 0xa0], 0
cmp dword [rsp + 0xa0], 0
je 0x1400e11bf
mov eax, dword [0x1404e6214]
mov dword [rsp + 0xa4], eax
jmp 0x1400e11cc
mov eax, dword [0x1404e6248]
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xe8]
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x34], 3
cmp dword [rsp + 0x2c], 0
je 0x1400e1205
mov dword [rsp + 0xa8], 0
jmp 0x1400e1210
mov dword [rsp + 0xa8], 1
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x2c], 0
je 0x1400e122f
mov dword [rsp + 0xac], 1
jmp 0x1400e123a
mov dword [rsp + 0xac], 2
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0xd8], 0
je 0x1400e13e9
cmp dword [rsp + 0x2c], 0
je 0x1400e1264
mov dword [rsp + 0x70], 3
jmp 0x1400e126c
mov dword [rsp + 0x70], 2
mov r8d, dword [rsp + 0x70]
neg r8d
xor edx, edx
neg edx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.USER32.dll_InflateRect]
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0xd0]
add eax, dword [rcx + 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax]
mov rcx, qword [rsp + 0xd0]
add eax, dword [rcx + 8]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x24]
add r8d, eax
mov eax, dword [rsp + 0x28]
imul eax, eax, 3
mov ecx, dword [rsp + 0x28]
sub ecx, 1
imul ecx, dword [rsp + 0x24]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, r8d
sub ecx, eax
mov rax, qword [rsp + 0xd0]
mov dword [rax], ecx
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax]
add ecx, 3
mov rax, qword [rsp + 0xd0]
mov dword [rax + 8], ecx
mov dword [rsp + 0x38], 0
jmp 0x1400e1335
mov eax, dword [rsp + 0x38]
add eax, 1
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x38], eax
jge 0x1400e13e4
mov r9d, dword [rsp + 0x20]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc8]
call sub.mfc90u.dll_CWinApp::DelRegTree
cmp dword [rsp + 0x2c], 0
jne 0x1400e13c9
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0xc]
sub eax, 1
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov r9d, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.GDI32.dll_SetPixel]
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.USER32.dll_OffsetRect]
jmp 0x1400e132a
jmp 0x1400e15ac
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax + 4]
add ecx, dword [rsp + 0x24]
mov rax, qword [rsp + 0xd0]
mov dword [rax + 4], ecx
cmp dword [rsp + 0x2c], 0
je 0x1400e1417
mov dword [rsp + 0x84], 3
jmp 0x1400e1422
mov dword [rsp + 0x84], 2
xor r8d, r8d
neg r8d
mov edx, dword [rsp + 0x84]
neg edx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.USER32.dll_InflateRect]
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0xd0]
add eax, dword [rcx + 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax]
mov rcx, qword [rsp + 0xd0]
add eax, dword [rcx + 8]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x24]
add r8d, eax
mov ecx, dword [rsp + 0x28]
imul ecx, ecx, 3
mov eax, dword [rsp + 0x28]
lea eax, [rcx + rax - 1]
cdq
sub eax, edx
sar eax, 1
mov ecx, r8d
sub ecx, eax
mov rax, qword [rsp + 0xd0]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax + 4]
add ecx, 3
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xc], ecx
mov dword [rsp + 0x3c], 0
jmp 0x1400e14f6
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x3c], eax
jge 0x1400e15ac
mov r9d, dword [rsp + 0x20]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc8]
call sub.mfc90u.dll_CWinApp::DelRegTree
cmp dword [rsp + 0x2c], 0
jne 0x1400e1591
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 4]
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 8]
sub eax, 1
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r9d, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x64]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.GDI32.dll_SetPixel]
mov r8d, 4
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.USER32.dll_OffsetRect]
jmp 0x1400e14eb
add rsp, 0xb8
ret