Function at 0x66e6c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.006b47d0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [0x7f7170]
test edx, edx
je 0x66e72c
mov eax, dword [edx]
mov ecx, edx
push 0x7425a0
push str.IDS_LANG_ENGLISH
call dword [eax + 8]
mov edx, dword [0x7f7170]
jmp 0x66e731
mov eax, 0x790eb0
lea ecx, [ebp - 0x804]
mov si, word [ecx]
cmp si, word [eax]
jne 0x66e75d
test si, si
je 0x66e759
mov si, word [ecx + 2]
cmp si, word [eax + 2]
jne 0x66e75d
add ecx, 4
add eax, 4
test si, si
jne 0x66e737
xor eax, eax
jmp 0x66e762
sbb eax, eax
or eax, 1
test eax, eax
je 0x66ea06
test edx, edx
je 0x66e787
mov eax, dword [edx]
mov ecx, edx
push 0x7425a0
push str.IDS_LANG_JAPANESE
call dword [eax + 8]
mov edx, dword [0x7f7170]
jmp 0x66e78c
mov eax, 0x790eb0
lea ecx, [ebp - 0x804]
mov si, word [ecx]
cmp si, word [eax]
jne 0x66e7b8
test si, si
je 0x66e7b4
mov si, word [ecx + 2]
cmp si, word [eax + 2]
jne 0x66e7b8
add ecx, 4
add eax, 4
test si, si
jne 0x66e792
xor eax, eax
jmp 0x66e7bd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x66e7cb
push 0x783af4
jmp 0x66ea0b
test edx, edx
je 0x66e7e8
mov eax, dword [edx]
mov ecx, edx
push 0x7425a0
push str.IDS_LANG_CHINESE_S
call dword [eax + 8]
mov edx, dword [0x7f7170]
jmp 0x66e7ed
mov eax, 0x790eb0
lea ecx, [ebp - 0x804]
mov si, word [ecx]
cmp si, word [eax]
jne 0x66e819
test si, si
je 0x66e815
mov si, word [ecx + 2]
cmp si, word [eax + 2]
jne 0x66e819
add ecx, 4
add eax, 4
test si, si
jne 0x66e7f3
xor eax, eax
jmp 0x66e81e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x66e82c
push 0x783b04
jmp 0x66ea0b
test edx, edx
je 0x66e849
mov eax, dword [edx]
mov ecx, edx
push 0x7425a0
push str.IDS_LANG_CHINESE_T
call dword [eax + 8]
mov edx, dword [0x7f7170]
jmp 0x66e84e
mov eax, 0x790eb0
lea ecx, [ebp - 0x804]
mov si, word [ecx]
cmp si, word [eax]
jne 0x66e87a
test si, si
je 0x66e876
mov si, word [ecx + 2]
cmp si, word [eax + 2]
jne 0x66e87a
add ecx, 4
add eax, 4
test si, si
jne 0x66e854
xor eax, eax
jmp 0x66e87f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x66e88d
push 0x783b0c
jmp 0x66ea0b
test edx, edx
je 0x66e8aa
mov eax, dword [edx]
mov ecx, edx
push 0x7425a0
push str.IDS_LANG_RUSSIAN
call dword [eax + 8]
mov edx, dword [0x7f7170]
jmp 0x66e8af
mov eax, 0x790eb0
lea ecx, [ebp - 0x804]
mov si, word [ecx]
cmp si, word [eax]
jne 0x66e8db
test si, si
je 0x66e8d7
mov si, word [ecx + 2]
cmp si, word [eax + 2]
jne 0x66e8db
add ecx, 4
add eax, 4
test si, si
jne 0x66e8b5
xor eax, eax
jmp 0x66e8e0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x66e8ee
push 0x783afc
jmp 0x66ea0b
test edx, edx
je 0x66e90b
mov eax, dword [edx]
mov ecx, edx
push 0x7425a0
push 0x7460b8
call dword [eax + 8]
mov edx, dword [0x7f7170]
jmp 0x66e910
mov eax, 0x790eb0
lea ecx, [ebp - 0x804]
mov si, word [ecx]
cmp si, word [eax]
jne 0x66e93c
test si, si
je 0x66e938
mov si, word [ecx + 2]
cmp si, word [eax + 2]
jne 0x66e93c
add ecx, 4
add eax, 4
test si, si
jne 0x66e916
xor eax, eax
jmp 0x66e941
sbb eax, eax
or eax, 1
test eax, eax
jne 0x66e94f
push 0x783b14
jmp 0x66ea0b
test edx, edx
je 0x66e96c
mov eax, dword [edx]
mov ecx, edx
push 0x7425a0
push str.IDS_LANG_THAILAND
call dword [eax + 8]
mov edx, dword [0x7f7170]
jmp 0x66e971
mov eax, 0x790eb0
lea ecx, [ebp - 0x804]
mov si, word [ecx]
cmp si, word [eax]
jne 0x66e99d
test si, si
je 0x66e999
mov si, word [ecx + 2]
cmp si, word [eax + 2]
jne 0x66e99d
add ecx, 4
add eax, 4
test si, si
jne 0x66e977
xor eax, eax
jmp 0x66e9a2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x66e9ad
push 0x783b1c
jmp 0x66ea0b
test edx, edx
je 0x66e9c4
mov eax, dword [edx]
mov ecx, edx
push 0x7425a0
push str.IDS_LANG_KOREAN
call dword [eax + 8]
jmp 0x66e9c9
mov eax, 0x790eb0
lea ecx, [ebp - 0x804]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x66e9f6
test dx, dx
je 0x66e9f2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x66e9f6
add ecx, 4
add eax, 4
test dx, dx
jne 0x66e9d0
xor eax, eax
jmp 0x66e9fb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x66ea06
push 0x783aec
jmp 0x66ea0b
push 0x783b24
mov ecx, 0x7f7240
call fcn.00428a30
mov ecx, dword [0x7f7170]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.006b3266
mov esp, ebp
pop ebp
ret