Function at 0x1ffc1f90
Capabilities:
Get graphical window text

Disassembly:
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov ecx, dword [esp + 0x14]
push ebp
mov eax, dword [esi]
push eax
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [esp + 0x20], 0
je 0x1ffc2176
mov edi, dword [esi + 4]
cmp dword [edi + 0x348], 0
je 0x1ffc20e5
test byte [edi + 0x2e4], 0x20
je 0x1ffc20e5
mov ebp, dword [edi + 0x2e0]
push 0
call sub.LTKRN13N.dll_Ordinal_196
test eax, eax
je 0x1ffc1feb
mov eax, 0xffffff71
jmp 0x1ffc2057
test ebp, ebp
je 0x1ffc200f
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
cmp eax, 0x8000
je 0x1ffc200f
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x1ffc2011
xor ebx, ebx
test ebx, ebx
jne 0x1ffc201c
mov eax, 0xfffffff3
jmp 0x1ffc2057
lea eax, [esp + 0x10]
push 0
push eax
push ebx
call fcn.1ffcd4c0
cmp eax, 1
jne 0x1ffc20e5
cmp dword [esp + 0x10], 0
je 0x1ffc204a
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov dword [esp + 0x10], eax
jmp 0x1ffc2052
mov dword [esp + 0x10], 0
mov eax, 1
cmp eax, 1
jne 0x1ffc20e5
mov ecx, dword [edi + 0x34c]
mov eax, dword [edi + 0x348]
mov ebx, dword [eax + ecx*4 - 4]
test ebx, ebx
je 0x1ffc20b8
push 0
call sub.LTKRN13N.dll_Ordinal_196
test eax, eax
jne 0x1ffc20b8
test ebx, ebx
je 0x1ffc20a3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
cmp eax, 0x8000
je 0x1ffc20a3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x1ffc20a5
xor ebp, ebp
test ebp, ebp
je 0x1ffc20b8
push 4
push 0
push 0x8010
push ebp
call fcn.1ff9adb0
mov eax, dword [edi + 0x348]
mov ecx, dword [edi + 0x34c]
lea edx, [ecx*4 - 4]
push edx
push eax
add eax, 4
push eax
call fcn.1ffd7ea0
mov ecx, dword [edi + 0x348]
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [ecx], edx
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea edi, [eax + 1]
cmp edi, 1
jne 0x1ffc2113
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x68]
add edi, 0x68
test eax, eax
je 0x1ffc2151
push eax
call sub.LTKRN13N.dll_Ordinal_283
mov dword [edi], 0
jmp 0x1ffc2151
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x1ffc2123
push eax
call sub.LTKRN13N.dll_Ordinal_283
push edi
call sub.LTKRN13N.dll_Ordinal_282
mov ecx, dword [esi + 8]
mov dword [ecx + 0x68], eax
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x68]
test eax, eax
je 0x1ffc2151
push edi
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x68]
mov byte [eax + edi - 1], 0
cmp dword [esp + 0x20], 0
je 0x1ffc2176
push 1
mov eax, dword [esi + 8]
push eax
call fcn.1ff9b150
push 0
mov eax, dword [esi + 4]
push 0
mov ecx, dword [eax + 0x2e8]
push ecx
call fcn.1ffc21d0
mov eax, dword [esp + 0x18]
push 0
push 0
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, dword [sym.imp.USER32.dll_ReleaseCapture]
call ebp
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x18]
push 0
push 0xffffffffffffffeb
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push esi
call sub.LTKRN13N.dll_Ordinal_283
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0xc