Function at 0x1400141e0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x798]
sub rsp, 0x870
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140267b40]
xor rax, rsp
mov qword [rbp + 0x760], rax
xor r12d, r12d
mov ebx, r12d
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetCursorPos]
cmp eax, 1
jne 0x14001424b
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov rbx, rax
mov qword [0x140279fe8], rax
mov rcx, rbx
call qword [0x140279638]
mov dword [0x140279c54], r12d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x40], rax
mov dword [0x140279ff4], r12d
mov dword [0x140279ff0], r12d
mov dword [0x140279fe4], r12d
cmp dword [0x140279ff8], 1
jne 0x140014a4f
call fcn.140023c3c
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400142a8
mov ecx, 0x80004005
call fcn.140019e30
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
call fcn.140023c3c
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400142da
mov ecx, 0x80004005
call fcn.140019e30
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x20], rdi
mov r8d, 0x100
lea rdx, [rbp + 0x360]
mov rcx, qword [0x140279fe8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov rcx, qword [0x140279fe8]
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rax, [rbp + 0x360]
or r15, 0xffffffffffffffff
mov rsi, r15
nop dword [rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140014330
mov r14d, 1
test esi, esi
jne 0x1400143a5
lea rdx, [rdi - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14001442a
cmp dword [rdx + 0x10], 0
jge 0x140014379
cmp dword [rdi - 0xc], 0
jge 0x14001436c
mov ecx, 0x80070057
call fcn.140019e30
int3
mov dword [rdi - 0x10], r12d
mov word [rdi], r12w
jmp 0x14001442a
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014389
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x20], rdi
mov rbx, qword [rsp + 0x28]
jmp 0x14001442a
mov r13d, dword [rdi - 0x10]
lea r12, [rbp + 0x360]
sub r12, rdi
sar r12, 1
test esi, esi
jns 0x1400143c5
mov ecx, 0x80070057
call fcn.140019e30
int3
mov ecx, r14d
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, esi
or eax, ecx
jge 0x1400143e5
mov edx, esi
lea rcx, [rsp + 0x20]
call fcn.140019dd0
mov rdi, qword [rsp + 0x20]
movsxd rax, esi
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
add rdx, rdx
cmp r12, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x140014409
lea r8, [rdi + r12*2]
call fcn.14019a16c
jmp 0x140014415
lea r8, [rbp + 0x360]
call fcn.14019a0e4
cmp esi, dword [rdi - 0xc]
jg 0x140014a3f
mov dword [rdi - 0x10], esi
xor r12d, r12d
mov word [r13 + rdi], r12w
lea rax, [rsp + 0x60]
mov rsi, r15
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140014432
test esi, esi
jne 0x1400144a1
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140014522
cmp dword [rdx + 0x10], 0
jge 0x140014475
cmp dword [rbx - 0xc], 0
jge 0x140014468
mov ecx, 0x80070057
call fcn.140019e30
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x140014522
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014485
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
mov rdi, qword [rsp + 0x20]
jmp 0x140014522
mov r13d, dword [rbx - 0x10]
lea r12, [rsp + 0x60]
sub r12, rbx
sar r12, 1
test esi, esi
jns 0x1400144bf
mov ecx, 0x80070057
call fcn.140019e30
int3
mov ecx, r14d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x1400144df
mov edx, esi
lea rcx, [rsp + 0x28]
call fcn.140019dd0
mov rbx, qword [rsp + 0x28]
movsxd rax, esi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x140014503
lea r8, [rbx + r12*2]
call fcn.14019a16c
jmp 0x14001450d
lea r8, [rsp + 0x60]
call fcn.14019a0e4
cmp esi, dword [rbx - 0xc]
jg 0x140014a34
mov dword [rbx - 0x10], esi
xor r12d, r12d
mov word [r13 + rbx], r12w
cmp dword [rbx - 0x10], 0
jl 0x1400149ef
lea rdx, str.Internet_Explorer_Server
mov rcx, rbx
call fcn.14019aaf8
test rax, rax
je 0x14001455d
sub rax, rbx
sar rax, 1
test eax, eax
js 0x14001455d
mov dword [0x140279ff4], r14d
mov dword [0x140279ff0], r14d
jmp 0x1400149fd
cmp dword [rbx - 0x10], 0
jl 0x1400149ef
lea rdx, str.Chrome_RenderWidgetHostHWND
mov rcx, rbx
call fcn.14019aaf8
test rax, rax
je 0x140014589
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x1400149ef
cmp dword [rbx - 0x10], 0
jl 0x1400149ef
lea rdx, str.WebKit2WebViewWindowClass
mov rcx, rbx
call fcn.14019aaf8
test rax, rax
je 0x1400145b5
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x1400149ef
cmp dword [rbx - 0x10], 0
jl 0x1400149ef
lea rdx, str.Photos_PhotoCanvas
mov rcx, rbx
call fcn.14019aaf8
test rax, rax
je 0x1400145f7
sub rax, rbx
sar rax, 1
test eax, eax
js 0x1400145f7
mov dword [0x140279ff4], r12d
mov dword [0x140279ff0], r14d
mov dword [0x140279fe4], r14d
jmp 0x140014a04
cmp dword [rbx - 0x10], 0
jl 0x1400149ef
lea rdx, str.UIHubMouseHiderWindowClass
mov rcx, rbx
call fcn.14019aaf8
test rax, rax
je 0x140014639
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140014639
mov dword [0x140279ff4], r14d
mov dword [0x140279ff0], r14d
mov dword [0x140279fe4], r14d
jmp 0x140014a04
cmp dword [rbx - 0x10], 0
jl 0x1400149ef
lea rdx, str.MacromediaFlashPlayerActiveX
mov rcx, rbx
call fcn.14019aaf8
test rax, rax
je 0x14001466d
sub rax, rbx
sar rax, 1
test eax, eax
js 0x14001466d
mov dword [0x140279ff0], r14d
jmp 0x1400149f6
cmp dword [rbx - 0x10], 0
jl 0x1400149ef
lea rdx, str._WwG
mov rcx, rbx
call fcn.14019aaf8
test rax, rax
je 0x1400149ab
sub rax, rbx
sar rax, 1
test eax, eax
js 0x1400149ab
call fcn.140023c3c
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400146bd
mov ecx, 0x80004005
call fcn.140019e30
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
call fcn.140023c3c
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400146ef
mov ecx, 0x80004005
call fcn.140019e30
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x38], rdi
mov r8d, 0x100
lea rdx, [rbp + 0x160]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetClassNameW]
mov r8d, 0x100
lea rdx, [rbp + 0x560]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rax, [rbp + 0x160]
mov rsi, r15
nop dword [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140014740
test esi, esi
jne 0x1400147af
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140014834
cmp dword [rdx + 0x10], 0
jge 0x140014783
cmp dword [rbx - 0xc], 0
jge 0x140014776
mov ecx, 0x80070057
call fcn.140019e30
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x140014834
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014793
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
mov rdi, qword [rsp + 0x38]
jmp 0x140014834
mov r13d, dword [rbx - 0x10]
lea r12, [rbp + 0x160]
sub r12, rbx
sar r12, 1
test esi, esi
jns 0x1400147cf
mov ecx, 0x80070057
call fcn.140019e30
int3
mov ecx, r14d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x1400147ef
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140019dd0
mov rbx, qword [rsp + 0x30]
movsxd rax, esi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x140014813
lea r8, [rbx + r12*2]
call fcn.14019a16c
jmp 0x14001481f
lea r8, [rbp + 0x160]
call fcn.14019a0e4
cmp esi, dword [rbx - 0xc]
jg 0x1400149a0
mov dword [rbx - 0x10], esi
xor r12d, r12d
mov word [r13 + rbx], r12w
lea rax, [rbp + 0x560]
mov rsi, r15
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140014840
test esi, esi
jne 0x1400148ac
lea rdx, [rdi - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14001492b
cmp dword [rdx + 0x10], 0
jge 0x140014883
cmp dword [rdi - 0xc], 0
jge 0x140014876
mov ecx, 0x80070057
call fcn.140019e30
int3
mov dword [rdi - 0x10], r12d
mov word [rdi], r12w
jmp 0x14001492b
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014893
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x38], rdi
mov rbx, qword [rsp + 0x30]
jmp 0x14001492b
mov r13d, dword [rdi - 0x10]
lea r12, [rbp + 0x560]
sub r12, rdi
sar r12, 1
test esi, esi
jns 0x1400148cc
mov ecx, 0x80070057
call fcn.140019e30
int3
sub r14d, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, esi
or eax, r14d
jge 0x1400148eb
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.140019dd0
mov rdi, qword [rsp + 0x38]
movsxd rax, esi
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
lea r14, [rax + rax]
add rdx, rdx
mov r9, r14
cmp r12, r13
ja 0x14001490f
lea r8, [rdi + r12*2]
call fcn.14019a16c
jmp 0x14001491b
lea r8, [rbp + 0x560]
call fcn.14019a0e4
cmp esi, dword [rdi - 0xc]
jg 0x140014995
mov dword [rdi - 0x10], esi
xor r12d, r12d
mov word [r14 + rdi], r12w
cmp dword [rbx - 0x10], 0
jl 0x14001494b
lea rdx, str.rctrl_renwnd32
mov rcx, rbx
call fcn.14019aaf8
test rax, rax
je 0x14001494b
sub rax, rbx
sar rax, 1
mov dword [0x140279fe4], r12d
mov dword [0x140279ff0], r12d
mov dword [0x140279ff4], r12d
lea rdx, [rdi - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014975
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001498e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x20]
jmp 0x140014a04
mov ecx, 0x80070057
call fcn.140019e30
int3
mov ecx, 0x80070057
call fcn.140019e30
nop
cmp dword [rbx - 0x10], 0
jl 0x1400149ef
lea rdx, str.EXCEL7
mov rcx, rbx
call fcn.14019aaf8
test rax, rax
je 0x1400149cf
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x1400149ef
cmp dword [rbx - 0x10], 0
jl 0x1400149ef
lea rdx, str.paneClassDC
mov rcx, rbx
call fcn.14019aaf8
test rax, rax
je 0x1400149ef
sub rax, rbx
sar rax, 1
mov dword [0x140279ff0], r12d
mov dword [0x140279ff4], r12d
mov dword [0x140279fe4], r12d
lea rdx, [rdi - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014a19
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014a4a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140014a4a
mov ecx, 0x80070057
call fcn.140019e30
int3
mov ecx, 0x80070057
call fcn.140019e30
nop
mov rax, qword [rsp + 0x40]
mov qword [0x140279c58], rax
mov edx, dword [0x140269428]
mov rcx, rax
call qword [0x140279328]
mov dword [0x140279c54], eax
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.140199f00
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret