Function at 0x1400cb970
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x2040
call fcn.1400ff8d0
sub rsp, rax
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x2030], rax
mov rbx, rdx
mov rbp, qword [0x14017ac68]
xor edx, edx
mov r8d, 0x2000
lea rcx, [rsp + 0x30]
call fcn.14012ce40
cmp qword [0x14017bea8], 0
je 0x1400cbc21
test rbx, rbx
je 0x1400cbc21
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1400cbc21
cmp word [rsp + 0x30], 0
je 0x1400cbc21
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14003f460
nop
lea rcx, [rsp + 0x20]
call fcn.140005430
mov rdx, qword [rsp + 0x20]
cmp dword [rdx - 0x10], 0
je 0x1400cbbb6
test rdx, rdx
je 0x1400cbc91
mov rcx, qword [0x14017bed8]
call fcn.1401103e4
mov rsi, 0xffffffffffffffff
test eax, eax
je 0x1400cbb71
lea rdx, [rsp + 0x20]
lea rcx, [0x14017bed8]
call fcn.14003f3d0
lea rcx, [0x14017bed8]
call fcn.14003ec10
mov rcx, qword [0x14017bea8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1400cbb46
movsxd rcx, dword [0x14017be98]
mov eax, 4
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400ff0c4
mov rdi, rax
movsxd rcx, dword [0x14017be98]
mov eax, 4
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400ff0c4
mov rbx, rax
movsxd r8, dword [0x14017be98]
mov r9, rdi
mov edx, 0x103b
mov rcx, qword [0x14017bea0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x14017be98]
lea r9d, [rdx*4]
mov r8, rbx
mov rcx, qword [0x14017bea0]
call fcn.14007e010
movsxd r8, dword [0x14017be98]
mov r9, rdi
mov edx, 0x103a
mov rcx, qword [0x14017bea8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x14017be98]
lea r9d, [rdx*4]
mov r8, rbx
mov rcx, qword [0x14017bea8]
call fcn.14007e090
lea edx, [rsi + 5]
mov rcx, rdi
call fcn.1400ff054
lea edx, [rsi + 5]
mov rcx, rbx
call fcn.1400ff054
mov edx, 5
mov rcx, qword [0x14017bea8]
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov rcx, qword [0x14017bea0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov r9, rbp
call fcn.1400cb4e0
jmp 0x1400cbb93
mov edx, 5
mov rcx, qword [0x14017bea8]
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov rcx, qword [0x14017bea0]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400cbbaf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
jmp 0x1400cbc68
lea rcx, [0x14017bed8]
call fcn.1400056e0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
mov rcx, qword [0x14017bea8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, qword [0x14017bea8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 5
mov rcx, qword [0x14017bea0]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov rsi, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400cbc66
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400cbc66
lea rcx, [0x14017bed8]
call fcn.1400056e0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
mov rcx, qword [0x14017bea8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, qword [0x14017bea8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 5
mov rcx, qword [0x14017bea0]
call qword [sym.imp.USER32.dll_ShowWindow]
xor al, al
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.1400ff350
lea r11, [rsp + 0x2040]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.140002b00
int3