Function at 0x474640
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6e10
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x52600c]
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 ebx, ecx
mov dword [ebp - 0x44], ebx
push dword [ebx + 0x44]
mov ecx, dword [0x565e40]
push str._Config_Sound_Enable
call fcn.004abc80
push dword [ebx + 0x58]
mov ecx, dword [0x565e40]
push str._Config_Master_Volume
call fcn.004abc80
push dword [ebx + 0x48]
mov ecx, dword [0x565e40]
push str._Config_Music_Enable
call fcn.004abc80
push dword [ebx + 0x5c]
mov ecx, dword [0x565e40]
push str._Config_Music_Volume
call fcn.004abc80
push dword [ebx + 0x4c]
mov ecx, dword [0x565e40]
push str._Config_Effect_Enable
call fcn.004abc80
push dword [ebx + 0x60]
mov ecx, dword [0x565e40]
push str._Config_Effect_Volume
call fcn.004abc80
push dword [ebx + 0x50]
mov ecx, dword [0x565e40]
push str._Config_HEffect_Enable
call fcn.004abc80
push dword [ebx + 0x64]
mov ecx, dword [0x565e40]
push str._Config_HEffect_Volume
call fcn.004abc80
push dword [ebx + 0x54]
mov ecx, dword [0x565e40]
push str._Config_Voice_Enable
call fcn.004abc80
push dword [ebx + 0x68]
mov ecx, dword [0x565e40]
push str._Config_Voice_Volume
call fcn.004abc80
push dword [ebx + 0x30]
mov ecx, dword [0x565e40]
push str._Config_OneMes
call fcn.004abc80
push dword [ebx + 0x34]
mov ecx, dword [0x565e40]
push str._Config_OneMesSpeed
call fcn.004abc80
push dword [ebx + 0x38]
mov ecx, dword [0x565e40]
push str._Config_AutoRead
call fcn.004abc80
push dword [ebx + 0x3c]
mov ecx, dword [0x565e40]
push str._Config_AutoMesSpeed
call fcn.004abc80
push dword [ebx + 0x40]
mov ecx, dword [0x565e40]
push str._Config_SceneSkip
call fcn.004abc80
push dword [ebx + 0x28]
mov ecx, dword [0x565e40]
push str._Config_MesWnd_ShowSpeedEnable
call fcn.004abc80
push dword [ebx + 0x2c]
mov ecx, dword [0x565e40]
push str._Config_MesWnd_Speed
call fcn.004abc80
push dword [ebx + 0xc]
mov ecx, dword [0x565e40]
push str._Config_MesWnd_Alpha
call fcn.004abc80
push dword [ebx]
mov ecx, dword [0x565e40]
push str._Config_MesWnd_Red
call fcn.004abc80
push dword [ebx + 4]
mov ecx, dword [0x565e40]
push str._Config_MesWnd_Green
call fcn.004abc80
push dword [ebx + 8]
mov ecx, dword [0x565e40]
push str._Config_MesWnd_Blue
call fcn.004abc80
push dword [ebx + 0x90]
mov ecx, dword [0x565e40]
push str._Config_DisplayEffect_Speed
call fcn.004abc80
push dword [ebx + 0xa0]
mov ecx, dword [0x565e40]
push str._Config_Movie_Play
call fcn.004abc80
push dword [ebx + 0xa4]
mov ecx, dword [0x565e40]
push str.Config_Movie_VSync
call fcn.004abc80
push dword [ebx + 0xa8]
mov ecx, dword [0x565e40]
push str._Config_System
call fcn.004abc80
push dword [ebx + 0xac]
mov ecx, dword [0x565e40]
push str._Config_BackLogMode
call fcn.004abc80
push dword [ebx + 0x8c]
mov ecx, dword [0x565e40]
push str._Config_Voice_CickEnd
call fcn.004abc80
mov esi, dword [ebx + 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push str._Config_AutoSave_Enable
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a9b80
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00428650
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x565e40]
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.004abc80
lea ecx, [ebp - 0x28]
call fcn.00428650
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push str._Config_AutoContinue_Enable
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a9b80
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00428650
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x565e40]
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.004abc80
lea ecx, [ebp - 0x28]
call fcn.00428650
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 2
push str._Config_SkipContinue_Enable
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a9b80
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00428650
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x565e40]
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.004abc80
lea ecx, [ebp - 0x28]
call fcn.00428650
mov esi, dword [ebx + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push str._Config_MesHelp_Enable
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a9b80
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00428650
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x565e40]
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.004abc80
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00428650
push dword [ebx + 0x20]
mov ecx, dword [0x565e40]
push str._Config_MesWnd_IsMove
call fcn.004abc80
mov esi, dword [ebx + 0x24]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push str._Config_Movie_MoveMovie
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a9b80
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00428650
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x565e40]
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.004abc80
lea ecx, [ebp - 0x28]
call fcn.00428650
xor esi, esi
add ebx, 0x7c
nop
mov edi, dword [ebx - 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push esi
push str._Config_CharVoice__02u_Enable
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a9b80
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00428650
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x565e40]
cmovae eax, dword [ebp - 0x28]
push edi
push eax
call fcn.004abc80
lea ecx, [ebp - 0x28]
call fcn.00428650
mov edi, dword [ebx]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push esi
push str._Config_CharVoice__02u_Volume
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a9b80
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00428650
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x565e40]
cmovae eax, dword [ebp - 0x28]
push edi
push eax
call fcn.004abc80
lea ecx, [ebp - 0x28]
call fcn.00428650
inc esi
lea ebx, [ebx + 4]
cmp esi, 4
jl 0x474a60
mov ebx, dword [ebp - 0x44]
xor edi, edi
add ebx, 0xb0
nop dword [eax + eax]
mov esi, dword [ebx]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push edi
push str._Config_Dialog__02u_Enable
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a9b80
add esp, 0x10
lea ecx, [ebp - 0x5c]
call fcn.00428650
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x565e40]
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.004abc80
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00428650
inc edi
lea ebx, [ebx + 4]
cmp edi, 0xc
jl 0x474b30
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.004bcfcc
mov esp, ebp
pop ebp
ret