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

Disassembly:
jmp 0x40fb60
push 0xffffffffffffffff
push 0x4450b8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45b9b0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0x1000
lea ecx, [esp + 0x30]
call fcn.00401f00
mov ebx, dword [esp + 0x64]
xor esi, esi
cmp ebx, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
jne 0x40fbe2
cmp dword [esp + 0x60], esi
jne 0x40fbe2
cmp dword [esp + 0x5c], esi
jne 0x40fbe2
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], 0xffffffff
call fcn.00401ea0
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov edi, dword [esp + 0x68]
cmp edi, esi
je 0x40fc1a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 4]
mov ebp, eax
mov eax, 0x10624dd3
imul ecx
mov eax, dword [edi]
sar edx, 6
imul eax, eax, 0x3e8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, ebp
add eax, ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], eax
mov ebp, 1
nop
lea ecx, [esp + 0x2c]
call fcn.00401ca0
cmp ebx, esi
je 0x40fc95
mov ecx, ebx
call fcn.00401c50
mov ecx, ebx
mov edi, eax
call fcn.00401e50
mov ebx, eax
shr ebx, 3
je 0x40fc95
cmp dword [edi + esi*8], 0xffffffff
je 0x40fc8f
mov ecx, dword [edi + esi*8]
cmp ecx, 0xffffffff
je 0x40fc8f
test ecx, ecx
je 0x40fc8f
call fcn.0040f200
test eax, eax
je 0x40fc69
add dword [esp + 0x18], ebp
mov dword [edi + esi*8 + 4], ebp
jmp 0x40fc8f
mov edx, dword [edi + esi*8]
mov eax, dword [edx + 0x8c]
push 4
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], eax
call fcn.00401a90
cmp eax, 4
jne 0x40fd7e
add esi, ebp
cmp esi, ebx
jb 0x40fc44
mov esi, dword [esp + 0x60]
test esi, esi
je 0x40fd0d
mov ecx, esi
call fcn.00401c50
mov ecx, esi
mov edi, eax
call fcn.00401e50
mov ebx, eax
shr ebx, 3
mov esi, 0
je 0x40fd0d
lea esp, [esp]
cmp dword [edi + esi*8], 0xffffffff
je 0x40fd07
mov ecx, dword [edi + esi*8]
cmp ecx, 0xffffffff
je 0x40fd07
test ecx, ecx
je 0x40fd07
call fcn.0040ef20
test eax, eax
je 0x40fce5
add dword [esp + 0x1c], ebp
mov dword [edi + esi*8 + 4], ebp
jmp 0x40fd07
mov edx, dword [edi + esi*8]
mov eax, dword [edx + 0xd0]
push 4
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], eax
call fcn.00401a90
cmp eax, 4
jne 0x40fd7e
add esi, ebp
cmp esi, ebx
jb 0x40fcc0
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x40fdb4
mov ecx, esi
call fcn.00401c50
mov ecx, esi
mov edi, eax
call fcn.00401e50
mov ebx, eax
shr ebx, 3
mov esi, 0
je 0x40fdb4
cmp dword [edi + esi*8], 0xffffffff
je 0x40fdae
mov ecx, dword [edi + esi*8]
cmp ecx, 0xffffffff
je 0x40fdae
test ecx, ecx
je 0x40fdae
call fcn.0040f010
test eax, eax
jne 0x40fda6
mov ecx, dword [edi + esi*8]
call fcn.0040eed0
test eax, eax
jne 0x40fda6
mov edx, dword [edi + esi*8]
mov eax, dword [edx + 0x8c]
push 4
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], eax
call fcn.00401a90
cmp eax, 4
je 0x40fdae
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], 0xffffffff
call fcn.00401ea0
or eax, 0xffffffff
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
add dword [esp + 0x20], ebp
mov dword [edi + esi*8 + 4], ebp
add esi, ebp
cmp esi, ebx
jb 0x40fd35
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea esi, [edx + eax]
add esi, dword [esp + 0x20]
test esi, esi
jg 0x40fe1e
cmp dword [esp + 0x68], 0
je 0x40fe16
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jb 0x40fe1e
sub eax, ecx
push eax
push 0
lea ecx, [esp + 0x34]
call fcn.00401c50
push eax
lea ecx, [esp + 0x38]
call fcn.00401e50
shr eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x40fe1b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x24], eax
xor esi, esi
jmp 0x40fc20
or eax, 0xffffffff
jmp 0x40fddc
or esi, 0xffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], 0xffffffff
call fcn.00401ea0
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret