Function at 0x10061030
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ade60
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 0x100613e5
cmp dword [ebp + 0x10], edi
je 0x100613e5
cmp dword [ebp + 0x14], edi
je 0x100613e5
cmp dword [esi + 0xc70], edi
je 0x100613e5
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
call fcn.10118250
test eax, eax
je 0x1006129d
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 0x100610c5
cmp ecx, 0x100
je 0x100611d0
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], ecx
cmp eax, 0x10002
jne 0x100610e1
cmp ecx, 1
je 0x100611d0
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 0x1006119a
cmp edx, 0x102
jg 0x1006114d
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.100ed78e
add esp, 8
mov dword [ebp - 0x224], eax
test eax, eax
je 0x10061180
lea ecx, [eax + 4]
lea edx, [ebp - 0x22a]
cmp ecx, edx
ja 0x10061180
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.10012960
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100611b1
push eax
call fcn.1019a457
add esp, 4
mov edx, dword [ebp + 0x10]
push edx
call fcn.100ecb78
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 0x1006119a
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 0x10061230
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 0x10061254
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.100ed930
dec esi
push esi
mov ecx, dword [ebp + 0x10]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x220]
push edx
call fcn.10012ab0
add esp, 0x1c
jmp 0x1006119a
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 0x1006119a
lea esi, [ebx + ebx + 6]
push esi
call fcn.1019a42e
add esp, 4
mov edx, eax
mov dword [ebp - 0x450], edx
mov dword [ebp - 0x14], edx
cmp edx, edi
je 0x1006119a
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 0x1006119a
xor edi, edi
mov dword [ebp - 0x434], edi
xor ebx, ebx
mov dword [ebp - 0x438], ebx
cmp ebx, dword [ebp + 0xc]
jg 0x1006119a
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 0x1006134f
test eax, eax
je 0x1006135c
mov ecx, dword [ebp - 0x14]
cmp word [ecx + edi*2], 0xd
jne 0x10061362
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.10060fd0
mov dword [ebp - 0x43c], eax
cmp ebx, dword [ebp + 0xc]
jne 0x100613ca
mov edx, dword [ebp + 0x14]
lea ecx, [edx + edx - 6]
cmp ecx, eax
jae 0x10061393
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 0x101f7598
push eax
call fcn.100ecb29
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 0x1006130a
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