Function at 0x40e748
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4ca134
call fcn.0049c8c4
sub esp, 0x50
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
push ebx
mov dword [ebp - 0x10], esi
call fcn.0040e6da
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 0
push 0xf2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
add eax, 0xd
mov ecx, 0x56f2b4
movsd dword es:[edi], dword [esi]
inc dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
add eax, 0xd
mov dword [ebp - 0x20], eax
call fcn.00418046
test eax, eax
je 0x40e863
mov esi, dword [ebp - 0x10]
xor edi, edi
push edi
push edi
push 0xf0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, edi
mov ecx, esi
je 0x40e7fc
call fcn.004bc992
test eax, eax
jne 0x40e7e1
push 8
jmp 0x40e815
mov eax, dword [ebp - 0x14]
and eax, 4
cmp al, 4
jne 0x40e7ef
push 7
jmp 0x40e815
xor eax, eax
cmp dword [esi + 0x40], edi
setne al
add eax, 5
jmp 0x40e821
call fcn.004bc992
test eax, eax
jne 0x40e809
push 4
jmp 0x40e815
mov eax, dword [ebp - 0x14]
and eax, 4
cmp al, 4
jne 0x40e818
push 3
pop edi
jmp 0x40e823
xor eax, eax
cmp dword [esi + 0x40], edi
setne al
inc eax
mov edi, eax
lea ecx, [ebp - 0x1c]
call fcn.004131ec
and dword [ebp - 4], 0
push str.Button
push dword [esi + 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.00413265
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
push 3
push dword [ebx + 4]
call fcn.004132e5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00413215
jmp 0x40e891
mov eax, dword [ebp - 0x10]
xor esi, esi
push esi
push esi
push 0xf0
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, esi
je 0x40e881
mov esi, 0x400
push esi
lea eax, [ebp - 0x2c]
push 4
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DrawFrameControl]
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0x10
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x56acd8]
mov dword [ebp + 8], eax
mov esi, dword [ebp - 0x10]
push 1
pop edi
lea eax, [ebp + 8]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004ba672
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x40e92c
push edi
mov ecx, ebx
call fcn.004be883
push dword [esi + 0x3c]
mov edi, eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [ebx]
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edx
call fcn.00404ec7
push eax
mov eax, dword [ebp - 0x10]
mov ecx, ebx
call dword [eax + 0x28]
mov edx, dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x4c]
push 0x8024
push esi
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x68]
mov eax, dword [ebx]
push dword [ebp - 0x10]
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
push dword [ebp - 0x18]
mov ecx, ebx
call dword [eax + 0x30]
push edi
mov ecx, ebx
call fcn.004be883
test byte [ebp - 0x14], 8
je 0x40e953
lea esi, [ebp - 0x4c]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
dec eax
movsd dword es:[edi], dword [esi]
dec dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DrawFocusRect]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b91eb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4