Function at 0x409910
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x40e868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6a8
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push str.SoftwareInterVideoWinDVD4
lea ecx, [esp + 0x50]
call fcn.00405020
lea eax, [esp + 0x24]
push eax
xor esi, esi
mov edi, 1
push str.InitGraphicsSetting
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c4], esi
mov dword [esp + 0x2c], edi
call fcn.00405690
cmp dword [esp + 0x24], edi
je 0x409d54
push 0x414ee8
lea ecx, [esp + 0x4c]
call fcn.004056f0
push 0x414edc
lea ecx, [esp + 0x4c]
call fcn.004056f0
lea ecx, [esp + 0x26c]
push ecx
push 0x416fdc
call fcn.0040d4a0
test eax, eax
lea ecx, [esp + 0x48]
jne 0x409d85
mov edx, dword [esp + 0x2ac]
push esi
push edx
push 0x414ee8
call fcn.00405570
mov eax, dword [esp + 0x2b0]
push esi
push eax
push 0x414edc
lea ecx, [esp + 0x54]
call fcn.00405570
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x6bc], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6bc], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x6bc], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x6bc], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6bc], 5
mov dword [esp + 0x20], 0x104
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x20]
push eax
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c4], 6
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c0], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x6bc], 6
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
push str.GraphicsSetting.ini
push edx
lea eax, [esp + 0x18]
push 0x414ec0
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0x10
push esi
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x409bb7
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push str.PATH
lea ecx, [esp + 0x54]
call fcn.004056b0
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 0xc]
push str.GraphicsSetting.ini
push ecx
lea edx, [esp + 0x18]
push 0x414ec0
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0x10
push esi
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x409bb7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6bc], 5
call fcn.0040d8d6
lea ecx, [esp + 0x14]
mov byte [esp + 0x6bc], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x6bc], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6bc], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x6bc], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x6bc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov dword [esp + 0x6bc], 0xffffffff
call fcn.004051b0
xor eax, eax
jmp 0x409d6d
mov ecx, dword [esp + 0x2ac]
push ebp
push ecx
lea edx, [esp + 0x24]
push 0x414eb4
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push eax
push esi
push str.Count
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, eax
cmp edi, esi
jle 0x409c43
push esi
lea edx, [esp + 0x1c]
push str.Key_d
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 0xc
push eax
mov eax, dword [esp + 0x24]
push 0x104
lea ecx, [esp + 0x174]
push ecx
push 0x416fdc
push edx
push eax
call ebp
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x170]
push edx
mov ecx, ebx
call fcn.00409da0
inc esi
cmp esi, edi
jl 0x409bf4
mov eax, dword [esp + 0x2b4]
mov ecx, dword [esp + 0x2b0]
push eax
push ecx
lea edx, [esp + 0x24]
push str._x._04x
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push eax
push 0
push str.Count
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
xor esi, esi
test edi, edi
jle 0x409cd3
push esi
lea edx, [esp + 0x1c]
push str.Key_d
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 0xc
push eax
mov eax, dword [esp + 0x20]
push 0x104
lea ecx, [esp + 0x174]
push ecx
push 0x416fdc
push edx
push eax
call ebp
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x170]
push edx
mov ecx, ebx
call fcn.00409da0
inc esi
cmp esi, edi
jl 0x409c84
push 0
push 1
push str.InitGraphicsSetting
lea ecx, [esp + 0x58]
mov dword [esp + 0x34], 1
call fcn.00405570
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c0], 5
call fcn.0040d8d6
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c0], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c0], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c0], 0
call sub.MFC42.DLL_CString::CString
pop ebp
lea ecx, [esp + 0x48]
mov dword [esp + 0x6bc], 0xffffffff
call fcn.004051b0
mov eax, 1
mov ecx, dword [esp + 0x6b4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x6b4
ret
mov dword [esp + 0x6bc], 0xffffffff
call fcn.004051b0
xor eax, eax
jmp 0x409d6d