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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 8]
push edi
lea ecx, [eax + 1]
imul ecx, dword [ebx + 0x10]
add ecx, eax
shl ecx, 2
push ecx
call sub.mfc42u.dll_operatornew
mov ebp, eax
mov eax, dword [ebx + 8]
mov edx, eax
add esp, 4
imul edx, dword [ebx + 0x10]
xor ecx, ecx
mov dword [esp + 0x2c], ebp
lea esi, [ebp + edx*4]
test eax, eax
lea edi, [esi + eax*4]
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], edi
jle 0x5b8edd
mov eax, esi
mov edx, dword [ebx + 0x14]
inc ecx
mov dword [eax], edx
mov edx, dword [ebx + 8]
add eax, 4
cmp ecx, edx
jl 0x5b8ecd
push edi
push esi
mov ecx, ebx
call fcn.005b8dc0
push esi
push edi
mov ecx, ebx
call fcn.005b9150
mov eax, dword [ebx + 0x14]
dec eax
cmp eax, 2
jl 0x5b8f0a
lea ecx, [ebx + eax*4 + 0x18]
cmp dword [ecx], 0
jne 0x5b8f1b
dec eax
sub ecx, 4
cmp eax, 2
jge 0x5b8efc
push ebp
call sub.mfc42u.dll_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jl 0x5b8f0a
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
mov edi, dword [ebx + 0x98]
call esi
call esi
cmp eax, dword [edi + 4]
ja 0x5b8f0a
mov eax, dword [ebx + 0x10]
shl eax, 3
push eax
call sub.mfc42u.dll_operatornew
fld qword [ebx + 0x90]
mov ebp, eax
mov eax, dword [ebx + 0x10]
imul eax, dword [ebx + 8]
fld st(0)
fadd qword [0x5e2858]
fxch st(1)
fcompp
shl eax, 2
mov dword [esp + 0x34], eax
add esp, 4
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], 0xffffffff
fnstsw ax
test ah, 1
je 0x5b9131
jmp 0x5b8f89
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
mov ebp, dword [esp + 0x14]
mov edi, dword [ebx + 0x98]
call esi
call esi
cmp eax, dword [edi + 4]
ja 0x5b9131
mov ecx, dword [ebx + 0x10]
xor eax, eax
shl ecx, 3
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
xor esi, esi
and ecx, 3
mov dword [esp + 0x1c], esi
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x10]
test eax, eax
jle 0x5b9061
mov dword [esp + 0x20], ebp
mov ecx, dword [ebx + 0xc]
fld qword [0x5e2798]
test ecx, ecx
jle 0x5b9044
mov ebp, dword [ebx + 8]
lea edx, [eax*4]
lea eax, [esi*4]
xor edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
test ebp, ebp
jle 0x5b901d
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebx + 0x84]
shl esi, 2
add eax, edi
add ecx, esi
mov esi, ebp
fild dword [ecx]
add eax, 8
add ecx, edx
dec esi
fmul qword [eax - 8]
faddp st(1)
jne 0x5b900a
mov esi, dword [esp + 0x1c]
mov eax, dword [ebx + 0xb0]
mov ecx, dword [esp + 0x10]
fisub dword [eax + ecx]
lea eax, [ebp*8]
add ecx, edx
add edi, eax
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jne 0x5b8ff1
mov eax, dword [esp + 0x20]
inc esi
mov dword [esp + 0x1c], esi
fstp qword [eax]
add eax, 8
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x10]
cmp esi, eax
jl 0x5b8fc9
mov edi, dword [ebx + 8]
mov ecx, 1
xor ebp, ebp
cmp edi, ecx
jle 0x5b9098
xor esi, esi
mov eax, dword [esp + 0x14]
lea edx, [ecx*8]
fld qword [edx + eax]
fcomp qword [esi + eax]
fnstsw ax
test ah, 0x41
jne 0x5b9093
cmp ecx, dword [esp + 0x24]
je 0x5b9093
mov ebp, ecx
mov esi, edx
inc ecx
cmp ecx, edi
jl 0x5b9071
mov edx, dword [ebx + 0x90]
mov ecx, dword [esp + 0x30]
mov esi, dword [ebx + 0x84]
mov edi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x94]
mov dword [esp + 0x38], edx
mov edx, ecx
mov dword [esp + 0x24], ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x3c], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x34]
mov esi, dword [edi + ebp*4]
dec esi
cmp esi, 2
jl 0x5b9118
lea eax, [ebx + esi*4 + 0x18]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx], 0
je 0x5b9107
mov edx, dword [esp + 0x28]
mov ecx, ebx
push edx
push edi
mov dword [edi + ebp*4], esi
call fcn.005b8dc0
mov eax, dword [esp + 0x28]
push edi
push eax
mov ecx, ebx
call fcn.005b9150
mov ecx, dword [esp + 0x10]
dec esi
sub ecx, 4
cmp esi, 2
mov dword [esp + 0x10], ecx
jge 0x5b90e1
fld qword [ebx + 0x90]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 1
jne 0x5b8f7f
mov ebp, dword [esp + 0x14]
push ebp
call sub.mfc42u.dll_operatordelete
mov ecx, dword [esp + 0x30]
push ecx
call sub.mfc42u.dll_operatordelete
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret