Function at 0x1001a22d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061e2c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xdc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x64], 0
lea ecx, [ebp - 0xec]
call fcn.1001b6e6
and dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x30]
call fcn.10015984
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0xffffffff
push 3
lea ecx, [ebp - 0xa4]
call fcn.10015984
mov byte [ebp - 4], 2
push 3
lea ecx, [ebp - 0xcc]
call fcn.10015984
mov byte [ebp - 4], 3
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001a0dd
pop ecx
pop ecx
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001a125
pop ecx
pop ecx
mov dword [ebp - 0x24], 0
jmp 0x1001a2cd
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1001a2e9
push dword [ebp - 0x24]
lea ecx, [ebp - 0xcc]
call fcn.10015a22
mov dword [eax], 0xb1a25d00
jmp 0x1001a2c6
mov dword [ebp - 0x14], 3
jmp 0x1001a2f9
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1001a7f0
mov dword [ebp - 0x18], 0x2937a3a1
mov dword [ebp - 0xc0], 0x24061354
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.10015a22
mov esi, eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.10015a22
mov eax, dword [eax]
mov dword [esi], eax
mov dword [ebp - 0x18], 3
jmp 0x1001a340
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1001a7eb
mov dword [ebp - 0x1c], 0xfffffff9
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.10015a22
push 3
lea ecx, [ebp - 0x30]
call fcn.10015a22
push 1
lea ecx, [ebp - 0x30]
call fcn.10015a22
mov eax, dword [eax]
neg eax
cmp dword [ebp - 0x1c], eax
je 0x1001a385
mov dword [ebp - 0x98], 1
jmp 0x1001a38c
and dword [ebp - 0x98], 0
push 1
lea ecx, [ebp - 0x30]
call fcn.10015a22
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [eax]
jne 0x1001a3a9
mov dword [ebp - 0x74], 1
jmp 0x1001a3ad
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x74], eax
jg 0x1001a3c1
mov dword [ebp - 0xa8], 1
jmp 0x1001a3c8
and dword [ebp - 0xa8], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.10015a22
mov eax, 0x78c0
cmp eax, 1
jne 0x1001a3e6
mov dword [ebp - 0x50], 1
jmp 0x1001a3ea
and dword [ebp - 0x50], 0
push 0
lea ecx, [ebp - 0x30]
call fcn.10015a22
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax]
jge 0x1001a404
mov dword [ebp - 0x78], 1
jmp 0x1001a408
and dword [ebp - 0x78], 0
mov esi, dword [ebp - 0x14]
add esi, dword [ebp - 0x78]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.10015a22
cmp esi, dword [eax]
jl 0x1001a426
mov dword [ebp - 0x58], 1
jmp 0x1001a42a
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x58], eax
jl 0x1001a43b
mov dword [ebp - 0x80], 1
jmp 0x1001a43f
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x80]
jge 0x1001a450
mov dword [ebp - 0x60], 1
jmp 0x1001a454
and dword [ebp - 0x60], 0
push 1
lea ecx, [ebp - 0x30]
call fcn.10015a22
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [eax]
jg 0x1001a477
cmp dword [ebp - 0x18], 0
je 0x1001a477
mov dword [ebp - 0x88], 1
jmp 0x1001a47e
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x1c]
je 0x1001a633
mov dword [ebp - 0xb8], 0xfffffff8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1001a16d
pop ecx
pop ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.10015a22
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xd0], eax
mov eax, 0x8d6db9e
test eax, eax
jne 0x1001a4cc
mov dword [ebp - 0x68], 1
jmp 0x1001a4d0
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x1c]
je 0x1001a4e7
mov dword [ebp - 0x90], 1
jmp 0x1001a4ee
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0xffff
jae 0x1001a503
mov dword [ebp - 0x48], 1
jmp 0x1001a507
and dword [ebp - 0x48], 0
imul eax, dword [ebp - 0x48], 0xffff
test eax, eax
je 0x1001a51f
xor eax, eax
je 0x1001a51f
mov dword [ebp - 0x70], 1
jmp 0x1001a523
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x70], eax
jg 0x1001a537
mov dword [ebp - 0x94], 1
jmp 0x1001a53e
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 3
jne 0x1001a550
mov dword [ebp - 0x7c], 1
jmp 0x1001a554
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0x1ee328db
jne 0x1001a569
mov dword [ebp - 0x8c], 1
jmp 0x1001a570
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0xe402095d
jbe 0x1001a588
mov dword [ebp - 0x84], 1
jmp 0x1001a58f
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.10015a22
mov ecx, dword [ebp - 0x6c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x6c], eax
je 0x1001a5bf
mov dword [ebp - 0x4c], 1
jmp 0x1001a5c3
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x4c]
test eax, eax
je 0x1001a5d2
cmp dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xd4], eax
mov eax, 0x874340ca
test eax, eax
jne 0x1001a5fa
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.10015a22
cmp dword [eax], 0
jne 0x1001a5fa
and dword [ebp - 0x44], 0
jmp 0x1001a601
mov dword [ebp - 0x44], 1
push 0
lea ecx, [ebp - 0xa4]
call fcn.10015a22
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x44], eax
jl 0x1001a624
mov dword [ebp - 0x54], 1
jmp 0x1001a628
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc0], eax
jmp 0x1001a641
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x1d]
push eax
call fcn.1001a195
pop ecx
push 0
lea ecx, [ebp - 0xcc]
call fcn.10015a22
mov esi, dword [ebp - 0x1c]
push 1
lea ecx, [ebp - 0xa4]
call fcn.10015a22
add esi, dword [eax]
push 2
lea ecx, [ebp - 0x30]
call fcn.10015a22
imul esi, dword [eax]
push 2
lea ecx, [ebp - 0xa4]
call fcn.10015a22
cmp esi, dword [eax]
jl 0x1001a68a
mov dword [ebp - 0xb4], 1
jmp 0x1001a691
and dword [ebp - 0xb4], 0
push 1
lea ecx, [ebp - 0xa4]
call fcn.10015a22
push 2
lea ecx, [ebp - 0xa4]
call fcn.10015a22
mov esi, dword [ebp - 0x1c]
push 1
lea ecx, [ebp - 0x30]
call fcn.10015a22
mov edi, eax
push 0
lea ecx, [ebp - 0xcc]
call fcn.10015a22
mov eax, dword [eax]
add eax, dword [edi]
cmp eax, esi
jg 0x1001a6e5
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1001a6e0
call fcn.1001a1c4
jmp 0x1001a7e6
mov dword [ebp - 0x5c], 0x3af2
mov dword [ebp - 0xbc], 0x100081e8
cmp dword [ebp - 0x5c], 0x3e60
jle 0x1001a78d
and dword [ebp - 0x3c], 0
jmp 0x1001a710
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x76f7
jge 0x1001a77b
and dword [ebp - 0x38], 0
jmp 0x1001a726
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x5771
jge 0x1001a779
and dword [ebp - 0x40], 0
jmp 0x1001a73c
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x13d5
jge 0x1001a777
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
sar eax, cl
mov ecx, dword [ebp - 0x40]
shl eax, cl
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
mov ecx, 0x1060a8b8
call fcn.1000de0e
jmp 0x1001a735
jmp 0x1001a71f
jmp 0x1001a709
push 0x23e2
push 0
push 0x1943
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x18]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.10015a22
mov dword [eax], esi
mov byte [ebp - 4], 4
cmp dword [ebp - 0x5c], 0x3721
jge 0x1001a7ba
mov edx, dword [ebp - 0xbc]
mov ecx, 0x1060a8b8
call fcn.1000f7c5
jmp 0x1001a7d6
mov dword [ebp - 4], 3
jmp 0x1001a7e6
jmp 0x1001a339
jmp 0x1001a2f2
call fcn.1001a1da
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xcc]
call fcn.10015a06
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.10015a06
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10015a06
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.1001a20b
pop ecx
pop ecx
and dword [ebp - 0x34], 0
jmp 0x1001a83e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp + 0xc]
jae 0x1001a880
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x34]
xor edx, edx
div dword [0x10069638]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.10017104
push eax
lea ecx, [ebp - 0xec]
call fcn.1001b76e
jmp 0x1001a837
lea eax, [ebp - 0xec]
push eax
mov ecx, dword [ebp + 8]
call fcn.1001b6f7
mov eax, dword [ebp - 0x64]
or eax, 1
mov dword [ebp - 0x64], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.10015931
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret