Function at 0x4c8ad4
Capabilities:
Get graphical window text

Disassembly:
push 0x24c
mov eax, 0x5ebfe3
call fcn.00593b07
mov dword [ebp - 0x258], ecx
push 0xeb2
push str.IsObsTitleRunningEx
push str.__s__d___begin
call fcn.0040a649
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x4c8d79
xor ebx, ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], ebx
push 2
lea edx, [ebp - 0x250]
mov dword [ebp - 4], ebx
pop ecx
call fcn.004c7c28
push edi
push 0xeb9
push str.IsObsTitleRunningEx
push str.__s__d__hwnd___0x_
mov esi, eax
call fcn.0040a649
push 0x200
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.005aa3d0
add esp, 0x1c
lea eax, [ebp - 0x214]
push 0xff
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xebc
mov edi, str.IsObsTitleRunningEx
lea eax, [ebp - 0x214]
push edi
push eax
push str._title_now:__s__s__d__
call fcn.0040a649
add esp, 0x10
test esi, esi
je 0x4c8c27
mov eax, dword [ebp - 0x24c]
mov esi, ebx
mov ecx, dword [ebp - 0x250]
sub eax, ecx
push 0x18
pop edi
cdq
idiv edi
mov dword [ebp - 0x254], edi
test eax, eax
je 0x4c8d6c
mov edi, ebx
lea eax, [edi + ecx]
cmp dword [eax + 0x14], 8
jb 0x4c8bcc
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.005bcc3e
pop ecx
pop ecx
test eax, eax
je 0x4c8c03
mov ecx, dword [ebp - 0x250]
inc esi
push 0x18
pop eax
add edi, eax
mov eax, dword [ebp - 0x24c]
sub eax, ecx
cdq
idiv dword [ebp - 0x254]
cmp esi, eax
jb 0x4c8bc1
jmp 0x4c8d6c
mov ecx, dword [ebp - 0x258]
imul eax, esi, 0x18
add eax, dword [ebp - 0x250]
push eax
call fcn.00413220
push 0xec2
push str.IsObsTitleRunningEx
jmp 0x4c8d55
call fcn.004c2266
test eax, eax
je 0x4c8d28
mov eax, dword [0x6e4ddc]
mov eax, dword [eax]
mov esi, dword [eax]
jmp 0x4c8cf7
lea eax, [esi + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x4c8c4d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x244]
call fcn.004045aa
push 0xfde9
lea edx, [ebp - 0x244]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.00426805
pop ecx
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 3
call fcn.00404812
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.005bc1fb
pop ecx
pop ecx
test eax, eax
je 0x4c8d01
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], bl
call fcn.0040b67e
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4c8cda
mov eax, dword [esi + 4]
jmp 0x4c8cd0
cmp esi, dword [eax + 8]
jne 0x4c8cd6
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4c8cc6
mov esi, eax
jmp 0x4c8cf0
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4c8cf0
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4c8ce4
mov eax, dword [0x6e4ddc]
mov eax, dword [eax]
cmp esi, eax
jne 0x4c8c42
jmp 0x4c8d6c
push 0xecd
push edi
lea eax, [ebp - 0x214]
push eax
push str._title:__s__s__d__
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x22c]
call fcn.0040b67e
jmp 0x4c8d69
mov esi, ebx
push dword [esi + 0x629240]
lea eax, [ebp - 0x214]
push eax
call fcn.005bcc3e
pop ecx
pop ecx
test eax, eax
je 0x4c8d4f
add esi, 4
cmp esi, 0x4c8
jb 0x4c8d2a
jmp 0x4c8d6c
push 0xed6
push edi
lea eax, [ebp - 0x214]
push eax
push str._title:__s__s__d__
call fcn.0040a649
add esp, 0x10
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x250]
call fcn.004132f0
mov eax, ebx
call fcn.00593ab1
ret