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

Disassembly:
push ebp
lea ebp, [esp - 0x26c]
sub esp, 0x26c
push 0xffffffffffffffff
push 0x100e8820
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10157040]
xor eax, ebp
mov dword [ebp + 0x268], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss dword [ebp - 0x14], xmm0
cmp dword [0x1018f6c8], 0
je 0x10022d89
cmp byte [0x1018ef76], 0
je 0x10022d89
xor ebx, ebx
push ebx
push 1
call fcn.10029436
movss xmm2, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
mov edx, eax
call fcn.10022151
pop ecx
pop ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
sub eax, esi
sar eax, 2
test eax, eax
je 0x10022d79
mov edi, ebx
mov dword [ebp - 0x14], edi
mov edi, dword [esi + edi*4]
cmp edi, 0x384
jge 0x10022d60
cmp dword [0x1018f6d0], 0
je 0x10022b06
mov ecx, dword [0x1018f6cc]
cmp dword [ecx + edi*4 + 0xfde], 1
jne 0x10022d60
mov ecx, dword [ecx + edi*4 + 0x2e]
test ecx, ecx
je 0x10022d60
mov eax, dword [ecx]
test eax, eax
je 0x10022d60
cmp dword [eax], ebx
je 0x10022d60
cmp dword [ecx + 4], 1
je 0x10022d60
cmp dword [eax + 0x1d1], 2
je 0x10022d60
movss xmm0, dword [eax + 0x1bc]
ucomiss xmm0, dword [0x10137364]
lahf
test ah, 0x44
jnp 0x10022d60
cmp dword [0x1018f700], 0
je 0x10022d60
cmp dword [0x1018f6d0], 0
je 0x10022b3b
mov ecx, edi
call fcn.100322fe
mov edx, eax
test edx, edx
je 0x10022d60
mov ecx, dword [0x1018f700]
push edx
mov eax, dword [ecx]
call dword [eax + 0x64]
jmp 0x10022b73
cmp dword [0x1018f6dc], 0
je 0x10022d60
push 0x24
call fcn.100e147f
pop ecx
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
mov ecx, eax
push 1
push edi
call fcn.100151ca
mov byte [ebp - 4], bl
test eax, eax
je 0x10022d5d
mov ecx, eax
call fcn.10015096
mov esi, eax
test esi, esi
je 0x10022d5d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
jne 0x10022d5d
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 0x28]
test eax, eax
je 0x10022d5d
mov ecx, dword [0x1018f6c8]
sub esp, 0xc
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax + 8]
mov eax, dword [ecx + 4]
add ecx, 4
subss xmm1, dword [0x10137400]
subss xmm2, dword [0x10137400]
movss dword [esp + 8], xmm0
add ecx, dword [eax + 4]
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
mov eax, dword [ecx]
call dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101ecb1c]
cmp eax, 0x64
jb 0x10022d5d
mov ecx, dword [0x1018f6c8]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, eax
push ebx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x10022d5d
mov ecx, dword [0x1018f6c8]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, eax
push ebx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movzx eax, al
push eax
push edi
push str.TestForStealthKill__i_:__i
lea eax, [ebp + 0x228]
push 0x40
push eax
call fcn.1002941b
lea eax, [ebp + 0x228]
push eax
mov eax, dword [0x1018f4f8]
push 0xffffffffffffffff
shr eax, 1
push ebx
push eax
mov eax, dword [0x1018f4f4]
shr eax, 1
push eax
call fcn.10021aeb
mov eax, dword [0x1018f6cc]
lea edi, [ebp - 0x68]
add esp, 0x28
mov esi, dword [eax + 0x22]
mov eax, 0x80
push 0x11
pop ecx
add esi, 0x18
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0x114]
mov dword [ebp - 0x68], 0x800080
mov word [ebp - 0x64], ax
call fcn.1004eb73
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push 1
push 8
push eax
mov byte [ebp - 0x10], 0xcf
call fcn.1004eece
push 0x44
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp + 0x114]
call fcn.1004ec89
push ecx
mov ecx, dword [0x1018f570]
lea eax, [ebp + 0x114]
push 7
push 1
push eax
call fcn.1002f828
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x114]
call fcn.1004ec34
mov eax, dword [0x1018f6cc]
lea edi, [ebp - 0x68]
push 0x11
pop ecx
push 4
mov esi, dword [eax + 0x22]
add esi, 0x18
rep movsd dword es:[edi], dword [esi]
pop eax
lea ecx, [ebp]
mov word [ebp - 0x66], ax
mov word [ebp - 0x68], ax
mov word [ebp - 0x64], ax
call fcn.1004eb73
mov byte [ebp - 4], 3
mov byte [ebp - 0x10], 0xcf
push 1
push 8
lea eax, [ebp - 0x10]
push eax
call fcn.1004eece
push 0x44
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp]
call fcn.1004ec89
push ecx
mov ecx, dword [0x1018f570]
lea eax, [ebp]
push 7
push 1
push eax
call fcn.1002f828
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.1004ec34
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101ecb1c], eax
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
sub eax, esi
inc edi
sar eax, 2
mov dword [ebp - 0x14], edi
cmp edi, eax
jb 0x10022a8c
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.100090dc
mov al, bl
jmp 0x10022d8b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x268]
xor ecx, ebp
call fcn.100e1471
add ebp, 0x26c
leave
ret