Function at 0x1400d9d9c
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 [0x140253530]
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 0x1400d9e49
mov r12d, edi
cmp eax, edi
jle 0x1400d9e49
mov rcx, qword [rsi + 0x1b8]
dec ecx
movsxd rbx, ecx
cmp rbx, rdi
jl 0x1400d9e43
cmp rbx, qword [rsi + 0x1b8]
jge 0x1400d9e43
mov rax, qword [rsi + 0x1b0]
mov rcx, qword [rax + rbx*8]
cmp rcx, rdi
je 0x1400d9e23
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.1400d3dc0
add r12d, r14d
cmp r12d, dword [rsi + 0x124]
jl 0x1400d9df0
jmp 0x1400d9e49
call fcn.14001501c
int3
mov dword [rsi + 0x124], edi
mov rcx, rsi
call fcn.140111928
cmp rax, rdi
je 0x1400da0c5
mov rcx, rax
call fcn.14001d3c8
mov rdx, rax
lea rcx, str.CMDIFrameWndEx
call fcn.14005a468
mov r12, rax
cmp rax, rdi
je 0x1400da0c5
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 0x1400da04c
cmp r13d, 9
jge 0x1400da04c
mov rcx, rbp
call fcn.14001bcf8
mov rdx, rax
lea rcx, str.CMDIChildWndEx
call fcn.14005a468
mov rcx, rax
cmp rax, rdi
jne 0x1400d9ee7
mov edx, 2
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindow]
mov rbp, rax
jmp 0x1400da033
mov rax, qword [rax]
call qword [rax + 0x368]
cmp eax, edi
jne 0x1400d9f0a
mov edx, 2
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindow]
mov rbp, rax
jmp 0x1400da033
cmp r13d, edi
jne 0x1400d9f4f
mov ecx, 0xe8
call fcn.1400097cc
mov qword [rsp + 0x30], rax
cmp rax, rdi
je 0x1400d9f30
mov edx, r14d
mov rcx, rax
call fcn.140112960
jmp 0x1400d9f33
mov rax, rdi
mov dword [rax + 0xc8], r14d
mov r8d, r15d
mov rdx, rax
mov rcx, rsi
call fcn.1400d8ebc
mov dword [rsi + 0x124], r14d
mov r8d, 0x100
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.140013f60
mov ecx, edi
cmp rax, rdi
setne cl
cmp ecx, edi
je 0x1400da041
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.140008680
mov ecx, 0x1d0
call fcn.1400097cc
mov qword [rsp + 0x38], rax
mov rbx, qword [rsp + 0x30]
cmp rax, rdi
je 0x1400d9fde
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r15d
mov r9d, r15d
mov r8, rbx
mov edx, 0xff00
mov rcx, rax
call fcn.1400d9cbc
mov rdx, rax
jmp 0x1400d9fe1
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.1400d8ebc
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 0x1400da033
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r13d, r14d
cmp rbp, rdi
jne 0x1400d9ea8
jmp 0x1400da04c
mov ecx, 0x80004005
call fcn.140001f40
int3
cmp dword [r12 + 0x1a8], edi
je 0x1400da0c5
cmp r13d, 9
je 0x1400da066
cmp dword [r12 + 0x1b8], edi
je 0x1400da0c5
mov ecx, 0x1d0
call fcn.1400097cc
mov qword [rsp + 0x38], rax
cmp rax, rdi
je 0x1400da0a1
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.1400d9cbc
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.1400d8ebc
add dword [rsi + 0x124], r14d
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140184d90
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