Function at 0x1005e110
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10187940
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 0x1005e4c5
cmp dword [ebp + 0x10], edi
je 0x1005e4c5
cmp dword [ebp + 0x14], edi
je 0x1005e4c5
cmp dword [esi + 0xc70], edi
je 0x1005e4c5
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
call fcn.100f53a0
test eax, eax
je 0x1005e37d
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 0x1005e1a5
cmp ecx, 0x100
je 0x1005e2b0
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], ecx
cmp eax, 0x10002
jne 0x1005e1c1
cmp ecx, 1
je 0x1005e2b0
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 0x1005e27a
cmp edx, 0x102
jg 0x1005e22d
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.100caf3c
add esp, 8
mov dword [ebp - 0x224], eax
test eax, eax
je 0x1005e260
lea ecx, [eax + 4]
lea edx, [ebp - 0x22a]
cmp ecx, edx
ja 0x1005e260
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.10012f10
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1005e291
push eax
call fcn.10173959
add esp, 4
mov edx, dword [ebp + 0x10]
push edx
call fcn.100c9da4
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 0x1005e27a
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 0x1005e310
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 0x1005e334
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.100cad40
dec esi
push esi
mov ecx, dword [ebp + 0x10]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x220]
push edx
call fcn.10013060
add esp, 0x1c
jmp 0x1005e27a
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 0x1005e27a
lea esi, [ebx + ebx + 6]
push esi
call fcn.10173930
add esp, 4
mov edx, eax
mov dword [ebp - 0x450], edx
mov dword [ebp - 0x14], edx
cmp edx, edi
je 0x1005e27a
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 0x1005e27a
xor edi, edi
mov dword [ebp - 0x434], edi
xor ebx, ebx
mov dword [ebp - 0x438], ebx
cmp ebx, dword [ebp + 0xc]
jg 0x1005e27a
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 0x1005e42f
test eax, eax
je 0x1005e43c
mov ecx, dword [ebp - 0x14]
cmp word [ecx + edi*2], 0xd
jne 0x1005e442
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.1005e0b0
mov dword [ebp - 0x43c], eax
cmp ebx, dword [ebp + 0xc]
jne 0x1005e4aa
mov edx, dword [ebp + 0x14]
lea ecx, [edx + edx - 6]
cmp ecx, eax
jae 0x1005e473
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 0x101c31a4
push eax
call fcn.100c9d55
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 0x1005e3ea
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