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

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
cmp dword [ebp + 0x158], ebx
push esi
push edi
je 0x10112947
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [ebp + 0x158]
dec ecx
je 0x1011288c
dec ecx
je 0x101126e9
dec ecx
jne 0x10112947
mov edx, dword [ebp + 0x168]
lea ecx, [ebp + 0x16c]
add edx, dword [ecx]
cmp eax, edx
jle 0x10112947
mov dword [ecx], ebx
mov ecx, ebp
mov dword [ebp + 0x15c], ebx
mov byte [ebp + 0x160], bl
mov dword [ebp + 0x170], ebx
call fcn.1010fc63
jmp 0x10112941
mov ecx, dword [ebp + 0x168]
lea edi, [ebp + 0x16c]
add ecx, dword [edi]
cmp eax, ecx
jle 0x10112947
mov ecx, dword [0x10a1f7e8]
xor eax, eax
mov al, byte [ebp + 0x160]
push ebx
push eax
push dword [ebp + 0x15c]
push 2
call fcn.100ee83d
mov ecx, ebp
call fcn.1010fc63
fldz
push ebx
push dword [ebp + 0x15c]
mov dword [ebp + 0x23cc], 0x17
push ecx
fstp dword [esp]
push 1
push 1
mov ecx, ebp
call fcn.1011122f
movzx eax, byte [ebp + 0x160]
mov ecx, dword [0x10a139cc]
push eax
push ebx
push dword [ebp + 0x2430]
lea eax, [esp + 0x20]
push 2
push dword [ebp + 0x15c]
push eax
call fcn.1001ef1a
mov eax, dword [ebp + 0x170]
cmp eax, 0x1b
je 0x1011277c
cmp eax, 0x1c
jne 0x101127a0
push dword [ebp + 0x2428]
mov ecx, dword [0x10a1f6b8]
push dword [ebp + 0x2430]
push ebx
push dword [ebp + 0x15c]
push dword [ebp + 0x180]
call fcn.1011e803
mov ecx, dword [0x10a1f6c0]
xor eax, eax
mov al, byte [ebp + 0x160]
push edi
push eax
push dword [ebp + 0x15c]
call fcn.10004c7d
test al, al
jne 0x101127c1
mov dword [edi], ebx
call esi
mov dword [ebp + 0x168], eax
mov eax, dword [ebp + 0x15c]
cmp eax, 0xbd4
je 0x10112816
cmp eax, 0xbd5
je 0x10112816
cmp eax, 0xbe3
je 0x10112816
cmp eax, 0xbf5
je 0x10112816
cmp eax, 0xd21
je 0x10112816
cmp eax, 0xbc9
je 0x10112816
cmp eax, 0xcbf
je 0x10112816
cmp dword [ebp + 0x170], 0x1b
je 0x10112816
mov ecx, ebp
mov byte [esp + 0x13], bl
call fcn.1011067d
jmp 0x10112822
mov ecx, ebp
mov byte [esp + 0x13], 1
call fcn.1011070b
mov eax, dword [ebp + 0x170]
cmp eax, 0x18
je 0x1011287d
cmp eax, 0x16
je 0x10112854
cmp eax, 0x19
je 0x10112854
cmp eax, 0x1a
je 0x10112854
cmp eax, 0x1b
je 0x10112854
cmp byte [esp + 0x13], 1
je 0x10112854
movzx eax, byte [ebp + 0x160]
push eax
push 1
jmp 0x1011285d
movzx eax, byte [ebp + 0x160]
push eax
push ebx
push dword [ebp + 0x2430]
mov ecx, dword [0x10a139cc]
push 5
push dword [ebp + 0x15c]
lea eax, [ebp + 0x164]
push eax
call fcn.1001ef1a
mov dword [ebp + 0x158], 3
jmp 0x10112947
push ebx
fldz
push dword [ebp + 0x15c]
mov dword [ebp + 0x23cc], 0x15
push ecx
fstp dword [esp]
push 1
push 1
mov ecx, ebp
call fcn.1011122f
mov ecx, ebp
call fcn.1010fc63
movzx eax, byte [ebp + 0x160]
mov ecx, dword [0x10a139cc]
push eax
push 1
push dword [ebp + 0x2430]
lea eax, [ebp + 0x164]
push ebx
push dword [ebp + 0x15c]
push eax
call fcn.1001ef1a
call esi
mov dword [ebp + 0x168], eax
mov ecx, dword [0x10a1f6c0]
xor eax, eax
mov al, byte [ebp + 0x160]
lea esi, [ebp + 0x16c]
push esi
push eax
push dword [ebp + 0x15c]
call fcn.10004ccb
test al, al
jne 0x1011290d
mov dword [esi], ebx
mov ecx, dword [ebp + 0x2420]
add dword [esi], 0x64
lea eax, [esp + 0x18]
push eax
call fcn.10117426
push 2
pop ebx
push ebx
sub esp, 0xc
mov edi, esp
push dword [ebp + 0x2428]
mov esi, eax
push dword [ebp + 0x15c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebp
movsd dword es:[edi], dword [esi]
call fcn.1011054e
mov dword [ebp + 0x158], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret