Function at 0x10199fa0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022cc1b
mov eax, dword fs:[0]
push eax
mov eax, 0x1044
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 + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x103c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1038], eax
lea eax, [ebp - 0x1030]
push eax
push edi
mov dword [ebp - 0x1040], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x400
lea eax, [ebp - 0x1010]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push edi
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 0x1019a034
sub ecx, edx
lea eax, [ebp - 0x1050]
push eax
sar ecx, 1
push ecx
push esi
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp - 0x1030]
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x1020], eax
lea edx, [ecx + 2]
mov eax, dword [ebp - 0x102c]
mov dword [ebp - 0x101c], eax
mov eax, dword [ebp - 0x1028]
mov dword [ebp - 0x1018], eax
mov eax, dword [ebp - 0x1024]
mov dword [ebp - 0x1014], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1019a090
push 0x410
sub ecx, edx
lea eax, [ebp - 0x1020]
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 - 0x1014]
lea ecx, [ebp - 0x1034]
mov eax, dword [ebp - 0x1030]
sub edi, dword [ebp - 0x101c]
mov dword [ebp - 0x1020], eax
mov eax, dword [ebp - 0x102c]
mov dword [ebp - 0x101c], eax
mov eax, dword [ebp - 0x1028]
mov dword [ebp - 0x1018], eax
mov eax, dword [ebp - 0x1024]
mov dword [ebp - 0x1014], eax
lea eax, [ebp - 0x1010]
push eax
call fcn.1001f510
push 1
push 0x10288b74
lea ecx, [ebp - 0x1034]
mov dword [ebp - 4], 0
call fcn.1000f790
test esi, esi
jne 0x1019a129
xor ecx, ecx
jmp 0x1019a13f
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1019a130
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1034]
call fcn.1000f790
mov eax, dword [ebp - 0x1034]
lea ecx, [ebp - 0x1020]
push 0x410
push ecx
push dword [eax - 0xc]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x1014]
sub eax, dword [ebp - 0x101c]
cmp edi, eax
je 0x1019a192
mov ecx, dword [ebp - 0x103c]
mov dword [ecx], 0
mov ecx, dword [ebp - 0x1038]
mov dword [ecx], edi
jmp 0x1019a368
mov eax, dword [ebp - 0x1038]
mov dword [eax], 0
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x810]
push 0x400
push eax
cmp edi, dword [ebp - 0x104c]
jle 0x1019a300
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 0x1019a1d0
sub ecx, edx
mov eax, edi
sar ecx, 1
lea esi, [ebp + ecx*2 - 0x812]
jmp 0x1019a1f0
lea ecx, [ebp - 0x810]
cmp ecx, esi
jae 0x1019a2a1
mov eax, dword [ebp - 0x1030]
lea edx, [ecx + 2]
mov dword [ebp - 0x1020], eax
mov eax, dword [ebp - 0x102c]
mov dword [ebp - 0x101c], eax
mov eax, dword [ebp - 0x1028]
mov dword [ebp - 0x1018], eax
mov eax, dword [ebp - 0x1024]
mov dword [ebp - 0x1014], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1019a231
push 0x410
sub ecx, edx
lea eax, [ebp - 0x1020]
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 - 0x1014]
sub eax, dword [ebp - 0x101c]
cmp edi, eax
jne 0x1019a2a1
sub esi, 2
lea ecx, [ebp - 0x810]
cmp ecx, esi
jae 0x1019a1f0
lea esp, [esp]
cmp word [esi], 0x20
je 0x1019a1f0
xor ecx, ecx
mov word [esi], cx
sub esi, 2
lea ecx, [ebp - 0x810]
cmp ecx, esi
jb 0x1019a280
jmp 0x1019a1f0
mov ecx, dword [ebp - 0x1038]
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 0x1019a2f3
jmp 0x1019a332
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 0x1019a327
lea eax, [ebp - 0x1048]
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 - 0x1040]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0x103c]
mov eax, dword [ebp - 0x1048]
mov dword [ecx], eax
mov edx, dword [ebp - 0x1034]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1019a38d
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