Function at 0x10060790
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a9d40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x45c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x468], esi
mov ebx, dword [ebp + 8]
xor edi, edi
cmp ebx, edi
je 0x10060b45
cmp dword [ebp + 0x10], edi
je 0x10060b45
cmp dword [ebp + 0x14], edi
je 0x10060b45
cmp dword [esi + 0xc70], edi
je 0x10060b45
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
call fcn.10115020
test eax, eax
je 0x100609fd
mov ecx, dword [esi + 0xc70]
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], ecx
cmp eax, 0x10001
jne 0x10060825
cmp ecx, 0x100
je 0x10060930
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], ecx
cmp eax, 0x10002
jne 0x10060841
cmp ecx, 1
je 0x10060930
mov word [ebp - 0x430], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x42e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x430], 0x102
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0xc4
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, eax
mov dword [ebp - 0x228], edx
test edx, edx
jle 0x100608fa
cmp edx, 0x102
jg 0x100608ad
mov ecx, 0x104
sub ecx, edx
shl ecx, 1
xor eax, eax
lea edi, [ebp + edx*2 - 0x430]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push 0xd
lea eax, [ebp - 0x430]
push eax
call fcn.100ea56e
add esp, 8
mov dword [ebp - 0x224], eax
test eax, eax
je 0x100608e0
lea ecx, [eax + 4]
lea edx, [ebp - 0x22a]
cmp ecx, edx
ja 0x100608e0
mov word [eax + 2], 0xa
mov word [ecx], 0
mov eax, dword [ebp + 0x14]
dec eax
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x430]
push edx
call fcn.10012a80
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10060911
push eax
call fcn.101963e7
add esp, 4
mov edx, dword [ebp + 0x10]
push edx
call fcn.100e9958
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov byte [ebp - 0x11c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov word [ebp - 0x11c], 0x102
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0xc4
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x100608fa
lea edi, [ebp - 0x11c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x18], ecx
lea eax, [ebp + ecx - 0x11c]
cmp byte [eax - 1], 0xd
jne 0x10060990
mov byte [eax], 0xa
lea edi, [ebp - 0x11c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
mov dword [ebp - 0x18], edx
mov esi, dword [ebp + 0x14]
lea eax, [esi - 1]
cmp edx, eax
jbe 0x100609b4
mov edx, eax
mov dword [ebp - 0x18], edx
mov byte [ebp - 0x220], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x21f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push edx
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.100ea710
dec esi
push esi
mov ecx, dword [ebp + 0x10]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x220]
push edx
call fcn.10012bd0
add esp, 0x1c
jmp 0x100608fa
push edi
push edi
push 0xe
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, edi
je 0x100608fa
lea esi, [ebx + ebx + 6]
push esi
call fcn.101963be
add esp, 4
mov edx, eax
mov dword [ebp - 0x450], edx
mov dword [ebp - 0x14], edx
cmp edx, edi
je 0x100608fa
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
push edx
inc ebx
push ebx
push 0xd
mov eax, dword [ebp + 8]
push eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
test eax, eax
jle 0x100608fa
xor edi, edi
mov dword [ebp - 0x434], edi
xor ebx, ebx
mov dword [ebp - 0x438], ebx
cmp ebx, dword [ebp + 0xc]
jg 0x100608fa
push 0
push ebx
push 0xbb
mov ecx, dword [ebp + 8]
push ecx
call esi
mov dword [ebp - 0x444], eax
push 0
push eax
push 0xc1
mov edx, dword [ebp + 8]
push edx
call esi
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x440], edi
test ebx, ebx
jne 0x10060aaf
test eax, eax
je 0x10060abc
mov ecx, dword [ebp - 0x14]
cmp word [ecx + edi*2], 0xd
jne 0x10060ac2
add edi, 2
mov dword [ebp - 0x440], edi
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x440]
lea edi, [edx + ecx*2]
push eax
push edi
mov ecx, dword [ebp - 0x468]
call fcn.10060730
mov dword [ebp - 0x43c], eax
cmp ebx, dword [ebp + 0xc]
jne 0x10060b2a
mov edx, dword [ebp + 0x14]
lea ecx, [edx + edx - 6]
cmp ecx, eax
jae 0x10060af3
mov eax, ecx
mov ecx, eax
mov dword [ebp - 0x44c], ecx
mov esi, edi
mov eax, dword [ebp + 0x10]
mov edi, eax
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]
push 0x101f3348
push eax
call fcn.100e9909
add esp, 8
mov eax, dword [ebp - 0x43c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x440]
lea edi, [eax + ecx]
mov dword [ebp - 0x434], edi
inc ebx
jmp 0x10060a6a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10