Function at 0x1400a2770
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xc0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xf8], rbx
mov rdi, rcx
mov rcx, qword [rcx + 0xa0]
test rcx, rcx
je 0x1400a2ab7
xor r12d, r12d
test dl, dl
je 0x1400a2a71
mov rax, qword [rcx]
call qword [rax + 0x40]
test al, al
jne 0x1400a27d3
mov rcx, qword [rdi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x58]
test al, al
jne 0x1400a27d3
mov rax, qword [rdi + 0x78]
mov rcx, qword [rax + 0x30]
jmp 0x1400a27de
mov rax, qword [rdi + 0x80]
mov rcx, qword [rax + 8]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, rax
lea ebx, [rax + 1]
or r13, 0xffffffffffffffff
test ebx, ebx
je 0x1400a2818
movsxd rcx, ebx
mov eax, 2
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.14011f040
mov rsi, rax
jmp 0x1400a281b
mov rsi, r12
xor ecx, ecx
call fcn.14011e0c0
mov qword [rsp + 0x100], rsi
mov rcx, qword [rdi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x40]
test al, al
jne 0x1400a2856
mov rcx, qword [rdi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x58]
test al, al
jne 0x1400a2856
mov rax, qword [rdi + 0x78]
mov rcx, qword [rax + 0x30]
jmp 0x1400a2861
mov rax, qword [rdi + 0x80]
mov rcx, qword [rax + 8]
movsxd r8, ebx
mov r9, rsi
mov edx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r11, ebp
mov word [rsi + r11*2], 0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r9d, r13d
mov r8d, 0xfde9
mov rdx, rsi
lea rcx, [rsp + 0xf0]
call fcn.14007ba40
nop
mov rcx, qword [rdi + 0xa0]
mov rax, qword [rcx]
mov r8d, gethostbyname
mov rdx, qword [rsp + 0xf0]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rsp + 0xf0]
call fcn.14011e0c0
mov rcx, qword [rdi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x40]
test al, al
jne 0x1400a28fa
mov rcx, qword [rdi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x58]
test al, al
jne 0x1400a28fa
mov rax, qword [rdi + 0x78]
mov rcx, qword [rax + 0x30]
jmp 0x1400a2905
mov rax, qword [rdi + 0x80]
mov rcx, qword [rax + 8]
mov rax, qword [rdi + 0x78]
cmp rcx, qword [rax + 0x30]
jne 0x1400a29e5
mov rcx, qword [rdi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rbx, rax
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x50], 1
mov dword [rsp + 0x20], r12d
mov r9d, r13d
mov r8d, 0xfde9
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.14007bc10
mov dword [rsp + 0x60], 1
mov ecx, dword [rdi + 0x8c]
mov dword [rsp + 0x64], ecx
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x6c], r12d
mov dword [rsp + 0x70], r12d
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x78], rax
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x104c
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0xf0]
call fcn.14011e0c0
nop
mov rcx, rbx
call fcn.14011e0c0
jmp 0x1400a2a5f
mov dword [rsp + 0x60], 1
mov eax, dword [rdi + 0x8c]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x6c], r12d
mov dword [rsp + 0x70], r12d
mov qword [rsp + 0x78], rsi
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x104c
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rdi + 8]
call fcn.1400919a0
nop
mov rcx, rsi
call fcn.14011e0c0
mov rcx, qword [rdi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x40]
test al, al
jne 0x1400a2a9d
mov rcx, qword [rdi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x58]
test al, al
jne 0x1400a2a9d
mov rax, qword [rdi + 0x78]
mov rcx, qword [rax + 0x30]
jmp 0x1400a2aa8
mov rax, qword [rdi + 0x80]
mov rcx, qword [rax + 8]
mov qword [rdi + 0xa0], r12
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret