Function at 0x409150
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x412be4
push eax
mov dword fs:[0], esp
sub esp, 0x458
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0
mov eax, dword [ebp + 0x1b4]
push 0x14
push 0x41e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0x24c]
xor eax, eax
mov edx, dword [ecx - 8]
test edx, edx
je 0x40919b
mov eax, 1
lea edx, [eax + eax*4]
lea esi, [eax*4 + 0x41c2b4]
mov dword [esp + 0x10], esi
lea ebx, [edx*4 + 0x41c13c]
cmp dword [ebx], 0
je 0x40925f
mov edx, dword [esi]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x68]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x14], esi
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x24c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x409218
push eax
lea ecx, [esp + 0x6c]
push 0x400
push ecx
push 0x41cb3c
push edx
push str.Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x68]
test al, al
jne 0x40923f
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [ebx]
lea edx, [esp + 0x68]
push 0x400
push edx
mov edx, dword [eax + 0x6c]
push ecx
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [ebp + 0x1b4]
lea eax, [esp + 0x68]
push eax
push 0
push 0x41c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x1b4]
lea edx, [ebx - 4]
push edx
push 1
push 0x414
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
add esi, 4
add ebx, 0x14
cmp esi, 0x41c300
mov dword [esp + 0x10], esi
jl 0x4091b0
mov eax, dword [ebp + 0x24c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4095e4
push 0
push str.ToolsCount
push str.Info
push eax
call fcn.0040ae60
add esp, 0x10
xor esi, esi
test eax, eax
mov dword [esp + 0x3c], eax
jle 0x40958b
mov bl, 0xb
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.0040af10
add esp, 8
mov edi, eax
push str.ToolName_
lea ecx, [esp + 0x3c]
mov dword [esp + 0x474], 0
call sub.MFC42.DLL_CString::CString_1
push edi
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x47c], 1
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov ecx, dword [ebp + 0x24c]
push eax
push str.Info
lea eax, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0x480], 2
call fcn.0040aea0
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x470], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x470], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x470], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
push esi
push ecx
call fcn.0040af10
add esp, 8
mov edi, eax
push str.ToolFileName_
lea ecx, [esp + 0x20]
mov byte [esp + 0x474], 7
call sub.MFC42.DLL_CString::CString_1
push edi
lea edx, [esp + 0x48]
push eax
push edx
mov byte [esp + 0x47c], 8
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov ecx, dword [ebp + 0x24c]
push eax
push str.Info
lea eax, [esp + 0x18]
push ecx
push eax
mov byte [esp + 0x480], 9
call fcn.0040aea0
add esp, 0x10
lea ecx, [esp + 0x44]
mov byte [esp + 0x470], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x470], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x470], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
lea ecx, [esp + 0x20]
push ecx
call fcn.0040b120
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
push str._SYSTEM_
mov byte [esp + 0x478], 0xe
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0x20]
mov byte [esp + 0x470], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x24]
push edx
call fcn.0040b170
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
push str._WINDOWS_
mov byte [esp + 0x478], 0xf
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0x24]
mov byte [esp + 0x470], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x2c]
push eax
call fcn.0040b1c0
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
push str._PROGRAMFILES_
mov byte [esp + 0x478], 0x10
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0x2c]
mov byte [esp + 0x470], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
push ecx
call fcn.0040ab90
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
push str._CYBERARTICLECyberArticleReader_
mov byte [esp + 0x478], 0x11
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0x34]
mov byte [esp + 0x470], bl
call sub.MFC42.DLL_CString::CString
push 0x41c048
push 0x41c38c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
mov edx, dword [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.SHELL32.dll_ExtractIconA]
mov edi, eax
test edi, edi
je 0x409513
mov eax, dword [ebp + 0x22c]
push edi
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
test esi, esi
jne 0x409522
lea ecx, [ebp + 0x194]
call fcn.0040c800
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x9c40]
push ecx
push edx
push eax
push 0x50
push 4
lea ecx, [ebp + 0x194]
call fcn.0040c770
mov eax, dword [ebp + 0x23c]
lea ecx, [ebp + 0x234]
lea edx, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x10]
mov byte [esp + 0x470], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x470], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x3c]
inc esi
cmp esi, eax
jl 0x4092c3
mov eax, dword [ebp + 0x24c]
push str.ShowBookBar
push str.Info
push eax
call fcn.0040ae80
add esp, 0xc
test eax, eax
jne 0x4095e4
mov ecx, 8
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x1b4]
lea eax, [esp + 0x48]
push eax
push 0x8012
push 0x442
push ecx
mov dword [esp + 0x58], 0x20
mov dword [esp + 0x5c], 4
mov byte [esp + 0x68], 8
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x468]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x464
ret