Function at 0x418680
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x425f95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CStdioFile::CStdioFile
lea ecx, [esp + 0x14]
mov dword [esp + 0x140], 0
call fcn.00422340
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 1
call fcn.00422340
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 2
call fcn.00422340
lea eax, [esp + 0x38]
push 0xff
mov bl, 3
push eax
push 0
mov byte [esp + 0x14c], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
push 0x5c
lea ecx, [esp + 0xc]
mov byte [esp + 0x144], 4
call sub.MFC42.DLL_CString::ReverseFind
test eax, eax
jle 0x418750
lea edx, [esp + 0xc]
push eax
push edx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x144], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x140], 4
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReverseFind
test eax, eax
jle 0x418791
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x144], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x140], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 8]
mov byte [esp + 0x140], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push str.Data
lea eax, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x140], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
push 0x43012c
lea edx, [esp + 0x10]
push ecx
push edx
call sub.MFC42.DLL_operator
push str.HtsList.dat
push eax
lea eax, [esp + 0x18]
mov bl, 8
push eax
mov byte [esp + 0x14c], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x140], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
push 0
push 0
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CStdioFile::Open
cmp eax, 1
jne 0x418a08
push ebp
lea ecx, [esp + 0x10]
call fcn.00422340
lea ecx, [esp + 0xc]
mov byte [esp + 0x144], 0xa
call fcn.00422340
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 0xb
call fcn.00422340
lea edx, [esp + 0x10]
mov bl, 0xc
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], bl
call sub.MFC42.DLL_CStdioFile::ReadString
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4189b9
push edi
push 0x3d
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov edi, eax
test edi, edi
jl 0x4189a2
lea eax, [esp + 0x28]
push edi
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0xd
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], bl
call sub.MFC42.DLL_CString::CString
inc edi
lea ecx, [esp + 0x24]
push edi
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0xe
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esi + 0xa0]
lea ecx, [esi + 0x98]
lea edx, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 0xb4]
lea ecx, [esi + 0xac]
lea edx, [esp + 0x18]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xe0]
push eax
push 0
push 0x143
push ecx
call ebp
lea edx, [esp + 0x14]
lea ecx, [esp + 0x2c]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
jne 0x4188c3
pop edi
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CStdioFile::Close
mov eax, dword [esi + 0xe0]
push 0
push 0
push 0x14e
push eax
call ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x144], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 2
call sub.MFC42.DLL_CString::CString
pop ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x140], 0xffffffff
call fcn.004224fc
mov ecx, dword [esp + 0x138]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x13c
ret