Function at 0x140060740
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, [0x140153438]
sub eax, dword [rbp - 0x31]
xor r14d, r14d
mov dword [0x1401e5520], eax
mov ebx, r14d
nop dword [rax + rax]
test ebx, ebx
jne 0x1400607d6
mov eax, dword [0x1401e670c]
lea eax, [rax + rax*2]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
jmp 0x1400607dc
mov esi, dword [0x1401e670c]
mov edx, dword [rdi]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call fcn.140058c40
add eax, esi
cmp dword [0x1401e5520], eax
jg 0x140060834
test ebx, ebx
jne 0x140060811
mov eax, dword [0x1401e670c]
lea eax, [rax + rax*2]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
jmp 0x140060817
mov esi, dword [0x1401e670c]
mov edx, dword [rdi]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call fcn.140058c40
add eax, esi
mov dword [0x1401e5520], eax
inc ebx
add rdi, 4
cmp ebx, 3
jb 0x1400607c0
mov ecx, 0xbbf
call fcn.140021050
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 0x14006091e
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x14006091e
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
test r15, r15
jne 0x1400608f1
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r15d, eax
test eax, eax
jle 0x14006091e
inc eax
mov edx, 2
movsxd rcx, eax
call fcn.1400c4f6c
mov rbx, rax
test rax, rax
je 0x14006091e
lea r8d, [r15 + 1]
mov rdx, rax
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x14006091e
mov r8d, r15d
mov rdx, rbx
jmp 0x140060911
mov rcx, r15
call fcn.140051290
mov rbx, rax
test rax, rax
je 0x14006091e
mov r8, rsi
inc r8
cmp word [rax + r8*2], r14w
jne 0x140060904
mov rdx, rax
lea r9, [rbp - 0x39]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rbx
call fcn.1400e8c70
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006093c
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [rbp - 0x39]
add ecx, dword [0x1401e670c]
cmp dword [0x1401e5520], ecx
jg 0x140060a57
mov ecx, 0xbbf
call fcn.140021050
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 0x140060a2a
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140060a2a
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
test r15, r15
jne 0x1400609fc
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r15d, eax
test eax, eax
jle 0x140060a2a
inc eax
mov edx, 2
movsxd rcx, eax
call fcn.1400c4f6c
mov rbx, rax
test rax, rax
je 0x140060a2a
lea r8d, [r15 + 1]
mov rdx, rax
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140060a2a
mov r8d, r15d
mov rdx, rbx
jmp 0x140060a1d
mov rcx, r15
call fcn.140051290
mov rbx, rax
test rax, rax
je 0x140060a2a
mov r8, rsi
nop
inc r8
cmp word [rax + r8*2], r14w
jne 0x140060a10
mov rdx, rax
lea r9, [rbp - 0x39]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rbx
call fcn.1400e8c70
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140060a48
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [0x1401e670c]
add ecx, dword [rbp - 0x39]
mov dword [0x1401e5520], ecx
mov ecx, 0xbe0
call fcn.140021050
test rax, rax
jne 0x140060a6b
mov rbx, r14
jmp 0x140060a89
mov ecx, 0xbe0
call fcn.140021050
mov rbx, rsi
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140060a80
mov ecx, 0xbe0
inc rbx
call fcn.140021050
mov edi, 0x40
lea rcx, [rbp - 0x19]
cmp rbx, rdi
mov rdx, rax
cmovb rdi, rbx
mov r8, rdi
call fcn.140135ea0
mov edx, 2
mov byte [rbp + rdi - 0x1a], r14b
mov ecx, 0x40
call fcn.1400c4f6c
mov rbx, rax
test rax, rax
je 0x140060b32
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.1400e8c70
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 0x140060bae
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140060bae
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
lea rcx, [rbp - 0x19]
call fcn.140051290
mov rbx, rax
test rax, rax
je 0x140060bae
mov r8, rsi
inc r8
cmp word [rax + r8*2], r14w
jne 0x140060b94
lea r9, [rbp - 0x39]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rbx
call fcn.1400e8c70
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140060bcc
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x1401e670c]
lea eax, [rax + rax*2]
cdq
sub eax, edx
sar eax, 1
add eax, dword [rbp - 0x39]
cmp dword [0x1401e5520], eax
jg 0x140060c97
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 0x140060c62
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140060c62
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
lea rcx, [rbp - 0x19]
call fcn.140051290
mov r14, rax
test rax, rax
je 0x140060c62
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140060c45
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.1400e8c70
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140060c80
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x1401e670c]
lea eax, [rax + rax*2]
cdq
sub eax, edx
sar eax, 1
add eax, dword [rbp - 0x39]
mov dword [0x1401e5520], eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400b2a30
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