Function at 0x40acfc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov al, byte [0x412a30]
push ebx
push esi
mov dword [ebp - 4], ecx
push edi
mov byte [ebp - 0x44c], al
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x44b]
mov ebx, dword [ebp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x18]
lea esi, [ebx + 0x1c]
mov dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 8], eax
push 0x10
lea eax, [ebp - 0x2c]
push esi
push eax
call sub.MSVCRT.dll_memcpy
push 0x10
lea eax, [ebp - 0x18]
push esi
push eax
call sub.MSVCRT.dll_memcpy
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x24
lea eax, [ebp - 0x3c]
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
lea eax, [ebp - 0x4c]
push 1
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_OffsetRect]
push 4
lea eax, [ebp - 0x44c]
pop esi
add dword [ebp - 0x18], esi
sub dword [ebp - 0x10], esi
add dword [ebp - 0x14], esi
sub dword [ebp - 0xc], esi
push 0x400
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebp - 8]
and eax, esi
mov dword [ebp - 0x1c], eax
je 0x40add3
mov ebx, dword [ebp - 4]
lea esi, [ebp - 0x2c]
mov ecx, ebx
push dword [ebx + 0x2c]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040b0c2
jmp 0x40adf0
mov ecx, dword [ebp - 4]
lea esi, [ebp - 0x2c]
push dword [ecx + 0x2c]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040b0c2
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
and eax, 1
mov dword [ebp - 4], eax
je 0x40adff
push 1
jmp 0x40ae0b
test byte [ebp - 8], 0x30
jne 0x40ae09
push 2
jmp 0x40ae0b
push 6
sub esp, 0x10
lea esi, [ebp - 0x2c]
mov edi, esp
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040ae9d
cmp dword [ebp - 0x1c], 0
je 0x40ae85
lea eax, [ebp - 0x44c]
push 0xffffff
push eax
lea esi, [ebp - 0x4c]
sub esp, 0x10
mov ecx, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040b13f
push 0x808080
lea eax, [ebp - 0x44c]
lea esi, [ebp - 0x3c]
push eax
sub esp, 0x10
mov edi, esp
push dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.0040b13f
test byte [ebp - 8], 0x10
je 0x40ae7e
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_DrawFocusRect]
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [ebp - 4], 0
push dword [ebx + 0x30]
je 0x40ae4e
lea eax, [ebp - 0x44c]
lea esi, [ebp - 0x4c]
push eax
sub esp, 0x10
jmp 0x40ae5b