Function at 0x4660b0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x448
push esi
mov esi, dword [esp + 0x450]
mov eax, dword [esi + 0x137c]
test eax, eax
je 0x4660dc
mov ecx, dword [esp + 0x454]
nop
cmp dword [eax + 8], ecx
je 0x4660e6
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x4660d0
xor eax, eax
pop esi
add esp, 0x448
ret
push ebx
push ebp
push edi
mov edi, dword [eax + 0xc]
test edi, edi
je 0x4662fc
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x466122
mov eax, dword [esp + 0x464]
push eax
push 0
push 0xc
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x448
ret
push edi
push esi
call fcn.00465f10
add esp, 8
test eax, eax
jne 0x466152
mov ecx, dword [esp + 0x464]
push ecx
push eax
push 0xc
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x448
ret
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x70]
push edx
push 0x3e7
push 0xd
push edi
call ebp
mov al, byte [esp + 0x70]
test al, al
je 0x466294
mov eax, dword [esi + 0xc8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x4662fc
mov ecx, dword [esi + 0xc8]
push 0
push 0
push 0x31
push ecx
call ebp
lea edx, [esp + 0x34]
push edx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x4661c9
mov eax, dword [esi + 0xc8]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x448
ret
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x4d], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ebp, eax
test ebp, ebp
jne 0x4661fd
mov edx, dword [esi + 0xc8]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x448
ret
push ebp
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0xc8]
push 2
lea ecx, [esp + 0x28]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov al, byte [esp + 0x70]
test al, al
je 0x46626b
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push 0x2c10
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x20], edx
push 0xffffffffffffffff
lea edx, [esp + 0x7c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
push edx
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [esp + 0x20]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esi + 0xc8]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4662cc
lea edx, [esp + 0x10]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0xc8]
push 2
lea eax, [esp + 0x14]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add edx, 0xa
add eax, 0xa
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x464]
push ecx
push 0
push 0xc
push edi
call ebp
mov eax, dword [esi + 0xc8]
push 1
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0xc8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x448
ret