Function at 0x14007fc5c
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 esi, dword [rdx + 0x10]
mov rdi, qword [rdx + 0x20]
or rbx, 0xffffffffffffffff
mov r12d, esi
mov r14, r8
mov rbp, rdx
and r12d, 0x10
and esi, 6
je 0x14007fc93
lea ecx, [rbx + 0xf]
jmp 0x14007fca3
mov edx, dword [r8 + 0x94]
cmp edx, ebx
jne 0x14007fcab
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 r15d, eax
cmp ecx, ebx
jne 0x14007fcea
mov r13d, reloc.WSOCK32.dll_ntohs
mov ecx, r13d
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, r13d
mov rbx, rax
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetSysColor]
mov r13d, eax
jmp 0x14007fd02
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov r13d, dword [r14 + 0x90]
mov rbx, rax
mov qword [rsp + 0xb8], rax
test esi, esi
je 0x14007fd13
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetSysColor]
jmp 0x14007fd18
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, r13d
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 [rbp + 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 r13d, 0x104
call qword [sym.imp.USER32.dll_GetWindowLongW]
lea ecx, [r13 + 0x20]
bt eax, 0xd
cmovae r13d, ecx
bt eax, 8
jb 0x14007fdd9
or r13d, 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.140029168
mov rcx, qword [r14]
mov r8d, ebx
mov rdx, rax
mov qword [rsp + 0xc0], rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test r12d, r12d
je 0x14007fe54
movups xmm0, xmmword [rbp + 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 esi, esi
je 0x14007fe6e
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], r13d
call qword [sym.imp.USER32.dll_DrawTextW]
mov rcx, qword [rsp + 0xc0]
call fcn.140029210
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, r15d
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