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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x228
mov rax, qword [rsp + 0x240]
mov dword [rax + 0x528], 0
mov rax, qword [rsp + 0x240]
mov dword [rax + 0xa4], 0
mov rax, qword [rsp + 0x240]
mov dword [rax + 0xa8], 0
mov rdx, qword [rsp + 0x250]
mov rax, qword [rsp + 0x250]
mov ecx, dword [rax + 4]
mov eax, dword [rdx + 0xc]
sub eax, ecx
mov dword [rsp + 0x124], eax
mov rdx, qword [rsp + 0x250]
mov rax, qword [rsp + 0x250]
mov ecx, dword [rax]
mov eax, dword [rdx + 8]
sub eax, ecx
mov dword [rsp + 0x120], eax
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x124]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x240]
cmp qword [rax + 0x28], 0
je 0x1402533dd
mov r8d, 1
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x240]
mov rcx, qword [rcx + 0x28]
call fcn.14024a260
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x24], 0
jmp 0x140253402
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x240]
mov rax, qword [rax + 0x548]
mov qword [rsp + 0x128], rax
movsxd rax, dword [rsp + 0x24]
cmp rax, qword [rsp + 0x128]
jge 0x14025378a
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x240]
add rax, 0x538
mov qword [rsp + 0x138], rax
cmp qword [rsp + 0x140], 0
jl 0x140253492
mov rax, qword [rsp + 0x138]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x140], rax
jge 0x140253492
mov rcx, qword [rsp + 0x138]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x140]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x130], rax
jmp 0x140253497
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x240]
mov eax, dword [rax + 0x520]
cmp dword [rsp + 0x24], eax
jne 0x1402534c3
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x58]
call qword [rax + CMDIFrameWnd::CMDIFrameWnd]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [rax + 0xa0]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x40]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov r8, qword [rsp + 0x248]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0xb0]
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0xa4], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x40], eax
jne 0x140253575
mov eax, dword [rsp + 0x9c]
cmp dword [rsp + 0x44], eax
jne 0x140253575
mov dword [rsp + 0x210], 1
jmp 0x140253580
mov dword [rsp + 0x210], 0
cmp dword [rsp + 0x210], 0
je 0x1402535fb
mov dword [rsp + 0xa8], 0
mov dword [rsp + 0xac], 0
mov dword [rsp + 0xb0], 0
mov dword [rsp + 0xb4], 0
lea rdi, [rsp + 0xe0]
lea rsi, [rsp + 0xa8]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movaps xmm0, xmmword [rsp + 0xe0]
movdqa xmmword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile], xmm0
mov rdi, qword [rsp + 0x58]
lea rsi, [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
add rdi, 0x34
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x1402533f7
mov rcx, qword [rsp + 0x250]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x140253653
mov rdx, qword [rsp + 0x250]
mov rax, qword [rsp + 0x250]
mov ecx, dword [rax]
mov eax, dword [rdx + 8]
sub eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x240]
cmp dword [rax + 0x4c4], 0
je 0x140253653
lea rcx, [rsp + 0xb8]
call fcn.14011d120
mov rcx, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rcx + 0xc0], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x250]
mov eax, dword [rax + 4]
add eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x240]
add eax, dword [rcx + 0xa8]
mov dword [rsp + reloc.mfc90u.dll_CBrush::CBrush], eax
mov rax, qword [rsp + 0x250]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x240]
add eax, dword [rcx + 0xa4]
mov dword [rsp + 0x148], eax
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + reloc.mfc90u.dll_CBrush::CBrush]
mov dword [rsp + 0xd4], eax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0xc0]
mov eax, dword [rsp + 0xc8]
add eax, ecx
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0x4c], eax
mov ecx, dword [rsp + 0xc4]
mov eax, dword [rsp + 0xcc]
add eax, ecx
mov dword [rsp + 0x54], eax
lea rdi, [rsp + 0xf0]
lea rsi, [rsp + 0x48]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movaps xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x1f0], xmm0
mov rdi, qword [rsp + 0x58]
lea rsi, [rsp + 0x1f0]
add rdi, 0x34
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x3c], eax
jle 0x140253761
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x214], eax
jmp 0x14025376c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x214], eax
mov eax, dword [rsp + 0x214]
mov dword [rsp + 0x3c], eax
mov ecx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x1402533f7
mov dword [rsp + 0x24], 0
jmp 0x14025379f
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x240]
mov rax, qword [rax + 0x548]
mov qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], rax
movsxd rax, dword [rsp + 0x24]
cmp rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
jge 0x140253900
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x240]
add rax, 0x538
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x168], 0
jl 0x14025382f
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x168], rax
jge 0x14025382f
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x168]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x158], rax
jmp 0x140253834
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x158]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
lea rdi, [rsp + 0x1e0]
mov rsi, qword [rsp + 0x70]
add rsi, 0x34
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x60]
lea rsi, [rsp + 0x1e0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x38], 0
jle 0x1402538d8
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1402538d8
mov r8d, dword [rsp + 0x38]
neg r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_OffsetRect]
lea rdi, [rsp + 0x100]
lea rsi, [rsp + 0x60]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movaps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x1d0], xmm0
mov rdi, qword [rsp + 0x70]
lea rsi, [rsp + 0x1d0]
add rdi, 0x34
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x250]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x6c], eax
jle 0x1402538fb
mov rax, qword [rsp + 0x240]
mov dword [rax + 0x528], 1
jmp 0x140253794
mov rax, qword [rsp + 0x240]
cmp dword [rax + 0x4c4], 0
je 0x140253958
call fcn.140001270
mov qword [rsp + 0x218], rax
lea rcx, [rsp + 0xd8]
call fcn.14011d120
mov rdi, rax
mov rax, qword [rsp + 0x218]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x218]
call qword [rax + reloc.mfc90u.dll_CThemeHelper::DrawThemeBackgroundFail]
mov edx, eax
mov eax, dword [rdi]
lea ecx, [rax + rdx*2]
mov eax, dword [rsp + 0x3c]
add eax, ecx
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x240]
mov eax, dword [rsp + 0x3c]
mov dword [rcx + 0x9c], eax
mov rcx, qword [rsp + 0x250]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x140253b34
mov dword [rsp + 0x24], 0
jmp 0x140253995
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x240]
mov rax, qword [rax + 0x548]
mov qword [rsp + 0x180], rax
movsxd rax, dword [rsp + 0x24]
cmp rax, qword [rsp + 0x180]
jge 0x140253b34
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x240]
add rax, 0x538
mov qword [rsp + 0x190], rax
cmp qword [rsp + 0x198], 0
jl 0x140253a25
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x198], rax
jge 0x140253a25
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x198]
lea rax, [rcx + rax*8]
mov qword [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary], rax
jmp 0x140253a2a
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
lea rdi, [rsp + 0x1c0]
mov rsi, qword [rsp + 0x88]
add rsi, 0x34
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x78]
lea rsi, [rsp + 0x1c0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x140253b0e
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x78]
add eax, ecx
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x28], 0
jle 0x140253ace
call fcn.140264e40
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call sub.mfc90u.dll_CWnd::GetTopLevelFrame
test eax, eax
je 0x140253ace
mov rax, qword [rsp + 0x240]
mov eax, dword [rax + 0xa4]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, dword [rsp + 0x78]
add eax, ecx
mov dword [rsp + 0x78], eax
lea rdi, [rsp + 0x110]
lea rsi, [rsp + 0x78]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movaps xmm0, xmmword [rsp + 0x110]
movdqa xmmword [rsp + 0x1b0], xmm0
mov rdi, qword [rsp + 0x88]
lea rsi, [rsp + 0x1b0]
add rdi, 0x34
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x88]
call qword [rax + pe_nt_image_headers64]
jmp 0x14025398a
lea rdi, [rsp + 0x1a0]
mov rsi, qword [rsp + 0x250]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rsp + 0x240]
lea rsi, [rsp + 0x1a0]
add rdi, 0x10
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x240]
mov ecx, dword [rax + 0x14]
add ecx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x240]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x240]
mov ecx, dword [rax + 0x10]
mov rax, qword [rsp + 0x240]
add ecx, dword [rax + 0x9c]
mov rax, qword [rsp + 0x240]
mov dword [rax + 0x18], ecx
add rsp, 0x228
pop rdi
pop rsi
ret