Function at 0x14005f268
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x18b0
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x18a0], rax
mov rsi, r8
mov r14b, r9b
mov qword [rsp + 0x78], r8
mov r12, rdx
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x4c]
mov rdx, rsi
mov r15, rcx
call fcn.14005efe8
lea rdx, [rsp + 0x50]
mov rcx, r12
mov bl, al
mov byte [rsp + 0x40], al
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x90]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetClientRect]
mov r11d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x5c]
sub r11d, dword [rsp + 0x50]
sub r8d, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x98]
mov r9d, dword [rsp + 0x9c]
inc r11d
inc r8d
mov r10d, r11d
mov r13d, r8d
xor edi, edi
sub r10d, ecx
sub r13d, r9d
mov dword [rsp + 0x48], r10d
cmp bl, dil
je 0x14005f3e1
cmp r14b, dil
jne 0x14005f439
imul ecx, dword [rsp + 0x4c]
imul r9d, dword [rsp + 0x44]
mov eax, 0x51eb851f
imul ecx
mov ebp, edx
sar ebp, 5
mov eax, ebp
shr eax, 0x1f
add ebp, eax
mov eax, 0x51eb851f
add ebp, r10d
sub r11d, ebp
imul r9d
mov esi, edx
mov eax, r11d
cdq
sar esi, 5
sub eax, edx
mov ecx, esi
sar eax, 1
shr ecx, 0x1f
mov edi, eax
add esi, ecx
mov rcx, r12
add edi, dword [rsp + 0x50]
add esi, r13d
sub r8d, esi
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
xor eax, eax
add ebx, dword [rsp + 0x54]
cmp edi, eax
lea edx, [rax - 0x10]
cmovl edi, eax
cmp ebx, eax
cmovl ebx, eax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov ecx, 0x204
lea edx, [rcx + 2]
bt rax, 0xb
mov r9d, ebx
cmovae ecx, edx
mov r8d, edi
xor edx, edx
mov dword [rsp + 0x30], ecx
mov rcx, r12
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rdx, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rsi, qword [rsp + 0x78]
xor edi, edi
cmp r14b, dil
jne 0x14005f439
lea rdx, [rsp + 0xa0]
mov r8d, 0x400
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xa0]
mov r9d, 0x400
mov rcx, r15
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 1
call fcn.14005ede4
lea rdx, [rsp + 0xa0]
mov rcx, r12
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, 8
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, 5
mov rcx, r12
sub r13d, eax
call qword [sym.imp.USER32.dll_GetWindow]
xor ecx, ecx
mov rbx, rax
mov rbp, rax
cmp rax, rcx
je 0x14005f669
mov r12b, byte [rsp + 0x40]
mov r14d, dword [rsp + 0x48]
cmp edi, 0x200
jge 0x14005f669
lea rdx, [rsp + 0xa0]
mov r8d, 0x400
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
cmp word [rsp + 0xa0], ax
je 0x14005f4db
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xa0]
mov r9d, 0x400
mov rcx, r15
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 1
call fcn.14005ede4
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
xor esi, esi
cmp r12b, sil
je 0x14005f643
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rsp + 0x68]
mov r8d, 0x51eb851f
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, r8d
sub ecx, dword [rsp + 0x50]
imul ecx, dword [rsp + 0x4c]
imul ecx
mov ecx, edx
sar ecx, 5
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, r8d
mov dword [rsp + 0x60], ecx
mov ecx, dword [rsp + 0x6c]
sub ecx, r13d
sub ecx, dword [rsp + 0x54]
imul ecx, dword [rsp + 0x44]
imul ecx
mov ecx, edx
sar ecx, 5
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, r8d
mov dword [rsp + 0x64], ecx
mov ecx, dword [rsp + 0x70]
sub ecx, dword [rsp + 0x68]
inc ecx
imul ecx, dword [rsp + 0x4c]
imul ecx
mov ecx, edx
sar ecx, 5
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, r8d
mov r8d, 0x800
mov dword [rsp + 0x48], ecx
mov ecx, dword [rsp + 0x74]
sub ecx, dword [rsp + 0x6c]
inc ecx
imul ecx, dword [rsp + 0x44]
imul ecx
mov rcx, rbx
mov esi, edx
lea rdx, [rsp + 0x8a0]
sar esi, 5
mov eax, esi
shr eax, 0x1f
add esi, eax
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, [0x14010dfc8]
lea rcx, [rsp + 0x8a0]
call fcn.140068ca4
xor ecx, ecx
cmp eax, ecx
jne 0x14005f618
lea edx, [rcx - 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
and al, 3
cmp al, 1
je 0x14005f618
lea r9, [rsp + 0x80]
xor r8d, r8d
mov edx, 0x152
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x8c]
mov eax, 0x51eb851f
sub r11d, dword [rsp + 0x84]
inc r11d
imul r11d, dword [rsp + 0x44]
imul r11d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add esi, edx
mov eax, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x60]
mov dword [rsp + 0x30], 0x204
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
xor esi, esi
mov edx, 2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
cmp rax, rbp
je 0x14005f669
inc edi
cmp rax, rsi
mov rsi, qword [rsp + 0x78]
jne 0x14005f470
mov rcx, qword [rsp + 0x18a0]
xor rcx, rsp
call fcn.1400e9d00
mov rbx, qword [rsp + 0x1908]
add rsp, 0x18b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret