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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xb8]
mov ecx, eax
and ecx, 0x800000ff
jns 0x4bf272
dec ecx
or ecx, 0xffffff00
inc ecx
cmp eax, 0xffffffff
je 0x4bf720
cdq
and edx, 0xff
add eax, edx
sar eax, 8
test eax, eax
jne 0x4bf50b
test ecx, ecx
je 0x4bf631
cmp ecx, 1
jne 0x4bf2b7
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 0x48]
cmp dword [eax + 0x10a4], 0
jne 0x4bf726
jmp 0x4bf720
cmp ecx, 2
jne 0x4bf34a
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 0x48]
cmp dword [eax + 0xfc0], 0
je 0x4bf720
mov eax, dword [esi]
mov ecx, esi
push 4
call dword [eax + 0x88]
push 1
push 2
push dword [esi + 0xb8]
mov ecx, esi
call fcn.004bf8f0
mov eax, dword [esi + 0x68]
xor edi, edi
sub eax, dword [esi + 0x64]
sar eax, 2
test eax, eax
je 0x4bf320
mov eax, dword [esi + 0x64]
mov ecx, esi
mov edx, dword [esi]
push dword [eax + edi*4]
call dword [edx + 0xc8]
mov eax, dword [esi + 0x68]
inc edi
sub eax, dword [esi + 0x64]
sar eax, 2
cmp edi, eax
jb 0x4bf302
mov edi, dword [esi + 0x88]
mov ecx, edi
mov eax, dword [edi + 0x14]
and dword [eax], 0xfffffffd
call fcn.004cb1a0
sub esp, 0x10
mov ecx, edi
push 4
call fcn.004cb230
mov eax, dword [edi + 0x14]
and dword [eax], 0xfffffffd
jmp 0x4bf4a9
cmp ecx, 3
jne 0x4bf3af
mov eax, dword [esi]
mov ecx, esi
push 4
call dword [eax + 0x88]
push 1
push 2
push dword [esi + 0xb8]
mov ecx, esi
call fcn.004bf8f0
mov eax, dword [esi + 0x68]
xor edi, edi
sub eax, dword [esi + 0x64]
sar eax, 2
test eax, eax
je 0x4bf39e
nop dword [eax + eax]
mov eax, dword [esi + 0x64]
mov ecx, esi
mov edx, dword [esi]
push dword [eax + edi*4]
call dword [edx + 0xc8]
mov eax, dword [esi + 0x68]
inc edi
sub eax, dword [esi + 0x64]
sar eax, 2
cmp edi, eax
jb 0x4bf380
push ecx
mov ecx, dword [esi + 0x88]
call fcn.004caee0
jmp 0x4bf4a9
cmp ecx, 4
jne 0x4bf449
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x88]
push 1
push 2
push dword [esi + 0xb8]
mov ecx, esi
call fcn.004bf8f0
mov eax, dword [esi + 0x68]
xor edi, edi
sub eax, dword [esi + 0x64]
sar eax, 2
test eax, eax
je 0x4bf401
mov eax, dword [esi + 0x64]
mov ecx, esi
mov edx, dword [esi]
push dword [eax + edi*4]
call dword [edx + 0xc8]
mov eax, dword [esi + 0x68]
inc edi
sub eax, dword [esi + 0x64]
sar eax, 2
cmp edi, eax
jb 0x4bf3e3
mov eax, dword [esi + 0xd0]
test eax, eax
jne 0x4bf43b
cmp dword [0x592ad4], 1
jne 0x4bf41c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4bf422
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esi + 0xd4], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc]
mov ecx, esi
call fcn.004bfe60
jmp 0x4bf6f3
cmp eax, 1
jne 0x4bf6f3
jmp 0x4bf6c8
cmp ecx, 5
jne 0x4bf6f3
mov eax, dword [esi]
mov ecx, esi
push 4
call dword [eax + 0x88]
push 1
push 2
push dword [esi + 0xb8]
mov ecx, esi
call fcn.004bf8f0
mov eax, dword [esi + 0x68]
xor edi, edi
sub eax, dword [esi + 0x64]
sar eax, 2
test eax, eax
je 0x4bf49e
nop
mov eax, dword [esi + 0x64]
mov ecx, esi
mov edx, dword [esi]
push dword [eax + edi*4]
call dword [edx + 0xc8]
mov eax, dword [esi + 0x68]
inc edi
sub eax, dword [esi + 0x64]
sar eax, 2
cmp edi, eax
jb 0x4bf480
mov ecx, dword [esi + 0x88]
call fcn.004ca2b0
push 0
push 0
push 0
mov ecx, esi
call fcn.004bf8f0
push 0
push 0
push 1
mov ecx, esi
call fcn.004bf8f0
push 0
push 0
push 2
mov ecx, esi
call fcn.004bf8f0
push 0
push 0
push 3
mov ecx, esi
call fcn.004bf8f0
push 0
push 0
push 4
mov ecx, esi
call fcn.004bf8f0
push 0
push 0
push 5
mov ecx, esi
call fcn.004bf8f0
call fcn.0042a8c0
push ecx
push 1
mov ecx, eax
call fcn.0042d240
jmp 0x4bf6f3
cmp eax, 1
jne 0x4bf6f3
test ecx, ecx
je 0x4bf631
cmp ecx, eax
je 0x4bf631
cmp ecx, 2
jne 0x4bf533
push 0xbbc
jmp 0x4bf61d
cmp ecx, 3
je 0x4bf618
cmp ecx, 4
jne 0x4bf613
mov eax, dword [esi]
mov ecx, esi
push 0xbbe
mov eax, dword [eax + 0xbc]
call eax
test al, al
je 0x4bf6f3
mov eax, dword [esi]
mov ecx, esi
push 4
call dword [eax + 0x88]
push 1
push 2
push dword [esi + 0xb8]
mov ecx, esi
call fcn.004bf8f0
mov eax, dword [esi + 0x68]
xor edi, edi
sub eax, dword [esi + 0x64]
sar eax, 2
test eax, eax
je 0x4bf5ae
nop word [eax + eax]
mov eax, dword [esi + 0x64]
mov ecx, esi
mov edx, dword [esi]
push dword [eax + edi*4]
call dword [edx + 0xc8]
mov eax, dword [esi + 0x68]
inc edi
sub eax, dword [esi + 0x64]
sar eax, 2
cmp edi, eax
jb 0x4bf590
mov eax, dword [esi + 0x220]
mov ecx, esi
mov dword [eax + 0xb8], 0
call fcn.004bff10
mov ecx, dword [esi + 0x88]
sub esp, 0x10
push 5
call fcn.004cb230
mov ecx, esi
call fcn.004bfe60
mov edx, dword [esi + 0x220]
push edx
mov dword [edx + 0xb8], 1
mov ecx, dword [0x593458]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
call fcn.004bfde0
call fcn.0042a8c0
push ecx
push 1
mov ecx, eax
call fcn.0042d240
jmp 0x4bf6f3
cmp ecx, 5
jne 0x4bf66b
push 0xbbf
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xbc]
call eax
test al, al
je 0x4bf6f3
mov eax, dword [esi]
mov ecx, esi
push 4
call dword [eax + 0x88]
push 1
push 2
push dword [esi + 0xb8]
mov ecx, esi
call fcn.004bf8f0
mov eax, dword [esi + 0xb8]
inc eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], eax
mov dword [esi + 4], 0
jmp 0x4bf6f3
cmp ecx, 6
jne 0x4bf6f3
mov eax, dword [esi]
mov ecx, esi
push 4
call dword [eax + 0x88]
push 1
push 2
push dword [esi + 0xb8]
mov ecx, esi
call fcn.004bf8f0
mov eax, dword [esi + 0x68]
xor edi, edi
sub eax, dword [esi + 0x64]
sar eax, 2
test eax, eax
je 0x4bf6be
mov eax, dword [esi + 0x64]
mov ecx, esi
mov edx, dword [esi]
push dword [eax + edi*4]
call dword [edx + 0xc8]
mov eax, dword [esi + 0x68]
inc edi
sub eax, dword [esi + 0x64]
sar eax, 2
cmp edi, eax
jb 0x4bf6a0
mov dword [esi + 0xb8], 0xffffffff
cmp dword [0x592ad4], 1
jne 0x4bf6d9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4bf6df
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esi + 0xd4], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov ecx, esi
call fcn.004bff10
mov eax, dword [esi + 0x68]
xor edi, edi
sub eax, dword [esi + 0x64]
sar eax, 2
test eax, eax
je 0x4bf720
mov eax, dword [esi + 0x64]
mov ecx, esi
mov edx, dword [esi]
push dword [eax + edi*4]
call dword [edx + 0xc8]
mov eax, dword [esi + 0x68]
inc edi
sub eax, dword [esi + 0x64]
sar eax, 2
cmp edi, eax
jb 0x4bf702
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
push 4
call dword [eax + 0x88]
push 1
push 2
push dword [esi + 0xb8]
mov ecx, esi
call fcn.004bf8f0
mov ecx, esi
call fcn.0043b4f0
mov ecx, dword [esi + 0x88]
call fcn.0045e960
mov ecx, eax
call fcn.004b5ef0
int3