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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x21049028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
cmp dword [ebp + 0xc], 0
jg 0x2102bcae
mov eax, 1
jmp 0x2102bec2
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 - 0x54], eax
cmp dword [ebp - 0x54], 0
jb 0x2102bcdd
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp + 0xc]
jae 0x2102bcdd
mov eax, 1
jmp 0x2102bec2
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x10], 0
je 0x2102bd1f
mov ecx, dword [ebp + 0xc]
shl ecx, 2
push ecx
call fcn.2103d925
add esp, 4
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x10], edx
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.21030960
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 - 0x4c], 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 [0x2105b32c]
push ecx
mov edx, dword [0x2105b328]
push edx
lea ecx, [ebp - 0x48]
call fcn.2101fa30
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.2102059c
add esp, 8
cmp dword [ebp + 0x14], 0xffffffff
je 0x2102bda2
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x48]
call fcn.210208f4
push 0
push 0x3e8
push 0
lea ecx, [ebp - 0x48]
call fcn.21016710
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 1
lea ecx, [ebp - 0x48]
call fcn.210206d0
lea ecx, [ebp - 0x48]
call fcn.2102048f
test eax, eax
jne 0x2102bdbd
jmp 0x2102be98
cmp dword [ebp + 0x14], 0xffffffff
je 0x2102bdd2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x48]
call fcn.2102061f
push 0x4ff
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jb 0x2102be50
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp + 0xc]
jae 0x2102be50
cmp dword [ebp + 0x10], 0
je 0x2102be47
cmp dword [ebp + 0xc], 1
jle 0x2102be47
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x58]
lea eax, [edx*4 - 4]
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x10]
lea eax, [edx + ecx*4 + 4]
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x10]
lea eax, [edx + ecx*4]
push eax
call fcn.21031c40
add esp, 0xc
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
jmp 0x2102bdac
mov dword [ebp - 0x50], 1
jmp 0x2102be98
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp + 0xc]
jne 0x2102be98
cmp dword [ebp + 0x14], 0xffffffff
je 0x2102be98
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x4c]
jb 0x2102be8a
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.2101facb
mov eax, dword [ebp - 0x64]
jmp 0x2102bec2
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x5c]
mov dword [ebp + 0x14], ecx
jmp 0x2102bdac
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
push eax
call fcn.2103d94e
add esp, 4
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.2101facb
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x20