Function at 0x410c10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x43c040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x438], 0
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x42c], eax
test eax, eax
je 0x410e80
push 0x104
lea eax, [ebp - 0x210]
mov dword [ebp - 0x434], 0
push eax
push edi
xor esi, esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x210]
push str.Button
push eax
call ebx
test eax, eax
jne 0x410c8a
mov dword [ebp - 0x434], 1
jmp 0x410ca2
push str.SysLink
lea eax, [ebp - 0x210]
push eax
call ebx
test eax, eax
mov ecx, 1
cmove esi, ecx
push 0x104
test esi, esi
je 0x410d4a
lea eax, [ebp - 0x418]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x430], eax
test eax, eax
jne 0x410cce
xor esi, esi
jmp 0x410d5a
push 0x436480
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x410d29
push 0x3e
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov ebx, eax
add ebx, 2
je 0x410d29
push str.__a_
push 0
push ebx
call dword [sym.imp.SHLWAPI.dll_StrRStrIW]
mov esi, eax
test esi, esi
je 0x410d29
push ecx
push ebx
xor eax, eax
mov edx, 0x104
push ecx
lea ecx, [ebp - 0x210]
mov word [esi], ax
call fcn.00401190
sub esi, ebx
sar esi, 1
jmp 0x410d5a
push ecx
lea eax, [ebp - 0x418]
mov edx, 0x104
push eax
push ecx
lea ecx, [ebp - 0x210]
call fcn.00401190
mov esi, dword [ebp - 0x430]
jmp 0x410d5a
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
push 0
push 0
push 0x31
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
jne 0x410da2
call fcn.00410ea0
mov ebx, eax
test ebx, ebx
jne 0x410d98
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x438], 1
push ebx
push dword [ebp - 0x42c]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x430], eax
test eax, eax
je 0x410e63
lea eax, [ebp - 0x428]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
call dword [sym.imp.USER32.dll_GetParent]
push 2
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x444], eax
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x440]
push eax
push esi
mov esi, dword [ebp - 0x42c]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x410e38
cmp dword [ebp - 0x434], 0
mov eax, dword [ebp - 0x440]
je 0x410e22
add eax, 0x14
mov dword [ebp - 0x440], eax
push 6
push dword [ebp - 0x43c]
push eax
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 0x430]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push edi
call esi
push 1
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 0x444]
call esi
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x438], 0
je 0x410e80
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret