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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4d7b
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x52600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x140], edi
mov ecx, dword [0x565e40]
push 0
push str._Config_SceneSkip
call fcn.004aba30
cmp eax, 1
jne 0x450a92
push dword [edi + 0x84]
mov ecx, edi
call fcn.0042b310
test al, al
jne 0x450c39
mov ecx, edi
mov dword [edi + 0x178], 1
call fcn.0044dc50
push 0x118
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.004bf140
add esp, 0xc
lea ecx, [ebp - 0x13c]
call fcn.00483230
mov dword [ebp - fcn.0048c4d0], 0x509e8c
mov dword [ebp - 4], 0
push 0
mov dword [edi + 4], 1
mov dword [edi + 0xfc], 0
mov dword [edi + 0x78], 0xffffffff
mov ecx, dword [0x565e40]
push str._Config_OneMes
call fcn.004aba30
mov ecx, dword [0x565e40]
cmp eax, 1
push 0
push str._Config_AutoRead
sete byte [0x567f24]
call fcn.004aba30
cmp eax, 1
mov dword [edi + 0x8c], 0
mov dword [0x567f20], 0
sete al
cmp dword [edi + 0x12c], 0
mov byte [edi + 0xb8], al
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax + 0x644]
mov eax, dword [eax + 0x664]
mov dword [edi + 0x108], ecx
mov dword [edi + 0x10c], eax
je 0x450b86
mov ecx, dword [0x5680a0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [0x5680a0]
push 1
push 0
mov edx, dword [eax + 0xc]
add ecx, 0x108
sub edx, dword [eax + 4]
push edx
push 0x500
mov esi, dword [ecx]
push 0
push 0
call dword [esi + 0xd0]
push 0
push 1
mov ecx, edi
call fcn.0044a200
push ecx
mov ecx, edi
mov dword [edi + 0x130], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x134], 0
call fcn.0044cc60
mov ecx, edi
mov esi, eax
call fcn.00452d50
cmp byte [0x567f24], 0
mov ecx, dword [edi + 0x58]
mov dword [ecx + 0xc], 0
je 0x450be4
push dword [edi + 0x84]
mov ecx, edi
call fcn.0042b310
test al, al
jne 0x450c0c
mov ecx, dword [edi + 0x58]
push 0
push 0x108
call fcn.004758b0
test eax, eax
je 0x450c45
mov eax, dword [edi]
mov ecx, edi
push 0x4000
mov eax, dword [eax + 0xac]
call eax
test al, al
jne 0x450c45
mov eax, dword [edi + 0x58]
mov ecx, edi
push 0
mov dword [eax + 0xc], 1
mov dword [edi + 0x114], 1
call fcn.00452a10
push 0
push 0
mov ecx, edi
call fcn.0044ffe0
jmp 0x450e1b
mov dword [edi + 4], 0
jmp 0x450efe
mov ecx, edi
call fcn.00485dc0
mov ecx, edi
call fcn.00485e50
cmp byte [edi + 0xb8], 0
je 0x450c70
mov eax, dword [0x567f20]
test esi, esi
mov ecx, 1
cmovne eax, ecx
mov dword [0x567f20], eax
call fcn.0044cbf0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x24]
mov esi, eax
movups xmmword [ebp - 0x24], xmm0
call fcn.00483230
lea eax, [esi - 1]
mov dword [ebp - 0x24], 0x511204
push eax
lea ecx, [ebp - 0x24]
call fcn.00488f80
mov edx, dword [edi]
mov ecx, edi
push eax
mov eax, dword [edx + 0xa4]
call eax
mov ecx, dword [0x565e40]
push 0xbe
push str._Config_AutoMesSpeed
mov dword [ebp - 0x144], eax
call fcn.004aba30
cmp eax, 0xe2
mov ecx, 0xe2
cmovg eax, ecx
sub ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x513c50]
call fcn.004bdf41
cmp dword [0x565e28], 1
mov dword [ebp - 0x148], eax
jne 0x450d05
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
jmp 0x450d11
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [edi + 0x114], 1
mov eax, dword [ebp - 0x144]
cdq
sub eax, edx
sar eax, 1
imul eax, dword [ebp - 0x148]
push 0x9e
push str._Config_MesWnd_Speed
add eax, 0x1f4
add eax, ecx
mov dword [edi + 0x8c], eax
mov ecx, dword [0x565e40]
call fcn.004aba30
cmp eax, 0xe2
mov ecx, 0xe2
cmovg eax, ecx
sub ecx, eax
movd xmm0, ecx
mov ecx, 0xc8
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x513c38]
cvttsd2si eax, xmm0
cmp eax, ecx
cmovg eax, ecx
mov dword [edi + 0x110], eax
cmp dword [0x565e28], 1
jne 0x450d91
call esi
jmp 0x450d97
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [edi + 0x128], eax
mov ecx, edi
mov eax, dword [edi + 0x118]
push 0
mov dword [edi + 0x120], eax
mov eax, dword [edi + 0x11c]
push 0
mov dword [edi + 0x124], eax
call fcn.0044ffe0
mov ecx, dword [0x565e40]
push 0x9e
push str._Config_MesWnd_Speed
call fcn.004aba30
cmp eax, 0xe2
jg 0x450df4
je 0x450df4
mov ecx, dword [0x565e40]
push 1
push str._Config_MesWnd_ShowSpeedEnable
call fcn.004aba30
test eax, eax
jne 0x450dfd
push 1
mov ecx, edi
call fcn.00452a10
mov eax, dword [edi]
mov ecx, edi
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
call dword [eax + 0x108]
call fcn.0044cbf0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x24]
mov edi, eax
movups xmmword [ebp - 0x24], xmm0
call fcn.00483230
mov ecx, dword [ebp - 0x140]
lea eax, [edi - 1]
mov dword [ebp - 0x24], 0x511204
mov esi, dword [ecx]
add ecx, 0x17c
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00488f80
mov edi, dword [ebp - 0x140]
mov ecx, edi
push eax
call dword [esi + 0xa0]
mov ecx, dword [0x565e40]
push 0xe2
push str._Config_OneMesSpeed
call fcn.004aba30
cmp eax, 0xe2
mov ecx, 0xe2
cmovg eax, ecx
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
cmp dword [0x565e28], 1
jne 0x450ea7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x450ead
call dword [sym.imp.WINMM.dll_timeGetTime]
add eax, esi
cmp byte [0x567f24], 0
mov dword [edi + 0x88], eax
je 0x450ecf
push dword [edi + 0x84]
mov ecx, edi
call fcn.0042b310
test al, al
jne 0x450ef7
mov ecx, dword [edi + 0x58]
push 0
push 0x108
call fcn.004758b0
test eax, eax
je 0x450efe
mov eax, dword [edi]
mov ecx, edi
push 0x4000
mov eax, dword [eax + 0xac]
call eax
test al, al
jne 0x450efe
mov dword [edi + 0x70], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bcfcc
mov esp, ebp
pop ebp
ret