Function at 0x140060fa0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov edx, 0x3f6
mov r12, rcx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rbp - 0x31]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, 2
lea r8, [rbp - 0x31]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [rbp - 0x29]
lea rdi, [0x140153408]
sub eax, dword [rbp - 0x31]
xor r14d, r14d
mov dword [0x1401e5570], eax
mov ebx, r14d
nop dword [rax + rax]
test ebx, ebx
jne 0x140061036
mov eax, dword [0x1401e678c]
lea eax, [rax + rax*2]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
jmp 0x14006103c
mov esi, dword [0x1401e678c]
mov edx, dword [rdi]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call fcn.1400593f0
add eax, esi
cmp dword [0x1401e5570], eax
jg 0x140061094
test ebx, ebx
jne 0x140061071
mov eax, dword [0x1401e678c]
lea eax, [rax + rax*2]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
jmp 0x140061077
mov esi, dword [0x1401e678c]
mov edx, dword [rdi]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call fcn.1400593f0
add eax, esi
mov dword [0x1401e5570], eax
inc ebx
add rdi, 4
cmp ebx, 3
jb 0x140061020
mov ecx, 0xbbf
call fcn.1400207e0
mov edx, 2
mov rcx, r12
mov r15, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbp - 0x39], r14
mov rbx, r14
mov rcx, rax
mov r13, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
mov rsi, 0xffffffffffffffff
test rax, rax
je 0x14006117a
xor r9d, r9d
lea edx, [rsi + 0x32]
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x14006117a
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
test r15, r15
jne 0x14006114d
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r15d, eax
test eax, eax
jle 0x14006117a
inc eax
lea edx, [rsi + 3]
movsxd rcx, eax
call fcn.1400c537c
mov rbx, rax
test rax, rax
je 0x14006117a
lea r8d, [r15 + 1]
mov rdx, rax
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x14006117a
mov r8d, r15d
mov rdx, rbx
jmp 0x14006116d
mov rcx, r15
call fcn.140051830
mov rbx, rax
test rax, rax
je 0x14006117a
mov r8, rsi
inc r8
cmp word [rax + r8*2], r14w
jne 0x140061160
mov rdx, rax
lea r9, [rbp - 0x39]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rbx
call fcn.1400e9080
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140061198
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [rbp - 0x39]
add ecx, dword [0x1401e678c]
cmp dword [0x1401e5570], ecx
jg 0x1400612b7
mov ecx, 0xbbf
call fcn.1400207e0
mov edx, 2
mov rcx, r12
mov r15, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbp - 0x39], r14
mov rbx, r14
mov rcx, rax
mov r13, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
test rax, rax
je 0x14006128a
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
lea edx, [r9 + 0x31]
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x14006128a
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
test r15, r15
jne 0x140061257
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r15d, eax
test eax, eax
jle 0x14006128a
inc eax
mov edx, 2
movsxd rcx, eax
call fcn.1400c537c
mov rbx, rax
test rax, rax
je 0x14006128a
lea r8d, [r15 + 1]
mov rdx, rax
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x14006128a
mov r8d, r15d
mov rdx, rbx
jmp 0x14006127d
mov rcx, r15
call fcn.140051830
mov rbx, rax
test rax, rax
je 0x14006128a
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x140061270
mov rdx, rax
lea r9, [rbp - 0x39]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rbx
call fcn.1400e9080
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400612a8
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [0x1401e678c]
add ecx, dword [rbp - 0x39]
mov dword [0x1401e5570], ecx
mov ecx, 0xbe0
call fcn.1400207e0
test rax, rax
jne 0x1400612cb
mov rbx, r14
jmp 0x1400612e9
mov ecx, 0xbe0
call fcn.1400207e0
mov rbx, rsi
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x1400612e0
mov ecx, 0xbe0
inc rbx
call fcn.1400207e0
mov edi, 0x40
lea rcx, [rbp - 0x19]
cmp rbx, rdi
mov rdx, rax
cmovb rdi, rbx
mov r8, rdi
call fcn.1401362c0
mov edx, 2
mov byte [rbp + rdi - 0x1a], r14b
lea ecx, [rdx + 0x3e]
call fcn.1400c537c
mov rbx, rax
test rax, rax
je 0x140061390
mov dword [rsp + 0x28], 0x40
lea r8, [rbp - 0x19]
mov r9d, esi
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, 0x40
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharUpperBuffW]
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x19]
mov qword [rsp + 0x30], r14
mov r9d, esi
mov dword [rsp + 0x28], 0x40
mov r8, rbx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, rbx
call fcn.1400e9080
mov edx, 0x3f6
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbp - 0x39], r14
mov rbx, r14
mov rcx, rax
mov r15, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
test rax, rax
je 0x14006140b
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
lea edx, [r9 + 0x31]
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x14006140b
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
lea rcx, [rbp - 0x19]
call fcn.140051830
mov rbx, rax
test rax, rax
je 0x14006140b
mov r8, rsi
inc r8
cmp word [rax + r8*2], r14w
jne 0x1400613f1
lea r9, [rbp - 0x39]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rbx
call fcn.1400e9080
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140061429
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x1401e678c]
lea eax, [rax + rax*2]
cdq
sub eax, edx
sar eax, 1
add eax, dword [rbp - 0x39]
cmp dword [0x1401e5570], eax
jg 0x1400614f3
mov edx, 0x3f6
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov qword [rbp - 0x39], r14
mov rdi, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
test rax, rax
je 0x1400614be
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x31]
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400614be
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
lea rcx, [rbp - 0x19]
call fcn.140051830
mov r14, rax
test rax, rax
je 0x1400614be
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400614a1
mov r8, rsi
lea r9, [rbp - 0x39]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, r14
call fcn.1400e9080
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400614dc
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x1401e678c]
lea eax, [rax + rax*2]
cdq
sub eax, edx
sar eax, 1
add eax, dword [rbp - 0x39]
mov dword [0x1401e5570], eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400b1f80
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret