Function at 0x64842910
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], edi
xor edi, edi
mov dword [ebp - 0xc], ebx
mov dword [esp], eax
call sub.USER32.dll_IsWindowUnicode
mov ecx, dword [esi + 0x40]
sub esp, 4
test ecx, ecx
jne 0x648429e7
mov edx, dword [esi + 0x44]
test edx, edx
jne 0x64842a15
mov eax, dword [esi + 0x48]
test eax, eax
jne 0x648429c4
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x64842a40
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x64842b25
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x64842b50
mov eax, dword [esi + 0x98]
test eax, eax
jne 0x648429a0
cmp byte [esi], 0
jne 0x64842ac5
cmp byte [esi + 0x58], 0
jne 0x64842a67
lea esi, [esi]
mov eax, edi
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetParent
sub esp, 4
cmp dword [esi + 0x98], eax
je 0x64842b79
test eax, eax
jne 0x648429a0
nop
xor edi, edi
jmp 0x64842990
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xfffffff4
mov dword [esp], eax
call sub.USER32.dll_GetWindowLongA
sub esp, 8
cmp eax, dword [esi + 0x48]
jne 0x648429c0
add edi, 1
jmp 0x6484294f
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xfffffff0
mov dword [esp], eax
call sub.USER32.dll_GetWindowLongA
mov edx, dword [esi + 0x40]
and eax, edx
sub esp, 8
cmp edx, eax
jne 0x648429c0
mov edx, dword [esi + 0x44]
mov di, 1
test edx, edx
je 0x64842948
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xffffffec
mov dword [esp], eax
call sub.USER32.dll_GetWindowLongA
mov edx, dword [esi + 0x44]
and eax, edx
sub esp, 8
cmp edx, eax
jne 0x648429c0
add edi, 1
jmp 0x64842948
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xffffffeb
mov dword [esp], eax
call sub.USER32.dll_GetWindowLongA
sub esp, 8
cmp eax, dword [esi + 0x4c]
jne 0x648429c0
add edi, 1
jmp 0x6484295a
mov dword [esp], 0x800
call sub.msvcrt.dll_malloc
mov dword [esp + 8], 0x800
mov ebx, eax
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetClassNameA
lea eax, [esi + 0x58]
sub esp, 0xc
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_strstr
mov dword [esp], ebx
mov esi, eax
call sub.msvcrt.dll_free
cmp byte [ebx], 0
je 0x648429c0
test esi, esi
je 0x648429c0
add edi, 1
lea esi, [esi]
jmp 0x64842990
mov dword [esp], 0x800
lea esi, [esi]
call sub.msvcrt.dll_malloc
mov dword [esp + 8], 0x800
mov ebx, eax
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetWindowTextA
sub esp, 0xc
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_strstr
mov dword [esp], ebx
mov dword [ebp - 0x20], eax
call sub.msvcrt.dll_free
cmp byte [ebx], 0
je 0x648429c0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x648429c0
add edi, 1
nop
jmp 0x64842983
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xfffffffc
mov dword [esp], eax
call sub.USER32.dll_GetWindowLongA
sub esp, 8
cmp eax, dword [esi + 0x50]
jne 0x648429c0
add edi, 1
jmp 0x64842965
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetWindowThreadProcessId
mov eax, dword [esi + 0x54]
sub esp, 8
cmp eax, dword [ebp - 0x10]
jne 0x648429c0
add edi, 1
jmp 0x64842970
test eax, eax
je 0x648429c0
add edi, 1
jmp 0x6484297a