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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080ebd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100b400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.100164f0
test eax, eax
jne 0x1001f7c4
mov eax, 0x100a3d00
lea ecx, [ebp - 0x34]
sub eax, 0x4c9ed77d
push eax
call fcn.1007ad50
mov edx, eax
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001f700
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1007a4c0
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
cmp dword [0x100b7380], 0x12a1187b
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
movq qword [ebp - 0x34], xmm0
mov word [ebp - 0x2c], 0
jne 0x1001f858
cmp dword [0x100b7384], 0
jne 0x1001f858
cmp dword [0x100b542c], 0x10
lea ecx, [ebp - 0x28]
push dword [0x100b5428]
mov edx, dword [ebp - 0x18]
mov eax, 0x100b5418
cmovae eax, dword [0x100b5418]
cmp edi, 0x10
push eax
cmovae ecx, esi
push 0
call fcn.1007bd20
add esp, 0xc
cmp eax, 0xffffffff
je 0x1001f858
cmp edi, 0x10
jb 0x1001f7b2
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1001f7a8
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f878
push edi
push esi
call fcn.1007d924
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp dword [0x100bbd1c], 0
je 0x1001f938
mov ecx, dword [0x100bb778]
mov eax, dword [0x100b72f4]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x1001f938
push 0xa0
mov dword [0x100bbe7c], 0x10016b60
call fcn.10016b60
cwde
shr eax, 0x10
test eax, eax
je 0x1001f928
cmp byte [0x100c0458], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x1001f83b
cmp dword [0x100c045c], 0
je 0x1001f92f
call esi
mov ecx, dword [0x100c045c]
inc ecx
cmp ecx, eax
ja 0x1001f92f
mov byte [0x100c0458], 1
call esi
mov dword [0x100c045c], eax
mov eax, 1
mov dword [0x100bfac8], eax
jmp 0x1001f942
cmp edi, 0x10
jb 0x1001f888
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1001f87e
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001f87e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push esi
call fcn.1007d924
add esp, 8
cmp dword [0x100bbd1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
je 0x1001f938
mov ecx, dword [0x100bb778]
mov eax, dword [0x100b72f4]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x1001f938
push 0x56
mov dword [0x100bbe7c], 0x10016b60
call fcn.10016b60
cwde
shr eax, 0x10
test eax, eax
je 0x1001f918
cmp byte [0x100c0208], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x1001f8fe
cmp dword [0x100c020c], 0
je 0x1001f91f
call esi
mov ecx, dword [0x100c020c]
inc ecx
cmp ecx, eax
ja 0x1001f91f
mov byte [0x100c0208], 1
call esi
mov dword [0x100c020c], eax
mov eax, 1
mov dword [0x100bfac8], eax
jmp 0x1001f942
mov byte [0x100c0208], 0
xor eax, eax
mov dword [0x100bfac8], eax
jmp 0x1001f942
mov byte [0x100c0458], 0
xor eax, eax
mov dword [0x100bfac8], eax
jmp 0x1001f942
mov dword [0x100bfac8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007d0d9
mov esp, ebp
pop ebp
ret