Function at 0x4c700c
Capabilities:
Get graphical window text

Disassembly:
push 0x24c
mov eax, 0x5ea1ad
call fcn.00592017
mov dword [ebp - 0x258], ecx
push 0xe5e
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 0x4c72b1
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.004c6160
push edi
push 0xe65
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.005a88e0
add esp, 0x1c
lea eax, [ebp - 0x214]
push 0xff
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xe68
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 0x4c715f
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 0x4c72a4
mov edi, ebx
lea eax, [edi + ecx]
cmp dword [eax + 0x14], 8
jb 0x4c7104
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.005bb14e
pop ecx
pop ecx
test eax, eax
je 0x4c713b
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 0x4c70f9
jmp 0x4c72a4
mov ecx, dword [ebp - 0x258]
imul eax, esi, 0x18
add eax, dword [ebp - 0x250]
push eax
call fcn.0041321d
push 0xe6e
push str.IsObsTitleRunningEx
jmp 0x4c728d
call fcn.004c0b2f
test eax, eax
je 0x4c7260
mov eax, dword [0x6e1d8c]
mov eax, dword [eax]
mov esi, dword [eax]
jmp 0x4c722f
lea eax, [esi + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x4c7185
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.00426802
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.005ba70b
pop ecx
pop ecx
test eax, eax
je 0x4c7239
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], bl
call fcn.0040b67b
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4c7212
mov eax, dword [esi + 4]
jmp 0x4c7208
cmp esi, dword [eax + 8]
jne 0x4c720e
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4c71fe
mov esi, eax
jmp 0x4c7228
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4c7228
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4c721c
mov eax, dword [0x6e1d8c]
mov eax, dword [eax]
cmp esi, eax
jne 0x4c717a
jmp 0x4c72a4
push 0xe79
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.0040b67b
jmp 0x4c72a1
mov esi, ebx
push dword [esi + 0x627580]
lea eax, [ebp - 0x214]
push eax
call fcn.005bb14e
pop ecx
pop ecx
test eax, eax
je 0x4c7287
add esi, 4
cmp esi, 0x4c8
jb 0x4c7262
jmp 0x4c72a4
push 0xe82
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.004132ed
mov eax, ebx
call fcn.00591fc1
ret