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

Disassembly:
push 0xffffffffffffffff
push 0x1004ed49
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x84]
test edi, edi
mov dword [esp + 0x10], edi
je 0x10018f0c
mov ecx, edi
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::Lock_void_]
cmp byte [esp + 0x2c], 0
mov dword [esp + 0x1c], 0
je 0x10019093
mov eax, dword [esp + 0x24]
add dword [esi + 0x60], eax
mov ecx, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
adc dword [esi + 0x64], ecx
cmp dword [esi + 0x70], 0
jne 0x10018f4a
call ebp
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
mov dword [esi + 0x70], eax
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], edx
call ebp
mov edi, eax
sub edi, dword [esi + 0x70]
cmp edi, 0x3e8
jb 0x10019046
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x64]
sbb ecx, dword [esi + 0x7c]
push 0
push 0x3e8
push ecx
push eax
call fcn.1004a4d0
push 0
push edi
push edx
push eax
call fcn.1004a420
mov dword [esi + 0x6c], eax
call ebp
mov edx, dword [esi + 0x60]
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x64]
lea ecx, [esi - 0x1d8]
mov dword [esi + 0x78], edx
mov edx, dword [ecx]
mov dword [esi + 0x7c], eax
mov eax, dword [edx + 0x10]
call eax
fst qword [esp + 0x24]
mov ecx, dword [esi - 0x1bc]
test ecx, ecx
je 0x10018fce
mov edx, dword [esi + 0x6c]
mov eax, dword [esi + 0x70]
sub esp, 8
fstp qword [esp]
push edx
mov edx, dword [esi - 0x1d0]
push eax
push edx
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMDownloadListener::SetSpeed_unsigned_int__unsigned_int__unsigned_int__double_
fld qword [esp + 0x24]
mov ecx, dword [esi + 0x58]
sub ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x5c]
sbb edx, dword [esi + 0x64]
lea eax, [eax + eax*2]
add eax, eax
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
or edi, 0xffffffff
fxch st(1)
fmul qword [0x10056210]
fnstcw word [esp + 0x2c]
movzx eax, word [esp + 0x2c]
faddp st(1)
or eax, 0xc00
mov dword [esp + 0x24], eax
fdiv qword [0x10056208]
fldcw word [esp + 0x24]
fistp qword [esp + 0x24]
mov eax, dword [esp + 0x24]
test eax, eax
fldcw word [esp + 0x2c]
je 0x1001902f
push 0
push eax
push edx
push ecx
call fcn.1004a3b0
mov edi, eax
mov ecx, dword [esi - 0x1bc]
test ecx, ecx
je 0x10019046
mov edx, dword [esi - 0x1d0]
push edi
push edx
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMDownloadListener::SetExpireTime_unsigned_int__unsigned_int_
mov edi, dword [esp + 0x10]
mov ecx, dword [esi - 0x1bc]
test ecx, ecx
je 0x10019068
mov eax, dword [esi + 0x64]
mov edx, dword [esi + 0x60]
push eax
mov eax, dword [esi - 0x1d0]
push edx
push eax
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMDownloadListener::SetCompleted_unsigned_int__long_long___int64__
test edi, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x1001907c
mov ecx, edi
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::UnLock_void_]
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], eax
mov dword [esi + 0x70], 0
jmp 0x1001904a