Function at 0x1001ca5a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001cb05
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1001cab4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1001cab2
push 0
push 0xd2d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetScrollInfo]
jmp 0x1001cb00
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x1001cad6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 1
jg 0x1001cb00
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001cafe
push 0xe7e
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1001cacb
jmp 0x1001cc5c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 0x23a5
cmp dword [ebp - 0x3c], 0xf52
jge 0x1001cc4c
and dword [ebp - 0x18], 0
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x1000b254
call fcn.100527da
add esp, 0xc
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax + 1]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1004c092
pop ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
and dword [ebp - 0x14], 0
jmp 0x1001cb74
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax + 1]
cmp dword [ebp - 0x14], eax
jge 0x1001cb98
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + eax*4]
push eax
push 0x1000b21c
call fcn.100527da
pop ecx
pop ecx
jmp 0x1001cb6d
and dword [ebp - 8], 0
jmp 0x1001cba5
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax + 1]
cmp dword [ebp - 8], eax
jge 0x1001cc41
mov eax, dword [ebp - 8]
and eax, 0x80000001
jns 0x1001cbc4
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x1001cbdf
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax*4]
push 0x1000b370
call fcn.10052b7f
pop ecx
pop ecx
jmp 0x1001cc3c
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x1c], 0
jle 0x1001cc23
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4 - 4]
inc eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
cmp dword [edx + ecx*4], eax
jle 0x1001cc23
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4 + 4]
inc eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
cmp dword [edx + ecx*4], eax
jle 0x1001cc23
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
sub eax, dword [ebp - 0x20]
push eax
push 0x1000b370
call fcn.10052b7f
pop ecx
pop ecx
jmp 0x1001cb9e
push 0x1000b388
call fcn.10052b7f
pop ecx
push dword [ebp - 0x44]
push 0
push dword [ebp - 0x48]
call fcn.100292df
add esp, 0xc
mov esp, ebp
pop ebp
ret