Function at 0x140071c4c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x140096008]
xor rax, rsp
mov qword [rbp + 0x270], rax
and dword [rsp + 0x38], 0
mov rbx, rdx
mov rdi, rcx
mov esi, 1
xor r13d, r13d
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
lea edx, [rsi + 7]
mov rcx, rdi
mov r12, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov r15, rax
test r12, r12
je 0x140071ec4
test rax, rax
je 0x140071ec4
mov rcx, r12
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r14, rax
cmp dword [rax], esi
je 0x140071cf5
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov r8d, 0x105
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x140071d38
lea rax, [rsp + 0x50]
mov r8, r14
sub r8, rax
lea rcx, [rsp + 0x50]
mov edx, 0x106
lea rax, [rdx + 0x7ffffef8]
test rax, rax
je 0x140071d2a
mov al, byte [r8 + rcx + 4]
test al, al
je 0x140071d2a
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140071d0a
test rdx, rdx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], sil
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x105
lea rax, [rbp + 0x60]
xor ecx, ecx
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea edx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, qword [rax + 0x2ca]
test rdi, rdi
je 0x140071d7b
cmp dword [rdi], esi
je 0x140071d7b
mov r13, qword [rdi + 0xc]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp qword [rbx + 0x10], rsi
je 0x140071de0
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.ole32.dll_GetRunningObjectTable]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140071dc3
mov rax, qword [rcx]
mov edx, dword [rbx + 0x18]
mov rax, qword [rax + 0x20]
call qword [0x14008d818]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14008d818]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14008d818]
and qword [rbx + 0x10], rsi
mov r15d, 1
jmp 0x140071de5
mov r15d, dword [rsp + 0x38]
and dword [rbx + 0x18], esi
cmp dword [r14], esi
jne 0x140071ebb
test r13, r13
je 0x140071ebb
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x60]
call qword [sym.imp.ole32.dll_CreateFileMoniker]
cmp qword [rsp + 0x40], rsi
je 0x140071eb6
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.ole32.dll_GetRunningObjectTable]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140071eb2
mov rax, qword [rcx]
lea rdx, [rsp + 0x3c]
mov r9, qword [rsp + 0x40]
mov r8, qword [r13 + 0x24]
mov qword [rsp + 0x20], rdx
mov edx, 1
mov rax, qword [rax + 0x18]
call qword [0x14008d818]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14008d818]
mov rax, qword [rsp + 0x40]
mov r13d, 2
mov qword [rbx + 0x10], rax
mov eax, dword [rsp + 0x3c]
mov dword [rbx + 0x18], eax
test r15d, r15d
je 0x140071ea8
xor r14d, r14d
cmp dword [rdi], esi
jle 0x140071ea8
lea rsi, [rdi + 0xc]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140071e9c
mov edx, r13d
call fcn.14006d7a8
inc r14d
add rsi, 8
cmp r14d, dword [rdi]
jl 0x140071e8c
cmp dword [rbx + 0x1c], 0
jne 0x140071eb2
mov dword [rbx + 0x1c], r13d
xor esi, esi
jmp 0x140071ebb
mov esi, 1
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, esi
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.14008a940
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x380
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret