Function at 0x66f3b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72887f
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x7e6410]
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 edi, ecx
mov eax, dword [edi + 0x34]
test eax, eax
je 0x66fc6e
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push eax
call ebx
lea eax, [ebp - 0x820]
push eax
call fcn.005b6a10
add esp, 4
push str.lang_
push eax
lea eax, [ebp - 0x818]
mov dword [ebp - 4], 0
push eax
call fcn.00428bd0
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 2
call fcn.00428810
push str.english.ini
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.00428bd0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x814]
mov esi, eax
call fcn.00428810
test esi, esi
je 0x66f4a2
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66f490
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_ENGLISH
call dword [eax + 8]
jmp 0x66f495
mov eax, 0x790eb0
push eax
push 0
push 0x143
push dword [edi + 0x34]
call ebx
push str.japanese.ini
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.00428bd0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x814]
mov esi, eax
call fcn.00428810
test esi, esi
je 0x66f510
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66f4fe
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_JAPANESE
call dword [eax + 8]
jmp 0x66f503
mov eax, 0x790eb0
push eax
push 0
push 0x143
push dword [edi + 0x34]
call ebx
push str.chinese_s.ini
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.00428bd0
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x814]
mov esi, eax
call fcn.00428810
test esi, esi
je 0x66f57e
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66f56c
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_CHINESE_S
call dword [eax + 8]
jmp 0x66f571
mov eax, 0x790eb0
push eax
push 0
push 0x143
push dword [edi + 0x34]
call ebx
push str.chinese_t.ini
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.00428bd0
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x814]
mov esi, eax
call fcn.00428810
test esi, esi
je 0x66f5ec
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66f5da
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_CHINESE_T
call dword [eax + 8]
jmp 0x66f5df
mov eax, 0x790eb0
push eax
push 0
push 0x143
push dword [edi + 0x34]
call ebx
push str.russian.ini
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.00428bd0
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x814]
mov esi, eax
call fcn.00428810
test esi, esi
je 0x66f65a
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66f648
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_RUSSIAN
call dword [eax + 8]
jmp 0x66f64d
mov eax, 0x790eb0
push eax
push 0
push 0x143
push dword [edi + 0x34]
call ebx
push str.spanish.ini
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.00428bd0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x814]
mov esi, eax
call fcn.00428810
test esi, esi
je 0x66f6c8
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66f6b6
mov eax, dword [ecx]
push 0x7425a0
push 0x7460b8
call dword [eax + 8]
jmp 0x66f6bb
mov eax, 0x790eb0
push eax
push 0
push 0x143
push dword [edi + 0x34]
call ebx
push str.thailand.ini
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.00428bd0
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x814]
mov esi, eax
call fcn.00428810
test esi, esi
je 0x66f736
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66f724
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_THAILAND
call dword [eax + 8]
jmp 0x66f729
mov eax, 0x790eb0
push eax
push 0
push 0x143
push dword [edi + 0x34]
call ebx
push 0x783aec
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x828], esp
push 0x783aec
call fcn.00428840
lea eax, [ebp - 0x81c]
mov byte [ebp - 4], 0xa
push eax
call fcn.005b6a10
mov ecx, esp
mov byte [ebp - 4], 0xb
push 0x744bc4
push eax
push ecx
call fcn.00428bd0
push 0x7488ec
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 0xc
push str.ACTIVE
push eax
call fcn.005b55c0
add esp, 0x18
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00429150
test eax, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x814]
sete bl
call fcn.00428810
lea ecx, [ebp - 0x81c]
mov byte [ebp - 4], 2
call fcn.00428810
test bl, bl
je 0x66f837
push str.korean.ini
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x81c]
push eax
call fcn.00428bd0
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x81c]
mov esi, eax
call fcn.00428810
test esi, esi
je 0x66f837
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66f81d
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_KOREAN
call dword [eax + 8]
jmp 0x66f822
mov eax, 0x790eb0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x143
push dword [edi + 0x34]
call esi
jmp 0x66f83d
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push ebx
push 0x146
push dword [edi + 0x34]
call esi
test eax, eax
jle 0x66fc5c
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.006b47d0
add esp, 0xc
push 0
push ebx
push 0x14e
push dword [edi + 0x34]
call esi
push 0x400
lea eax, [ebp - 0x810]
push eax
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x783b24
mov ecx, 0x7f7240
call fcn.00429150
test eax, eax
jne 0x66f8f9
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66f8b9
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_ENGLISH
call dword [eax + 8]
jmp 0x66f8be
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x66fc3c
test dx, dx
je 0x66fc38
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x66fc3c
add ecx, 4
add eax, 4
test dx, dx
jne 0x66f8c4
xor eax, eax
jmp 0x66fc41
push 0x783af4
mov ecx, 0x7f7240
call fcn.00429150
test eax, eax
jne 0x66f967
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66f927
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_JAPANESE
call dword [eax + 8]
jmp 0x66f92c
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x66fc3c
test dx, dx
je 0x66fc38
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x66fc3c
add ecx, 4
add eax, 4
test dx, dx
jne 0x66f932
xor eax, eax
jmp 0x66fc41
push 0x783b04
mov ecx, 0x7f7240
call fcn.00429150
test eax, eax
jne 0x66f9d5
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66f995
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_CHINESE_S
call dword [eax + 8]
jmp 0x66f99a
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x66fc3c
test dx, dx
je 0x66fc38
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x66fc3c
add ecx, 4
add eax, 4
test dx, dx
jne 0x66f9a0
xor eax, eax
jmp 0x66fc41
push 0x783b0c
mov ecx, 0x7f7240
call fcn.00429150
test eax, eax
jne 0x66fa45
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66fa03
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_CHINESE_T
call dword [eax + 8]
jmp 0x66fa08
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x66fc3c
test dx, dx
je 0x66fc38
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x66fc3c
add ecx, 4
add eax, 4
test dx, dx
jne 0x66fa10
xor eax, eax
jmp 0x66fc41
push 0x783afc
mov ecx, 0x7f7240
call fcn.00429150
test eax, eax
jne 0x66fab5
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66fa73
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_RUSSIAN
call dword [eax + 8]
jmp 0x66fa78
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x66fc3c
test dx, dx
je 0x66fc38
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x66fc3c
add ecx, 4
add eax, 4
test dx, dx
jne 0x66fa80
xor eax, eax
jmp 0x66fc41
push 0x783b14
mov ecx, 0x7f7240
call fcn.00429150
test eax, eax
jne 0x66fb25
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66fae3
mov eax, dword [ecx]
push 0x7425a0
push 0x7460b8
call dword [eax + 8]
jmp 0x66fae8
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x66fc3c
test dx, dx
je 0x66fc38
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x66fc3c
add ecx, 4
add eax, 4
test dx, dx
jne 0x66faf0
xor eax, eax
jmp 0x66fc41
push 0x783b1c
mov ecx, 0x7f7240
call fcn.00429150
test eax, eax
jne 0x66fb95
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x66fb53
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_THAILAND
call dword [eax + 8]
jmp 0x66fb58
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x66fc3c
test dx, dx
je 0x66fc38
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x66fc3c
add ecx, 4
add eax, 4
test dx, dx
jne 0x66fb60
xor eax, eax
jmp 0x66fc41
push 0x783aec
mov ecx, 0x7f7240
call fcn.00429150
mov ecx, dword [0x7f7170]
test eax, eax
jne 0x66fbf6
test ecx, ecx
je 0x66fbc3
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_KOREAN
call dword [eax + 8]
jmp 0x66fbc8
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x66fc3c
test dx, dx
je 0x66fc38
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x66fc3c
add ecx, 4
add eax, 4
test dx, dx
jne 0x66fbd0
xor eax, eax
jmp 0x66fc41
test ecx, ecx
je 0x66fc0b
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_ENGLISH
call dword [eax + 8]
jmp 0x66fc10
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x66fc3c
test dx, dx
je 0x66fc38
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x66fc3c
add ecx, 4
add eax, 4
test dx, dx
jne 0x66fc16
xor eax, eax
jmp 0x66fc41
sbb eax, eax
or eax, 1
test eax, eax
je 0x66fc5c
push 0
push 0
push 0x146
push dword [edi + 0x34]
inc ebx
call esi
cmp ebx, eax
jl 0x66f853
lea ecx, [ebp - 0x818]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
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.006b3266
mov esp, ebp
pop ebp
ret