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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xd0]
call qword [rax + CHtmlView::CreateObject]
mov r11, qword [rsp + 0xd0]
mov dword [r11 + 0x134c], 0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x10d0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1401077d7
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x1401076e9
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x90]
add rax, 0x10
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
call fcn.1402afe20
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call sub.mfc90u.dll_CWnd::GetTopLevelFrame
test eax, eax
jne 0x1401077d2
call fcn.1402af550
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call sub.mfc90u.dll_CWnd::GetTopLevelFrame
test eax, eax
jne 0x1401077d2
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x24], 0
je 0x1401077d2
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x24], 0
je 0x1401077a9
mov rax, qword [rsp + 0x68]
cmp dword [rax + 8], 0
je 0x140107783
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x5c]
mov dword [rsp + 0xac], eax
jmp 0x140107792
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0xac], eax
cmp dword [rsp + 0xac], 0
jl 0x1401077a9
mov dword [rsp + 0xb0], 1
jmp 0x1401077b4
mov dword [rsp + 0xb0], 0
cmp dword [rsp + 0xb0], 0
je 0x1401077d2
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0x134c], 1
jmp 0x1401077d7
jmp 0x1401076c0
mov eax, dword [rsp + 0xe0]
and eax, 0x10
test eax, eax
jne 0x140107800
mov eax, dword [rsp + 0xe0]
and eax, 2
test eax, eax
je 0x140107800
mov dword [rsp + 0xb4], 0
jmp 0x14010780b
mov dword [rsp + 0xb4], 1
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xd0]
call qword [rax + 0x2b8]
test eax, eax
jne 0x140107844
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 0x260], 0
jne 0x140107876
mov r9d, dword [rsp + 0xe8]
mov r8d, dword [rsp + 0xe0]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140118c50
mov rax, qword [rsp + 0xd8]
jmp 0x140107a72
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x128], 0
je 0x1401078ac
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x128]
call fcn.1402a8930
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x1401078e1
mov rcx, qword [rsp + 0xd0]
call fcn.140008d90
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov r8d, dword [rsp + 0xe0]
and r8d, 2
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xd0]
call fcn.1401463c0
cmp dword [rsp + 0x48], 0
jne 0x1401079cf
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
sub eax, ecx
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, dword [rsp + 0xa0]
lea edx, [rax + rcx - 1]
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0xffffffff
xor r9d, r9d
mov r8d, 0x7fff
mov rcx, qword [rsp + 0xd0]
call fcn.1401197d0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xd0]
call qword [rax + 0x510]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
sub eax, ecx
mov dword [rsp + 0xa4], eax
mov ecx, dword [rsp + 0x50]
mov eax, dword [rsp + 0x58]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [rsp + 0xa4]
sub eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x5c]
sub ecx, eax
mov eax, dword [rsp + 0x44]
sub eax, ecx
mov dword [rsp + 0x44], eax
jmp 0x140107a41
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov r8d, 1
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xd0]
call qword [rax + 0x510]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov ecx, dword [rsp + 0x34]
mov eax, dword [rsp + 0x3c]
sub eax, ecx
mov dword [rsp + 0xa8], eax
mov ecx, dword [rsp + 0x54]
mov eax, dword [rsp + 0x5c]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [rsp + 0xa8]
sub eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, dword [rsp + 0x40]
sub eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xd0]
call qword [rax + 0x750]
mov r11, qword [rsp + 0xd8]
mov rax, qword [rsp + 0x40]
mov qword [r11], rax
mov rax, qword [rsp + 0xd8]
add rsp, 0xc8
ret