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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5e0278
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, ecx
cmp esi, dword [edi + 0x10]
jne 0x5b99b4
mov eax, dword [edi + 8]
mov esi, dword [esp + 0x58]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x54], ebp
jle 0x5b999b
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x98]
mov ebx, eax
imul ebx, ebp
mov edx, dword [ecx]
lea ebx, [esi + ebx*4]
push ebx
push eax
call dword [edx + 0x14]
test al, al
je 0x5b9ac3
mov ecx, dword [edi + 8]
lea edx, [ebp + 1]
cmp edx, ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], edx
jge 0x5b998d
mov eax, dword [edi + 0x10]
mov ecx, edx
imul ecx, eax
lea ebx, [esi + ecx*4]
xor ecx, ecx
test eax, eax
jle 0x5b996a
mov edx, eax
imul edx, ebp
lea esi, [esi + edx*4]
mov edx, ebx
mov ebp, dword [esi]
cmp ebp, dword [edx]
jne 0x5b995e
inc ecx
add edx, 4
add esi, 4
cmp ecx, eax
jl 0x5b994d
mov ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
cmp ecx, eax
je 0x5b9ac3
mov ecx, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x4c], ecx
lea ecx, [eax*4]
add ebx, ecx
mov ecx, dword [edi + 8]
cmp dword [esp + 0x4c], ecx
jl 0x5b993d
mov ebp, edx
cmp ebp, ecx
mov dword [esp + 0x54], ebp
jl 0x5b9900
mov eax, dword [edi + 0xb0]
lea ecx, [esp + 0x14]
push eax
push esi
push ecx
mov ecx, edi
call fcn.005b8a20
jmp 0x5b9ac3
mov edx, dword [edi + 8]
shl edx, 2
push edx
call sub.mfc42u.dll_operatornew
mov edx, dword [esp + 0x54]
mov ecx, dword [edi + 8]
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
push eax
mov eax, dword [edx + esi*4]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.005c0510
mov eax, dword [edi + 8]
xor ebp, ebp
cmp eax, 4
mov dword [esp + 0x44], ebp
jle 0x5b99f6
mov eax, 4
push eax
lea ecx, [esp + 0x20]
call fcn.005c0a80
cmp dword [esp + 0x1c], ebp
jle 0x5b9aa9
mov esi, dword [edi + 0x98]
call dword [sym.imp.kernel32.dll_GetTickCount]
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, dword [esi + 4]
seta al
test al, al
jne 0x5b9adb
mov eax, dword [edi + 8]
xor esi, esi
test eax, eax
jle 0x5b9a84
mov eax, dword [esp + 0x54]
sub eax, ebx
mov dword [esp + 0x14], eax
push ebp
lea ecx, [esp + 0x20]
call fcn.005c0a70
mov ecx, esi
mov edx, dword [esp + 0x4c]
imul ecx, dword [edi + 0x10]
add ecx, edx
mov edx, dword [eax + esi*4]
mov eax, dword [esp + 0x58]
push ebp
lea ebx, [ebx + esi*4]
mov dword [eax + ecx*4], edx
lea ecx, [esp + 0x20]
call fcn.005c0a70
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + ebx]
mov ecx, dword [eax + esi*4]
sub edx, ecx
inc esi
mov dword [ebx], edx
mov eax, dword [edi + 8]
mov ebx, dword [esp + 0x10]
cmp esi, eax
jl 0x5b9a3d
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
push eax
push ebx
inc edx
push ecx
push edx
mov ecx, edi
call fcn.005b98c0
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x5b9a0a
push ebx
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call fcn.005c0570
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10
push ebx
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call fcn.005c0570
xor eax, eax
jmp 0x5b9ac6