Function at 0x1400ae7d4
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 [0x1400f0408], 0
mov r15, r8
mov r14, rdx
je 0x1400ae809
call fcn.1400aeb2c
jmp 0x1400aeb13
mov esi, dword [rdx + 0x10]
or rbx, 0xffffffffffffffff
mov rdi, qword [rdx + 0x20]
mov r12d, esi
mov r13d, esi
and r12d, 0x10
and esi, 1
and r13d, 6
je 0x1400ae82c
lea ecx, [rbx + 0xf]
jmp 0x1400ae83c
mov edx, dword [r8 + 0x94]
cmp edx, ebx
jne 0x1400ae844
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 0x1400ae87a
mov ecx, reloc.WSOCK32.dll_ntohs
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, reloc.WSOCK32.dll_ntohs
mov qword [rbp - 0x30], rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetSysColor]
jmp 0x1400ae88e
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]
mov qword [rbp - 0x20], rax
movups xmm0, xmmword [r14 + 0x28]
movdqu xmmword [rbp - 0x18], xmm0
test esi, esi
je 0x1400ae902
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 0x1400ae931
test r12d, r12d
je 0x1400ae91a
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]
lea rcx, [rbp - 0x18]
movups xmm0, xmmword [r14 + 0x28]
movdqu xmmword [rbp - 0x18], xmm0
test esi, esi
je 0x1400ae953
mov edx, 0xfffffffe
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
jmp 0x1400ae971
mov edx, 0xfffffffd
test r12d, r12d
jne 0x1400ae962
mov edx, 0xfffffffe
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
dec dword [rbp - 0x18]
dec dword [rbp - 0x14]
mov r8, rbx
lea rdx, [rbp - 0x18]
mov rcx, rdi
call qword [sym.imp.USER32.dll_FillRect]
test esi, esi
jne 0x1400ae98a
test r13d, r13d
je 0x1400ae992
add dword [rbp - 0x18], 2
add dword [rbp - 0x14], 2
mov rcx, qword [r15]
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 0x1400ae9d1
or esi, 2
jmp 0x1400ae9da
bt eax, 8
jb 0x1400ae9da
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.140024bd8
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]
lea r9, [rbp - 0x18]
or rbx, 0xffffffffffffffff
mov dword [rsp + 0x20], esi
mov r8d, ebx
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextW]
test r13d, r13d
je 0x1400aea85
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 edx, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetTextColor]
lea r9, [rbp - 0x18]
mov dword [rsp + 0x20], esi
mov r8d, ebx
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextW]
test r12d, r12d
je 0x1400aead7
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 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 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.140024b94
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