Function at 0x10098780
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10178e98
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x101e8118]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x824], ecx
mov eax, dword [ebp - 0x824]
movzx ecx, byte [eax + 0x85]
test ecx, ecx
je 0x1009881a
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x824]
call fcn.10003700
test eax, eax
jne 0x1009881a
mov eax, dword [ebp - 0x824]
movzx ecx, byte [eax + 0xe8]
test ecx, ecx
jne 0x1009881a
mov edx, dword [ebp - 0x824]
cmp dword [edx + 0x104], 0
je 0x10098818
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x824]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x824]
mov eax, dword [edx + 0x68]
call eax
jmp 0x10098827
mov ecx, dword [ebp - 0x824]
mov byte [ecx + 0xe8], 0
mov edx, dword [ebp - 0x824]
movzx eax, byte [edx + 0x85]
test eax, eax
jne 0x10098a05
push 0x400
lea ecx, [ebp - 0x814]
push ecx
mov edx, dword [ebp - 0x824]
mov eax, dword [edx + 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x818], 0
jmp 0x10098876
mov ecx, dword [ebp - 0x818]
add ecx, 1
mov dword [ebp - 0x818], ecx
mov ecx, dword [ebp - 0x824]
add ecx, 0xf4
call fcn.100157d0
cmp dword [ebp - 0x818], eax
jae 0x10098a05
push 0
mov edx, dword [ebp - 0x818]
push edx
mov ecx, dword [ebp - 0x824]
add ecx, 0xf4
call fcn.1003b6b0
mov ecx, dword [eax]
add ecx, 0x10
call fcn.10005f10
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.1013b348
add esp, 8
test eax, eax
jne 0x10098a00
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x81c]
call fcn.100057d0
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp - 0x818]
push eax
mov ecx, dword [ebp - 0x824]
add ecx, 0xf4
call fcn.1003b6b0
mov ecx, dword [eax]
add ecx, 0x14
call fcn.10005f10
push eax
mov ecx, dword [ebp - 0x824]
add ecx, 0x5c
push ecx
push 0x101921a0
lea edx, [ebp - 0x820]
push edx
call fcn.100196d0
mov dword [ebp - 0x828], eax
mov eax, dword [ebp - 0x828]
mov dword [ebp - 0x82c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x82c]
call fcn.10005a00
push eax
lea ecx, [ebp - 0x81c]
call fcn.10005ad0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x820]
call fcn.10006030
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x824]
mov ecx, dword [eax + 0x54]
mov edx, dword [ebp - 0x824]
mov eax, dword [edx + 0x54]
add eax, 0xc4
mov edx, dword [ecx + 0xc4]
mov ecx, eax
mov eax, dword [edx + 0xa8]
call eax
lea ecx, [ebp - 0x81c]
call fcn.100059c0
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp - 0x824]
mov eax, dword [edx + 0x54]
mov ecx, dword [ebp - 0x824]
mov ecx, dword [ecx + 0x54]
add ecx, 0xc4
mov edx, dword [eax + 0xc4]
mov eax, dword [edx + 0xa4]
call eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x81c]
call fcn.10005f10
push eax
push 0x101921a4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call fcn.1013b37a
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x81c]
call fcn.10006030
jmp 0x10098a05
jmp 0x10098867
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013a297
mov esp, ebp
pop ebp
ret 0x10