Function at 0x464850
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4ef4d8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x54d000]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x54d000]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov ecx, dword [0x58dc90]
push 0
push str._Config_SceneSkip
call fcn.004c8c40
cmp eax, 1
jne 0x4648c4
push ecx
mov ecx, edi
call fcn.0042acf0
test al, al
jne 0x464a7b
mov ecx, edi
mov dword [edi + 0x12c], 1
call fcn.0045f170
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x14]
movdqa xmmword [esp + 0x14], xmm0
call fcn.004a42b0
mov dword [esp + 0x14], vtable.CFuncVoice.0
mov dword [esp + 0x50], 0
push 0x1fc
mov dword [edi + 4], 1
mov dword [edi + 0x100], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x78], 0xffffffff
mov ecx, dword [0x58dc90]
push str._Config_MesWnd_Pos
call fcn.004c8c40
push 0
mov dword [edi + 0x128], eax
mov ecx, dword [0x58dc90]
push str._Config_OneMes
call fcn.004c8c40
mov ecx, dword [0x58dc90]
cmp eax, 1
push 0
push str._Config_AutoRead
sete byte [0x57d6f8]
call fcn.004c8c40
cmp eax, 1
mov dword [edi + 0x88], 0
mov dword [0x57d6f0], 0
sete al
cmp dword [edi + 0xcc], 0
mov byte [edi + 0xac], al
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax + 0x644]
mov eax, dword [eax + 0x664]
mov dword [edi + 0xe4], ecx
mov dword [edi + 0xe8], eax
je 0x4649d5
mov ecx, dword [edi + 0xb4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [edi + 0xb4]
push 1
push 0
mov edx, dword [eax + 0xc]
add ecx, 0x120
sub edx, dword [eax + 4]
push edx
push 0x500
mov esi, dword [ecx]
push 0
push 0
call dword [esi + 0xd8]
push 0
mov ecx, edi
call fcn.0045ee50
push ecx
mov ecx, edi
call fcn.0045fb60
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0xc], eax
call dword [edx + 0x104]
mov ecx, dword [edi + 0x58]
mov dword [ecx + 0xc], 0
call fcn.0045e8f0
dec eax
push eax
call fcn.0042aee0
mov dword [edi + 0x130], eax
call fcn.0045e8f0
mov edi, eax
call fcn.004b64a0
mov esi, eax
call fcn.00496280
mov ecx, dword [esi + 0x54]
mov esi, dword [esp + 0x10]
mov ecx, dword [ecx + 0x2c]
mov ecx, dword [ecx]
mov ecx, dword [ecx + edi*4 - 4]
add ecx, 0xc
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cmp dword [esi + 0x134], 0xffffffff
mov dword [esi + 0x138], eax
jne 0x464a54
mov dword [esi + 0x134], 0
cmp byte [0x57d6f8], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x464a87
push ecx
mov ecx, esi
call fcn.0042acf0
test al, al
je 0x464a87
mov eax, dword [esi + 0x58]
mov dword [eax + 0xc], 1
jmp 0x464ab9
mov dword [edi + 4], 0
jmp 0x464d5d
mov ecx, dword [esi + 0x58]
push 0
push 0x108
call fcn.004964e0
test eax, eax
je 0x464ada
mov eax, dword [esi]
mov ecx, esi
push 0x4000
mov eax, dword [eax + 0xac]
call eax
test al, al
jne 0x464ada
mov eax, dword [esi + 0x58]
mov dword [eax + 8], 1
push 0
mov ecx, esi
mov dword [esi + 0xe0], 1
call fcn.00465bb0
push 0
mov ecx, esi
call fcn.00463d20
jmp 0x464c94
mov ecx, esi
call fcn.004a7190
mov ecx, esi
call fcn.004a7220
mov eax, dword [0x57d6f0]
mov ecx, 1
cmp dword [esp + 0xc], 0
push 0x32
cmovne eax, ecx
mov ecx, dword [0x58dc90]
mov dword [0x57d6f0], eax
mov eax, dword [esi + 0x138]
sub eax, dword [esi + 0x134]
dec eax
push str._Config_AutoMesSpeed
mov dword [esp + 0x14], eax
call fcn.004c8c40
movsd xmm1, qword [0x534538]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x5345e4]
cvtps2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, qword [0x534590]
movaps xmm0, xmm1
call fcn.004dcea1
cmp dword [0x58dc78], 1
mov dword [esp + 0x10], eax
jne 0x464b61
call edi
jmp 0x464b67
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
mov dword [esi + 0xe0], 1
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
sar eax, 1
imul eax, dword [esp + 0x10]
push 0x32
push str._Config_MesWnd_Speed
add eax, 0x1f4
add eax, ecx
mov dword [esi + 0x88], eax
mov ecx, dword [0x58dc90]
call fcn.004c8c40
movss xmm1, dword [0x534508]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x5345e4]
subss xmm1, xmm0
mulss xmm1, dword [0x5345f4]
cvttss2si eax, xmm1
mov dword [esi + 0xdc], eax
cmp dword [0x58dc78], 1
jne 0x464bda
call edi
jmp 0x464be0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esi + 0xfc], eax
mov ecx, esi
mov eax, dword [esi + 0xec]
mov dword [esi + 0xf4], eax
mov eax, dword [esi + 0xf0]
push 0
mov dword [esi + 0xf8], eax
call fcn.00463d20
mov ecx, dword [0x58dc90]
push 0x32
push str._Config_MesWnd_Speed
call fcn.004c8c40
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x5345e4]
ucomiss xmm0, dword [0x534604]
lahf
test ah, 0x44
jnp 0x464c4b
mov ecx, dword [0x58dc90]
push 1
push str._Config_MesWnd_ShowSpeedEnable
call fcn.004c8c40
test eax, eax
jne 0x464c54
push 1
mov ecx, esi
call fcn.00465bb0
mov eax, dword [esi + 0x5c]
mov eax, dword [eax + 0x38]
mov dword [esp + 0xc], eax
cmp dword [eax + 0x3c], 0
je 0x464c8a
cmp dword [0x58dc78], 1
jne 0x464c71
call edi
jmp 0x464c77
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esp + 0xc]
push edx
mov dword [edx + 0x38], eax
mov ecx, dword [0x58dca8]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
call fcn.0045e8f0
dec eax
push eax
call fcn.0042ae80
mov edx, dword [esi]
lea ecx, [esi + 0x108]
push ecx
push eax
mov ecx, esi
call dword [edx + 0xa0]
mov ecx, dword [0x58dc90]
push 0x64
push str._Config_OneMesSpeed
call fcn.004c8c40
movss xmm0, dword [0x534508]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x5345e4]
subss xmm0, xmm1
mulss xmm0, dword [0x53464c]
call fcn.004dccc0
cmp dword [0x58dc78], 1
mov dword [esp + 0xc], eax
jne 0x464cfd
call edi
jmp 0x464d03
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [esp + 0xc]
add eax, ecx
cmp byte [0x57d6f8], 0
mov dword [esi + 0x84], eax
je 0x464d24
push ecx
mov ecx, esi
call fcn.0042acf0
test al, al
jne 0x464d4c
mov ecx, dword [esi + 0x58]
push 0
push 0x108
call fcn.004964e0
test eax, eax
je 0x464d53
mov eax, dword [esi]
mov ecx, esi
push 0x4000
mov eax, dword [eax + 0xac]
call eax
test al, al
jne 0x464d53
mov dword [esi + 0x70], 1
mov dword [esi + 0xd4], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret