Function at 0x4e2520
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x5028]
mov eax, 0x5028
call fcn.0061ea30
push 0xffffffffffffffff
push 0x6517d8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0x5024], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x14], edi
xor eax, eax
mov word [ebp + 0x10], ax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
push ecx
call fcn.0044aef0
add esp, 4
cmp dword [0x75abdc], edi
je 0x4e25b6
mov eax, dword [0x75ad64]
cmp eax, edi
mov ecx, eax
jne 0x4e259e
mov ecx, 0x75ad68
mov eax, dword [0x75accc]
cmp eax, edi
jne 0x4e25ac
mov eax, 0x75acd0
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043bee0
cmp dword [0x75abe0], edi
je 0x4e25e6
mov eax, dword [0x75ad7c]
cmp eax, edi
mov ecx, eax
jne 0x4e25ce
mov ecx, 0x75ad80
mov eax, dword [0x75ad70]
cmp eax, edi
jne 0x4e25dc
mov eax, 0x75ad74
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043bee0
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x20], edi
xor edx, edx
mov word [ebp + 0x1c], dx
mov byte [ebp - 4], 2
cmp dword [0x74fd28], edi
je 0x4e272e
push 0x27ff
lea eax, [ebp + 0x24]
push eax
mov ecx, dword [esi + 0x1728]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4e2696
push 0x6813e8
lea edx, [ebp + 0x24]
push edx
call fcn.0061f60b
add esp, 8
lea ecx, [ebp + 0x18]
cmp eax, edi
je 0x4e2639
add eax, 6
jmp 0x4e263c
lea eax, [ebp + 0x24]
push eax
call fcn.004017f0
mov eax, dword [ebp + 0x18]
cmp eax, edi
jne 0x4e264c
lea eax, [ebp + 0x1c]
push 0x2f
push eax
call fcn.0061ee70
add esp, 8
cmp eax, edi
je 0x4e2660
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp + 0x18]
cmp esi, edi
mov eax, esi
jne 0x4e266c
lea eax, [ebp + 0x1c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4e2670
sub eax, edx
sar eax, 1
cmp eax, 0x1e
jbe 0x4e2693
cmp esi, edi
mov eax, esi
jne 0x4e268d
lea eax, [ebp + 0x1c]
xor edx, edx
mov word [eax + 0x3c], dx
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
cmp eax, edi
jne 0x4e26a0
lea eax, [ebp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4e26a3
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [ebp], edi
mov dword [ebp + 8], edi
xor edx, edx
mov word [ebp + 4], dx
mov bl, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0xc]
cmp eax, edi
mov edx, eax
jne 0x4e26d1
lea edx, [ebp + 0x10]
cmp word [edx + ecx*2 - 2], 0x5c
mov edx, 0x676978
jne 0x4e26e3
mov edx, 0x676c70
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x4e26ed
lea ecx, [ebp + 0x1c]
cmp eax, edi
jne 0x4e26f4
lea eax, [ebp + 0x10]
push edi
push ecx
push edx
push eax
push str._s_s_s_
lea ecx, [ebp]
call fcn.00411a20
mov eax, dword [ebp]
cmp dword [0x74fd28], edi
je 0x4e27c7
cmp eax, edi
jne 0x4e271b
lea eax, [ebp + 4]
push eax
mov eax, dword [esi + 0x5cc]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4e27fc
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x178c]
call fcn.005f74f2
push 0x676988
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0061e9a0
add esp, 8
cmp eax, edi
je 0x4e2773
add eax, 3
push eax
push 0x675ea0
lea edx, [ebp - 0x14]
push edx
call fcn.00402f70
add esp, 0xc
push 0x2f
mov eax, dword [ebp - 0x14]
push eax
call fcn.0061e8e0
add esp, 8
cmp eax, edi
je 0x4e2788
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e2790
sub eax, edx
cmp eax, 0x1e
jbe 0x4e27a9
push edi
push 0x1d
lea ecx, [ebp - 0x14]
call fcn.00404050
push edi
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x18]
call fcn.00401980
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402570
jmp 0x4e2696
cmp eax, edi
jne 0x4e27ce
lea eax, [ebp + 4]
push edi
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402a70
add esp, 0xc
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [esi + 0x5cc]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
mov byte [esi + 0x1aab], 0
mov byte [ebp - 4], 2
lea ecx, [ebp]
call fcn.00401210
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.00401210
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5024]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0x5028
mov esp, ebp
pop ebp
ret