Function at 0x4916c0
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 rdi, rcx
mov rcx, qword [rcx + 8]
mov ebx, edx
lea rdx, [rax - 0x28]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0xb0]
mov r8d, ebx
mov rcx, rdi
call fcn.00406938
mov rcx, qword [rdi + 0x210]
call qword [sym.imp.USER32.dll_IsWindow]
xor r13d, r13d
mov r14d, 1
cmp eax, r13d
je 0x491cde
mov rcx, qword [rdi + 0x210]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], r13d
mov dword [rsp + 0x54], r13d
mov dword [rsp + 0x58], r13d
mov dword [rsp + 0x5c], r13d
call qword [sym.imp.USER32.dll_GetClientRect]
mov r11d, dword [rsp + 0x58]
lea eax, [r11 - 0x10]
mov dword [rsp + 0xa8], r11d
mov dword [rsp + 0xa4], r11d
mov dword [rsp + 0xa0], eax
cmp byte [rdi + 0x1591], r13b
je 0x491797
add eax, 0xffffffe8
mov dword [rsp + 0x9c], eax
add eax, 0xffffffe8
mov dword [rsp + 0x98], eax
add eax, 0xffffffb4
mov dword [rsp + 0x94], eax
add eax, 0xffffff8c
jmp 0x4917ac
mov dword [rsp + 0x9c], eax
mov dword [rsp + 0x98], eax
mov dword [rsp + 0x94], eax
mov dword [rsp + 0x90], eax
add eax, 0xffffffba
mov dword [rsp + 0x8c], eax
add eax, 0xffffff9c
mov dword [rsp + 0x88], eax
add eax, 0xffffffea
mov dword [rsp + 0x84], eax
add eax, 0xffffffea
mov dword [rsp + 0x80], eax
add eax, 0xffffffea
mov dword [rsp + 0x7c], eax
add eax, 0xffffffea
mov dword [rsp + 0x78], eax
add eax, 0xffffffea
mov dword [rsp + 0x74], eax
add eax, 0xffffffea
mov dword [rsp + 0x70], eax
add eax, 0xffffffea
mov dword [rsp + 0x6c], eax
add eax, 0xffffffea
mov dword [rsp + 0x68], eax
add eax, 0xffffffea
mov dword [rsp + 0x64], eax
add eax, 0xffffffea
mov dword [rsp + 0x60], eax
mov rax, r13
cmp dword [rsp + rax*4 + 0x60], r13d
jge 0x491822
mov dword [rsp + rax*4 + 0x60], r13d
add rax, r14
cmp rax, 0x12
jl 0x491816
mov rcx, qword [rdi + 0x210]
lea r9, [rsp + 0x60]
mov edx, 0x404
mov r8d, reloc.WS2_32.dll_send
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x58]
mov rcx, qword [rdi + 0x16c0]
cdq
xor r8d, r8d
sub eax, edx
mov edx, 0x418
sar eax, 1
movsxd r9, eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x210]
mov ebx, 0x40a
lea r9, [rsp + 0x30]
mov edx, ebx
mov r8, r14
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x3c], r13d
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x1e0]
sub r11d, r8d
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 0x210]
lea r9, [rsp + 0x30]
mov r8d, 2
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x190]
sub r11d, r8d
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 0x210]
lea r9, [rsp + 0x30]
mov r8d, 3
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x198]
sub r11d, r8d
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 0x210]
lea r9, [rsp + 0x30]
mov r8d, 4
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x1a0]
sub r11d, r8d
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
lea r9, [rsp + 0x30]
mov r8d, 5
mov rcx, qword [rdi + 0x210]
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x1a8]
sub r11d, r8d
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 0x210]
lea r9, [rsp + 0x30]
mov r8d, 6
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x1b0]
sub r11d, r8d
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 0x210]
lea r9, [rsp + 0x30]
mov r8d, 7
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x1c0]
sub r11d, r8d
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 0x210]
lea r9, [rsp + 0x30]
mov r8d, 8
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x1c8]
sub r11d, r8d
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 0x210]
lea r9, [rsp + 0x30]
mov r8d, 0xa
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x1d8]
sub r11d, r8d
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 0x210]
lea r9, [rsp + 0x30]
mov r8d, 9
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
sub r11d, r8d
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x1d0]
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 0x210]
lea r9, [rsp + 0x30]
mov r8d, reloc.WS2_32.dll_recvfrom
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x9f0]
sub r11d, r8d
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 0x210]
lea r9, [rsp + 0x30]
mov r8d, reloc.WS2_32.dll_recv
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x9e8]
sub r11d, r8d
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 0x210]
lea r9, [rsp + 0x30]
mov r8d, reloc.WS2_32.dll_ntohs
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x9e0]
sub r11d, r8d
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 0x210]
lea r9, [rsp + 0x30]
mov r8d, reloc.WS2_32.dll_listen
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x1438]
sub r11d, r8d
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 0x210]
lea r9, [rsp + 0x30]
mov r8d, reloc.WS2_32.dll_ntohl
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
add r11d, 0x78
mov dword [rsp + 0x3c], r11d
sub r11d, r8d
mov dword [rsp + 0x28], r14d
sub r9d, edx
mov rcx, qword [rdi + 0x1440]
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x00866994]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x40]
lea r12d, [rax + 4]
call qword [sym.imp.USER32.dll_CopyRect]
mov rbp, qword [rdi + 0x7b8]
mov rbx, qword [0x00862cb8]
cmp rbp, r13
je 0x491d30
mov rcx, rbp
call fcn.005a1568
cmp byte [rax + 0x3055], r13b
jne 0x491d28
mov rcx, qword [rax + 0x30]
cmp rcx, r13
jne 0x491d45
mov al, byte [rax + 0x2c76]
jmp 0x491d57
cmp byte [rbx + 0x30dd], r13b
jne 0x491d51
mov rcx, qword [rbx + 0xb8]
cmp rcx, r13
je 0x491d51
mov edx, 0x25d
call fcn.0041024c
jmp 0x491d57
mov al, byte [rbx + 0x2cfe]
neg al
mov eax, 0xfffffff6
sbb esi, esi
and esi, 3
add esi, r14d
imul esi, r12d
sub eax, esi
add dword [rsp + 0x4c], eax
cmp byte [rdi + 0x1591], r13b
jne 0x491deb
cmp dword [rdi + 0x160], 0xffffffff
jne 0x491e27
cmp rbp, r13
je 0x491dad
mov rcx, rbp
call fcn.005a1568
cmp byte [rax + 0x3053], r13b
jne 0x491da5
mov rcx, qword [rax + 0x30]
cmp rcx, r13
jne 0x491dc2
mov al, byte [rax + 0x2c74]
jmp 0x491dd4
cmp byte [rbx + 0x30db], r13b
jne 0x491dce
mov rcx, qword [rbx + 0xb8]
cmp rcx, r13
je 0x491dce
mov edx, 0x25b
call fcn.0041024c
jmp 0x491dd4
mov al, byte [rbx + 0x2cfc]
cmp al, r13b
mov edx, r13d
lea rcx, [rdi + 0x118]
sete dl
call fcn.0049d4cc
jmp 0x491e27
cmp dword [rdi + 0x160], 0xffffffff
je 0x491e27
cmp dword [rdi + 0x160], r13d
mov rcx, r13
mov edx, 5
sete cl
mov rcx, qword [rdi + rcx*8 + 0x118]
call qword [sym.imp.USER32.dll_ShowWindow]
or dword [rdi + 0x160], 0xffffffff
lea rcx, [rdi + 0x118]
call fcn.004a04d0
movdqu xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rdi + 0x128], xmm0
test byte [rdi + 0x15c], r14b
je 0x491e71
mov edx, dword [rdi + 0x130]
sub edx, dword [rdi + 0x148]
sub edx, dword [rdi + 0x140]
sub edx, dword [rdi + 0x128]
cmp edx, r13d
jle 0x491eb8
mov ecx, dword [rdi + 0x154]
mov r8d, 0x2710
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, eax
jmp 0x491ea2
mov eax, dword [rdi + 0x15c]
shr eax, 2
test r14b, al
je 0x491eb8
mov edx, dword [rdi + 0x130]
sub edx, dword [rdi + 0x148]
sub edx, dword [rdi + 0x140]
sub edx, dword [rdi + 0x128]
cmp edx, r13d
jle 0x491eb8
sub edx, dword [rdi + 0x154]
lea rcx, [rdi + 0x118]
xor r8d, r8d
mov byte [rdi + 0x158], r13b
call fcn.004a1080
lea rcx, [rdi + 0x118]
call fcn.004a04d0
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_CopyRect]
mov r11d, dword [rsp + 0x4c]
mov r9d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rdi + 0x2c0]
sub r11d, 2
mov r8d, r11d
sub r9d, 2
add edx, 2
sub r8d, esi
mov dword [rsp + 0x4c], r11d
mov dword [rsp + 0x48], r9d
sub r8d, 5
sub r9d, edx
mov dword [rsp + 0x28], r14d
sub r11d, r8d
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_MoveWindow]
lea r11, [rsp + 0xc0]
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