Function at 0x1400a38ec
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
cmp dword [0x1400e4518], 0
mov r15, r8
mov r14, rdx
je 0x1400a3921
call fcn.1400a3c3c
jmp 0x1400a3c24
mov esi, dword [rdx + 0x10]
mov rdi, qword [rdx + 0x20]
or rbx, 0xffffffffffffffff
mov r12d, esi
mov r13d, esi
and esi, 1
and r12d, 0x10
and r13d, 6
je 0x1400a3944
lea ecx, [rbx + 0xf]
jmp 0x1400a3954
mov edx, dword [r8 + 0x94]
cmp edx, ebx
jne 0x1400a395c
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 [r15 + 0x90]
mov dword [rbp + 0x40], eax
cmp ecx, ebx
jne 0x1400a3992
mov ecx, reloc.WSOCK32.dll_ntohs
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, reloc.WSOCK32.dll_ntohs
mov rbx, rax
mov qword [rbp - 0x30], rax
call qword [sym.imp.USER32.dll_GetSysColor]
jmp 0x1400a39a6
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rbx, rax
mov qword [rbp - 0x30], rax
mov eax, dword [r15 + 0x90]
mov edx, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rdx, rbx
mov rcx, rdi
mov dword [rbp + 0x58], eax
call qword [sym.imp.GDI32.dll_SelectObject]
movups xmm0, xmmword [r14 + 0x28]
mov qword [rbp - 0x20], rax
movdqu xmmword [rbp - 0x18], xmm0
test esi, esi
je 0x1400a3a1a
or rax, 0xffffffffffffffff
lea rcx, [rbp - 0x18]
mov r8d, eax
mov edx, eax
call qword [sym.imp.USER32.dll_InflateRect]
mov ecx, reloc.WSOCK32.dll_recv
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, eax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
lea rdx, [rbp - 0x18]
mov rcx, rdi
mov r8, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_FrameRect]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rbx, qword [rbp - 0x30]
jmp 0x1400a3a49
test r12d, r12d
je 0x1400a3a32
or rax, 0xffffffffffffffff
lea rcx, [rbp - 0x18]
mov r8d, eax
mov edx, eax
call qword [sym.imp.USER32.dll_InflateRect]
mov r9d, reloc.WSOCK32.dll_recv
lea rdx, [rbp - 0x18]
mov rcx, rdi
lea r8d, [r9 - 0xc]
call qword [sym.imp.USER32.dll_DrawFrameControl]
movups xmm0, xmmword [r14 + 0x28]
lea rcx, [rbp - 0x18]
movdqu xmmword [rbp - 0x18], xmm0
test esi, esi
je 0x1400a3a6b
mov edx, 0xfffffffe
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
jmp 0x1400a3a89
mov edx, 0xfffffffd
test r12d, r12d
jne 0x1400a3a7a
mov edx, 0xfffffffe
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
dec dword [rbp - 0x18]
dec dword [rbp - 0x14]
lea rdx, [rbp - 0x18]
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_FillRect]
test esi, esi
jne 0x1400a3aa2
test r13d, r13d
je 0x1400a3aaa
add dword [rbp - 0x18], 2
add dword [rbp - 0x14], 2
mov rcx, qword [r15]
mov edx, 0xfffffff0
mov esi, 0x104
call qword [sym.imp.USER32.dll_GetWindowLongW]
lea ecx, [rsi + 0x20]
mov edx, 0x300
bt eax, 0xd
cmovae esi, ecx
mov ecx, eax
and ecx, edx
cmp ecx, edx
jne 0x1400a3ad7
or esi, 1
bt eax, 9
jae 0x1400a3ae2
or esi, 2
jmp 0x1400a3aeb
bt eax, 8
jb 0x1400a3aeb
or esi, 1
mov rcx, qword [r15]
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.140024a2c
mov rcx, qword [r15]
mov r8d, ebx
mov rdx, rax
mov qword [rbp - 0x28], rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r15, qword [rbp - 0x28]
or rbx, 0xffffffffffffffff
lea r9, [rbp - 0x18]
mov r8d, ebx
mov rcx, rdi
mov rdx, r15
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_DrawTextW]
test r13d, r13d
je 0x1400a3b96
movups xmm0, xmmword [r14 + 0x28]
lea ecx, [rbx + 0x12]
movups xmmword [rbp - 0x18], xmm0
inc dword [rbp - 0x14]
movd eax, xmm0
inc eax
mov dword [rbp - 0x18], eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, rdi
mov edx, eax
call qword [sym.imp.GDI32.dll_SetTextColor]
lea r9, [rbp - 0x18]
mov r8d, ebx
mov rdx, r15
mov rcx, rdi
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_DrawTextW]
test r12d, r12d
je 0x1400a3be8
movups xmm0, xmmword [r14 + 0x28]
xor ecx, ecx
movdqu xmmword [rbp - 0x18], xmm0
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
lea rdx, [rbp - 0x18]
mov r8, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.USER32.dll_FrameRect]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov edx, 0xfffffffc
lea rcx, [rbp - 0x18]
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
lea rdx, [rbp - 0x18]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawFocusRect]
mov rcx, r15
call fcn.1400205a0
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [rbp + 0x40]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [rbp + 0x58]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov eax, 1
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret