Function at 0x1400da314
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140252530]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rcx
mov eax, dword [rcx + 0x124]
xor edi, edi
lea r14d, [rdi + 1]
cmp eax, edi
jle 0x1400da3c1
mov r12d, edi
cmp eax, edi
jle 0x1400da3c1
mov rcx, qword [rsi + 0x1b8]
dec ecx
movsxd rbx, ecx
cmp rbx, rdi
jl 0x1400da3bb
cmp rbx, qword [rsi + 0x1b8]
jge 0x1400da3bb
mov rax, qword [rsi + 0x1b0]
mov rcx, qword [rax + rbx*8]
cmp rcx, rdi
je 0x1400da39b
mov rax, qword [rcx]
mov edx, r14d
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8, r14
mov rdx, rbx
lea rcx, [rsi + 0x1a8]
call fcn.1400d45e4
add r12d, r14d
cmp r12d, dword [rsi + 0x124]
jl 0x1400da368
jmp 0x1400da3c1
call fcn.14001505c
int3
mov dword [rsi + 0x124], edi
mov rcx, rsi
call fcn.140111a80
cmp rax, rdi
je 0x1400da63d
mov rcx, rax
call fcn.14001d3c4
mov rdx, rax
lea rcx, str.CMDIFrameWndEx
call fcn.14005a7e4
mov r12, rax
cmp rax, rdi
je 0x1400da63d
mov edx, 5
mov rcx, qword [rax + 0x190]
call qword [sym.imp.USER32.dll_GetWindow]
mov rbp, rax
mov r13d, edi
or r15d, 0xffffffff
cmp rax, rdi
je 0x1400da5c4
cmp r13d, 9
jge 0x1400da5c4
mov rcx, rbp
call fcn.14001bcf4
mov rdx, rax
lea rcx, str.CMDIChildWndEx
call fcn.14005a7e4
mov rcx, rax
cmp rax, rdi
jne 0x1400da45f
mov edx, 2
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindow]
mov rbp, rax
jmp 0x1400da5ab
mov rax, qword [rax]
call qword [rax + 0x368]
cmp eax, edi
jne 0x1400da482
mov edx, 2
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindow]
mov rbp, rax
jmp 0x1400da5ab
cmp r13d, edi
jne 0x1400da4c7
mov ecx, 0xe8
call fcn.14000989c
mov qword [rsp + 0x30], rax
cmp rax, rdi
je 0x1400da4a8
mov edx, r14d
mov rcx, rax
call fcn.140112a70
jmp 0x1400da4ab
mov rax, rdi
mov dword [rax + 0xc8], r14d
mov r8d, r15d
mov rdx, rax
mov rcx, rsi
call fcn.1400d9464
mov dword [rsi + 0x124], r14d
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.140013fa4
mov ecx, edi
cmp rax, rdi
setne cl
cmp ecx, edi
je 0x1400da5b9
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea r8d, [r13 + 1]
lea r9, [rsp + 0x50]
lea rdx, str._d__s
lea rcx, [rsp + 0x30]
call fcn.140008750
mov ecx, 0x1d0
call fcn.14000989c
mov qword [rsp + 0x38], rax
mov rbx, qword [rsp + 0x30]
cmp rax, rdi
je 0x1400da556
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r15d
mov r9d, r15d
mov r8, rbx
mov edx, 0xff00
mov rcx, rax
call fcn.1400da234
mov rdx, rax
jmp 0x1400da559
mov rdx, rdi
mov qword [rdx + 0x78], rbp
mov dword [rdx + 0xc8], r14d
mov rax, qword [rsi + 0x40]
mov qword [rdx + 0x40], rax
mov r8d, r15d
mov rcx, rsi
call fcn.1400d9464
mov edx, 2
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindow]
mov rbp, rax
add dword [rsi + 0x124], r14d
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
cmp eax, edi
jg 0x1400da5ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r13d, r14d
cmp rbp, rdi
jne 0x1400da420
jmp 0x1400da5c4
mov ecx, 0x80004005
call fcn.140001f40
int3
cmp dword [r12 + 0x1a8], edi
je 0x1400da63d
cmp r13d, 9
je 0x1400da5de
cmp dword [r12 + 0x1b8], edi
je 0x1400da63d
mov ecx, 0x1d0
call fcn.14000989c
mov qword [rsp + 0x38], rax
cmp rax, rdi
je 0x1400da619
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r15d
mov r9d, r15d
mov r8, qword [r12 + 0x198]
mov edx, dword [r12 + 0x1a8]
mov rcx, rax
call fcn.1400da234
mov rdi, rax
mov dword [rdi + 0xc8], r14d
mov rax, qword [rsi + 0x40]
mov qword [rdi + 0x40], rax
mov r8d, r15d
mov rdx, rdi
mov rcx, rsi
call fcn.1400d9464
add dword [rsi + 0x124], r14d
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140184e60
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret