Function at 0x4118b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b2a5
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x427664]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x11c], esi
call sub.mfc100u.dll_CFrameWnd::CFrameWnd
lea ecx, [esi + 0x110]
mov dword [ebp - 4], 0
mov dword [esi], vtable.CMainFrame.0
call sub.mfc100u.dll_CWnd::CWnd
mov dword [esi + method.CTreeCtrl.virtual_0], vtable.CTreeCtrl.0
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 1
call fcn.004132b0
lea ecx, [esi + 0x2bc]
mov byte [ebp - 4], 2
call fcn.004132b0
lea ecx, [esi + 0x3f4]
mov byte [ebp - 4], 3
call fcn.0040a970
lea edi, [esi + 0x494]
mov ecx, edi
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ebx, [esi + 0x498]
mov ecx, ebx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esi + 0x4a0]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esi + 0x4a4]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x18
mov byte [ebp - 4], 8
mov dword [esi + 0x4b8], 0
call sub.mfc100u.dll_new
add esp, 4
test eax, eax
je 0x411d07
mov dword [esi + 0x4b4], eax
mov dword [eax], eax
mov eax, dword [esi + 0x4b4]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x4b4]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x4b4]
mov byte [eax + 0x14], 1
mov ecx, dword [esi + 0x4b4]
mov byte [ecx + 0x15], 1
push 0
lea ecx, [esi + 0x4cc]
mov byte [ebp - 4], 9
call fcn.0040e490
push 0
lea ecx, [esi + 0x600]
mov byte [ebp - 4], 0xa
call fcn.00408060
push 0
lea ecx, [esi + 0x6a4]
mov byte [ebp - 4], 0xb
call fcn.004125e0
xor eax, eax
lea ecx, [esi + 0x7c8]
mov byte [ebp - 4], 0xc
mov dword [esi + 0x7bc], eax
mov dword [esi + 0x7c0], eax
call fcn.004177c0
lea ecx, [esi + 0x918]
mov byte [ebp - 4], 0xd
call fcn.00406550
xor eax, eax
push 0x41ddd4
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0xe
mov dword [esi + 0x49c], eax
mov dword [esi + 0x4c4], eax
mov dword [esi + 0x4c8], eax
mov dword [esi + 0x7b0], 4
mov dword [esi + 0x7b4], 8
mov dword [esi + 0x4a8], eax
mov dword [esi + 0x4c0], eax
call dword [0x41ca04]
lea edx, [ebp - 0x118]
push edx
mov byte [ebp - 4], 0xf
call fcn.00407220
push str.IDTCfg.ini
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.00404c10
add esp, 0x10
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x10
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0xf
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, dword [ebp - 0x118]
mov edx, dword [ebx]
push eax
push 0x104
push 0x104
mov ecx, ebx
mov dword [ebp - 0x114], edx
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBufferSetLength]
mov ecx, dword [ebp - 0x114]
push eax
push ecx
push str.DllPath
push str.Download
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x118]
mov edx, dword [edi]
push eax
push 0x104
push 0x104
mov ecx, edi
mov dword [ebp - 0x114], edx
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBufferSetLength]
mov ecx, dword [ebp - 0x114]
push eax
push ecx
push str.ImagePath
push str.Download
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x118]
mov eax, dword [esi + 0x7b0]
push edx
push eax
push str.HorizWndNum
push str.Download
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x118]
mov edx, dword [esi + 0x7b4]
push ecx
push edx
push str.TotalWndNum
push str.Download
mov dword [esi + 0x7b0], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0xffffffffffffffff
mov ecx, ebx
mov dword [esi + 0x7b4], eax
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push 0xffffffffffffffff
mov ecx, edi
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push 0x427900
call fcn.00407270
mov ecx, dword [ebp - 0x118]
mov eax, dword [0x427900]
add esp, 4
push ecx
push 0x104
push 0x104
mov ecx, 0x427900
mov dword [ebp - 0x114], eax
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBufferSetLength]
mov edx, dword [ebp - 0x114]
push eax
push edx
push 0x41fdf4
push str.Download
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, 0x427900
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push 0x427900
call fcn.00407410
add esp, 4
push ebx
lea ecx, [esi + 0x694]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push edi
lea ecx, [esi + 0x698]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov eax, dword [esi + 0x7b0]
mov ecx, dword [esi + 0x7b4]
push 0xff
mov dword [esi + 0x69c], eax
mov dword [esi + 0x99c], eax
lea eax, [ebp - 0x10f]
push 0
push eax
mov dword [esi + 0x6a0], ecx
mov dword [esi + 0x9a0], ecx
mov byte [ebp - 0x110], 0
call sub.MSVCR100.dll_memset
push str.IDT_Version_2.0.0.9
push 0x41d618
lea ecx, [ebp - 0x110]
push 0xff
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
lea eax, [ebp - 0x110]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411c64
sub eax, ecx
lea ebx, [eax + eax + 2]
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc100u.dll_new__
push ebx
mov edi, eax
push 0
push edi
call sub.MSVCR100.dll_memset
lea eax, [ebp - 0x110]
add esp, 0x10
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411ca0
push ebx
push edi
sub eax, ecx
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
lea ecx, [esi + 0x4a0]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push edi
call sub.mfc100u.dll_delete__
add esp, 4
lea ecx, [ebp - 0x118]
mov dword [esi + 0x7c4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418c9e
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x114], 0
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x422ee8
lea edx, [ebp - 0x128]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3