Function at 0x4d8928
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x35
push 0
push 0
dec ecx
jne 0x4d8930
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x4d8e35
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x417cdc]
call fcn.00403a74
mov ebx, eax
call fcn.004d8734
test al, al
jne 0x4d8968
call fcn.004d86b4
test al, al
je 0x4d8974
mov eax, dword [0x4e27d4]
mov eax, dword [eax]
call fcn.0046b904
push 0
mov eax, dword [0x4e29cc]
mov eax, dword [eax]
call fcn.00452684
push eax
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
je 0x4d89d5
push 0xff
lea eax, [ebp - 0xff]
push eax
push esi
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x4d89c7
lea eax, [ebp - 0x104]
lea edx, [ebp - 0xff]
mov ecx, 0xff
call fcn.00404ae8
mov edx, dword [ebp - 0x104]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 2
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
jne 0x4d898e
lea edx, [ebp - 0x10c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00408b60
mov eax, dword [ebp - 0x108]
push eax
lea edx, [ebp - 0x110]
mov eax, 0x4d8e4c
call fcn.00408b60
mov eax, dword [ebp - 0x110]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d8dcb
lea edx, [ebp - 0x118]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 0x114]
call fcn.00408b60
mov eax, dword [ebp - 0x114]
push eax
lea edx, [ebp - 0x11c]
mov eax, 0x4d8e5c
call fcn.00408b60
mov eax, dword [ebp - 0x11c]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d8dcb
lea edx, [ebp - 0x124]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x120]
call fcn.00408b60
mov eax, dword [ebp - 0x120]
push eax
lea edx, [ebp - 0x128]
mov eax, 0x4d8e6c
call fcn.00408b60
mov eax, dword [ebp - 0x128]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d8dcb
lea edx, [ebp - 0x130]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x130]
lea edx, [ebp - 0x12c]
call fcn.00408b60
mov eax, dword [ebp - 0x12c]
push eax
lea edx, [ebp - 0x134]
mov eax, 0x4d8e7c
call fcn.00408b60
mov eax, dword [ebp - 0x134]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d8dcb
lea edx, [ebp - 0x13c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00408b60
mov eax, dword [ebp - 0x138]
push eax
lea edx, [ebp - 0x140]
mov eax, 0x4d8e8c
call fcn.00408b60
mov eax, dword [ebp - 0x140]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d8dcb
lea edx, [ebp - 0x148]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.00408b60
mov eax, dword [ebp - 0x144]
push eax
lea edx, [ebp - 0x14c]
mov eax, 0x4d8ea0
call fcn.00408b60
mov eax, dword [ebp - 0x14c]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d8dcb
lea edx, [ebp - 0x154]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.00408b60
mov eax, dword [ebp - 0x150]
push eax
lea edx, [ebp - 0x158]
mov eax, 0x4d8eb8
call fcn.00408b60
mov eax, dword [ebp - 0x158]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d8dcb
lea edx, [ebp - 0x160]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
call fcn.00408b60
mov eax, dword [ebp - 0x15c]
push eax
lea edx, [ebp - 0x164]
mov eax, 0x4d8ecc
call fcn.00408b60
mov eax, dword [ebp - 0x164]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d8dcb
lea edx, [ebp - 0x16c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.00408b60
mov eax, dword [ebp - 0x168]
push eax
lea edx, [ebp - 0x170]
mov eax, 0x4d8ee0
call fcn.00408b60
mov eax, dword [ebp - 0x170]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d8dcb
lea edx, [ebp - 0x178]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
call fcn.00408b60
mov eax, dword [ebp - 0x174]
push eax
lea edx, [ebp - 0x17c]
mov eax, 0x4d8ef4
call fcn.00408b60
mov eax, dword [ebp - 0x17c]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d8dcb
lea edx, [ebp - 0x184]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.00408b60
mov eax, dword [ebp - 0x180]
push eax
lea edx, [ebp - 0x188]
mov eax, 0x4d8f08
call fcn.00408b60
mov eax, dword [ebp - 0x188]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d8dcb
lea edx, [ebp - 0x190]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x190]
lea edx, [ebp - 0x18c]
call fcn.00408b60
mov eax, dword [ebp - 0x18c]
push eax
lea edx, [ebp - 0x194]
mov eax, 0x4d8f1c
call fcn.00408b60
mov eax, dword [ebp - 0x194]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d8dcb
lea edx, [ebp - 0x19c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x19c]
lea edx, [ebp - 0x198]
call fcn.00408b60
mov eax, dword [ebp - 0x198]
push eax
lea edx, [ebp - 0x1a0]
mov eax, 0x4d8f30
call fcn.00408b60
mov eax, dword [ebp - 0x1a0]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d8dcb
lea edx, [ebp - 0x1a8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1a8]
lea edx, [ebp - 0x1a4]
call fcn.00408b60
mov eax, dword [ebp - 0x1a4]
push eax
lea edx, [ebp - 0x1ac]
mov eax, 0x4d8f44
call fcn.00408b60
mov eax, dword [ebp - 0x1ac]
pop edx
call fcn.00404e7c
test eax, eax
jle 0x4d8e10
mov dl, 1
mov eax, dword [0x417cdc]
call fcn.00403a74
mov esi, eax
mov edx, 0x4d8f54
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4d8f78
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, esi
call fcn.00403aa4
mov eax, dword [0x4e27d4]
mov eax, dword [eax]
call fcn.0046b904
call fcn.004d878c
mov eax, ebx
call fcn.00403aa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8e3c
lea eax, [ebp - 0x1ac]
mov edx, 0x2b
call fcn.0040489c
ret