Function at 0x408710
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x44ed38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0x4701fc
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [ebp + 0x1c8]
xor ebx, ebx
push ebx
push ebx
push 0x1004
push eax
mov dword [esp + 0x5c], ebx
xor esi, esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
jle 0x4088ba
lea edi, [ebp + 0x1a8]
push ebx
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::GetItemText
push 0x4662f8
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x58], 1
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 2
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], bl
call sub.MFC42u.DLL_CString::CString
push 1
lea eax, [esp + 0x24]
push esi
push eax
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::GetItemText
push 0x4662f8
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x58], 3
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 4
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], bl
call sub.MFC42u.DLL_CString::CString
push 2
lea edx, [esp + 0x2c]
push esi
push edx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::GetItemText
push 0x4662f8
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x54], 5
push eax
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 6
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], bl
call sub.MFC42u.DLL_CString::CString
push 3
lea ecx, [esp + 0x34]
push esi
push ecx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::GetItemText
mov byte [esp + 0x4c], 7
push 0x4662f8
lea edx, [esp + 0x30]
push eax
push edx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 8
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebp + 0x1c8]
push ebx
push ebx
push 0x1004
push eax
inc esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jl 0x408766
mov ecx, dword [ebp + 0x88]
push ebx
push ebx
push 0x1004
push ecx
xor esi, esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
jle 0x408a2f
lea edi, [ebp + 0x68]
push ebx
lea edx, [esp + 0x30]
push esi
push edx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::GetItemText
push 0x4662f8
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0x54], 9
push eax
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 0xa
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], bl
call sub.MFC42u.DLL_CString::CString
push 1
lea ecx, [esp + 0x28]
push esi
push ecx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::GetItemText
push 0x4662f8
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x58], 0xb
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 0xc
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 0xb
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], bl
call sub.MFC42u.DLL_CString::CString
push 2
lea eax, [esp + 0x20]
push esi
push eax
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::GetItemText
push 0x4662f8
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x58], 0xd
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 0xe
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 0xd
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], bl
call sub.MFC42u.DLL_CString::CString
push 3
lea edx, [esp + 0x18]
push esi
push edx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::GetItemText
mov byte [esp + 0x4c], 0xf
push 0x4662f8
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 0x10
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 0xf
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], bl
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp + 0x88]
push ebx
push ebx
push 0x1004
push ecx
inc esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jl 0x4088db
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_CFile::CFile
push 0x466304
lea edx, [esp + 0x34]
push 0x471068
push edx
mov byte [esp + 0x58], 0x11
call sub.MFC42u.DLL_operator
mov eax, dword [eax]
push ebx
push 0x1001
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 0x12
call sub.MFC42u.DLL_CFile::Open
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 0x11
call sub.MFC42u.DLL_CString::CString
push 4
push 0x4663dc
lea ecx, [esp + 0x3c]
call sub.MFC42u.DLL_CFile::Write
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
add ecx, ecx
push ecx
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42u.DLL_CFile::Write
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_CFile::Close
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], bl
call fcn.0044d3b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret