Function at 0x140061750
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rbp - 0x30], rax
mov qword [r11 + 0x10], rbx
lea rdx, [rbp - 0x40]
mov qword [r11 + 0x18], rsi
mov rbx, rcx
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [rbp - 0x48], rcx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp - 0x38]
lea rdx, [rbp - 0x40]
sub eax, dword [rbp - 0x40]
mov rcx, rbx
mov dword [0x1401e552c], eax
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x40]
mov edx, 0x3f3
sub eax, dword [rbp - 0x38]
mov rcx, rbx
add dword [0x1401e552c], eax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, 2
lea r8, [rbp - 0x40]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, 0xccf
call fcn.140021050
mov r12, qword [0x1401e8548]
xor ebx, ebx
mov rcx, r12
mov qword [rbp - 0x50], rbx
mov r15, rax
mov edi, ebx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
mov rsi, 0xffffffffffffffff
test rax, rax
je 0x1400618ca
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400618ca
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
test r15, r15
jne 0x140061895
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r15d, eax
test eax, eax
jle 0x1400618ca
lea r13d, [rax + 1]
mov edx, 2
movsxd rcx, r13d
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x1400618ca
mov r8d, r13d
mov rdx, rax
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x1400618ca
mov r8d, r15d
mov rdx, rdi
jmp 0x1400618bd
mov rcx, r15
call fcn.140051290
mov rdi, rax
test rax, rax
je 0x1400618ca
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x1400618b0
mov rdx, rax
lea r9, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e8c70
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400618e8
mov rdx, r14
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [rbp - 0x38]
mov ecx, dword [rbp - 0x50]
sub edx, dword [rbp - 0x40]
add ecx, dword [0x1401e6708]
cmp edx, ecx
jg 0x1400619f5
mov ecx, 0xccf
call fcn.140021050
mov r15, qword [0x1401e8548]
mov r12, rax
mov rcx, r15
mov qword [rbp - 0x50], rbx
mov rdi, rbx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
test rax, rax
je 0x1400619ce
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400619ce
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
test r12, r12
jne 0x1400619a1
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x1400619ce
lea r12d, [rax + 1]
mov edx, 2
movsxd rcx, r12d
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x1400619ce
mov r8d, r12d
mov rdx, rax
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x1400619ce
mov r8d, r13d
mov rdx, rdi
jmp 0x1400619c1
mov rcx, r12
call fcn.140051290
mov rdi, rax
test rax, rax
je 0x1400619ce
mov r8, rsi
inc r8
cmp word [rax + r8*2], bx
jne 0x1400619b4
mov rdx, rax
lea r9, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e8c70
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400619ec
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [rbp - 0x50]
add edx, dword [0x1401e6708]
mov ecx, 0xcd0
mov dword [0x1401e52fc], edx
call fcn.140021050
mov rdx, rax
mov ecx, 0xcd1
call fcn.140021050
mov r15, qword [0x1401e8548]
mov r12, rax
mov rcx, r15
mov qword [rbp - 0x50], rbx
mov rdi, rbx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
test rax, rax
je 0x140061ada
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140061ada
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
test r12, r12
jne 0x140061aaa
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x140061ada
lea r12d, [rax + 1]
mov edx, 2
movsxd rcx, r12d
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x140061ada
mov r8d, r12d
mov rdx, rax
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140061ada
mov r8d, r13d
mov rdx, rdi
jmp 0x140061acd
mov rcx, r12
call fcn.140051290
mov rdi, rax
test rax, rax
je 0x140061ada
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x140061ac0
mov rdx, rax
lea r9, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e8c70
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140061af8
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [0x1401e6708]
add edx, dword [rbp - 0x50]
cmp dword [0x1401e52fc], edx
jg 0x140061c17
mov ecx, 0xcd0
call fcn.140021050
mov rdx, rax
mov ecx, 0xcd1
call fcn.140021050
mov r15, qword [0x1401e8548]
mov r12, rax
mov rcx, r15
mov qword [rbp - 0x50], rbx
mov rdi, rbx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
test rax, rax
je 0x140061bea
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140061bea
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
test r12, r12
jne 0x140061bbc
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x140061bea
lea r12d, [rax + 1]
mov edx, 2
movsxd rcx, r12d
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x140061bea
mov r8d, r12d
mov rdx, rax
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140061bea
mov r8d, r13d
mov rdx, rdi
jmp 0x140061bdd
mov rcx, r12
call fcn.140051290
mov rdi, rax
test rax, rax
je 0x140061bea
mov r8, rsi
nop
inc r8
cmp word [rax + r8*2], bx
jne 0x140061bd0
mov rdx, rax
lea r9, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e8c70
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140061c08
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [0x1401e6708]
add ecx, dword [rbp - 0x50]
mov dword [0x1401e52fc], ecx
mov rcx, qword [rbp - 0x48]
mov edx, 0x7d0
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rbp - 0x48]
lea r8, [rbp - 0x40]
mov r9d, 2
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [rbp - 0x38]
mov ecx, 0xc2d
sub eax, dword [0x1401e6708]
sub eax, dword [rbp - 0x40]
mov dword [0x1401e5528], eax
call fcn.140021050
mov r12, qword [0x1401e8668]
mov r15, rax
mov rcx, r12
mov qword [rbp - 0x50], rbx
mov rdi, rbx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
test rax, rax
je 0x140061d2a
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140061d2a
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
test r15, r15
jne 0x140061cfd
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r15d, eax
test eax, eax
jle 0x140061d2a
lea r13d, [rax + 1]
mov edx, 2
movsxd rcx, r13d
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x140061d2a
mov r8d, r13d
mov rdx, rax
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140061d2a
mov r8d, r15d
mov rdx, rdi
jmp 0x140061d1d
mov rcx, r15
call fcn.140051290
mov rdi, rax
test rax, rax
je 0x140061d2a
mov r8, rsi
inc r8
cmp word [rax + r8*2], bx
jne 0x140061d10
mov rdx, rax
lea r9, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e8c70
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140061d48
mov rdx, r14
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [rbp - 0x50]
cmp dword [0x1401e5528], eax
jg 0x140061e51
mov ecx, 0xc2d
call fcn.140021050
mov r15, qword [0x1401e8668]
mov r12, rax
mov rcx, r15
mov qword [rbp - 0x50], rbx
mov rdi, rbx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
test rax, rax
je 0x140061e2a
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140061e2a
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
test r12, r12
jne 0x140061df9
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x140061e2a
lea r12d, [rax + 1]
mov edx, 2
movsxd rcx, r12d
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x140061e2a
mov r8d, r12d
mov rdx, rax
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140061e2a
mov r8d, r13d
mov rdx, rdi
jmp 0x140061e1d
mov rcx, r12
call fcn.140051290
mov rdi, rax
test rax, rax
je 0x140061e2a
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x140061e10
mov rdx, rax
lea r9, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e8c70
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140061e48
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [rbp - 0x50]
mov dword [0x1401e5528], eax
mov ecx, 0xc2e
call fcn.140021050
mov r15, qword [0x1401e8668]
mov r12, rax
mov rcx, r15
mov qword [rbp - 0x50], rbx
mov rdi, rbx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
test rax, rax
je 0x140061f20
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140061f20
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
test r12, r12
jne 0x140061ef3
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x140061f20
lea r12d, [rax + 1]
mov edx, 2
movsxd rcx, r12d
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x140061f20
mov r8d, r12d
mov rdx, rax
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140061f20
mov r8d, r13d
mov rdx, rdi
jmp 0x140061f13
mov rcx, r12
call fcn.140051290
mov rdi, rax
test rax, rax
je 0x140061f20
mov r8, rsi
inc r8
cmp word [rax + r8*2], bx
jne 0x140061f06
mov rdx, rax
lea r9, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e8c70
mov r13, qword [rsp + 0x60]
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140061f43
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [rbp - 0x50]
cmp dword [0x1401e5528], eax
jg 0x140062046
mov ecx, 0xc2e
call fcn.140021050
mov r15, qword [0x1401e8668]
mov r12, rax
mov rcx, r15
mov qword [rbp - 0x50], rbx
mov rdi, rbx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
test rax, rax
je 0x14006201f
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x14006201f
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
test r12, r12
jne 0x140061ff3
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test eax, eax
jle 0x14006201f
lea r12d, [rax + 1]
mov edx, 2
movsxd rcx, r12d
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x14006201f
mov r8d, r12d
mov rdx, rax
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x14006201f
mov r8d, esi
mov rdx, rdi
jmp 0x140062012
mov rcx, r12
call fcn.140051290
mov rdi, rax
test rax, rax
je 0x14006201f
inc rsi
cmp word [rax + rsi*2], bx
jne 0x140062003
mov r8, rsi
mov rdx, rax
lea r9, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e8c70
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006203d
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [rbp - 0x50]
mov dword [0x1401e5528], eax
mov rsi, qword [rbp - 0x48]
lea rdi, [0x140153168]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x68]
mov edx, dword [rdi]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call fcn.140058c40
mov ecx, dword [0x1401e5528]
cmp ecx, eax
jg 0x14006209d
mov edx, dword [rdi]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call fcn.140058c40
mov rcx, rax
mov dword [0x1401e5528], eax
inc ebx
add rdi, 4
cmp ebx, 5
jb 0x140062060
add ecx, dword [0x1401e6708]
mov r10d, dword [0x1401e5524]
mov eax, ecx
mov r9d, dword [0x1401e5740]
mov dword [0x1401e5528], ecx
lea edx, [r10 + r9*2]
cmp ecx, edx
jg 0x1400620d6
mov ecx, edx
mov dword [0x1401e5528], edx
mov eax, edx
mov r11d, dword [0x1401e5734]
mov r8d, dword [0x1401e5520]
lea ebx, [r11 + r11]
sub eax, ebx
sub eax, r10d
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp r8d, eax
jg 0x140062104
mov r8d, eax
mov dword [0x1401e5520], eax
mov edi, dword [0x1401e557c]
mov eax, 0x55555556
mov esi, dword [0x1401e52fc]
mov edx, edi
sub edx, r10d
add edx, esi
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r8d, edx
jg 0x140062133
mov r8d, edx
mov dword [0x1401e5520], edx
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
sub eax, r11d
cmp r8d, eax
jg 0x14006214c
mov r8d, eax
mov dword [0x1401e5520], eax
lea eax, [r11 + r8*2]
cmp r9d, eax
jg 0x14006215e
mov r9d, eax
mov dword [0x1401e5740], eax
lea eax, [r10 + r9*2]
cmp ecx, eax
jg 0x14006216e
mov ecx, eax
mov dword [0x1401e5528], eax
sub ecx, ebx
mov rbx, qword [rsp + 0x88]
sub ecx, edi
mov rdi, qword [rsp + 0x98]
sub ecx, r8d
cmp esi, ecx
mov rsi, qword [rsp + 0x90]
jg 0x140062197
mov dword [0x1401e52fc], ecx
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.1400b2a30
add rsp, 0x70
pop rbp
ret