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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007e4e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10097060]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x597dc]
cmp ecx, 4
je 0x1002e6ca
xor eax, eax
mov byte [ebp + 0x2c], al
mov dword [ebp + 0x30], eax
jmp 0x1002ea0f
mov ebx, dword [eax + 0x59774]
xor edi, edi
cmp ebx, edi
je 0x1002ea0a
cmp dword [eax + 0x597e0], 4
je 0x1002e6e9
mov dword [ebp + 0x24], edi
mov dword [ebp + 0x28], edi
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx + 0xa4], edi
jne 0x1002ea0a
cmp dword [ebx + 0xa8], edi
jne 0x1002ea0a
lea eax, [esp + 0x18]
push eax
mov ecx, str.Innervate
call fcn.10001a30
lea edx, [esp + 0x18]
lea ecx, [ebp + 4]
push edx
mov dword [esp + 0x2c], edi
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov dword [esi], eax
mov eax, ebp
call fcn.100014b0
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x14], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002e780
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
je 0x1002e851
cmp dword [esi + 0x14], edi
jne 0x1002e851
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x1002e851
mov edi, dword [esi]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x1002e851
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1002e851
mov eax, ebx
call fcn.1002a730
cmp eax, 0x14
jae 0x1002e851
call fcn.1004ad60
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x41c]
cmp eax, 3
jne 0x1002e803
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push ecx
mov ecx, ebx
call edx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1002ea0a
cmp eax, 1
jne 0x1002e82a
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
push 9
push edx
mov ecx, ebx
call eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1002ea0a
cmp eax, 2
jne 0x1002e841
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
push 7
push ecx
mov ecx, ebx
call edx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1002ea0a
lea eax, [esp + 0x18]
push eax
mov ecx, str.HealingTouch
call fcn.10001a30
lea ecx, [esp + 0x18]
push ecx
lea ecx, [ebp + 4]
mov dword [esp + 0x2c], 1
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov dword [esi], eax
mov eax, ebp
call fcn.100014b0
mov edi, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1002e954
mov eax, edi
call fcn.10059b90
cmp dword [edi + 0x14], 0
jne 0x1002e954
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1002e954
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1002e954
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [ebp + 0x34]
cmp eax, 0x1f40
jbe 0x1002e954
mov eax, ebx
call fcn.100040a0
cmp eax, 0x46
jae 0x1002e954
mov eax, ebx
call fcn.1002a730
cmp eax, 0x14
jbe 0x1002e954
call fcn.1004ad60
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x41c]
cmp eax, 3
jne 0x1002e923
mov ecx, dword [edi]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, ebx
call edx
jmp 0x1002e93f
cmp eax, 1
jne 0x1002e92c
push 9
jmp 0x1002e933
cmp eax, 2
jne 0x1002e93f
push 7
mov ecx, dword [edi]
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, ebx
call edx
call esi
push 0x7d0
mov dword [ebp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1002ea0a
lea eax, [esp + 0x18]
push eax
mov ecx, str.Rejuvenation
call fcn.10001a30
lea ecx, [esp + 0x18]
push ecx
lea ecx, [ebp + 4]
mov dword [esp + 0x2c], 2
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov dword [esi], eax
mov eax, ebp
call fcn.100014b0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.1001f1f0
mov eax, dword [ebp + 0x14]
add eax, 0x18
push eax
mov ecx, ebx
call fcn.10035f10
test eax, eax
je 0x1002e9da
cmp byte [ebp + 0x2c], 0
jne 0x1002e9da
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov dword [ebp + 0x30], eax
call fcn.10004080
mov eax, ebp
call fcn.10051da0
mov byte [ebp + 0x2c], 1
jmp 0x1002ea0a
mov ecx, ebp
call fcn.10051f70
test eax, eax
je 0x1002ea0a
call fcn.10025340
mov ebp, dword [ebp + 0x14]
lea eax, [ebp + 0x597e8]
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], 4
call fcn.100053d0
mov dword [eax], 0
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4