Function at 0x1400aff5c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov ebp, dword [rdx + 0x10]
or rbx, 0xffffffffffffffff
mov rdi, qword [rdx + 0x20]
mov r13d, ebp
and r13d, 0x10
mov r14, r8
mov r15, rdx
and ebp, 6
je 0x1400aff93
lea ecx, [rbx + 0xf]
jmp 0x1400affa3
mov edx, dword [r8 + 0x94]
cmp edx, ebx
jne 0x1400affab
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetSysColor]
mov edx, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [r14 + 0x90]
mov r12d, eax
cmp ecx, ebx
jne 0x1400affe6
mov esi, reloc.WSOCK32.dll_ntohs
mov ecx, esi
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, esi
mov qword [rsp + 0xb8], rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetSysColor]
mov esi, eax
jmp 0x1400afffe
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, dword [r14 + 0x90]
mov rbx, rax
mov qword [rsp + 0xb8], rax
test ebp, ebp
je 0x1400b000f
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetSysColor]
jmp 0x1400b0014
mov eax, 0x743c00
mov r8d, eax
mov edx, 1
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreatePen]
mov rdx, rax
mov qword [rsp + 0x48], rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, esi
mov rcx, rdi
mov qword [rsp + 0x40], rax
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0xb0], eax
call qword [sym.imp.GDI32.dll_SelectObject]
movups xmm0, xmmword [r15 + 0x28]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x50]
or rax, 0xffffffffffffffff
mov r8d, eax
mov edx, eax
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [rsp + 0x5c]
mov eax, 5
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_RoundRect]
mov rcx, qword [r14]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, 0x300
mov edx, eax
shr edx, 8
mov ecx, eax
not edx
and ecx, r8d
and edx, 0x20
or edx, 0x104
mov esi, edx
or esi, 1
cmp ecx, r8d
cmovne esi, edx
bt eax, 9
jae 0x1400b00ea
or esi, 2
jmp 0x1400b00f3
bt eax, 8
jb 0x1400b00f3
or esi, 1
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [rax + 1]
mov eax, 2
movsxd rcx, ebx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400251f8
mov rcx, qword [r14]
mov r8d, ebx
mov rdx, rax
mov qword [rsp + 0xc0], rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test r13d, r13d
je 0x1400b016f
movups xmm0, xmmword [r15 + 0x28]
mov edx, 0xfffffffd
lea rcx, [rsp + 0x50]
mov r8d, edx
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_InflateRect]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawFocusRect]
test ebp, ebp
je 0x1400b0189
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetSysColor]
mov edx, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rdx, qword [rsp + 0xc0]
lea r9, [rsp + 0x50]
or r8, 0xffffffffffffffff
mov dword [rsp + 0x20], esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextW]
mov rcx, qword [rsp + 0xc0]
call fcn.1400251b4
mov rdx, qword [rsp + 0xc8]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov edx, r12d
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [rsp + 0xb0]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov eax, 1
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret