Function at 0x414484
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x420c58
call fcn.0041ef90
sub esp, 0x214
push ebx
push esi
xor esi, esi
cmp dword [0x4429d8], esi
push edi
mov ebx, ecx
jne 0x414515
push 0x3ea
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp + 8]
mov edi, eax
call sub.MFC42u.DLL_CString::CString_3
push 0x40
push 0x40
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call sub.MFC42u.DLL_CString::ReleaseBuffer
push 0x18
call fcn.0041716a
push eax
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 0xc
cmp eax, esi
je 0x414504
push 0x18
call fcn.0041716a
pop ecx
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42u.DLL_CString::CString
jmp 0x4146ab
cmp dword [ebx + 0x130], esi
jne 0x41453b
push esi
push esi
push 0xf1
push dword [ebx + 0x8c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x4429d8], esi
jmp 0x4146ab
push dword [ebp + 8]
mov ecx, ebx
call fcn.0041483d
cmp edx, esi
push 0xa
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
pop eax
jg 0x414587
jl 0x414559
cmp dword [ebp - 0x14], eax
jae 0x414587
cmp dword [ebx + 0x64], esi
jne 0x414587
mov edi, 0x7d0
push edi
push dword [ebp + 8]
mov dword [ebx + 0x64], 1
mov dword [ebx + 0x68], eax
call dword [sym.imp.USER32.dll_KillTimer]
push esi
push 0x3e8
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x44030c]
fild qword [ebp - 0x14]
push 0x7f
mov dword [ebp - 0x220], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x21c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x220]
push eax
push ecx
push ecx
fstp qword [esp]
call fcn.00414406
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x3ea
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x14]
or eax, dword [ebp - 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x414684
xor eax, eax
cmp dword [0x4429d8], eax
je 0x41466b
push eax
push eax
push 0xf1
push 0xa035
push dword [ebp + 8]
call esi
push eax
call edi
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_3
lea eax, [ebp - 0x18]
add ebx, 0xac
push eax
mov ecx, ebx
mov dword [ebp - 4], 1
call sub.MFC42u.DLL_CWnd::GetWindowTextW
push 0xd
call fcn.0041716a
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42u.DLL_CString::CString_1
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString_2
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.004017ae
push eax
call fcn.00412816
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString
xor eax, eax
push eax
push eax
push 0xf1
push 0xa035
push dword [ebp + 8]
mov dword [0x4429d8], eax
call esi
push eax
call edi
xor eax, eax
cmp dword [ebp - 0x10], eax
jg 0x4146ab
jl 0x414692
cmp dword [ebp - 0x14], eax
jae 0x4146ab
push eax
push eax
push 0xf1
push 0xa035
push dword [ebp + 8]
mov dword [0x4429d8], eax
call esi
push eax
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4