Function at 0x4d0a0c
Capabilities:
Get graphical window text

Disassembly:
push 0x24c
mov eax, 0x5f4ec8
call fcn.0059bbd7
mov dword [ebp - 0x258], ecx
push 0xf57
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 0x4d0cb1
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.004cfb60
push edi
push 0xf5e
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.005b24a0
add esp, 0x1c
lea eax, [ebp - 0x214]
push 0xff
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xf61
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 0x4d0b5f
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 0x4d0ca4
mov edi, ebx
lea eax, [edi + ecx]
cmp dword [eax + 0x14], 8
jb 0x4d0b04
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.005c4d0e
pop ecx
pop ecx
test eax, eax
je 0x4d0b3b
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 0x4d0af9
jmp 0x4d0ca4
mov ecx, dword [ebp - 0x258]
imul eax, esi, 0x18
add eax, dword [ebp - 0x250]
push eax
call fcn.0041322b
push 0xf67
push str.IsObsTitleRunningEx
jmp 0x4d0c8d
call fcn.004c9a2d
test eax, eax
je 0x4d0c60
mov eax, dword [0x6f0e4c]
mov eax, dword [eax]
mov esi, dword [eax]
jmp 0x4d0c2f
lea eax, [esi + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x4d0b85
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.00426ce7
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.005c42cb
pop ecx
pop ecx
test eax, eax
je 0x4d0c39
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], bl
call fcn.0040b67e
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4d0c12
mov eax, dword [esi + 4]
jmp 0x4d0c08
cmp esi, dword [eax + 8]
jne 0x4d0c0e
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4d0bfe
mov esi, eax
jmp 0x4d0c28
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4d0c28
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4d0c1c
mov eax, dword [0x6f0e4c]
mov eax, dword [eax]
cmp esi, eax
jne 0x4d0b7a
jmp 0x4d0ca4
push 0xf72
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 0x4d0ca1
mov esi, ebx
push dword [esi + 0x6323f0]
lea eax, [ebp - 0x214]
push eax
call fcn.005c4d0e
pop ecx
pop ecx
test eax, eax
je 0x4d0c87
add esi, 4
cmp esi, 0x4c8
jb 0x4d0c62
jmp 0x4d0ca4
push 0xf7b
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.004132fb
mov eax, ebx
call fcn.0059bb81
ret