Function at 0x4712e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, 0x4e3d41
mov eax, dword [ebp + 8]
push eax
call fcn.004b7934
mov esi, eax
test esi, esi
je 0x471659
cmp dword [esi + 0x4b8], 0
jne 0x471316
push 0
call sub.USER32.dll_MessageBeep
jmp 0x471659
push 0x4e24ec
lea ebx, [esi + 4]
push ebx
call fcn.004704fc
push 0x4e24ec
call fcn.004704a4
test eax, eax
jne 0x47133e
push 0
call sub.USER32.dll_MessageBeep
jmp 0x471659
push esi
push edi
mov esi, 0x4eca78
mov edi, 0x4e4758
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x4e24ec
push 0x4eca78
call fcn.004bcdd0
add esp, 8
push 7
push 0
push 0xe7f
call fcn.0040a8fc
push eax
push 3
mov eax, dword [ebp + 8]
push eax
call fcn.004a1d64
test eax, eax
je 0x471659
push esi
push edi
mov esi, edi
mov edi, 0x4eca78
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x4ecb78
push edi
call fcn.004bcdd0
add esp, 8
push esi
push edi
mov esi, 0x4e24ec
mov edi, 0x4ecb78
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0
call fcn.004c92e8
pop ecx
push eax
call fcn.0040aa10
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x180
push 0
push 0x4901
push edi
call fcn.004c2208
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x471439
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x471576
cmp dword [ebp - 0x10], 0
je 0x471466
mov edx, dword [ebp - 0x10]
push edx
push ebx
push 0
push 0xe80
call fcn.0040a8fc
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
jmp 0x47147d
push ebx
push 0
push 0xe81
call fcn.0040a8fc
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push edi
call fcn.004bceac
pop ecx
mov ebx, eax
push ebx
push edi
mov eax, dword [ebp - 0xc]
push eax
call fcn.004c1d74
add esp, 0xc
cmp ebx, eax
je 0x47149f
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x471576
cmp byte [esi + 0x4cc], 2
jne 0x471524
cmp byte [esi + 0x4cd], 1
jne 0x471524
push 0
push 0xe82
call fcn.0040a8fc
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 8
push 0x64
push edi
call fcn.004bceac
pop ecx
add eax, edi
push eax
mov edx, dword [esi]
push edx
call sub.USER32.dll_GetWindowTextA
push 0x40
push edi
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x471524
push 0x4d0eb0
push edi
call fcn.004bcdd0
add esp, 8
push edi
call fcn.004bceac
pop ecx
mov ebx, eax
push ebx
push edi
mov eax, dword [ebp - 0xc]
push eax
call fcn.004c1d74
add esp, 0xc
cmp ebx, eax
je 0x471524
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x471576
mov eax, dword [esi + 0x4b8]
test eax, eax
je 0x471576
mov edx, dword [eax + 0x2c]
mov dword [ebp - 4], edx
mov ecx, dword [eax]
push ecx
push 0x4d0eb3
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push edi
call fcn.004bceac
pop ecx
mov ebx, eax
push ebx
push edi
mov eax, dword [ebp - 0xc]
push eax
call fcn.004c1d74
add esp, 0xc
cmp ebx, eax
je 0x47156f
mov dword [ebp - 8], 1
jmp 0x471576
mov eax, dword [ebp - 4]
test eax, eax
jne 0x471534
cmp dword [ebp - 0x10], 0
je 0x47159c
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [esi + 4]
push ecx
push 0
push 0xe83
call fcn.0040a8fc
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
jmp 0x4715b6
lea eax, [esi + 4]
push eax
push 0
push 0xe84
call fcn.0040a8fc
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push edi
call fcn.004bceac
pop ecx
mov ebx, eax
push ebx
push edi
mov eax, dword [ebp - 0xc]
push eax
call fcn.004c1d74
add esp, 0xc
cmp ebx, eax
je 0x4715d8
mov dword [ebp - 8], 1
mov edx, dword [ebp - 0xc]
push edx
call fcn.004bfe44
pop ecx
xor ecx, ecx
mov dword [0x4d22f4], ecx
cmp dword [ebp - 8], 0
je 0x471627
push 0x4e24ec
push 0
push 0xe85
call fcn.0040a8fc
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
mov eax, dword [0x4cb06c]
push eax
push edi
mov edx, dword [0x4d42ac]
push edx
call fcn.0048e560
push 0
call sub.USER32.dll_MessageBeep
jmp 0x471659
push 0x4e24ec
add esi, 4
push esi
push 0
push 0xe86
call fcn.0040a8fc
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
mov eax, dword [0x4cb06c]
push eax
push edi
mov edx, dword [0x4d42ac]
push edx
call fcn.0048e560
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4