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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064d7d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1008d00c]
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.10012470
test eax, eax
jne 0x1001aeb3
mov eax, 0x1007f640
lea ecx, [ebp - 0x34]
sub eax, 0x4c9ed77d
push eax
call fcn.1005f080
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 word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001adf0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1005e9e0
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
cmp dword [0x1008f7d0], 0x12a1187b
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
movq qword [ebp - 0x34], xmm0
mov word [ebp - 0x2c], 0
jne 0x1001af47
cmp dword [0x1008f7d4], 0
jne 0x1001af47
cmp dword [0x1008d0e8], 0x10
lea ecx, [ebp - 0x28]
push dword [0x1008d0e4]
mov edx, dword [ebp - 0x18]
mov eax, 0x1008d0d4
cmovae eax, dword [0x1008d0d4]
cmp edi, 0x10
push eax
cmovae ecx, esi
push ecx
call fcn.1005fd10
add esp, 0xc
cmp eax, 0xffffffff
je 0x1001af47
cmp edi, 0x10
jb 0x1001aea1
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1001ae97
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001af67
push edi
push esi
call fcn.100619c0
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp dword [0x1009394c], 0
je 0x1001b027
mov ecx, dword [0x100933bc]
mov eax, dword [0x1008f744]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x1001b027
push 0xa0
mov dword [0x10093aa0], 0x100129c0
call fcn.100129c0
cwde
shr eax, 0x10
test eax, eax
je 0x1001b017
cmp byte [0x100956e8], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x1001af2a
cmp dword [0x100956ec], 0
je 0x1001b01e
call esi
mov ecx, dword [0x100956ec]
inc ecx
cmp ecx, eax
ja 0x1001b01e
mov byte [0x100956e8], 1
call esi
mov dword [0x100956ec], eax
mov eax, 1
mov dword [0x1008f38c], eax
jmp 0x1001b031
cmp edi, 0x10
jb 0x1001af77
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1001af6d
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001af6d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push esi
call fcn.100619c0
add esp, 8
cmp dword [0x1009394c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
je 0x1001b027
mov ecx, dword [0x100933bc]
mov eax, dword [0x1008f744]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x1001b027
push 0x56
mov dword [0x10093aa0], 0x100129c0
call fcn.100129c0
cwde
shr eax, 0x10
test eax, eax
je 0x1001b007
cmp byte [0x10095498], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x1001afed
cmp dword [0x1009549c], 0
je 0x1001b00e
call esi
mov ecx, dword [0x1009549c]
inc ecx
cmp ecx, eax
ja 0x1001b00e
mov byte [0x10095498], 1
call esi
mov dword [0x1009549c], eax
mov eax, 1
mov dword [0x1008f38c], eax
jmp 0x1001b031
mov byte [0x10095498], 0
xor eax, eax
mov dword [0x1008f38c], eax
jmp 0x1001b031
mov byte [0x100956e8], 0
xor eax, eax
mov dword [0x1008f38c], eax
jmp 0x1001b031
mov dword [0x1008f38c], 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.10061099
mov esp, ebp
pop ebp
ret