Function at 0x1036796
Capabilities:
Get graphical window text

Disassembly:
push 0x5b4
mov eax, 0x104d840
call fcn.01001ea1
push 6
pop eax
xor ebx, ebx
push 0x105
mov esi, ecx
mov dword [ebp - 0x59c], ebx
mov dword [ebp - 0x594], eax
mov dword [ebp - 0x590], eax
call fcn.0101a72f
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0x5a4], eax
lea eax, [ebp - 0x598]
push eax
lea eax, [ebp - 0x5a8]
push eax
mov dword [ebp - 0x5a8], ebx
mov dword [ebp - 0x598], ebx
mov dword [ebp - 0x5bc], 0x10
mov dword [ebp - 0x5b8], ebx
mov dword [ebp - 0x5b4], ebx
mov dword [ebp - 0x5b0], 5
call fcn.0101b4e2
mov edi, dword [fcn.010013cc]
push ebx
push ebx
push ebx
push 0x147
push dword [ebp - 0x5a4]
call edi
push eax
push 0x150
push dword [ebp - 0x5a4]
call edi
mov dword [ebp - 0x5ac], eax
mov dword [ebp - 0x58c], ebx
cmp dword [ebp - 0x598], ebx
jbe 0x10369bb
mov dword [ebp - 0x5a0], ebx
mov eax, dword [ebp - 0x5a8]
mov ecx, dword [ebp - 0x5a0]
add eax, ecx
cmp dword [ebp - 0x5ac], eax
je 0x10368f0
push dword [ebp - 0x5ac]
mov ecx, esi
push eax
call fcn.0101988a
push 0x1f4
lea ecx, [ebp - 0x588]
mov dword [ebp - 0x5a4], eax
push ecx
add eax, 0xf5
push eax
mov ecx, esi
call fcn.0101a72f
push eax
call dword [fcn.010013e8]
xor eax, eax
cmp ax, word [ebp - 0x588]
mov eax, dword [ebp - 0x5a4]
jne 0x10368bf
cmp eax, dword [ebp - 0x594]
jge 0x10368bf
mov dword [ebp - 0x594], eax
add eax, 0xf5
push eax
mov ecx, esi
call fcn.0101a72f
push eax
call fcn.0103a134
mov dword [ebp - 0x59c], eax
cmp eax, ebx
je 0x10368f0
mov eax, dword [ebp - 0x5a4]
cmp eax, dword [ebp - 0x590]
jge 0x10368f0
mov dword [ebp - 0x590], eax
inc dword [ebp - 0x58c]
mov eax, dword [ebp - 0x58c]
add dword [ebp - 0x5a0], 0x14
cmp eax, dword [ebp - 0x598]
jb 0x1036852
cmp dword [ebp - 0x590], 6
jge 0x103695f
cmp dword [ebp - 0x59c], 0x77
push 0xc8
lea eax, [ebp - 0x1a0]
push eax
jne 0x1036931
push 0x77
jmp 0x1036936
push 0x89b
push ebx
call dword [int.01001194]
push eax
call dword [fcn.010013f4]
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x5b4], eax
lea eax, [ebp - 0x5bc]
push eax
mov eax, dword [ebp - 0x590]
jmp 0x10369a0
cmp dword [ebp - 0x594], 6
jge 0x10369bb
push 0xc8
lea eax, [ebp - 0x1a0]
push eax
push 0x899
push ebx
call dword [int.01001194]
push eax
call dword [fcn.010013f4]
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x5b4], eax
lea eax, [ebp - 0x5bc]
push eax
mov eax, dword [ebp - 0x594]
push ebx
push 0x1503
add eax, 0xf5
push eax
mov ecx, esi
call fcn.0101a72f
push eax
call edi
jmp 0x1036d2b
push 0x10541d0
lea ecx, [ebp - 0x5a0]
call fcn.0100ab94
mov eax, dword [ebp - 0x598]
add eax, eax
mov dword [ebp - 0x59c], eax
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
mov dword [ebp - 4], ebx
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0100329a
pop ecx
cmp eax, ebx
je 0x1036a33
mov ecx, dword [ebp - 0x59c]
push 0x1030baf
push fcn.0100ad22
push ecx
mov dword [eax], ecx
add eax, 4
push 4
push eax
mov dword [ebp - 0x59c], eax
call fcn.0101b52b
mov eax, dword [ebp - 0x59c]
mov dword [ebp - 0x594], eax
jmp 0x1036a39
mov dword [ebp - 0x594], ebx
mov dword [ebp - 0x58c], ebx
cmp dword [ebp - 0x598], ebx
jbe 0x1036b1d
mov eax, dword [ebp - 0x594]
xor edi, edi
add eax, 4
mov dword [ebp - 0x590], eax
mov eax, dword [ebp - 0x5a8]
push dword [ebp - 0x5ac]
add eax, edi
push eax
mov ecx, esi
call fcn.0101988a
mov dword [ebp - 0x5a4], eax
mov eax, dword [ebp - 0x5a8]
lea ecx, [edi + eax]
call fcn.0101ed62
mov ecx, dword [ebp - 0x590]
push eax
add ecx, 0xfffffffc
call fcn.0100d877
mov eax, dword [ebp - 0x5a8]
add eax, edi
cmp dword [ebp - 0x5ac], eax
jne 0x1036aac
push 0x102fe90
jmp 0x1036aea
push 0x1f4
lea eax, [ebp - 0x588]
push eax
mov eax, dword [ebp - 0x5a4]
add eax, 0xf5
push eax
mov ecx, esi
call fcn.0101a72f
push eax
call dword [fcn.010013e8]
push 0x1f4
lea eax, [ebp - 0x588]
push eax
call fcn.010381b0
lea eax, [ebp - 0x588]
push eax
mov ecx, dword [ebp - 0x590]
call fcn.0100c3c5
inc dword [ebp - 0x58c]
mov eax, dword [ebp - 0x58c]
add dword [ebp - 0x590], 8
add edi, 0x14
cmp eax, dword [ebp - 0x598]
jb 0x1036a5c
mov edi, dword [fcn.010013cc]
mov ecx, dword [esi + 0x34]
call fcn.0101ed62
mov ecx, dword [0x10540ac]
push eax
call fcn.01042f41
mov ecx, dword [esi + 0x34]
lea eax, [ebp - 0x5a0]
push eax
mov eax, dword [ebp - 0x598]
add eax, eax
push eax
push dword [ebp - 0x594]
call fcn.0101ed62
mov ecx, dword [esi + 0x10]
push eax
call fcn.01030fb6
mov ecx, esi
test eax, eax
je 0x1036c57
push dword [ebp - 0x5a0]
push 0x106
call fcn.0101a72f
push eax
mov ecx, esi
call fcn.01019861
mov dword [ebp - 0x58c], ebx
cmp dword [ebp - 0x598], ebx
jbe 0x1036c3f
xor edi, edi
mov eax, dword [ebp - 0x5a8]
add eax, edi
cmp dword [ebp - 0x5ac], eax
je 0x1036c24
push dword [ebp - 0x5ac]
mov ecx, esi
push eax
call fcn.0101988a
add eax, 0xfc
push eax
mov ecx, esi
call fcn.0101a72f
mov dword [ebp - 0x59c], eax
mov eax, dword [ebp - 0x5a8]
push ebx
lea ecx, [edi + eax]
call fcn.0101ed62
mov ecx, dword [esi + 0x34]
push eax
call fcn.0101ed62
mov ecx, dword [esi + 0x10]
push eax
call fcn.010307a8
push ebx
mov ecx, esi
call fcn.0101a504
push eax
mov eax, dword [ebp - 0x5a8]
lea ecx, [edi + eax]
call fcn.010032bf
push eax
lea eax, [ebp - 0x5c0]
push eax
call fcn.010211c6
push dword [eax]
push dword [ebp - 0x59c]
call dword [fcn.010013f8]
mov ecx, dword [ebp - 0x5c0]
add ecx, 0xfffffff0
call fcn.0100882d
inc dword [ebp - 0x58c]
mov eax, dword [ebp - 0x58c]
add edi, 0x14
cmp eax, dword [ebp - 0x598]
jb 0x1036b8e
push 0x106
mov ecx, esi
call fcn.0101a72f
push eax
call dword [fcn.010013f0]
jmp 0x1036d0c
push 0x100247c
push 0x106
call fcn.0101a72f
push eax
mov ecx, esi
call fcn.01019861
push 0xc8
lea eax, [ebp - 0x1a0]
push eax
push 0x78
push ebx
call dword [int.01001194]
push eax
call dword [fcn.010013f4]
mov ecx, dword [ebp - 0x5a0]
lea eax, [ebp - 0x1a0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1036cbc
cmp dx, bx
je 0x1036cb8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1036cbc
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x1036c96
xor eax, eax
jmp 0x1036cc1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x1036ce4
push 0xc8
lea eax, [ebp - 0x1a0]
push eax
push 0x89a
push ebx
call dword [int.01001194]
push eax
call dword [fcn.010013f4]
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x5b4], eax
lea eax, [ebp - 0x5bc]
push eax
push ebx
push 0x1503
push 0x106
mov ecx, esi
call fcn.0101a72f
push eax
call edi
mov ecx, dword [ebp - 0x594]
cmp ecx, ebx
je 0x1036d1d
push 3
call fcn.01036740
mov ecx, dword [ebp - 0x5a0]
add ecx, 0xfffffff0
call fcn.0100882d
call fcn.01001f5c
ret