Function at 0x41c2f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x4ca010]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xd8], ecx
push 0x1d
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x1b4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xd4], 0
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0xe4], edx
cmp dword [ebp - 0xe4], 0x64
jae 0x41c365
jmp 0x41c36a
call fcn.00499124
mov eax, dword [ebp - 0xe4]
mov byte [ebp + eax - 0x68], 0
mov ecx, dword [ebp - 0xd0]
cmp ecx, dword [ebp - 0xf4]
jge 0x41c46e
mov edx, dword [ebp - 0xd0]
movsx eax, byte [ebp + edx - 0xcc]
and eax, 0xff
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x81
jl 0x41c3b8
cmp dword [ebp - 0xdc], 0xfe
jle 0x41c3d8
cmp dword [ebp - 0xdc], 0xe0
jl 0x41c45a
cmp dword [ebp - 0xdc], 0xfc
jg 0x41c45a
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xd0]
mov al, byte [ebp + edx - 0xcc]
mov byte [ebp + ecx - 0x68], al
mov ecx, dword [ebp - 0xd4]
add ecx, 1
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xd0]
add edx, 1
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xd0]
mov dl, byte [ebp + ecx - 0xcc]
mov byte [ebp + eax - 0x68], dl
mov eax, dword [ebp - 0xd4]
add eax, 1
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xe8], ecx
cmp dword [ebp - 0xe8], 0x64
jae 0x41c44a
jmp 0x41c44f
call fcn.00499124
mov edx, dword [ebp - 0xe8]
mov byte [ebp + edx - 0x68], 0
mov eax, dword [ebp - 0xd0]
add eax, 1
mov dword [ebp - 0xd0], eax
jmp 0x41c375
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jg 0x41c4bb
mov edx, dword [ebp - 0xd8]
cmp dword [edx + 0x1f0], 0
jle 0x41c4a2
mov ecx, 0x54796a0
call fcn.00415ee0
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x41c4b9
push 0
mov ecx, 0x54796a0
call fcn.00415f00
push eax
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x41c4f3
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0xa
jle 0x41c4f3
mov eax, 1
imul ecx, eax, 0xa
mov dword [ebp - 0xec], ecx
cmp dword [ebp - 0xec], 0x64
jae 0x41c4e3
jmp 0x41c4e8
call fcn.00499124
mov edx, dword [ebp - 0xec]
mov byte [ebp + edx - 0x68], 0
mov ecx, 0x45d79a8
call fcn.00411450
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x1f0], 0
jle 0x41c575
mov ecx, 0x54796a0
call fcn.00415ee0
mov dword [ebp - 0xf0], eax
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0xf0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x41c55c
mov eax, 4
imul ecx, eax, 0x11
mov edx, dword [ebp - 0xe0]
mov dword [edx + ecx + 0x1628], 0
jmp 0x41c575
mov eax, 4
imul ecx, eax, 0x11
mov edx, dword [ebp - 0xe0]
mov dword [edx + ecx + 0x1628], 1
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x1f0], 0
jle 0x41c59d
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0xe0]
add edx, 0x7f324
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x41c5bd
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x1e
imul edx, ecx, 0
mov eax, dword [ebp - 0xe0]
lea ecx, [eax + edx + 0x7f342]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x1b4]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00498d32
mov esp, ebp
pop ebp
ret