Function at 0x4c5730
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xd4
push ebx
push esi
push edi
push ebp
push eax
call dword [0x4f6b0c]
test eax, eax
je 0x4c5aa4
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0xe8]
push eax
push ecx
call dword [0x4f6c2c]
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0xe8]
push ecx
push eax
call fcn.004c6090
lea ecx, [esp + 0x48]
mov edx, dword [esp + 0xf0]
add esp, 8
push ecx
push edx
call fcn.004c60f0
mov ecx, dword [esp + 0xf0]
add esp, 8
push str.Active
push ecx
call dword [0x4f6bac]
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x18], eax
push ecx
call dword [0x4f6bb0]
mov ebx, eax
push 0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push ecx
mov ebp, dword [0x4f6888]
push eax
push ebx
call ebp
push 6
call dword [0x4f6ca4]
push eax
call dword [0x4f67c0]
mov esi, eax
test esi, esi
je 0x4c5885
mov eax, dword [esp + 0xe8]
push 0xfffffffffffffff0
push eax
mov ebp, dword [0x4f6c98]
call ebp
test eax, 0x40000
je 0x4c583d
push 0x20
mov ebp, dword [0x4f6cf8]
call ebp
mov edi, eax
push 0x21
call ebp
mov ebp, eax
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x18]
push eax
push esi
push ecx
push ebx
call fcn.004c5cd0
add esp, 0x10
mov eax, 1
sub eax, ebp
lea ecx, [esp + 0x30]
push eax
mov eax, 1
sub eax, edi
mov edi, dword [0x4f6c84]
push eax
push ecx
call edi
jmp 0x4c5843
mov edi, dword [0x4f6c84]
lea eax, [esp + 0x30]
push esi
push eax
mov ebp, dword [0x4f6ca8]
push ebx
call ebp
lea ecx, [esp + 0x20]
push esi
push ecx
push ebx
call ebp
lea eax, [esp + 0x40]
push 1
push 1
push eax
call edi
lea eax, [esp + 0x40]
push esi
push eax
push ebx
call ebp
lea eax, [esp + 0x40]
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
call edi
push esi
mov esi, dword [0x4f677c]
call esi
jmp 0x4c5891
mov edi, dword [0x4f6c84]
mov esi, dword [0x4f677c]
lea eax, [esp + 0x40]
push 0
push eax
push ebx
call fcn.004c5ab0
lea eax, [esp + 0x2c]
add esp, 0xc
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
call edi
call fcn.004c5060
dec eax
add dword [esp + 0x20], eax
mov eax, 3
cmp dword [esp + 0x18], 1
adc eax, 0xffffffff
push eax
call dword [0x4f6ca4]
push eax
call dword [0x4f67c0]
mov edi, eax
test edi, edi
je 0x4c58e9
lea eax, [esp + 0x20]
push edi
push eax
mov ebp, dword [0x4f6d20]
push ebx
call ebp
push edi
call esi
lea eax, [esp + 0x88]
push 0x40
mov ecx, dword [esp + 0xec]
push eax
push ecx
mov ebp, dword [0x4f6ca0]
call ebp
mov ebp, eax
test ebp, ebp
je 0x4c5a95
lea eax, [esp + 0x50]
push 8
push ebx
push eax
call fcn.0045d8d0
lea edi, [esp + 0x78]
add esp, 0xc
mov esi, eax
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x6c]
lea edi, [esp + 0xc8]
mov ecx, 7
push 0
rep movsd dword es:[edi], dword [esi]
push ebx
call dword [0x4f68e4]
lea eax, [esp + 0x88]
push ebp
push eax
push ebx
call fcn.0045f120
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
add esp, 0xc
sub eax, 2
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x14]
jge 0x4c5a27
mov eax, dword [0x4eb794]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
push eax
call dword [0x4f6960]
mov word [esp + 0x12], ax
lea ecx, [esp + ebp + 0x88]
mov esi, ecx
mov dword [esp + 0x50], ecx
cmp dword [0x4eb22c], 0
jne 0x4c59bf
mov eax, esi
lea ecx, [esp + 0x88]
sub eax, ecx
cmp eax, 1
jle 0x4c59b6
dec esi
jmp 0x4c59d0
lea esi, [esp + 0x88]
jmp 0x4c59d0
lea eax, [esp + 0x88]
push esi
push eax
call dword [0x4f6d28]
mov esi, eax
lea eax, [esp + 0x88]
cmp esi, eax
jbe 0x4c5a27
movsx edi, word [esp + 0x12]
mov eax, dword [esp + 0x50]
sub eax, esi
cmp eax, edi
jle 0x4c599a
push eax
lea eax, [esp + 0x70]
push eax
push esi
call fcn.004b0590
lea ecx, [esp + 0x94]
add esp, 0xc
mov eax, esi
sub eax, ecx
lea ecx, [esp + 0x88]
lea ebp, [eax + edi]
push ebp
push ecx
push ebx
call fcn.0045f120
mov dword [esp + 0x20], eax
add esp, 0xc
cmp dword [esp + 0x1c], eax
jl 0x4c599a
cmp dword [esp + 0x18], 1
sbb eax, eax
and eax, 0xa
add eax, 9
push eax
call dword [0x4f6ca4]
push eax
push ebx
call dword [0x4f67b0]
cmp byte [0x4eb230], 0x4a
mov ecx, dword [esp + 0x24]
jne 0x4c5a54
inc cx
jmp 0x4c5a56
dec cx
lea eax, [esp + 0x88]
push ebp
movsx ecx, cx
push eax
push ecx
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x20]
mov ebp, dword [0x4f6774]
add eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
push eax
push ebx
call ebp
lea ecx, [esp + 0xc8]
lea eax, [esp + 0x50]
push ecx
push ebx
push eax
call fcn.0045e810
add esp, 0xc
mov eax, dword [esp + 0xe8]
push ebx
push eax
call dword [0x4f6cf4]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xd4
ret