Function at 0x1400a4790
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 [0x1400e3518], 0
mov r15, r8
mov r14, rdx
je 0x1400a47c5
call fcn.1400a4ac8
jmp 0x1400a4aad
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 0x1400a47e8
lea ecx, [rbx + 0xf]
jmp 0x1400a47f8
mov edx, dword [r8 + 0x94]
cmp edx, ebx
jne 0x1400a4800
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 0x1400a4836
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 0x1400a484a
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 0x1400a48be
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 0x1400a48ed
test r12d, r12d
je 0x1400a48d6
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 0x1400a490f
mov edx, 0xfffffffe
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
jmp 0x1400a492d
mov edx, 0xfffffffd
test r12d, r12d
jne 0x1400a491e
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 0x1400a4946
test r13d, r13d
je 0x1400a494e
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]
bt eax, 0xd
cmovae esi, ecx
bt eax, 8
jb 0x1400a4974
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.14002686c
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 0x1400a4a1f
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 0x1400a4a71
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.140026914
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