Function at 0x66fdd0
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
mov esi, ecx
push 0x7f7374
push 0x403
push dword [esi + 4]
call fcn.00432c40
add esp, 0xc
cmp dword [0x7f7374], 0
je 0x66fe10
mov dword [0x7f7378], 0
jmp 0x66fe25
push 0x7f7378
push 0x407
push dword [esi + 4]
call fcn.00432c40
add esp, 0xc
push 0x7f7380
push 0x42c
push dword [esi + 4]
call fcn.00432c40
push 0x7f7384
push 0x40f
push dword [esi + 4]
call fcn.00432c40
push 0x7f7388
push 0x40b
push dword [esi + 4]
call fcn.00432c40
push 0x7f7390
push 0x410
push dword [esi + 4]
call fcn.00432c40
push 0x7f7394
push 0x412
push dword [esi + 4]
call fcn.00432c40
push 0x7f7398
push 0x417
push dword [esi + 4]
call fcn.00432c40
add esp, 0x48
push 0x7f739c
push 0x41f
push dword [esi + 4]
call fcn.00432c40
push 0x7f73b0
push 0x415
push dword [esi + 4]
call fcn.00432c40
push 0x7f73b4
push 0x416
push dword [esi + 4]
call fcn.00432c40
push 0x7f73b8
push 0x6f4
push dword [esi + 4]
call fcn.00432c40
add esp, 0x30
call fcn.00580690
cmp eax, 1
jne 0x67023c
xor eax, eax
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 + 0x30]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66ff41
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_ENGLISH
call dword [eax + 8]
mov ecx, dword [0x7f7170]
jmp 0x66ff46
mov eax, 0x790eb0
lea edx, [ebp - 0x804]
lea esp, [esp]
mov si, word [edx]
cmp si, word [eax]
jne 0x66ff76
test si, si
je 0x66ff72
mov si, word [edx + 2]
cmp si, word [eax + 2]
jne 0x66ff76
add edx, 4
add eax, 4
test si, si
jne 0x66ff50
xor eax, eax
jmp 0x66ff7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x67021c
test ecx, ecx
je 0x66ff9e
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_JAPANESE
call dword [eax + 8]
mov ecx, dword [0x7f7170]
jmp 0x66ffa3
mov eax, 0x790eb0
lea edx, [ebp - 0x804]
lea esp, [esp]
mov si, word [edx]
cmp si, word [eax]
jne 0x66ffd6
test si, si
je 0x66ffd2
mov si, word [edx + 2]
cmp si, word [eax + 2]
jne 0x66ffd6
add edx, 4
add eax, 4
test si, si
jne 0x66ffb0
xor eax, eax
jmp 0x66ffdb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x66ffe9
push 0x783af4
jmp 0x670221
test ecx, ecx
je 0x670004
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_CHINESE_S
call dword [eax + 8]
mov ecx, dword [0x7f7170]
jmp 0x670009
mov eax, 0x790eb0
lea edx, [ebp - 0x804]
nop
mov si, word [edx]
cmp si, word [eax]
jne 0x670036
test si, si
je 0x670032
mov si, word [edx + 2]
cmp si, word [eax + 2]
jne 0x670036
add edx, 4
add eax, 4
test si, si
jne 0x670010
xor eax, eax
jmp 0x67003b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x670049
push 0x783b04
jmp 0x670221
test ecx, ecx
je 0x670064
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_CHINESE_T
call dword [eax + 8]
mov ecx, dword [0x7f7170]
jmp 0x670069
mov eax, 0x790eb0
lea edx, [ebp - 0x804]
nop
mov si, word [edx]
cmp si, word [eax]
jne 0x670096
test si, si
je 0x670092
mov si, word [edx + 2]
cmp si, word [eax + 2]
jne 0x670096
add edx, 4
add eax, 4
test si, si
jne 0x670070
xor eax, eax
jmp 0x67009b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x6700a9
push 0x783b0c
jmp 0x670221
test ecx, ecx
je 0x6700c4
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_RUSSIAN
call dword [eax + 8]
mov ecx, dword [0x7f7170]
jmp 0x6700c9
mov eax, 0x790eb0
lea edx, [ebp - 0x804]
nop
mov si, word [edx]
cmp si, word [eax]
jne 0x6700f6
test si, si
je 0x6700f2
mov si, word [edx + 2]
cmp si, word [eax + 2]
jne 0x6700f6
add edx, 4
add eax, 4
test si, si
jne 0x6700d0
xor eax, eax
jmp 0x6700fb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x670109
push 0x783afc
jmp 0x670221
test ecx, ecx
je 0x670124
mov eax, dword [ecx]
push 0x7425a0
push 0x7460b8
call dword [eax + 8]
mov ecx, dword [0x7f7170]
jmp 0x670129
mov eax, 0x790eb0
lea edx, [ebp - 0x804]
nop
mov si, word [edx]
cmp si, word [eax]
jne 0x670156
test si, si
je 0x670152
mov si, word [edx + 2]
cmp si, word [eax + 2]
jne 0x670156
add edx, 4
add eax, 4
test si, si
jne 0x670130
xor eax, eax
jmp 0x67015b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x670169
push 0x783b14
jmp 0x670221
test ecx, ecx
je 0x670184
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_THAILAND
call dword [eax + 8]
mov ecx, dword [0x7f7170]
jmp 0x670189
mov eax, 0x790eb0
lea edx, [ebp - 0x804]
nop
mov si, word [edx]
cmp si, word [eax]
jne 0x6701b6
test si, si
je 0x6701b2
mov si, word [edx + 2]
cmp si, word [eax + 2]
jne 0x6701b6
add edx, 4
add eax, 4
test si, si
jne 0x670190
xor eax, eax
jmp 0x6701bb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x6701c6
push 0x783b1c
jmp 0x670221
test ecx, ecx
je 0x6701db
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_KOREAN
call dword [eax + 8]
jmp 0x6701e0
mov eax, 0x790eb0
lea ecx, [ebp - 0x804]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x67020c
test dx, dx
je 0x670208
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x67020c
add ecx, 4
add eax, 4
test dx, dx
jne 0x6701e6
xor eax, eax
jmp 0x670211
sbb eax, eax
or eax, 1
test eax, eax
jne 0x67021c
push 0x783aec
jmp 0x670221
push 0x783b24
mov ecx, 0x7f7240
call fcn.00428a30
cmp dword [ebp + 8], 1
jne 0x67023c
mov ecx, dword [0x7f7170]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.006b3266
mov esp, ebp
pop ebp
ret 4