Function at 0x10199b20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022cbdb
mov eax, dword fs:[0]
push eax
mov eax, 0x1844
call fcn.101b7610
mov eax, dword [0x102bff3c]
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 eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x1840], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1838], eax
lea eax, [ebp - 0x1830]
push eax
push ebx
mov dword [ebp - 0x183c], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x400
lea eax, [ebp - 0x1810]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x1810]
push eax
lea eax, [ebp - 0x1010]
push 0x400
push eax
call fcn.101df899
lea ecx, [ebp - 0x1810]
add esp, 0xc
lea edx, [ecx + 2]
jmp 0x10199bc0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10199bc0
sub ecx, edx
mov eax, 0x400
sar ecx, 1
sub eax, ecx
push edi
push eax
lea eax, [ebp - 0x1010]
lea eax, [eax + ecx*2]
push eax
call fcn.101df899
add esp, 0xc
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push dword [ebp - 0x183c]
mov ebx, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10199c12
sub ecx, edx
lea eax, [ebp - 0x1850]
push eax
sar ecx, 1
push ecx
push esi
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp - 0x1830]
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x1820], eax
lea edx, [ecx + 2]
mov eax, dword [ebp - 0x182c]
mov dword [ebp - 0x181c], eax
mov eax, dword [ebp - 0x1828]
mov dword [ebp - 0x1818], eax
mov eax, dword [ebp - 0x1824]
mov dword [ebp - 0x1814], eax
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10199c70
push 0x410
sub ecx, edx
lea eax, [ebp - 0x1820]
push eax
sar ecx, 1
lea eax, [ebp - 0x1010]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov edi, dword [ebp - 0x1814]
lea ecx, [ebp - 0x1834]
mov eax, dword [ebp - 0x1830]
sub edi, dword [ebp - 0x181c]
mov dword [ebp - 0x1820], eax
mov eax, dword [ebp - 0x182c]
mov dword [ebp - 0x181c], eax
mov eax, dword [ebp - 0x1828]
mov dword [ebp - 0x1818], eax
mov eax, dword [ebp - 0x1824]
mov dword [ebp - 0x1814], eax
lea eax, [ebp - 0x1010]
push eax
call fcn.1001f510
push 1
push 0x10288b74
lea ecx, [ebp - 0x1834]
mov dword [ebp - 4], 0
call fcn.1000f790
test esi, esi
jne 0x10199d09
xor ecx, ecx
jmp 0x10199d1f
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10199d10
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1834]
call fcn.1000f790
mov eax, dword [ebp - 0x1834]
lea ecx, [ebp - 0x1820]
push 0x410
push ecx
push dword [eax - 0xc]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x1814]
sub eax, dword [ebp - 0x181c]
cmp edi, eax
je 0x10199d72
mov ecx, dword [ebp - 0x1840]
mov dword [ecx], 0
mov ecx, dword [ebp - 0x1838]
mov dword [ecx], edi
jmp 0x10199f48
mov eax, dword [ebp - 0x1838]
mov dword [eax], 0
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x810]
push 0x400
push eax
cmp edi, dword [ebp - 0x184c]
jle 0x10199ee0
call fcn.101df899
lea ecx, [ebp - 0x810]
add esp, 0xc
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10199db0
sub ecx, edx
mov eax, edi
sar ecx, 1
lea esi, [ebp + ecx*2 - 0x812]
jmp 0x10199dd0
lea ecx, [ebp - 0x810]
cmp ecx, esi
jae 0x10199e81
mov eax, dword [ebp - 0x1830]
lea edx, [ecx + 2]
mov dword [ebp - 0x1820], eax
mov eax, dword [ebp - 0x182c]
mov dword [ebp - 0x181c], eax
mov eax, dword [ebp - 0x1828]
mov dword [ebp - 0x1818], eax
mov eax, dword [ebp - 0x1824]
mov dword [ebp - 0x1814], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10199e11
push 0x410
sub ecx, edx
lea eax, [ebp - 0x1820]
push eax
sar ecx, 1
lea eax, [ebp - 0x810]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x1814]
sub eax, dword [ebp - 0x181c]
cmp edi, eax
jne 0x10199e81
sub esi, 2
lea ecx, [ebp - 0x810]
cmp ecx, esi
jae 0x10199dd0
lea esp, [esp]
cmp word [esi], 0x20
je 0x10199dd0
xor ecx, ecx
mov word [esi], cx
sub esi, 2
lea ecx, [ebp - 0x810]
cmp ecx, esi
jb 0x10199e60
jmp 0x10199dd0
mov ecx, dword [ebp - 0x1838]
mov dword [ecx], eax
lea eax, [ebp - 0x810]
sub esi, eax
lea eax, [ebp - 0x1010]
add esi, 2
sar esi, 1
lea eax, [eax + esi*2]
push eax
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.101df899
push 0x10288b74
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.101df824
lea ecx, [ebp - 0x810]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10199ed3
jmp 0x10199f12
call fcn.101df899
push 0x10288b74
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.101df824
lea ecx, [ebp - 0x810]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10199f07
lea eax, [ebp - 0x1848]
sub ecx, edx
push eax
sar ecx, 1
lea eax, [ebp - 0x810]
push ecx
push eax
mov eax, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push ebx
call eax
push ebx
push dword [ebp - 0x183c]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0x1840]
mov eax, dword [ebp - 0x1848]
mov dword [ecx], eax
mov edx, dword [ebp - 0x1834]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10199f6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.101b70aa
mov esp, ebp
pop ebp
ret