Function at 0x4c76ec
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0xc0
mov r12d, dword [rcx + 0x68]
mov rsi, qword [rcx + 0xd0]
movsx r13d, r9w
shr r9, 0x10
mov r14d, 1
mov rbx, rcx
movsx eax, r9w
cdq
idiv dword [rcx + 0x6c]
sub r12d, eax
sub r12d, r14d
cmp rsi, qword [rcx + 0xd8]
je 0x4c795d
mov rdi, qword [rsi]
cmp r12d, dword [rdi + 0x64]
jne 0x4c779e
cmp r13d, dword [rdi + 0x60]
jl 0x4c779e
cmp byte [rdi + 0x1c], 0
je 0x4c775d
mov edx, dword [rdi + 0x58]
jmp 0x4c7760
mov edx, dword [rdi + 0x50]
movsxd rcx, dword [rdi + 8]
movsxd rax, dword [rdi + 0x18]
lea rax, [rax + rcx*4]
lea rcx, [0x00866670]
mov rax, qword [rcx + rax*8]
neg rax
sbb ecx, ecx
and ecx, 0x10
add ecx, dword [rdi + 0x60]
lea eax, [rcx + rdx + 0x1e]
cmp r13d, eax
jge 0x4c779e
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebp, [r14 + rax]
cmp ebp, 0x14
jge 0x4c77ab
add rsi, 8
cmp rsi, qword [rbx + 0xd8]
jmp 0x4c773d
movsxd rdx, ebp
mov eax, 2
mov r13, 0xffffffffffffffff
mul rdx
cmovo rax, r13
mov rcx, rax
call fcn.006a43c4
mov rcx, qword [rdi + 0x10]
mov r8d, ebp
mov rdx, rax
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rdx, qword [rbx + 0xb8]
xor eax, eax
mov rcx, r13
mov rdi, rsi
repne scasw ax, word [rdi]
mov rax, qword [rbx + 0xb0]
sub rax, rdx
not rcx
sub rcx, r14
sar rax, 1
mov rdi, rcx
cmp rcx, rax
jne 0x4c7834
mov rcx, rsi
test rdi, rdi
je 0x4c782a
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x4c7950
add rcx, 2
add rdx, 2
sub rdi, r14
jne 0x4c7811
xor eax, eax
test eax, eax
je 0x4c7946
mov rdi, qword [rbx + 8]
mov r12d, 0x48
lea rcx, [rsp + 0x20]
mov r8, r12
xor edx, edx
call fcn.006aba40
and dword [rsp + 0x24], 0
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [rbx + 0x60]
or dword [rsp + 0x24], r14d
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
mov qword [rsp + 0x28], rax
mov rax, qword [0x00861be0]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x433
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x48], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rbx + 8]
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
call fcn.006aba40
mov rcx, rdi
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x74], reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [rbx + 0x60]
or dword [rsp + 0x74], r14d
and qword [rsp + 0xa8], 0
mov qword [rsp + 0x78], rax
mov rax, qword [0x00861be0]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x432
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x98], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x60]
xor r9d, r9d
mov r8, r14
mov edx, 0x401
call qword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov rcx, r13
mov rdi, rsi
mov rdx, rsi
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
lea r8, [rsi + rcx*2]
lea rcx, [rbx + 0x70]
call fcn.00406d38
mov rcx, rsi
call fcn.006a5088
jmp 0x4c7985
sbb eax, eax
and eax, 0xfffffffe
add eax, r14d
jmp 0x4c782c
mov rcx, qword [rbx + 0x60]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x401
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [0x0078dc30]
lea rcx, [rbx + 0x70]
mov r8, rdx
call fcn.00406d38
lea r11, [rsp + 0xc0]
mov rax, r14
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret