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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060fb5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1008800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 0x1007aa50
lea ecx, [ebp - 0x4c]
sub ebx, 0x4c9ed77d
push ebx
call fcn.1005b0a0
mov edx, eax
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001c9d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1005aa10
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
cmp dword [0x1008b990], 0x7177c
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
movq qword [ebp - 0x4c], xmm0
mov word [ebp - 0x44], 0
jne 0x1001ca89
cmp dword [0x1008b994], 0
jne 0x1001ca89
cmp dword [0x10088ffc], 0x10
lea ecx, [ebp - 0x28]
push dword [0x10088ff8]
mov edx, dword [ebp - 0x18]
mov eax, 0x10088fe8
cmovae eax, dword [0x10088fe8]
cmp edi, 0x10
push eax
cmovae ecx, esi
push 0
call fcn.1005bd30
add esp, 0xc
cmp eax, 0xffffffff
je 0x1001ca89
cmp edi, 0x10
jb 0x1001ca72
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1001ca68
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001caa9
push edi
push esi
call fcn.1005d9f0
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x1001cbb8
cmp edi, 0x10
jb 0x1001cab9
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1001caaf
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001caaf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push esi
call fcn.1005d9f0
add esp, 8
push ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1005b0a0
mov edx, eax
mov ecx, edx
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001caf4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.1005aa10
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
cmp dword [0x1008b990], 0x12a1187b
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x40]
movq qword [ebp - 0x58], xmm0
mov word [ebp - 0x50], 0
jne 0x1001cc53
cmp dword [0x1008b994], 0
jne 0x1001cc53
cmp dword [0x10088ffc], 0x10
lea ecx, [ebp - 0x40]
push dword [0x10088ff8]
mov edx, dword [ebp - 0x30]
mov eax, 0x10088fe8
cmovae eax, dword [0x10088fe8]
cmp edi, 0x10
push eax
cmovae ecx, esi
push 0
call fcn.1005bd30
add esp, 0xc
cmp eax, 0xffffffff
je 0x1001cc53
cmp edi, 0x10
jb 0x1001cba6
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1001cb9c
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cc73
push edi
push esi
call fcn.1005d9f0
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp dword [0x1008fb08], 0
je 0x1001cd23
mov ecx, dword [0x1008f570]
mov eax, dword [0x1008b908]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x1001cd23
push 0xa0
mov dword [0x1008fc5c], 0x10014750
call fcn.10014750
cwde
shr eax, 0x10
test eax, eax
je 0x1001cc40
cmp byte [0x10092008], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x1001cc23
cmp dword [0x1009200c], 0
je 0x1001cc47
call esi
mov ecx, dword [0x1009200c]
inc ecx
cmp ecx, eax
ja 0x1001cc47
mov byte [0x10092008], 1
call esi
mov dword [0x1009200c], eax
mov eax, 1
mov dword [0x1008b56c], eax
jmp 0x1001cd2d
mov byte [0x10092008], 0
xor eax, eax
mov dword [0x1008b56c], eax
jmp 0x1001cd2d
cmp edi, 0x10
jb 0x1001cc83
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1001cc79
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001cc79
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push esi
call fcn.1005d9f0
add esp, 8
cmp dword [0x1008fb08], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
je 0x1001cd23
mov ecx, dword [0x1008f570]
mov eax, dword [0x1008b908]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x1001cd23
push 0x56
mov dword [0x1008fc5c], 0x10014750
call fcn.10014750
cwde
shr eax, 0x10
test eax, eax
je 0x1001cd13
cmp byte [0x10091db8], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x1001ccf9
cmp dword [0x10091dbc], 0
je 0x1001cd1a
call esi
mov ecx, dword [0x10091dbc]
inc ecx
cmp ecx, eax
ja 0x1001cd1a
mov byte [0x10091db8], 1
call esi
mov dword [0x10091dbc], eax
mov eax, 1
mov dword [0x1008b56c], eax
jmp 0x1001cd2d
mov byte [0x10091db8], 0
xor eax, eax
mov dword [0x1008b56c], eax
jmp 0x1001cd2d
mov dword [0x1008b56c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005d0c9
mov esp, ebp
pop ebp
ret