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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [ebp + 8]
push eax
call fcn.1000dff0
add esp, 4
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jne 0x1000ea4e
mov eax, 0xfffffff3
jmp 0x1000eec3
push 0xd0
lea ecx, [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0xc]
push edx
call sub.Ltkrnu.dll_Ordinal_76
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xdc], ecx
cmp dword [ebp - 0xdc], 0xa
ja case.0x1000ea94.5
mov edx, dword [ebp - 0xdc]
jmp dword [edx*4 + 0x1000eecc]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 8]
push ecx
call sub.Ltkrnu.dll_Ordinal_61
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.1000e680
add esp, 8
mov edx, dword [ebp - 0xd8]
mov dword [edx + 4], 1
jmp case.0x1000ea94.5
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 0xd8]
mov dword [edx], ecx
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0xc]
push edx
call sub.Ltkrnu.dll_Ordinal_75
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0xd4]
jb 0x1000eb2a
mov edx, dword [ebp - 0xd8]
mov dword [edx + 4], 0xa
jmp 0x1000eb37
mov eax, dword [ebp - 0xd8]
mov dword [eax + 4], 2
jmp case.0x1000ea94.5
mov ecx, dword [ebp - 0xd8]
mov dword [ecx], 0
mov edx, dword [ebp - 0xd8]
mov dword [edx + 4], 2
jmp case.0x1000ea94.5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0xd8]
sub eax, dword [ecx + 0x10]
cmp eax, dword [ebp - 0x78]
jb 0x1000eb80
mov edx, dword [ebp - 0xd8]
mov dword [edx + 4], 8
jmp case.0x1000ea94.5
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0xc]
push edx
call sub.Ltkrnu.dll_Ordinal_75
mov eax, dword [ebp - 0xd4]
sub eax, 1
mov ecx, dword [ebp - 0xd8]
cmp dword [ecx], eax
jne 0x1000ebcf
mov edx, dword [ebp - 0xd8]
cmp dword [edx + 0xf4], 0
je 0x1000ebcf
mov eax, dword [ebp - 0xd8]
mov dword [eax + 4], 3
jmp 0x1000ec75
cmp dword [ebp - 0x6c], 3
jne 0x1000ec52
mov ecx, dword [ebp - 0xd8]
add ecx, 0x24
push ecx
call sub.Ltkrnu.dll_Ordinal_67
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 8]
cmp dword [eax + 0x30], 4
jne 0x1000ec12
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0xc0]
mov ecx, dword [edx + 0x10]
sub ecx, eax
mov dword [ebp - 0xe0], ecx
jmp 0x1000ec1b
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0x80]
push eax
push 0xd0
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0xd8]
add eax, 0x24
push eax
call sub.Ltkrnu.dll_Ordinal_32
lea ecx, [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xd8]
push edx
call fcn.1000e7f0
add esp, 8
mov eax, dword [ebp - 0xd8]
mov dword [eax + 4], 4
jmp case.0x1000ea94.5
cmp dword [ebp - 0x78], 0
je 0x1000ecbb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0xd8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0xac]
shr edx, 6
and edx, 1
je 0x1000ecac
mov eax, dword [ebp - 0xd8]
mov dword [eax + 4], 7
jmp 0x1000ecb9
mov ecx, dword [ebp - 0xd8]
mov dword [ecx + 4], 6
jmp 0x1000ece5
mov edx, dword [ebp - 0xac]
shr edx, 6
and edx, 1
je 0x1000ecd8
mov eax, dword [ebp - 0xd8]
mov dword [eax + 4], 5
jmp 0x1000ece5
mov ecx, dword [ebp - 0xd8]
mov dword [ecx + 4], 8
jmp case.0x1000ea94.5
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp - 0xd8]
mov dword [ecx], eax
lea edx, [ebp - 0xd4]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0xc]
push ecx
call sub.Ltkrnu.dll_Ordinal_75
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx]
cmp eax, dword [ebp - 0xd4]
jb 0x1000ed32
mov ecx, dword [ebp - 0xd8]
mov dword [ecx + 4], 0xa
jmp 0x1000ed3f
mov edx, dword [ebp - 0xd8]
mov dword [edx + 4], 2
jmp case.0x1000ea94.5
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 2
je 0x1000ed6d
cmp dword [ebp - 0xe4], 3
je 0x1000edf7
jmp 0x1000ee9d
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 8]
cmp dword [edx + 0x30], 4
jne 0x1000ed9b
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x7c]
add edx, dword [ebp - 0xc0]
mov eax, dword [ecx + 0x10]
sub eax, edx
mov dword [ebp - 0xe8], eax
jmp 0x1000eda4
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xe8]
push ecx
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 8]
push ecx
call fcn.1000e730
add esp, 0x18
lea edx, [ebp - 0xd0]
push edx
mov eax, dword [ebp - 0xd8]
push eax
call fcn.1000e680
add esp, 8
jmp 0x1000ee9d
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x48]
and edx, 1
je 0x1000ee9d
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x30], 4
jne 0x1000ee37
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x7c]
add ecx, dword [ebp - 0xc0]
mov edx, dword [eax + 0x10]
sub edx, ecx
mov dword [ebp - 0xec], edx
jmp 0x1000ee40
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xec], eax
push 0x30
push 0
push 0
mov ecx, dword [ebp - 0xd8]
add ecx, 0x24
push ecx
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xec]
push ecx
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 8]
push ecx
call sub.Ltkrnu.dll_Ordinal_17
mov edx, dword [ebp - 0xd8]
add edx, 0x24
push edx
call sub.Ltkrnu.dll_Ordinal_67
lea eax, [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.1000e680
add esp, 8
mov edx, dword [ebp - 0xd8]
mov dword [edx + 4], 9
cmp dword [ebp + 0xc], 0
je 0x1000eebe
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, 1
mov esp, ebp
pop ebp
ret 8