Function at 0x4a8d18
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, 0x4ee5d8
mov edi, 0x4e4f77
push ebx
call fcn.004b7934
mov dword [0x4ee5cc], eax
cmp dword [0x4ee5cc], 0
jne 0x4a8d4a
push ebx
call fcn.004a8b14
jmp 0x4a920c
mov eax, dword [0x4ee5cc]
mov edx, dword [eax + 0x518]
mov dword [0x4ee5f0], edx
cmp dword [0x4ee5f0], 0
je 0x4a8d71
call sub.USER32.dll_GetFocus
cmp eax, dword [0x4ee5f0]
je 0x4a8d7d
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a920c
push 0
push 0
push 0xb0
mov ecx, dword [0x4ee5f0]
push ecx
call sub.USER32.dll_SendMessageA
mov dword [0x4ee5ec], eax
movzx edx, word [0x4ee5ec]
mov dword [0x4ee5dc], edx
mov eax, edx
mov dword [esi], eax
test eax, eax
jge 0x4a8db0
xor ecx, ecx
mov dword [esi], ecx
mov eax, dword [esi]
cmp edx, eax
jge 0x4a8dbb
mov dword [0x4ee5dc], eax
push 0
push 0
push 0xe
mov edx, dword [0x4ee5f0]
push edx
call sub.USER32.dll_SendMessageA
mov dword [0x4ee5e0], eax
cmp dword [0x4ee5e0], 0
jle 0x4a8de4
cmp dword [0x4d381c], 0
je 0x4a8def
push ebx
call fcn.004a8b14
jmp 0x4a920c
push edi
push 0x3e6
push 0xd
mov ecx, dword [0x4ee5f0]
push ecx
call sub.USER32.dll_SendMessageA
mov dword [0x4ee5e0], eax
cmp dword [0x4ee5e0], 0
jg 0x4a8e1d
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a920c
mov eax, dword [0x4ee5e0]
mov byte [edi + eax], 0
push edi
call fcn.004a8a78
test eax, eax
je 0x4a8e78
push 0x4d38a4
push 0
push 0xc
mov edx, dword [0x4ee5f0]
push edx
call sub.USER32.dll_SendMessageA
mov ecx, dword [0x4ee5f0]
push ecx
call sub.USER32.dll_UpdateWindow
push ebx
call fcn.004a8b14
jmp 0x4a920c
mov eax, dword [0x4ee5dc]
mov al, byte [edi + eax]
test al, al
je 0x4a8e86
mov edx, dword [0x4ee5dc]
cmp al, 0x20
je 0x4a8e86
inc dword [0x4ee5dc]
mov ecx, dword [0x4ee5dc]
cmp ecx, dword [0x4ee5e0]
jl 0x4a8e5c
mov eax, dword [0x4ee5dc]
mov byte [edi + eax], 0
mov edx, dword [esi]
cmp byte [edi + edx], 0x20
jne 0x4a8ebc
dec dword [esi]
cmp dword [esi], 0
jl 0x4a8ea6
mov ecx, dword [esi]
cmp byte [edi + ecx], 0x20
jne 0x4a8ebc
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a920c
mov eax, dword [esi]
cmp byte [edi + eax], 0x20
je 0x4a8ec1
dec dword [esi]
cmp dword [esi], 0
jg 0x4a8eb2
mov edx, dword [esi]
cmp byte [edi + edx], 0x20
jne 0x4a8ecb
inc dword [esi]
mov ecx, edi
add ecx, dword [esi]
push ecx
call fcn.004bceac
pop ecx
cmp eax, 0x5a
jbe 0x4a8ee7
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a920c
cmp byte [0x4d3820], 0
je 0x4a8f12
push 0x4d3820
call fcn.004bceac
pop ecx
push eax
push 0x4d3820
mov eax, edi
add eax, dword [esi]
push eax
call fcn.004bd07c
add esp, 0xc
test eax, eax
je 0x4a8f53
mov edx, dword [0x4ee5dc]
mov eax, dword [esi]
sub edx, eax
push edx
mov edx, edi
add edx, eax
push edx
push 0x4d3820
call fcn.004bd02c
add esp, 0xc
mov ecx, dword [0x4ee5dc]
sub ecx, dword [esi]
mov byte [ecx + 0x4d3820], 0
cmp byte [0x4d3820], 0
jne 0x4a8f53
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a920c
mov eax, dword [esi]
mov byte [edi + eax], 0
mov edx, dword [0x4ee5dc]
cmp edx, dword [0x4ee5e0]
jge 0x4a8f71
mov ecx, dword [0x4ee5dc]
mov byte [edi + ecx], 0x20
mov al, byte [0x4d3820]
cmp al, 0x24
je 0x4a8f82
cmp al, 0x25
je 0x4a8f82
cmp al, 0x23
jne 0x4a8fdd
push esi
push edi
mov esi, 0x4e4b90
mov edi, 0x4d3820
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
push 0x4e4b90
push ebx
call fcn.0043ed74
test eax, eax
je 0x4a8fd1
cmp byte [0x4e4b90], 0
je 0x4a8fd1
mov ebx, 0x4e4b90
jmp 0x4a9109
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a920c
mov eax, dword [0x4ee5cc]
cmp dword [eax + 0x51c], 0
je 0x4a9011
mov edx, dword [0x4ee5cc]
cmp byte [edx + 0x4cc], 1
je 0x4a901c
mov eax, dword [0x4ee5cc]
cmp byte [eax + 0x4cc], 9
jne 0x4a9011
cmp byte [eax + 0x4cd], 2
je 0x4a901c
push ebx
call fcn.004a8b14
jmp 0x4a920c
xor edx, edx
mov dword [0x4ee5e4], edx
cmp dword [0x4d3884], 0xffffffff
jne 0x4a9039
mov dword [0x4ee5e8], 1
jmp 0x4a9041
xor ecx, ecx
mov dword [0x4ee5e8], ecx
push 0
push 0
push 0x18b
mov eax, dword [0x4ee5cc]
mov edx, dword [eax + 0x51c]
push edx
call sub.USER32.dll_SendMessageA
mov dword [0x4ee5d0], eax
mov eax, dword [0x4ee5d0]
cmp eax, 0xffffffff
je 0x4a91e8
test eax, eax
jle 0x4a91e8
xor edx, edx
mov dword [0x4ee5e0], edx
jmp 0x4a91d6
push 0x4e4b90
push ebx
push 0x189
mov ecx, dword [0x4ee5cc]
mov eax, dword [ecx + 0x51c]
push eax
call sub.USER32.dll_SendMessageA
mov dword [0x4ee5d4], eax
mov eax, dword [0x4ee5d4]
cmp eax, 0xffffffff
je 0x4a91d0
test eax, eax
jle 0x4a91d0
mov ebx, 0x4e4b90
jmp 0x4a90c3
inc ebx
mov al, byte [ebx]
cmp al, 0x40
je 0x4a90c2
cmp al, 0x2b
je 0x4a90c2
cmp al, 0x25
je 0x4a90c2
cmp byte [ebx], 0
je 0x4a91d0
cmp dword [0x4ee5e8], 0
je 0x4a91b8
push 0x4d3820
call fcn.004bceac
pop ecx
push eax
push ebx
push 0x4d3820
call fcn.004bd07c
add esp, 0xc
test eax, eax
jne 0x4a91d0
mov edx, dword [0x4ee5e0]
mov dword [0x4d3884], edx
push ebx
call fcn.004bceac
pop ecx
add eax, dword [esi]
mov dword [esi], eax
mov ecx, dword [0x4ee5dc]
cmp byte [edi + ecx], 0
je 0x4a9142
mov eax, edi
add eax, dword [0x4ee5dc]
push eax
push 0x4e4b90
call fcn.004bcdd0
add esp, 8
push ebx
push edi
call fcn.004bcdd0
add esp, 8
push 0
push 0
push 0xb
mov edx, dword [0x4ee5f0]
push edx
call sub.USER32.dll_SendMessageA
push edi
push 0
push 0xc
mov ecx, dword [0x4ee5f0]
push ecx
call sub.USER32.dll_SendMessageA
mov eax, dword [esi]
push eax
push eax
push 0xb1
mov edx, dword [0x4ee5f0]
push edx
call sub.USER32.dll_SendMessageA
push 0
push 0
push 0xb7
mov ecx, dword [0x4ee5f0]
push ecx
call sub.USER32.dll_SendMessageA
push 0
push 1
push 0xb
mov eax, dword [0x4ee5f0]
push eax
call sub.USER32.dll_SendMessageA
mov edx, dword [0x4ee5f0]
push edx
call sub.USER32.dll_UpdateWindow
jmp 0x4a920c
mov ecx, dword [0x4d3884]
cmp ecx, dword [0x4ee5e0]
jne 0x4a91d0
mov dword [0x4ee5e8], 1
inc dword [0x4ee5e0]
mov ebx, dword [0x4ee5e0]
cmp ebx, dword [0x4ee5d0]
jl 0x4a9083
mov dword [0x4d3884], 0xffffffff
inc dword [0x4ee5e4]
cmp dword [0x4ee5e4], 2
jl 0x4a9024
push 0
call sub.USER32.dll_MessageBeep
pop edi
pop esi
pop ebx
pop ebp
ret 4