Function at 0x401970
Capabilities:
Contain obfuscated stackstrings
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x40fbf2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CFile::CFile
xor esi, esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x440], esi
call sub.MFC42.DLL_CException::CException
lea ecx, [esp + 0x30]
mov byte [esp + 0x440], 1
call sub.MFC42.DLL_CString::CString
mov edi, 0x411bf0
or ebp, 0xffffffff
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x444], 2
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebp
call fcn.0040f528
mov ecx, dword [esp + 0x448]
lea eax, [esp + 0x20]
push eax
push 0x5001
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44c], 3
call sub.MFC42.DLL_CFile::Open
test eax, eax
push esi
jne 0x401a4b
lea edx, [esp + 0x3c]
push 0x400
push edx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFileException::GetErrorMessage
lea eax, [esp + 0x38]
push 0x41610c
push eax
push 0x417644
push 2
mov ecx, ebx
call fcn.004017e0
mov dword [esp + 0x20], edi
mov byte [esp + 0x440], 4
jmp 0x401ced
mov ecx, dword [ebx + 0x64]
push esi
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, esi
jle 0x401cd8
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add ebx, 0x44
lea edx, [esp + 0x38]
push 0x416100
push edx
call ebp
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x38]
push 0x400
push ecx
push 0
push esi
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::GetItemText
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x38], 0xd
mov byte [esp + 0x39], 0xa
mov byte [esp + 0x3a], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x38]
push 0x4160f4
push ecx
call ebp
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esp + 0x38]
push 0x400
push eax
push 1
push esi
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::GetItemText
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov byte [esp + 0x38], 0xd
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x39], 0xa
mov byte [esp + 0x3a], 0
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esp + 0x38]
push 0x4160e8
push eax
call ebp
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esp + 0x38]
push 0x400
push edx
push 2
push esi
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::GetItemText
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x38], 0xd
mov byte [esp + 0x39], 0xa
mov byte [esp + 0x3a], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esp + 0x38]
push 0x4160dc
push edx
call ebp
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x38]
push 0x400
push ecx
push 3
push esi
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::GetItemText
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x38], 0xd
mov byte [esp + 0x39], 0xa
mov byte [esp + 0x3a], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x38], 0xd
mov byte [esp + 0x39], 0xa
mov byte [esp + 0x3a], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov edx, dword [esp + 0x34]
push 0
push 0
push 0x1004
mov eax, dword [edx + 0x64]
inc esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, eax
jl 0x401a6c
or ebp, 0xffffffff
mov edi, 0x411bf0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFile::Close
mov dword [esp + 0x20], edi
mov byte [esp + 0x440], 5
lea ecx, [esp + 0x30]
call fcn.0040f504
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0x411bdc
mov dword [esp + 0x440], ebp
call fcn.0040f4fe
mov ecx, dword [esp + 0x438]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x434
ret 4