Function at 0x14003ed10
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov esi, dword [rdx + 0x10]
mov rdi, qword [rdx + 0x20]
or rbx, 0xffffffffffffffff
mov r14d, esi
mov rbp, r8
mov r12, rdx
and r14d, 0x10
and esi, 6
je 0x14003ed46
lea ecx, [rbx + 0xf]
jmp 0x14003ed56
mov edx, dword [r8 + 0x8c]
cmp edx, ebx
jne 0x14003ed5e
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 [rbp + 0x88]
mov r13d, eax
cmp ecx, ebx
jne 0x14003ed90
mov ebx, reloc.WSOCK32.dll_ntohs
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, ebx
mov r15, rax
call qword [sym.imp.USER32.dll_GetSysColor]
mov ebx, eax
jmp 0x14003ed9f
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebx, dword [rbp + 0x88]
mov r15, rax
test esi, esi
je 0x14003edb0
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetSysColor]
jmp 0x14003edb5
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 + 0x50], rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, ebx
mov rcx, rdi
mov qword [rsp + 0x48], rax
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rdx, r15
mov rcx, rdi
mov dword [rsp + 0xc0], eax
call qword [sym.imp.GDI32.dll_SelectObject]
lea rcx, [rsp + 0x58]
movdqu xmm0, xmmword [r12 + 0x28]
mov qword [rsp + 0x40], rax
or rax, 0xffffffffffffffff
movdqu xmmword [rsp + 0x58], xmm0
mov r8d, eax
mov edx, eax
call qword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [rsp + 0x64]
mov r9d, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x58]
mov r11d, 5
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_RoundRect]
mov rcx, qword [rbp]
mov edx, 0xfffffff0
mov ebx, 0x105
call qword [sym.imp.USER32.dll_GetWindowLongW]
lea ecx, [rbx + 0x20]
bt eax, 0xd
cmovae ebx, ecx
mov rcx, qword [rbp]
xor r9d, r9d
lea edx, [r9 + 0xe]
xor r8d, r8d
mov dword [rsp + 0xb8], ebx
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.140017e24
mov rcx, qword [rbp]
mov r8d, ebx
mov rdx, rax
mov qword [rsp + 0xc8], rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test r14d, r14d
je 0x14003eef3
movdqu xmm0, xmmword [r12 + 0x28]
mov edx, 0xfffffffd
lea rcx, [rsp + 0x58]
mov r8d, edx
movdqu xmmword [rsp + 0x58], xmm0
call qword [sym.imp.USER32.dll_InflateRect]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawFocusRect]
test esi, esi
je 0x14003ef0d
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 eax, dword [rsp + 0xb8]
mov rbx, qword [rsp + 0xc8]
lea r9, [rsp + 0x58]
mov rdx, rbx
or r8d, 0xffffffff
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_DrawTextW]
mov rcx, rbx
call fcn.140018614
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [rsp + 0xc0]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rbx, qword [rsp + 0xb0]
mov eax, 1
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret