Function at 0x6715b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x728988
mov eax, dword fs:[0]
push eax
sub esp, 0x804
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 ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
push esi
push esi
push 0x146
push dword [edi + 0x30]
mov dword [ebp - 4], 0
call ebx
test eax, eax
jle 0x671a0c
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.006b47d0
add esp, 0xc
push 0
push esi
push 0x14e
push dword [edi + 0x30]
call ebx
push 0x400
lea eax, [ebp - 0x810]
push eax
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x783b24
lea ecx, [ebp + 8]
call fcn.00429150
test eax, eax
jne 0x6716a7
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x671667
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_ENGLISH
call dword [eax + 8]
jmp 0x67166c
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x6719ec
test dx, dx
je 0x6719e8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x6719ec
add ecx, 4
add eax, 4
test dx, dx
jne 0x671672
xor eax, eax
jmp 0x6719f1
push 0x783af4
lea ecx, [ebp + 8]
call fcn.00429150
test eax, eax
jne 0x671715
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x6716d3
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_JAPANESE
call dword [eax + 8]
jmp 0x6716d8
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x6719ec
test dx, dx
je 0x6719e8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x6719ec
add ecx, 4
add eax, 4
test dx, dx
jne 0x6716e0
xor eax, eax
jmp 0x6719f1
push 0x783b04
lea ecx, [ebp + 8]
call fcn.00429150
test eax, eax
jne 0x671785
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x671741
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_CHINESE_S
call dword [eax + 8]
jmp 0x671746
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x6719ec
test dx, dx
je 0x6719e8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x6719ec
add ecx, 4
add eax, 4
test dx, dx
jne 0x671750
xor eax, eax
jmp 0x6719f1
push 0x783b0c
lea ecx, [ebp + 8]
call fcn.00429150
test eax, eax
jne 0x6717f5
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x6717b1
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_CHINESE_T
call dword [eax + 8]
jmp 0x6717b6
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x6719ec
test dx, dx
je 0x6719e8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x6719ec
add ecx, 4
add eax, 4
test dx, dx
jne 0x6717c0
xor eax, eax
jmp 0x6719f1
push 0x783afc
lea ecx, [ebp + 8]
call fcn.00429150
test eax, eax
jne 0x671865
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x671821
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_RUSSIAN
call dword [eax + 8]
jmp 0x671826
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x6719ec
test dx, dx
je 0x6719e8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x6719ec
add ecx, 4
add eax, 4
test dx, dx
jne 0x671830
xor eax, eax
jmp 0x6719f1
push 0x783b14
lea ecx, [ebp + 8]
call fcn.00429150
test eax, eax
jne 0x6718d5
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x671891
mov eax, dword [ecx]
push 0x7425a0
push 0x7460b8
call dword [eax + 8]
jmp 0x671896
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x6719ec
test dx, dx
je 0x6719e8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x6719ec
add ecx, 4
add eax, 4
test dx, dx
jne 0x6718a0
xor eax, eax
jmp 0x6719f1
push 0x783b1c
lea ecx, [ebp + 8]
call fcn.00429150
test eax, eax
jne 0x671945
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x671901
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_THAILAND
call dword [eax + 8]
jmp 0x671906
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x6719ec
test dx, dx
je 0x6719e8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x6719ec
add ecx, 4
add eax, 4
test dx, dx
jne 0x671910
xor eax, eax
jmp 0x6719f1
push 0x783aec
lea ecx, [ebp + 8]
call fcn.00429150
mov ecx, dword [0x7f7170]
test eax, eax
jne 0x6719a6
test ecx, ecx
je 0x671971
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_KOREAN
call dword [eax + 8]
jmp 0x671976
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x6719ec
test dx, dx
je 0x6719e8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x6719ec
add ecx, 4
add eax, 4
test dx, dx
jne 0x671980
xor eax, eax
jmp 0x6719f1
test ecx, ecx
je 0x6719bb
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_LANG_ENGLISH
call dword [eax + 8]
jmp 0x6719c0
mov eax, 0x790eb0
lea ecx, [ebp - 0x810]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x6719ec
test dx, dx
je 0x6719e8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x6719ec
add ecx, 4
add eax, 4
test dx, dx
jne 0x6719c6
xor eax, eax
jmp 0x6719f1
sbb eax, eax
or eax, 1
test eax, eax
je 0x671a0c
push 0
push 0
push 0x146
push dword [edi + 0x30]
inc esi
call ebx
cmp esi, eax
jl 0x671603
lea ecx, [ebp + 8]
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 4