Function at 0x6e9560
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6e9b4d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
call fcn.0040725c
xor eax, eax
push ebp
push 0x6e9acf
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x717124], 0
jne 0x6e95da
xor ecx, ecx
mov dl, 1
mov eax, dword [0x6d9a68]
call fcn.006dc538
mov dword [0x717124], eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.0061f548
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
lea edx, [edx + edx*2]
mov edx, dword [edx*4 + 0x71703c]
call fcn.00408458
jne 0x6e9ab8
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*2]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xd
jne 0x6e9627
mov eax, dword [ebp - 0xc]
mov edx, 0x6e9b68
call fcn.0040763c
jmp 0x6e9a8d
mov eax, dword [ebp - 0x20]
sub eax, 0x10
je 0x6e963d
sub eax, 6
je 0x6e963d
sub eax, 3
jne 0x6e9714
mov eax, dword [ebp - 0xc]
mov edx, 0x6e9b68
call fcn.0040763c
push 0x6e9b74
mov eax, dword [ebp - 0x20]
mov eax, dword [eax*4 + 0x71703c]
call fcn.004080c4
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FindWindowExW
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x6e9a8d
xor eax, eax
mov dword [ebp - 0x1c], eax
push 5
mov eax, dword [ebp - 0x2c]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x2c], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 5
jne 0x6e967c
cmp dword [ebp - 0x2c], 0
je 0x6e9a8d
xor eax, eax
push ebp
push 0x6e9705
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.006e9274
test eax, eax
jne 0x6e96ef
lea eax, [ebp - 0x248]
call fcn.004072a4
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0xa0]
call fcn.0040b00c
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0xc]
call fcn.004081ac
jmp 0x6e96f8
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 5
jne 0x6e96b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6e9a8d
cmp dword [ebp - 0x20], 0x1f
je 0x6e973c
cmp dword [ebp - 0x20], 0x25
je 0x6e973c
cmp dword [ebp - 0x20], 0x28
je 0x6e973c
cmp dword [ebp - 0x20], 0x2b
je 0x6e973c
cmp dword [ebp - 0x20], 0x13
je 0x6e973c
cmp dword [ebp - 0x20], 0x2e
jne 0x6e9929
push 0x6e9b74
mov eax, dword [ebp - 0x20]
mov eax, dword [eax*4 + 0x717040]
call fcn.004080c4
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FindWindowExW
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x6e9783
push 0x6e9b74
mov eax, dword [0x7170d4]
call fcn.004080c4
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FindWindowExW
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x6e97a7
push 0x6e9b74
mov eax, dword [0x7170e0]
call fcn.004080c4
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FindWindowExW
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x6e97cb
push 0x6e9b74
mov eax, dword [0x7170ec]
call fcn.004080c4
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FindWindowExW
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x6e97ef
push 0x6e9b74
mov eax, dword [0x7170f8]
call fcn.004080c4
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FindWindowExW
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x6e9803
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.006eab24
cmp dword [ebp - 0x2c], 0
jne 0x6e9815
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x6e9a8d
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x6e9859
lea eax, [ebp - 0x242]
xor ecx, ecx
mov edx, 0x208
call fcn.00405008
lea eax, [ebp - 0x242]
push eax
push 0x104
push 0xd
mov eax, dword [ebp - 0x2c]
push eax
call sub.user32.dll_SendMessageW
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x242]
mov ecx, 0x105
call fcn.00408170
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x6e9a8d
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
mov eax, 0x6e9b84
call fcn.0040863c
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x6e9883
cmp dword [ebp - 0x38], 8
jle 0x6e98c6
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
mov eax, 0x6e9b98
call fcn.0040863c
test eax, eax
jne 0x6e98b4
push 0x6e9ba8
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x6e9b98
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.004083a8
jmp 0x6e98c6
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov eax, dword [ebp - 0xc]
mov edx, 0x6e9ba8
call fcn.00408320
cmp dword [ebp - 0x20], 0x2b
jne 0x6e9a8d
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
mov eax, 0x6e9bc4
call fcn.0040863c
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jle 0x6e9a8d
lea eax, [ebp - 0x250]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
mov edx, 1
call fcn.00408490
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x24c]
call fcn.00422f98
mov edx, dword [ebp - 0x24c]
mov eax, dword [ebp - 0xc]
call fcn.0040763c
jmp 0x6e9a8d
cmp dword [ebp - 0x20], 0x31
je 0x6e9935
cmp dword [ebp - 0x20], 0x34
jne 0x6e9955
call fcn.005ecf84
test al, al
je 0x6e9a8d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.006e94d0
jmp 0x6e9a8d
cmp dword [ebp - 0x20], 0xa
jne 0x6e996e
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.006eab24
jmp 0x6e9a8d
xor eax, eax
push ebp
push 0x6e9a71
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
mov edx, dword [eax*4 + 0x717040]
mov ecx, 0x6e9bd4
mov eax, dword [0x717124]
call fcn.006dd71c
test al, al
je 0x6e9a67
mov edx, 0x6e9c04
mov eax, dword [0x717124]
call fcn.006dd4ac
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x6e9a67
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004080ec
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
mov eax, 0x6e9c28
call fcn.0040863c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004080c4
mov edx, eax
mov eax, dword [ebp - 0x14]
add eax, eax
add edx, eax
add edx, 4
lea eax, [ebp - 0x254]
call fcn.0040811c
mov edx, dword [ebp - 0x254]
mov eax, 0x6e9c3c
call fcn.0040863c
dec eax
sete byte [ebp - 0x25]
cmp byte [ebp - 0x25], 0
je 0x6e9a2e
mov eax, dword [ebp - 0x20]
sub eax, 7
je 0x6e9a2e
sub eax, 0x15
je 0x6e9a2e
mov eax, dword [ebp - 0xc]
mov edx, 0x6e9b68
call fcn.0040763c
jmp 0x6e9a67
cmp dword [ebp - 0x14], 0
jle 0x6e9a40
mov edx, dword [ebp - 0x14]
dec edx
mov eax, dword [ebp - 0xc]
call fcn.00408248
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004080c4
cmp word [eax], 0x22
jne 0x6e9a67
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004080c4
mov edx, eax
add edx, 2
mov eax, dword [ebp - 0xc]
call fcn.0040811c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6e9a7b
mov eax, dword [ebp - 0x10]
call fcn.00424c2c
mov eax, dword [0x717124]
call fcn.006dceec
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004080c4
cmp word [eax], 0x3f
je 0x6e9aae
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, 0x6e9c5c
call fcn.00408458
jne 0x6e9ac5
mov eax, dword [ebp - 0xc]
call fcn.0040725c
jmp 0x6e9ac5
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x12
jne 0x6e95ea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6e9b14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e9b54
lea eax, [ebp - 0x254]
mov edx, 3
call fcn.004072bc
lea eax, [ebp - 0x248]
call fcn.004072a4
lea eax, [ebp - 0x30]
call fcn.0040ae80
lea eax, [ebp - 0x24]
call fcn.0040725c
ret