Function at 0x14013b6f0
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x328
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rbp, r9
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
cmp r8d, 0x101
ja 0x14013b8f5
je 0x14013b8d3
mov eax, r8d
sub eax, 0xc
je 0x14013b89d
sub eax, 3
je 0x14013b77b
sub eax, 0x75
je 0x14013b97a
cmp eax, 0x7c
jne 0x14013b756
cmp r9, 0x20
jne 0x14013b756
mov byte [rcx + 0x70], 1
mov rax, qword [rsp + 0x370]
mov r9, rbp
mov rcx, qword [rbx + 0x60]
mov r8d, edi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_CallWindowProcW]
jmp 0x14013b97f
mov edx, 0xfffffff0
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov edx, eax
mov ecx, eax
and edx, 1
add edx, 0x20
mov r8d, edx
or r8d, 2
and cl, 2
mov rcx, rsi
cmove r8d, edx
lea rdx, [rsp + 0x40]
mov ebp, r8d
or ebp, 4
and eax, 0x200
cmove ebp, r8d
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0xb0]
mov rcx, rsi
call qword [sym.imp.USER32.dll_BeginPaint]
mov edx, dword [rbx + 0x68]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140029580
mov edx, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rdx, qword [rbx + 0x40]
test rdx, rdx
jne 0x14013b836
lea ecx, [rdx + 0x11]
call qword [sym.imp.GDI32.dll_GetStockObject]
lea r8, [rsp + 0x50]
mov edx, 0x5c
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x65], 1
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rbx + 0x40], rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r8d, 0x104
lea rdx, [rsp + 0x100]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], ebp
mov r8d, 0xffffffff
lea rdx, [rsp + 0x100]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextW]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
lea rdx, [rsp + 0xb0]
mov rcx, rsi
call qword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
jmp 0x14013b97f
mov rax, qword [rsp + 0x370]
mov r8d, InitCommonControls
mov rcx, qword [rcx + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_CallWindowProcW]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rax, rbx
jmp 0x14013b97f
cmp rbp, 0x20
jne 0x14013b756
cmp byte [rcx + 0x70], 0
je 0x14013b756
mov byte [rcx + 0x70], 0
call fcn.14013b470
jmp 0x14013b756
mov eax, edi
sub eax, 0x200
je 0x14013b928
sub eax, 1
je 0x14013b752
cmp eax, 1
jne 0x14013b756
cmp byte [rcx + 0x70], 0
je 0x14013b756
mov byte [rcx + 0x70], 0
call fcn.14013b470
jmp 0x14013b756
mov rcx, qword [rcx + 0x48]
test rcx, rcx
jne 0x14013b974
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov edx, 5
lea rax, [0x1402a6710]
mov qword [rsp + 0x30], rax
lea rax, [0x1402a6690]
mov qword [rsp + 0x28], rax
lea r9d, [rdx + 0x1b]
mov dword [rsp + 0x20], 0x20
lea r8d, [rdx - 3]
call qword [sym.imp.USER32.dll_CreateCursor]
mov qword [rbx + 0x48], rax
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.14017f700
add rsp, 0x328
pop rdi
pop rsi
pop rbp
pop rbx
ret