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

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx + 0x2c], 0
je 0x48f30a
push esi
mov esi, dword [ebx + 0x20]
or eax, 0xffffffff
push edi
cmp esi, dword [ebx + 0x24]
je 0x48f28c
mov ecx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [sym.imp.WINMM.dll_timeGetTime]
nop word [eax + eax]
mov edi, dword [esi]
cmp eax, 1
jne 0x48f19e
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0
cmp dword [0x592ad4], eax
jne 0x48f161
call ecx
jmp 0x48f163
call edx
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x20]
cmp eax, esi
je 0x48f192
nop dword [eax]
mov ecx, dword [eax]
add eax, 4
add dword [ecx + 0x30], 0x32
mov dword [ecx + 0x28], 1
mov dword [ecx + 0x20], 2
mov dword [ecx + 0x2c], 6
cmp eax, esi
jne 0x48f170
mov edx, dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [edi + 0x14]
cmp eax, 4
ja case.default.0x48f1aa
jmp dword [eax*4 + 0x48f30c]
mov eax, dword [edi + 0x18]
lea edx, [edi + 0xc]
sub dword [edx], eax
mov eax, 0x500
sub eax, dword [edi + 0x24]
cmp dword [edx], eax
jg 0x48f1d5
mov dword [edx], eax
mov dword [edi + 0x14], 1
mov dword [edi + 0x20], 1
mov ecx, dword [edi]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
jmp case.default.0x48f1aa
cmp dword [0x592ad4], 1
jne 0x48f1ef
call ecx
jmp 0x48f1f1
call edx
cmp dword [edi + 0x28], 1
mov ecx, eax
jne 0x48f209
mov dword [edi + 0x14], 3
mov dword [edi + 0x28], 0
jmp case.default.0x48f1aa
mov eax, dword [edi + 0x1c]
add eax, 0xfa0
cmp ecx, eax
jb case.default.0x48f1aa
mov dword [edi + 0x14], 2
jmp case.default.0x48f1aa
mov eax, dword [edi + 0x18]
lea edx, [edi + 0xc]
add dword [edx], eax
cmp dword [edx], 0x500
jl 0x48f23b
mov dword [edx], 0x500
mov dword [edi + 0x14], 4
mov ecx, dword [edi]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
jmp case.default.0x48f1aa
mov eax, dword [edi + 0x2c]
add dword [edi + 0x10], eax
mov eax, dword [edi + 0x30]
cmp dword [edi + 0x10], eax
jl 0x48f25d
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 1
mov ecx, dword [edi]
lea eax, [edi + 0xc]
push eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
jmp case.default.0x48f1aa
mov dword [edi + 0x20], 3
mov eax, dword [edi + 0x20]
add esi, 4
mov ecx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [sym.imp.WINMM.dll_timeGetTime]
cmp esi, dword [ebx + 0x24]
jne 0x48f140
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
cmp esi, eax
je 0x48f2d1
lea edi, [esi + 4]
mov ecx, dword [esi]
cmp dword [ecx + 0x20], 3
jne 0x48f2c7
push ecx
call fcn.0048f320
mov eax, dword [ebx + 0x24]
sub eax, edi
push eax
push edi
push esi
call fcn.004ffc30
add esp, 0xc
add dword [ebx + 0x24], 0xfffffffc
mov eax, dword [ebx + 0x24]
jmp 0x48f2cd
add esi, 4
add edi, 4
cmp esi, eax
jne 0x48f2a0
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
sub eax, ecx
test eax, 0xfffffffc
jne 0x48f308
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x24], ecx
mov edi, dword [ebx + 0x18]
mov esi, dword [ebx + 0x14]
cmp esi, edi
je 0x48f305
mov ecx, esi
call fcn.0041c2a0
add esi, 0x44
cmp esi, edi
jne 0x48f2f4
mov esi, dword [ebx + 0x14]
mov dword [ebx + 0x18], esi
pop edi
pop esi
pop ebx
ret