Function at 0x14000b648
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x480
mov r12, r8
mov bpl, r9b
mov rbx, rdx
lea r9, [rax + 0x20]
lea r8, [rsp + 0x40]
mov rdx, r12
mov r13, rcx
call fcn.14000b52c
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov r14b, al
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x70]
mov edi, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x74]
sub esi, r8d
sub esi, dword [rsp + 0x48]
sub edi, ecx
mov r9d, 0x51eb851f
sub edi, dword [rsp + 0x4c]
inc esi
inc edi
test r14b, r14b
je 0x14000b72d
test bpl, bpl
jne 0x14000b77d
imul ecx, dword [rsp + 0x4c8]
imul r8d, dword [rsp + 0x40]
mov eax, r9d
mov dword [rsp + 0x30], 0x206
imul ecx
mov ecx, edx
sar ecx, 5
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, r9d
xor r9d, r9d
add ecx, edi
mov dword [rsp + 0x28], ecx
mov rcx, rbx
imul r8d
sar edx, 5
xor r8d, r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, esi
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowPos]
test bpl, bpl
jne 0x14000b77d
lea rdx, [rsp + 0x80]
mov r8d, 0x400
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x80]
mov r9d, 1
mov rcx, r13
mov qword [rsp + 0x20], r12
call fcn.14000b3e4
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, 8
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, 5
mov rcx, rbx
sub edi, eax
call qword [sym.imp.USER32.dll_GetWindow]
xor ebp, ebp
mov rbx, rax
mov r15, rax
jmp 0x14000b8fb
cmp ebp, 0x200
jge 0x14000b904
lea rdx, [rsp + 0x80]
mov r8d, 0x400
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [rsp + 0x80], 0
je 0x14000b806
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x80]
mov r9d, 1
mov rcx, r13
mov qword [rsp + 0x20], r12
call fcn.14000b3e4
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextA]
test r14b, r14b
je 0x14000b8e3
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8d, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x60]
mov r10d, dword [rsp + 0x58]
mov r11d, dword [rsp + 0x64]
mov r9d, 0x51eb851f
sub r11d, r8d
sub r8d, dword [rsp + 0x4c]
sub ecx, r10d
inc ecx
inc r11d
mov eax, r9d
sub r8d, edi
mov dword [rsp + 0x30], 0x204
imul ecx, dword [rsp + 0x40]
imul r11d, dword [rsp + 0x4c8]
imul r8d, dword [rsp + 0x4c8]
imul r11d
mov r11d, edx
sar r11d, 5
mov eax, r11d
shr eax, 0x1f
add r11d, eax
mov eax, r9d
mov dword [rsp + 0x28], r11d
imul ecx
mov ecx, edx
sar ecx, 5
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, r9d
mov dword [rsp + 0x20], ecx
mov rcx, rbx
imul r8d
mov r9d, edx
sar r9d, 5
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
sub r10d, eax
mov eax, 0x51eb851f
sub r10d, dword [rsp + 0x48]
imul r10d, dword [rsp + 0x40]
imul r10d
sar edx, 5
mov r8d, edx
shr r8d, 0x1f
add r8d, edx
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
cmp rax, r15
je 0x14000b904
inc ebp
test rax, rax
jne 0x14000b7a5
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret