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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1018d8df
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x101ebb68]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
call fcn.1001b920
add esp, 4
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x28]
push edx
mov edi, eax
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], 1
call fcn.1001b9c0
add esp, 0x14
push eax
mov byte [esp + 0x3c], 1
call fcn.100232a0
mov byte [esp + 0x3c], bl
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, ebx
je 0x1001a75d
mov ecx, eax
mov dword [esp + 0x10], ecx
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1001a75d
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1001a75d
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
call esi
sub eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 8]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], eax
cmp esi, ebx
je 0x1001a7a2
mov edx, esi
call fcn.1000ae40
test al, al
je 0x1001a7a2
mov ecx, dword [esp + 0x10]
mov ebx, esi
push ecx
lea esi, [esp + 0x20]
call fcn.10044ae0
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov byte [esp + 0x38], 2
cmp edi, ebx
je 0x1001a7e5
cmp byte [edi + 0xd], bl
je 0x1001a7e5
mov edx, dword [ebp + 0x10]
sub edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], edx
add edi, 0x14
lea edx, [esp + 0x18]
push edi
push edx
call fcn.1001ba60
push eax
mov byte [esp + 0x4c], 3
call fcn.100071b0
add esp, 0x14
jmp 0x1001a892
push 0x38
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x38], 4
cmp esi, ebx
je 0x1001a83e
lea ecx, [esi + 0x10]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov dword [esi + 0xc], 0xffffffff
push ebx
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push 0x101a4104
mov byte [ecx], bl
call fcn.1000c100
lea eax, [esi + 0x2c]
push ebx
mov byte [esp + 0x3c], 5
push eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.1001cff0
jmp 0x1001a840
xor esi, esi
push esi
lea eax, [esp + 0x14]
mov byte [esp + 0x3c], 2
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.1001c7b0
mov eax, dword [ebp + 8]
mov byte [esp + 0x38], 6
mov ecx, dword [esp + 0x10]
mov byte [ecx + 8], bl
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
mov dword [edx + 0xc], 0xfffffffd
mov ecx, dword [esp + 0x14]
push ebx
add ecx, 0x10
push eax
call fcn.1000bd90
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x10]
push eax
call edx
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1001a8ca
mov esi, eax
or ecx, 0xffffffff
add eax, 4
lock xadd dword [eax], ecx
jne 0x1001a8ca
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
or edx, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], edx
jne 0x1001a8ca
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0x38], bl
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x1001a8ff
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001a8ff
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001a8ff
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [esp + 0x38], 0xffffffff
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x1001a938
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001a938
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001a938
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc