Function at 0x467d90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
mov eax, dword [0x4d9754]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
push str.PROP_PSKIN
push eax
mov dword [ebp - 0x828], eax
call dword [sym.imp.USER32.dll_GetPropW]
cmp dword [edi], 4
mov ebx, eax
je 0x467dd8
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045978b
mov esp, ebp
pop ebp
ret 8
push esi
push 0
push 0
push 0x31
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [edi + 0x18]
push dword [edi + 0x14]
mov dword [ebp - 0x830], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [edi + 0x18], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push esi
push dword [edi + 0x18]
mov dword [ebp - 0x82c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push dword [edi + 0x18]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004714b0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi + 4]
mov ecx, ebx
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x820], eax
call fcn.00468260
lea ecx, [ebp - 0x820]
mov dword [ebp - 0x818], eax
push ecx
lea ecx, [ebp - 0x83c]
push ecx
mov ecx, eax
call fcn.004676c0
mov esi, dword [ebp - 0x834]
cmp byte [esi + 0xd], 0
jne 0x467ea5
mov eax, dword [ebp - 0x824]
cmp eax, dword [esi + 0x10]
jge 0x467ead
mov esi, dword [ebp - 0x818]
mov esi, dword [esi]
mov ecx, ebx
call fcn.00468260
cmp esi, dword [eax]
jne 0x467edb
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], 0
push eax
mov ecx, ebx
call fcn.00468260
mov ecx, eax
call fcn.00467a70
mov esi, dword [eax]
jmp 0x467ede
mov esi, dword [esi + 0x14]
test dword [edi + 0xc], 0xfffffffb
je 0x467f56
test byte [edi + 0x10], 1
je 0x467ef5
mov ecx, dword [esi + 0x80]
jmp 0x467ef8
mov ecx, dword [esi + 0x7c]
mov edx, dword [ecx + 4]
mov eax, dword [edi + 0x18]
push edx
push eax
mov eax, dword [ecx]
push eax
call fcn.0046d740
mov eax, dword [edi + 0x10]
add esp, 0xc
test al, 1
je 0x467f1a
add dword [edi + 0x20], 2
add dword [edi + 0x1c], 2
test al, 4
je 0x467f23
push dword [esi + 0x74]
jmp 0x467f26
push dword [esi + 0x70]
push dword [edi + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x25
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x804]
push eax
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
test byte [edi + 0xc], 4
jne 0x467f66
test byte [edi + 0x10], 0x10
je 0x467ff9
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x804]
push eax
push dword [edi + 0x18]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp - 0x808]
mov esi, 2
sub eax, dword [ebp - 0x818]
mov ecx, esi
sub eax, dword [ebp - 0x810]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [ebp - 0x80c]
sub eax, dword [ebp - 0x81c]
sub eax, dword [ebp - 0x814]
cdq
sub eax, edx
sar eax, 1
push ecx
sub esi, eax
lea eax, [ebp - 0x814]
push esi
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x814]
push eax
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 0
push dword [edi + 4]
push 0x401
push dword [ebp - 0x828]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x82c]
push dword [edi + 0x18]
call dword [sym.imp.GDI32.dll_RestoreDC]
push dword [edi + 0x18]
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x830]
mov ecx, dword [ebp - 4]
pop esi
mov dword [edi + 0x18], eax
xor ecx, ebp
pop edi
mov al, 1
pop ebx
call fcn.0045978b
mov esp, ebp
pop ebp
ret 8