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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x21071b8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
cmp dword [ebp + 0xc], 0
jg 0x2104ef6c
mov eax, 1
jmp 0x2104f1a4
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x68], eax
cmp dword [ebp + 0x10], 0
je 0x2104efa1
cmp dword [ebp - 0x68], 0
jb 0x2104efa1
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp + 0xc]
jae 0x2104efa1
mov eax, 1
jmp 0x2104f1a4
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x10], 0
je 0x2104effa
mov ecx, dword [ebp + 0xc]
shl ecx, 2
push ecx
call fcn.210636c3
add esp, 4
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x2104efdd
push str.WaitForMultipleObjectsWithProgress_could_not_allocate_handle_array
call fcn.21010778
xor eax, eax
jmp 0x2104f1a4
mov eax, dword [ebp + 0xc]
shl eax, 2
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.210538a0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp + 0x24]
push ecx
push 1
push 0xb
push 0xb
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [0x2108afd0]
push ecx
mov edx, dword [0x2108afcc]
push edx
lea ecx, [ebp - 0x5c]
call fcn.2103b320
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 0
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.2103c128
add esp, 8
cmp dword [ebp + 0x14], 0xffffffff
je 0x2104f084
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x5c]
call fcn.2103c4ee
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x84], eax
push 0
push 0x3e8
push 0
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 1
lea ecx, [ebp - 0x5c]
call fcn.2103c272
lea ecx, [ebp - 0x5c]
call fcn.2103bfe5
test eax, eax
jne 0x2104f09f
jmp 0x2104f17a
cmp dword [ebp + 0x14], 0xffffffff
je 0x2104f0b4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x5c]
call fcn.2103c1bb
push 0xff
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jb 0x2104f132
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp + 0xc]
jae 0x2104f132
cmp dword [ebp + 0x10], 0
je 0x2104f129
cmp dword [ebp + 0xc], 1
jle 0x2104f129
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0x6c]
lea edx, [ecx*4 - 4]
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax*4 + 4]
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax*4]
push edx
call fcn.210554c0
add esp, 0xc
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
jmp 0x2104f08e
mov dword [ebp - 0x64], 1
jmp 0x2104f17a
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp + 0xc]
jne 0x2104f17a
cmp dword [ebp + 0x14], 0xffffffff
je 0x2104f17a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
cmp edx, dword [ebp - 0x60]
jb 0x2104f16c
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.2103b3bb
mov eax, dword [ebp - 0x78]
jmp 0x2104f1a4
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x70]
mov dword [ebp + 0x14], eax
jmp 0x2104f08e
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
push edx
call fcn.210636ec
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.2103b3bb
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x20