Function at 0x1400a3ff0
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]
mov rdi, qword [rdx + 0x20]
or rbx, 0xffffffffffffffff
mov r13d, ebp
mov r14, r8
mov r15, rdx
and r13d, 0x10
and ebp, 6
je 0x1400a4027
lea ecx, [rbx + 0xf]
jmp 0x1400a4037
mov edx, dword [r8 + 0x94]
cmp edx, ebx
jne 0x1400a403f
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 0x1400a407a
mov esi, reloc.WSOCK32.dll_ntohs
mov ecx, esi
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, esi
mov rbx, rax
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetSysColor]
mov esi, eax
jmp 0x1400a4092
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, dword [r14 + 0x90]
mov rbx, rax
mov qword [rsp + 0xb8], rax
test ebp, ebp
je 0x1400a40a3
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetSysColor]
jmp 0x1400a40a8
mov eax, 0x743c00
mov r8d, eax
mov edx, 1
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreatePen]
mov rcx, rdi
mov rdx, rax
mov qword [rsp + 0x48], rax
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]
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [r15 + 0x28]
mov qword [rsp + 0xc8], rax
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 r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
mov eax, 5
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
mov esi, 0x104
call qword [sym.imp.USER32.dll_GetWindowLongW]
lea ecx, [rsi + 0x20]
bt eax, 0xd
mov edx, 0x300
cmovae esi, ecx
mov ecx, eax
and ecx, edx
cmp ecx, edx
jne 0x1400a416c
or esi, 1
bt eax, 9
jae 0x1400a4177
or esi, 2
jmp 0x1400a4180
bt eax, 8
jb 0x1400a4180
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.14002652c
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 0x1400a41fc
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 0x1400a4216
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, rdi
mov edx, eax
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rdx, qword [rsp + 0xc0]
lea r9, [rsp + 0x50]
or r8, 0xffffffffffffffff
mov rcx, rdi
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_DrawTextW]
mov rcx, qword [rsp + 0xc0]
call fcn.140024cec
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