Function at 0x1000897b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_IsWindow]
nop
nop
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10008c78
mov eax, 0x1005c048
test eax, eax
je 0x100089eb
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1004b13c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100089fc
push ebx
call fcn.1004b142
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x198
call fcn.1004bc90
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10008a29
add eax, 8
push eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x10008a34
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
nop
nop
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10008a4f
push ebx
call fcn.1004b142
add esp, 4
push 0
push 0
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_FindWindowExW]
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10008c78
push 0x80000301
push 0
push 0x208
push 1
mov ebx, 0x1bc
call fcn.1004bef0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10008aad
push ebx
call fcn.1004b142
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x104
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10008ac0
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetClassNameW]
nop
nop
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x10008ada
add eax, 8
push eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10008ae5
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop
nop
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10008c36
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x1005bfcf]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.10001fa4
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x1005c015]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10001fa4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.1004bef0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10008b75
push ebx
call fcn.1004b142
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008b86
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
lea eax, [ebp - 0x14]
push eax
call fcn.100086e3
mov dword [ebp - 0x20], eax
lea eax, [ebp - 4]
push eax
call fcn.100086e3
push eax
push dword [ebp - 0x20]
xor eax, eax
call dword [0x1005f0e9]
nop
nop
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x10008c36
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetParent]
nop
nop
mov dword [ebp - 0x18], eax
push 0xfffffff4
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
nop
nop
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 2
mov ebx, 0xa00
call fcn.1004c3a0
add esp, 0x1c
mov dword [ebp - 0x20], eax
push dword [ebp - 8]
push dword [ebp - 0x20]
push 0x111
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.USER32.dll_SendMessageW]
nop
nop
mov eax, 1
jmp 0x10008c82
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.1000897b
test eax, eax
je 0x10008c56
mov eax, 1
jmp 0x10008c82
push 0
push 0
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_FindWindowExW]
nop
nop
mov dword [ebp - 8], eax
jmp 0x10008a6e
mov eax, 0
jmp 0x10008c82
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10008c93
push ebx
call fcn.1004b142
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10008ca3
push ebx
call fcn.1004b142
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10008cb3
push ebx
call fcn.1004b142
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc