Function at 0x4014bb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x684
nop
mov eax, 0
mov byte [ebp - 0x320], al
mov eax, 0xc7
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x31f]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0x258
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x258]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0x18b
push eax
mov eax, dword [0x40617c]
push eax
call sub.user32.dll_SendMessageA
mov dword [ebp - 0x624], eax
mov eax, 0
mov dword [ebp - 0x628], eax
mov eax, 0
mov dword [0x405558], eax
lea eax, [ebp - 0x420]
push eax
mov eax, 0
push eax
mov eax, 0x189
push eax
mov eax, dword [0x40617c]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x405558]
shl eax, 2
mov ecx, 0x4061a8
add ecx, eax
mov eax, 0
mov dword [ecx], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x520]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 1
mov dword [ebp - 0x62c], eax
mov eax, dword [ebp - 0x62c]
mov ecx, dword [ebp - 0x624]
cmp eax, ecx
jge 0x40164c
jmp 0x4015c1
mov eax, dword [ebp - 0x62c]
mov ecx, eax
inc eax
mov dword [ebp - 0x62c], eax
jmp 0x401597
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x62c]
push eax
mov eax, 0x189
push eax
mov eax, dword [0x40617c]
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x520]
push eax
lea eax, [ebp - 0x420]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
cmp eax, 0
jne 0x40160a
jmp 0x4015b0
mov eax, dword [0x405558]
mov ecx, eax
inc eax
mov dword [0x405558], eax
mov eax, dword [0x405558]
shl eax, 2
mov ecx, 0x4061a8
add ecx, eax
mov eax, dword [ebp - 0x62c]
mov dword [ecx], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x520]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
jmp 0x4015b0
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0x184
push eax
mov eax, dword [0x406180]
push eax
call sub.user32.dll_SendMessageA
mov eax, 0x50
push eax
lea eax, [ebp - 0x67c]
push eax
mov eax, dword [0x406190]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, 0
mov dword [ebp - 0x680], eax
mov eax, dword [0x405558]
inc eax
mov ecx, dword [ebp - 0x680]
cmp ecx, eax
jge 0x4017a2
jmp 0x4016b9
mov eax, dword [ebp - 0x680]
mov ecx, eax
inc eax
mov dword [ebp - 0x680], eax
jmp 0x40168e
mov eax, dword [ebp - 0x680]
shl eax, 2
mov ecx, 0x4061a8
add ecx, eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ecx]
push eax
mov eax, 0x189
push eax
mov eax, dword [0x40617c]
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x67c]
push eax
lea eax, [ebp - 0x420]
push eax
call sub.msvcrt.dll_strstr
add esp, 8
mov dword [ebp - 0x684], eax
mov eax, dword [ebp - 0x684]
cmp eax, 0
je 0x401715
jmp 0x40171a
jmp 0x4016a8
lea eax, [ebp - 0x420]
push eax
mov eax, 0
push eax
mov eax, 0x180
push eax
mov eax, dword [0x406180]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 0x680]
inc eax
push eax
mov eax, 0x40557f
push eax
lea eax, [ebp - 0x320]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x258]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 0x405582
push eax
lea eax, [ebp - 0x190]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
lea eax, [ebp - 0x320]
push eax
mov eax, 3
push eax
mov eax, dword [0x406154]
push eax
call fcn.004010b0
add esp, 0xc
jmp 0x4016a8
mov eax, dword [0x405558]
push eax
mov eax, str.__i_kay
push eax
lea eax, [ebp - 0x620]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x620]
push eax
mov eax, 1
push eax
mov eax, 0x401
push eax
mov eax, dword [0x40614c]
push eax
call sub.user32.dll_SendMessageA
leave
ret