Function at 0x40c3d7
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4ca1c8
call fcn.0049d040
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.0040c369
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, 0x570914
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.00416a6a
test eax, eax
je 0x40c4f2
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 0x40c48b
call fcn.004bd0ef
test eax, eax
jne 0x40c470
push 8
jmp 0x40c4a4
mov eax, dword [ebp - 0x14]
and eax, 4
cmp al, 4
jne 0x40c47e
push 7
jmp 0x40c4a4
xor eax, eax
cmp dword [esi + 0x40], edi
setne al
add eax, 5
jmp 0x40c4b0
call fcn.004bd0ef
test eax, eax
jne 0x40c498
push 4
jmp 0x40c4a4
mov eax, dword [ebp - 0x14]
and eax, 4
cmp al, 4
jne 0x40c4a7
push 3
pop edi
jmp 0x40c4b2
xor eax, eax
cmp dword [esi + 0x40], edi
setne al
inc eax
mov edi, eax
lea ecx, [ebp - 0x1c]
call fcn.00411dcf
and dword [ebp - 4], 0
push str.Button
push dword [esi + 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.00411e48
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.00411ecd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00411df8
jmp 0x40c520
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 0x40c510
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 [0x56c338]
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.004badd1
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x40c5bb
push edi
mov ecx, ebx
call fcn.004befe3
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.0040464b
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.004befe3
test byte [ebp - 0x14], 8
je 0x40c5e2
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.004b994a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4