Function at 0x4065b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
mov esi, 0x7dd
push ebx
mov ebx, 0x7d4
sub esp, 0x70c
mov dword [esp + 4], ebx
mov eax, dword [0x41c708]
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov ebx, eax
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._GetDlgItem_8
xor edx, edx
mov ecx, 0x407
sub esp, 8
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._SendMessageW_16
xor edx, edx
mov esi, eax
sub esp, 0x10
xor eax, eax
mov dword [ebp + eax - 0x6f8], edx
mov dword [ebp + eax - 0x6f4], edx
add eax, 8
cmp eax, 0x70
jb 0x406611
lea edi, [ebp - 0x612]
mov eax, 0x74
mov dword [ebp - 0x6fc], eax
lea eax, [ebp - 0x6fc]
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 8], eax
mov eax, 0x43a
mov dword [esp + 4], eax
mov eax, dword [0x41c704]
mov dword [esp], eax
call sym._SendMessageW_16
mov edx, 0x104
mov ecx, 0xd
sub esp, 0x10
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], esi
call sym._SendMessageW_16
sub esp, 0x10
test eax, eax
jne 0x406698
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edi
lea edx, [ebp - 0x6e2]
mov edi, dword [sym.imp.kernel32.dll_lstrcmpW]
mov dword [esp + 4], edx
call edi
sub esp, 8
test eax, eax
je 0x406700
lea edx, [ebp - 0x6e2]
xor edi, edi
mov dword [esp + 0xc], edx
mov eax, 0xc
mov dword [esp + 8], edi
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._SendMessageW_16
mov eax, 0x7de
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._GetDlgItem_8
sub esp, 8
call sym._populate_size_list
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x7d4
xor ebx, ebx
mov dword [esp + 4], eax
mov eax, dword [0x41c708]
mov esi, 0x407
mov dword [esp], eax
call sym._GetDlgItem_8
mov edx, 0x7de
sub esp, 8
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._GetDlgItem_8
xor ecx, ecx
sub esp, 8
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._SendMessageW_16
xor edx, edx
mov ebx, eax
sub esp, 0x10
xor eax, eax
mov dword [ebp + eax - 0x684], edx
mov dword [ebp + eax - 0x680], edx
add eax, 8
cmp eax, 0x70
jb 0x406753
lea eax, [ebp - 0x688]
mov esi, 1
mov dword [esp + 0xc], eax
mov eax, 0x43a
mov ecx, 0x74
mov dword [esp + 4], eax
mov eax, dword [0x41c704]
mov dword [esp + 8], esi
lea esi, [ebp - 0x216]
mov dword [ebp - 0x688], ecx
mov dword [esp], eax
call sym._SendMessageW_16
lea eax, [ebp - 0x414]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, 0x104
mov dword [esp + 8], eax
mov eax, 0xd
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._SendMessageW_16
mov ecx, dword [ebp - 0x67c]
mov edx, 0x66666667
mov eax, ecx
imul edx
mov eax, 0x410d18
sar ecx, 0x1f
sub esp, 0x10
mov dword [esp + 4], eax
mov dword [esp], esi
sar edx, 3
sub edx, ecx
mov dword [esp + 8], edx
call sym._wsprintfW
lea eax, [ebp - 0x414]
mov dword [esp + 4], esi
mov dword [esp], eax
call edi
sub esp, 8
test eax, eax
je 0x406689
mov dword [esp + 0xc], esi
xor eax, eax
mov edx, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ebx
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x406689