Function at 0x41c750
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x4ceb90]
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 0x41c7c5
jmp 0x41c7ca
call fcn.0049b12a
mov eax, dword [ebp - 0xe4]
mov byte [ebp + eax - 0x68], 0
mov ecx, dword [ebp - 0xd0]
cmp ecx, dword [ebp - 0xf4]
jge 0x41c8ce
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 0x41c818
cmp dword [ebp - 0xdc], 0x9f
jle 0x41c838
cmp dword [ebp - 0xdc], 0xe0
jl 0x41c8ba
cmp dword [ebp - 0xdc], 0xfc
jg 0x41c8ba
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 0x41c8aa
jmp 0x41c8af
call fcn.0049b12a
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 0x41c7d5
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jg 0x41c91b
mov edx, dword [ebp - 0xd8]
cmp dword [edx + 0x1f0], 0
jle 0x41c902
mov ecx, 0x5670958
call fcn.00415e90
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x41c919
push 0
mov ecx, 0x5670958
call fcn.00415eb0
push eax
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x41c953
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0xa
jle 0x41c953
mov eax, 1
imul ecx, eax, 0xa
mov dword [ebp - 0xec], ecx
cmp dword [ebp - 0xec], 0x64
jae 0x41c943
jmp 0x41c948
call fcn.0049b12a
mov edx, dword [ebp - 0xec]
mov byte [ebp + edx - 0x68], 0
mov ecx, 0x47ce440
call fcn.00411450
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x1f0], 0
jle 0x41c9d5
mov ecx, 0x5670958
call fcn.00415e90
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 0x41c9bc
mov eax, 4
imul ecx, eax, 0x11
mov edx, dword [ebp - 0xe0]
mov dword [edx + ecx + 0x1628], 0
jmp 0x41c9d5
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 0x41c9fd
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0xe0]
add edx, 0x7f324
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x41ca1d
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.0049ad38
mov esp, ebp
pop ebp
ret