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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [0x1001f78c], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [ebp - 0x14], esi
je 0x10002f3e
call esi
sub eax, dword [0x1001f78c]
cmp eax, 0x3e8
jb 0x10003436
cmp dword [0x1001f7d4], 0
je 0x10002f5a
call esi
sub eax, dword [0x1001f7d4]
cmp eax, 0x1f4
jb 0x10003436
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x34], ebx
xor eax, eax
lea ecx, [edx + edx*4]
add ecx, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], ecx
nop word [eax + eax]
add eax, ecx
mov ecx, dword [eax*4 + 0x1001f938]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x100032cd
mov eax, dword [eax*4 + 0x1001f7f8]
mov esi, dword [0x1001facc]
push 4
push esi
cvttss2si edi, dword [eax + 0x8c]
mov dword [ebp - 0x10], eax
call ebx
test eax, eax
jne 0x10002fb9
mov ecx, dword [esi]
jmp 0x10002fbb
xor ecx, ecx
mov esi, dword [0x1001fa78]
add esi, ecx
push 4
push esi
call ebx
test eax, eax
jne 0x10002fd0
mov eax, dword [esi]
jmp 0x10002fd2
xor eax, eax
cmp eax, edi
jb 0x100032ca
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [ecx + 0xac]
comiss xmm0, dword [0x10018b3c]
jbe 0x10003023
cmp byte [0x1001f781], 0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jne 0x10003006
test edx, edx
jne 0x10003006
cmp eax, 1
je 0x10003023
cmp byte [0x1001f782], 0
jne 0x100032cd
test edx, edx
jne 0x100032cd
test eax, eax
jne 0x100032cd
mov esi, dword [0x1001facc]
mov edi, dword [ecx + 0x80]
push 4
push esi
call ebx
test eax, eax
jne 0x1000303c
mov ecx, dword [esi]
jmp 0x1000303e
xor ecx, ecx
mov eax, dword [0x1001fac8]
push 4
add eax, ecx
push eax
call ebx
cmp byte [0x1001f780], 0
mov edx, dword [ebp - 8]
jne 0x100032cd
test edx, edx
jne 0x10003075
mov eax, dword [ebp - 0xc]
cmp eax, 2
jge 0x10003075
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.100019e0
jmp 0x100032ca
cmp edi, 1
jne 0x10003170
mov esi, dword [ebp - 0x14]
call esi
sub eax, dword [0x1001f778]
cmp eax, 0x1f4
jb 0x100032ca
cmp dword [ebp - 0x18], 0x77a10
jae 0x10003333
mov dword [ebp - 0x20], edi
mov esi, dword [0x1001fac0]
push 4
push esi
call ebx
test eax, eax
jne 0x100030b7
mov eax, dword [esi]
jmp 0x100030b9
xor eax, eax
lea esi, [eax + 0x21c]
push 4
push esi
call ebx
test eax, eax
jne 0x100030cc
mov eax, dword [esi]
jmp 0x100030ce
xor eax, eax
lea esi, [eax + 4]
push 4
push esi
call ebx
test eax, eax
jne 0x100030de
mov eax, dword [esi]
jmp 0x100030e0
xor eax, eax
lea esi, [eax + 0x14c]
push 4
push esi
call ebx
test eax, eax
jne 0x100030f3
mov esi, dword [esi]
jmp 0x100030f5
xor esi, esi
test edi, edi
jle 0x10003117
nop dword [eax]
push 4
push esi
call ebx
test eax, eax
jne 0x1000310d
mov esi, dword [esi]
jmp 0x1000310f
xor esi, esi
sub edi, 1
jne 0x10003100
mov edi, dword [ebp - 0x20]
push 4
add esi, 8
push esi
call ebx
test eax, eax
jne 0x10003136
mov esi, dword [esi]
test esi, esi
je 0x10003136
push 4
push esi
call ebx
test eax, eax
jne 0x10003136
mov eax, dword [esi]
jmp 0x10003138
xor eax, eax
cmp eax, dword [ebp - 0x18]
je 0x100032ca
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 0xc
jl 0x100030a4
call dword [ebp - 0x14]
mov esi, dword [0x1001facc]
push 4
push esi
mov dword [0x1001f778], eax
call ebx
test eax, eax
jne 0x100032f4
mov ecx, dword [esi]
jmp 0x100032f6
cmp edi, 7
jne 0x100032cd
cmp dword [0x1001fa00], 0
je 0x10003187
call fcn.10002bb0
mov esi, dword [0x1001facc]
push 4
push esi
call ebx
test eax, eax
jne 0x1000319a
mov ecx, dword [esi]
jmp 0x1000319c
xor ecx, ecx
mov esi, dword [0x1001fac4]
push 4
add esi, ecx
push esi
call ebx
test eax, eax
jne 0x100031b1
mov esi, dword [esi]
jmp 0x100031b3
xor esi, esi
mov ecx, esi
call fcn.100015d0
mov edi, eax
test edi, edi
jne 0x100031c9
mov ecx, esi
call fcn.10001590
mov edi, eax
mov eax, dword [0x1001facc]
mov ecx, dword [eax]
mov eax, dword [0x1001fa9c]
movss xmm0, dword [ecx + eax]
mov eax, dword [0x1001fa98]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ecx + eax]
lea esi, [eax + edi]
movss dword [ebp - 0x2c], xmm0
test esi, esi
je 0x1000320c
push 8
push esi
call ebx
test eax, eax
jne 0x1000320c
movss xmm0, dword [esi]
movss dword [ebp - 0x18], xmm0
xorps xmm0, xmm0
jmp 0x10003214
xorps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
mov esi, dword [0x1001fa9c]
add esi, edi
je 0x10003230
push 8
push esi
call ebx
test eax, eax
jne 0x1000322d
movss xmm0, dword [esi]
jmp 0x10003230
xorps xmm0, xmm0
subss xmm0, dword [ebp - 0x20]
movsd xmm1, qword [0x10018b40]
cvtps2pd xmm0, xmm0
call fcn.10011150
movsd xmm1, qword [0x10018b40]
movsd qword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [ebp - 0x2c]
cvtps2pd xmm0, xmm0
call fcn.10011150
addsd xmm0, qword [ebp - 0x28]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10003278
sqrtsd xmm0, xmm0
jmp 0x1000327d
call fcn.10011ca0
mov byte [ebp - 1], 0
cvttsd2si eax, xmm0
mov dword [ebp - 0x20], eax
test edi, edi
je 0x100032ca
mov dword [ebp - 0x2c], edi
mov ecx, dword [0x1001facc]
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x2c]
push esi
call dword [0x1001fabc]
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
sete al
test al, al
jne 0x100032ca
mov esi, dword [0x1001fa7c]
push 4
add esi, edi
push esi
call ebx
test eax, eax
jne 0x100032ca
cmp dword [esi], eax
je 0x100032ca
cmp dword [ebp - 0x20], 8
jl 0x1000333a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, 8
jl 0x10002f80
inc edx
mov dword [ebp - 8], edx
cmp edx, 2
jl 0x10002f68
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov esi, dword [0x1001fac8]
add esi, ecx
push 4
push esi
call ebx
test eax, eax
jne 0x1000331d
mov edx, dword [esi]
mov ecx, dword [ebp - 0x10]
push 1
call fcn.100016a0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
xor edx, edx
push 1
call fcn.100016a0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call esi
jmp 0x10003151
mov esi, dword [0x1001facc]
push 4
push esi
call ebx
test eax, eax
jne 0x1000334d
mov ecx, dword [esi]
jmp 0x1000334f
xor ecx, ecx
mov esi, dword [0x1001fac4]
add esi, ecx
push 4
push esi
call ebx
test eax, eax
jne 0x10003364
mov esi, dword [esi]
jmp 0x10003366
xor esi, esi
lea eax, [ebp - 0x30]
mov dword [0x1001e92c], esi
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], esi
push eax
call fcn.100043f0
mov edx, dword [ebp - 0x20]
cmp byte [edx + 0xd], 0
jne 0x1000338e
mov byte [ebp - 1], 1
cmp esi, dword [edx + 0x10]
jae 0x10003392
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 0
mov eax, dword [0x1001fad0]
cmovne eax, edx
cmp eax, dword [0x1001fad0]
jne 0x100033e3
call dword [ebp - 0x14]
mov ecx, dword [0x1001e92c]
mov esi, eax
call fcn.10001590
mov ebx, dword [0x1001e92c]
mov edi, eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
push eax
call fcn.10003c10
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ebx
mov ebx, dword [ebp - 0x34]
call dword [ebp - 0x14]
mov esi, dword [0x1001facc]
push 4
push esi
mov dword [0x1001f7e4], eax
call ebx
test eax, eax
jne 0x100033fe
mov ecx, dword [esi]
jmp 0x10003400
xor ecx, ecx
mov esi, dword [0x1001fac4]
add esi, ecx
push 4
push esi
call ebx
test eax, eax
jne 0x10003427
mov edx, dword [esi]
mov ecx, dword [ebp - 0x10]
push 7
call fcn.100016a0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
xor edx, edx
push 7
call fcn.100016a0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret