Function at 0x10007a60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push esi
push str.PROP_PSKIN
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetPropA]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [esi], 4
je 0x10007a8a
xor al, al
jmp 0x10007c62
push ebx
push edi
push 0
push 0
push 0x31
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
lea ebx, [esi + 0x1c]
lea eax, [ebp - 0x20]
push ebx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esi + 0x18]
push dword [esi + 0x14]
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 0x18], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push edi
mov dword [ebp - 0xc], eax
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetBkMode]
and byte [ebp - 0x424], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x423]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x424]
push 0x400
push eax
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
call fcn.100084fb
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.1000958e
mov ecx, dword [ebp - 4]
call fcn.100084fb
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 4]
jne 0x10007b52
mov ecx, dword [ebp - 4]
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
call fcn.100084fb
mov ecx, eax
call fcn.10008b63
mov edi, dword [eax]
jmp 0x10007b55
mov edi, dword [ecx + 0x10]
test dword [esi + 0xc], 0xfffffffb
je 0x10007bc0
test byte [esi + 0x10], 1
je 0x10007b69
mov eax, dword [edi + 0x70]
jmp 0x10007b6c
mov eax, dword [edi + 0x6c]
push dword [eax + 4]
push dword [esi + 0x18]
push dword [eax]
call sym.IGDI.dll_BmpDrawBitmap
mov eax, dword [esi + 0x10]
test al, 1
je 0x10007b87
add dword [esi + 0x20], 2
add dword [ebx], 2
test al, 4
je 0x10007b90
push dword [edi + 0x64]
jmp 0x10007b93
push dword [edi + 0x60]
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x20]
push 0x25
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x424]
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_DrawTextA]
test byte [esi + 0xc], 4
pop edi
pop ebx
jne 0x10007bce
test byte [esi + 0x10], 0x10
je 0x10007c42
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x424]
push eax
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebp - 0x14]
push 2
sub eax, dword [ebp - 4]
pop ecx
sub eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 8]
push ecx
push 2
sub eax, dword [ebp - 0x20]
pop ecx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
lea eax, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 0
push dword [esi + 4]
push 0x401
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0xc]
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_RestoreDC]
push dword [esi + 0x18]
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x18], eax
mov al, 1
pop esi
leave
ret 8