Function at 0x14000e38c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x880
mov r15, r8
mov r14b, r9b
mov r12, rdx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x44]
mov rdx, r15
mov rsi, rcx
call fcn.14000e260
lea rdx, [rsp + 0x48]
mov rcx, r12
mov bpl, al
mov byte [rsp + 0x8d8], al
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetClientRect]
mov r11d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x54]
sub r11d, dword [rsp + 0x48]
sub r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x78]
mov r9d, dword [rsp + 0x7c]
inc r11d
inc r8d
mov ecx, r11d
mov r13d, r8d
xor r10d, r10d
sub ecx, edx
sub r13d, r9d
mov ebx, 0x51eb851f
mov dword [rsp + 0x58], ecx
cmp bpl, r10b
je 0x14000e4f4
cmp r14b, r10b
jne 0x14000e54c
imul edx, dword [rsp + 0x44]
imul r9d, dword [rsp + 0x40]
mov eax, ebx
imul edx
mov ebp, edx
sar ebp, 5
mov eax, ebp
shr eax, 0x1f
add ebp, eax
mov eax, ebx
add ebp, ecx
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 + 0x48]
add esi, r13d
sub r8d, esi
mov eax, r8d
cdq
sub eax, edx
lea edx, [r10 - 0x10]
sar eax, 1
mov ebx, eax
add ebx, dword [rsp + 0x4c]
cmp edi, r10d
cmovl edi, r10d
cmp ebx, r10d
cmovl ebx, r10d
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 + 0x48]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rsi, qword [rsp + 0x8c0]
mov bpl, byte [rsp + 0x8d8]
xor r10d, r10d
cmp r14b, r10b
jne 0x14000e54c
lea rdx, [rsp + 0x80]
mov r8d, 0x400
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x80]
mov r9d, 0x400
mov rcx, rsi
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 1
call fcn.14000e09c
lea rdx, [rsp + 0x80]
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]
mov rbx, rax
mov r12, rax
xor eax, eax
mov edi, eax
cmp rbx, rax
je 0x14000e6e8
mov r14d, dword [rsp + 0x58]
cmp edi, 0x200
jge 0x14000e6e8
lea rdx, [rsp + 0x80]
mov r8d, 0x400
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
cmp word [rsp + 0x80], ax
je 0x14000e5ed
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x80]
mov r9d, 0x400
mov rcx, rsi
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 1
call fcn.14000e09c
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
cmp bpl, al
je 0x14000e6c5
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8d, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x68]
mov r10d, dword [rsp + 0x60]
mov r11d, dword [rsp + 0x6c]
mov r9d, 0x51eb851f
sub r11d, r8d
sub ecx, r10d
sub r8d, r13d
sub r8d, dword [rsp + 0x4c]
inc ecx
inc r11d
mov eax, r9d
mov dword [rsp + 0x30], 0x204
imul ecx, dword [rsp + 0x44]
imul r11d, dword [rsp + 0x40]
imul r8d, dword [rsp + 0x40]
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, r14d
cdq
sub eax, edx
sar eax, 1
sub r10d, eax
mov eax, 0x51eb851f
sub r10d, dword [rsp + 0x48]
imul r10d, dword [rsp + 0x44]
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, r12
je 0x14000e6e8
xor eax, eax
inc edi
cmp rbx, rax
jne 0x14000e580
mov rbx, qword [rsp + 0x8c8]
add rsp, 0x880
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret