Function at 0x100208f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010cb80
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1015a4dc]
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 ebx, ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
call fcn.10005050
mov ecx, eax
test ecx, ecx
je 0x10020b56
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x74], esi
push dword [ebx + 4]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x10020b60
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x10020975
push edi
lea ecx, [ebp - 0x74]
call fcn.100053e0
mov esi, dword [ebp - 0x74]
push edi
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x10020991
push dword [esi - 8]
push esi
call fcn.100b11aa
add esp, 8
test eax, eax
js 0x10020b60
cmp eax, dword [esi - 8]
jg 0x10020b60
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
call fcn.10005050
mov ecx, eax
test ecx, ecx
je 0x10020b6a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6c], eax
lea eax, [ebx + 0x24]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x6c]
call fcn.1000e8a0
cmp dword [esi - 0xc], 0
mov edi, dword [ebp - 0x6c]
jne 0x10020af3
cmp dword [edi - 0xc], 0
je 0x10020af3
mov eax, dword [ebx + 4]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 0x6c]
cmp eax, ecx
jne 0x10020a09
cmp dword [ebx + 0x28], 0
je 0x10020af3
lea eax, [ebp - 0x60]
mov dword [ebp - 0x68], 0
push eax
push ecx
mov dword [ebp - 0x64], ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x68], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 0
push 0x31
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x10020a50
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebx + 4]
mov dword [ebp - 0x70], eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebx + 4]
push dword [ebp - 0x68]
push 0x133
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10020a98
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_FillRect]
push 0xd7d7d7
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 4
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
push dword [edi - 0xc]
push edi
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x70]
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebp - 0x68], 0
jmp 0x10020afc
mov eax, dword [ebp - 0x70]
mov dword [eax], 0
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10020b1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x10020b36
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
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.10067b98
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.10004420
push 0x80070057
call fcn.10004420
push 0x80004005
call fcn.10004420
int3