Function at 0x10007a86
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x10087004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push 0xffffffffffffffeb
push esi
mov dword [ebp - 0x120], esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
test ebx, ebx
je 0x10007c7e
cmp byte [ebx + 0x38], 0
jne 0x10007c7e
and dword [ebp - 0x11c], 0
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ecx, 0x100
mov dword [ebp - 0x118], eax
cmp eax, ecx
jle 0x10007b14
lea ecx, [eax + 0x10]
push ecx
call fcn.100455ea
mov edi, eax
mov dword [ebp - 0x11c], edi
pop ecx
test edi, edi
je 0x10007b0c
mov ecx, dword [ebp - 0x118]
inc ecx
push ecx
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 0x114], edi
jmp 0x10007b36
mov eax, dword [ebp - 0x120]
jmp 0x10007b30
push ecx
lea eax, [ebp - 0x110]
mov byte [ebp - 0x110], 0
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp + 8]
lea edi, [ebx + 0x4e]
mov al, byte [ecx]
lea esi, [ecx + 0x10]
mov byte [ebx + 0x39], al
mov al, byte [ecx + 1]
mov byte [ebx + 0x3a], al
mov eax, dword [ecx + 4]
mov dword [ebx + 0x3b], eax
mov al, byte [ecx + 8]
mov byte [ebx + 0x3f], al
mov al, byte [ecx + 0xa]
mov byte [ebx + 0x49], al
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0x4a], eax
mov al, byte [ecx + 9]
mov byte [ebx + 0x48], al
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov al, byte [ecx + 0x1c]
lea esi, [ecx + 0x40]
mov byte [ebx + 0x5a], al
lea edi, [ebx + 0xb3]
mov eax, dword [ecx + 0x20]
mov dword [ebx + 0x5b], eax
mov al, byte [ecx + 0x24]
mov byte [ebx + 0x5f], al
mov al, byte [ecx + 0x25]
mov byte [ebx + 0x74], al
mov eax, dword [ecx + 0x28]
mov dword [ebx + 0x75], eax
mov eax, dword [ecx + 0x2c]
mov dword [ebx + 0x79], eax
mov al, byte [ecx + 0x30]
mov byte [ebx + 0x9e], al
mov al, byte [ecx + 0x31]
mov byte [ebx + 0x9f], al
mov eax, dword [ecx + 0x34]
mov dword [ebx + 0xa0], eax
mov al, byte [ecx + 0x38]
mov byte [ebx + 0xa4], al
mov al, byte [ecx + 0x3a]
mov byte [ebx + 0xae], al
mov eax, dword [ecx + 0x3c]
mov dword [ebx + 0xaf], eax
mov al, byte [ecx + 0x39]
mov byte [ebx + 0xad], al
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov al, byte [ecx + 0x4c]
mov byte [ebx + 0xbf], al
mov eax, dword [ecx + 0x50]
mov dword [ebx + 0xc0], eax
mov al, byte [ecx + 0x54]
mov byte [ebx + 0xc4], al
mov al, byte [ecx + 0x55]
mov byte [ebx + 0xd9], al
mov eax, dword [ecx + 0x58]
mov dword [ebx + 0xda], eax
mov eax, dword [ecx + 0x5c]
mov ecx, ebx
mov dword [ebx + 0xde], eax
call fcn.100082bf
cmp eax, 1
je 0x10007c20
mov byte [ebx + 0x1f], 1
mov edi, dword [ebp - 0x118]
lea eax, [ebx + 0x39]
mov esi, dword [ebp - 0x120]
mov ecx, esi
mov edx, dword [ebp - 0x114]
and dword [ebx + 0x15], 0
push eax
push ebx
push edi
mov byte [ebx + 0x20], 1
mov byte [ebx + 0x1d], 0
call fcn.10008a0c
add esp, 0xc
cmp byte [ebx + 0x1f], 0
je 0x10007c6d
mov edx, dword [ebp - 0x114]
lea eax, [ebx + 0x9e]
push eax
push ebx
push edi
mov ecx, esi
call fcn.10008a0c
add esp, 0xc
push dword [ebp - 0x11c]
call fcn.100455e5
xor eax, eax
pop ecx
inc eax
jmp 0x10007c80
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10029e88
leave
ret