Function at 0x406cb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push 0x4dc560
push 0xfffe7961
push 0x481a28
push str.DAIVA_STORY3__TRIAL_OF_NIRVANA_
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x49fc4c], eax
push 0x4dc560
push 0xfffe7961
push 0x481a34
push str.DAIVA_STORY3__TRIAL_OF_NIRVANA_
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x49fc50], eax
push 0x4dc560
push 0x5622
push 0x481a40
push str.DAIVA_STORY3__TRIAL_OF_NIRVANA_
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x57efac], eax
push 0x4dc560
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0x481a4a
push 0x481a4c
push str.DAIVA_STORY3__TRIAL_OF_NIRVANA_
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x108]
push ecx
call fcn.00406fb0
add esp, 4
mov byte [0x481d60], al
push 0x4dc560
push 0x104
lea edx, [ebp - 0x108]
push edx
push 0x481a56
push 0x481a58
push str.DAIVA_STORY3__TRIAL_OF_NIRVANA_
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x108]
push eax
call fcn.00406fb0
add esp, 4
mov byte [0x57ef9b], al
push 0x4dc560
push 0x10
push str.OPMVolume
push str.DAIVA_STORY3__TRIAL_OF_NIRVANA_
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov byte [0x57efb2], al
push 0x4dc560
push 0xa
push str.PSGVolume
push str.DAIVA_STORY3__TRIAL_OF_NIRVANA_
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov byte [0x57efa8], al
push 0x4dc560
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0x481a72
push 0x481a74
push str.DAIVA_STORY3__TRIAL_OF_NIRVANA_
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x108]
push edx
call fcn.00406fb0
add esp, 4
mov byte [0x57efa9], al
push 0x4dc560
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0x481a7e
push 0x481a80
push str.DAIVA_STORY3__TRIAL_OF_NIRVANA_
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x108]
push ecx
call fcn.00406fb0
add esp, 4
mov byte [0x57efb3], al
push 0x4dc560
push 2
push 0x481a8c
push str.DAIVA_STORY3__TRIAL_OF_NIRVANA_
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov byte [0x57efb1], al
push 0x4dc560
push 0x104
lea edx, [ebp - 0x108]
push edx
push 0x481a96
push 0x481a98
push str.DAIVA_STORY3__TRIAL_OF_NIRVANA_
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x108]
push eax
call fcn.00406fb0
add esp, 4
mov byte [0x57ef99], al
push 0x4dc560
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0x481aa2
push 0x481aa4
push str.DAIVA_STORY3__TRIAL_OF_NIRVANA_
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x108]
push edx
call fcn.00406fb0
add esp, 4
mov byte [0x57ef9a], al
push 0x4dc560
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0x481aae
push 0x481ab0
push str.DAIVA_STORY3__TRIAL_OF_NIRVANA_
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x108]
push ecx
call fcn.00406fb0
add esp, 4
mov byte [0x57ef98], al
mov dword [ebp - 0x10c], 0
jmp 0x406f1b
mov edx, dword [ebp - 0x10c]
add edx, 1
mov dword [ebp - 0x10c], edx
cmp dword [ebp - 0x10c], 2
jge 0x406fac
mov dword [ebp - 0x110], 0
jmp 0x406f43
mov eax, dword [ebp - 0x110]
add eax, 1
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 4
jge 0x406fa7
mov ecx, dword [ebp - 0x110]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x10c]
add edx, 1
push edx
push str.Joy_dBtn_d
lea eax, [ebp - 0x108]
push eax
call fcn.00420739
add esp, 0x10
push 0x4dc560
mov ecx, dword [ebp - 0x110]
push ecx
lea edx, [ebp - 0x108]
push edx
push str.DAIVA_STORY3__TRIAL_OF_NIRVANA_
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x110]
mov byte [edx + ecx*4 + 0x57efa0], al
jmp 0x406f34
jmp 0x406f0c
mov esp, ebp
pop ebp
ret