Function at 0x1400be960
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [r11 - 0x118]
sub rsp, 0x1f0
mov rax, qword [0x140278ec8]
xor rax, rsp
mov qword [rbp + 0xd8], rax
xor r12d, r12d
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x68], r12d
mov r13, r8
mov rdi, rdx
mov r15, rcx
cmp qword [rcx + 0x158], r12
je 0x1400bed1e
cmp byte [rcx + 0x2c], r12b
je 0x1400bed1e
mov rcx, qword [r8]
mov qword [r11 + 0x20], rbx
mov qword [r11 - 0x30], rsi
mov qword [r11 - 0x38], r14
mov rax, qword [rcx]
call qword [rax + 0x58]
mov r8, qword [r13]
test al, al
je 0x1400bea20
mov rax, qword [r8]
lea rdx, [rsp + 0x68]
mov rcx, r8
call qword [rax]
lea rsi, [r15 + 0x30]
mov rcx, qword [rax]
mov rax, qword [rcx]
call qword [rax + 0x20]
lea r8d, [r12 + 0x32]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400bea62
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400bea62
mov qword [rsp + 0x68], r8
test r8, r8
je 0x1400bea3e
mov rax, qword [r8 + 8]
add r8, 8
movsxd rcx, dword [rax + 4]
add rcx, r8
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [r15 + 0x20]
lea rdx, [rsp + 0x68]
lea rsi, [r15 + 0x30]
call fcn.14005cb50
mov rcx, rax
mov r8d, 0x32
mov rdx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [r15 + 8]
lea rdx, [rbp + 0xb8]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov rcx, r15
call fcn.1400bccd0
mov rdx, qword [r15 + 0x1c8]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
lea r9, [rbp + 0xa8]
mov qword [rsp + 0x28], r12
mov r8d, 0xffffffff
mov dword [rsp + 0x20], 0x400
mov rdx, rsi
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.USER32.dll_DrawTextExW]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, qword [r15 + 0x158]
lea rdx, [rsp + 0x60]
mov eax, dword [rbp + 0xc0]
sub eax, dword [rbp + 0xb8]
mov dword [rsp + 0x68], eax
mov rcx, qword [rbx + 8]
mov dword [rsp + 0x60], r12d
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x1400beafe
mov dword [rbx + 0x10], eax
mov edx, dword [r15 + 0x10]
mov r8d, 0x60
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [r15 + 0x10]
mov r8d, 0x60
mov ebx, eax
lea ecx, [r8 - 0x56]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, dword [rbp + 0xb0]
mov rcx, r15
sub edi, dword [rbp + 0xa8]
mov esi, eax
mov eax, dword [rsp + 0x68]
mov r14d, dword [rbp + 0xb4]
sub eax, edi
sub r14d, dword [rbp + 0xac]
sub eax, esi
mov r9, qword [r15 + 0x158]
sub eax, ebx
mov rbx, qword [rsp + 0x70]
cdq
sub eax, edx
mov r8, rbx
sar eax, 1
test r9, r9
mov dword [r15 + 0x16c], eax
lea rax, [0x1400b8730]
setne dl
mov qword [rsp + 0x20], rax
call fcn.1400bb1e0
mov rax, qword [r15]
lea rdx, [rbp + 0xc8]
mov rcx, r15
call qword [rax + reloc.OLEAUT32.dll_SetErrorInfo]
lea rcx, [rbp + 0x98]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov edx, dword [rbp + 0xcc]
lea r8, [r15 + 0x30]
mov ecx, dword [rbp + 0xd0]
add ecx, esi
mov dword [rbp + 0x9c], edx
mov dword [rbp + 0x98], ecx
lea eax, [rcx + rdi]
mov rcx, r15
mov dword [rbp + 0xa0], eax
lea eax, [rdx + r14]
mov rdx, rbx
mov dword [rbp + 0xa4], eax
call fcn.1400b9b30
mov r14, rax
test rax, rax
je 0x1400bec86
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, rax
mov rdx, r14
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rsi, rax
test rax, rax
je 0x1400bec86
lea r8, [rsp + 0x78]
mov edx, 0x20
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r9d, dword [rsp + 0x7c]
mov r8d, dword [rbp + 0x9c]
mov edx, dword [rbp + 0x98]
mov dword [rsp + 0x60], 0x1730000
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x50], ecx
mov ecx, dword [rbp - 0x80]
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call qword [sym.imp.MSIMG32.dll_AlphaBlend]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov r8, qword [r13]
mov r14, qword [rsp + 0x1e0]
mov rsi, qword [rsp + 0x1e8]
mov rbx, qword [rsp + 0x238]
mov qword [rsp + 0x70], r8
test r8, r8
je 0x1400becc0
mov rax, qword [r8 + 8]
lea rcx, [r8 + 8]
movsxd rdx, dword [rax + 4]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax]
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.1400bd690
test eax, eax
jne 0x1400bed18
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x1400bed09
xor r9d, r9d
lea rdx, str.D:uworkspace03_27cefwinauto_srccbwcef_dark_window.cpp
mov r8d, 0x420
lea rcx, [rbp - 0x68]
call fcn.1400c7000
lea rdx, str.Cannot_create_tooltip_for_lock_icon.
lea rcx, [rax + 8]
call fcn.1400025c0
mov r12d, 1
test r12b, 1
je 0x1400bed18
lea rcx, [rbp - 0x68]
call fcn.1400c7360
mov rdx, qword [r13]
jmp 0x1400bed21
mov rdx, qword [r8]
test rdx, rdx
je 0x1400bed3b
mov rax, qword [rdx + 8]
add rdx, 8
movsxd rcx, dword [rax + 4]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0xd8]
xor rcx, rsp
call fcn.140157ae0
add rsp, 0x1f0
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret