Function at 0x65b760
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x695fb3
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov edx, dword [esi + 0x20]
lea ecx, [ebp - 0x80]
xor ebx, ebx
push ecx
push edx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
call dword [0x69b9d4]
cmp dword [esi + 0x1f4], ebx
jne 0x65b7ce
call dword [0x69b7c4]
mov dword [ebp - 0xb4], ebx
cmp eax, dword [esi + 0x20]
jne 0x65b7d8
mov dword [ebp - 0xb4], 1
mov ecx, esi
call fcn.004bbdec
mov edi, eax
mov eax, dword [ebp - 0xbc]
cmp eax, ebx
jne 0x65b7ef
xor eax, eax
jmp 0x65b7f2
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x80]
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.0066b980
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.004bbdec
neg eax
sbb eax, eax
and eax, 0xfffffff6
add eax, 0xf
push eax
mov ecx, esi
call fcn.00643830
mov ebx, eax
push ebx
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xcc], ebx
call fcn.004c3f73
cmp dword [esi + 0x80], 0
je 0x65b899
mov eax, dword [ebp - 0xbc]
mov dword [esi + 0x1fc], 1
test eax, eax
je 0x65b856
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x80]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.0066b980
mov eax, dword [ebp - 0x5c]
mov edx, dword [esi]
mov edx, dword [edx + 0x11c]
push 0
push eax
push 0xf
mov ecx, esi
mov byte [ebp - 4], 1
call edx
lea ecx, [ebp - 0x60]
call fcn.0066aff0
lea ecx, [ebp - 0x60]
mov dword [esi + 0x1fc], 0
mov byte [ebp - 4], 0
call fcn.0066bb90
mov ecx, dword [ebp - 0xac]
mov eax, dword [esi]
mov edx, dword [eax + 0x11c]
push 0
push ecx
push 0x318
mov ecx, esi
call edx
mov eax, dword [esi + 0x78]
push ecx
mov ecx, esp
mov dword [ebp - 0xb8], esp
push 0x6b2800
mov dword [ebp - 0xc0], eax
call fcn.00401b65
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [ebp - 0xbc], eax
test edi, edi
jne 0x65b8f3
mov dword [ebp - 0xb4], 4
jmp 0x65b905
xor ecx, ecx
cmp dword [ebp - 0xb4], ecx
setne cl
inc ecx
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb4]
push 0
push 0xfa1
push edx
push 0
mov ecx, eax
call fcn.00642a60
push 2
mov dword [ebp - 0xb8], eax
call dword [0x69b9d0]
cmp dword [esi + 0x80], 0
mov dword [ebp - 0xc4], eax
jne 0x65b9cb
call fcn.00657640
mov ecx, eax
call fcn.00658090
cmp eax, 0x6000a
jb 0x65b9cb
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], 1
test eax, eax
jne 0x65ba07
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
add edx, 2
mov dword [ebp - 0xb8], edx
mov edx, dword [ebp - 0x80]
add eax, 0xfffffffe
add edx, 2
add ecx, 0xfffffffe
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], ecx
push eax
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x1c], edx
call fcn.004ba8c0
mov edx, dword [ebp - 0xb4]
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0xbc]
push edx
push 0
lea eax, [ebp - 0xb0]
push eax
call fcn.006416d0
jmp 0x65ba6f
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
mov ecx, eax
sub ecx, dword [ebp - 0xc4]
push ebx
sub ecx, 3
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
call fcn.004c3f73
jmp 0x65ba6f
cmp eax, 1
jne 0x65ba6f
mov ecx, dword [ebp - 0xb4]
push 0xffffffffffffffff
push 0xed9
push ecx
mov ecx, dword [ebp - 0xbc]
push 0
call fcn.00642a10
push eax
push eax
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0xb0]
call fcn.004c4332
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x80]
push eax
call dword [0x69ba1c]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x74]
push ebx
mov dword [ebp - 0x1c], edx
push ebx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x14], ecx
push edx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x18], eax
call fcn.004c4332
push 0
lea ecx, [ebp - 0xb0]
call fcn.004bad2e
mov ecx, esi
call fcn.004bbc6e
test al, 2
je 0x65bb98
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x78]
push 0xffffffffffffffff
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x74]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
call dword [0x69ba1c]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
push ebx
add edx, dword [ebp - 0x20]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x18], edx
call fcn.004c3f73
mov ebx, dword [esi + 0x78]
push ecx
mov ecx, esp
mov dword [ebp - 0xb8], esp
push str.BUTTON
call fcn.00401b65
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push esi
mov ecx, ebx
call eax
lea ecx, [ebp - 0xc8]
push ecx
push 1
push 0
mov ebx, eax
mov eax, 0xd
push 0
push 3
mov ecx, ebx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
call fcn.00643020
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc4]
add eax, dword [ebp - 0x1c]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc8]
sar ecx, 1
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
add ecx, dword [ebp - 0xc4]
cdq
sub eax, edx
mov edx, dword [esi + 0x20]
sar eax, 1
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x70]
push ecx
mov dword [ebp - 0x30], eax
add eax, dword [ebp - 0xc8]
neg edi
push 0
sbb edi, edi
push 0x1001
and edi, 0xfffffffd
push edx
mov dword [ebp - 0x28], eax
add edi, 4
call dword [0x69ba48]
dec eax
neg eax
sbb eax, eax
neg eax
je 0x65bb7d
add edi, 4
lea eax, [ebp - 0x30]
push eax
push edi
push 3
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, ebx
call fcn.006416d0
mov ebx, dword [ebp - 0xcc]
mov ecx, esi
call fcn.004bbc6e
test al, 1
jne 0x65bc0f
cmp dword [ebp - 0xc0], 0
jne 0x65bc0f
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x74]
push 2
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
call dword [0x69b9d0]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov ecx, edx
sub ecx, eax
mov eax, dword [ebp - 0x1c]
push ebx
sub esi, eax
push esi
sub edx, ecx
push edx
push eax
mov dword [ebp - 0x20], ecx
push ecx
lea ecx, [ebp - 0xb0]
call fcn.004c41ab
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, dword [ebp - 0xbc]
push 1
lea edx, [ebp - 0xb0]
push edx
call fcn.006416d0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.0066bb90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b851f
mov esp, ebp
pop ebp
ret 4