Function at 0x1028a5f0
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], edi
mov esi, dword [edi + 0x28]
add esi, dword [ebp + 8]
mov dword [esp + 0x2c], esi
call fcn.1028a540
mov ecx, dword [edi + 4]
mov edx, eax
mov eax, dword [edi + 0x28]
mov ecx, dword [ecx + 0x14]
cmp esi, ecx
jae 0x1028a689
cmp eax, edx
jae 0x1028a63b
lea eax, [esi + 1]
cmp eax, edx
sbb eax, eax
add eax, 4
jmp 0x1028a640
mov eax, 1
cmp eax, 4
jne 0x1028a69b
mov eax, dword fs:[0x2c]
or edx, 0xffffffff
mov ecx, dword [0x11d0c5b8]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 0x10]
mov ecx, 0x64
mov eax, dword [eax + 0x15b4]
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x40], ecx
mov ecx, 0x186a0
cmovne ecx, edx
mov dword [esp + 0x3c], ecx
je 0x1028a6ae
mov dword [esp + 0x28], edx
jmp 0x1028a6cc
cmp eax, edx
jb 0x1028a645
mov eax, esi
sub eax, ecx
inc eax
cmp eax, edx
jae 0x1028a645
mov eax, 2
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movss xmm0, dword [edi + 0x30]
mulss xmm0, dword [0x1122d540]
mulss xmm0, dword [0x1122d540]
call fcn.10451080
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x70], edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [0x1122d448]
movsd qword [esp + 0x68], xmm0
nop
mov ecx, dword [edi + 8]
call fcn.10096c90
mov ecx, dword [edi + 4]
mov ebx, eax
push dword [edi + 0x28]
mov dword [esp + 0x14], ebx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x44]
mov edx, dword [esp + 0x18]
mov esi, 1
mov dword [esp + 0x24], eax
mov ecx, dword [edx + 0x10]
cmp dword [ecx + 0xf944], esi
jbe 0x1028a79f
add edi, 0xc
mov ecx, dword [edi]
call fcn.10096c90
mov ebx, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push dword [eax + 0x28]
push ebx
mov edx, dword [ecx]
call dword [edx + 0x44]
cmp eax, dword [esp + 0x24]
jbe 0x1028a781
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], eax
jmp 0x1028a785
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
inc esi
add edi, 4
mov eax, dword [edx + 0x10]
cmp esi, dword [eax + 0xf944]
jb 0x1028a758
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
mov eax, dword [edi + 0x28]
cmp esi, ecx
jae 0x1028a7d0
cmp eax, ebx
jae 0x1028a7c0
lea eax, [esi + 1]
cmp eax, ebx
sbb edi, edi
add edi, 4
jmp 0x1028a7c5
mov edi, 1
cmp edi, 4
jne case.0x1028a8ee.2
jmp 0x1028a7e6
cmp eax, ebx
jb 0x1028a7e1
mov eax, esi
sub eax, ecx
inc eax
cmp eax, ebx
jb 0x1028aa59
mov edi, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x14], eax
jbe 0x1028a915
cmp byte [edx + 8], 0
mov dword [esp + 0x14], 0
jne 0x1028a80e
call fcn.10450c0b
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
mov esi, dword [eax + 0xbe2c]
test byte [esi + 0xf5c], 4
je 0x1028a870
mov eax, dword [esi + 0x11cc]
xor ecx, ecx
mov dword [esp + 0x74], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x84], ecx
or ecx, 2
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x78], ecx
mov ecx, esi
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x84], 4
call fcn.101d20e0
test eax, eax
js 0x1028a870
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1028a8e4
mov ecx, dword [esi + 0x119c]
xorps xmm0, xmm0
mov eax, dword [esi + 0x1194]
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
movlpd qword [esp + 0xb0], xmm0
movlpd qword [esp + 0xb8], xmm0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 1
test ecx, ecx
je 0x1028a908
test eax, eax
je 0x1028a908
lea eax, [esp + 0x88]
push eax
call ecx
test eax, eax
jne 0x1028a908
mov eax, dword [esp + 0x90]
add eax, 0xfffffffe
xor ecx, ecx
cmp eax, 5
ja case.default.0x1028a8ee
jmp dword [eax*4 + 0x1028aa78]
test byte [esi + 0xf5c], 4
jne 0x1028a915
test ecx, ecx
js case.0x1028a8ee.2
jmp 0x1028a915
test byte [esi + 0xf5c], 4
je case.0x1028a8ee.2
mov esi, dword [esp + 0x30]
xor eax, eax
cmp ebx, esi
cmove eax, dword [esp + 0xc]
mov edx, eax
mov dword [esp + 0xc], eax
cmp edx, dword [esp + 0x28]
jbe 0x1028a947
mov ecx, dword [esp + 0x20]
call fcn.1028a540
mov ebx, eax
cmp ebx, esi
je case.0x1028a8ee.2
xor edx, edx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x40]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1122e340]
comisd xmm0, xmmword [esp + 0x48]
jb 0x1028aa04
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x30658]
test ecx, ecx
je 0x1028a985
add dword [ecx + 0xd84c], eax
test eax, 0xfffff
je 0x1028a99a
nop dword [eax]
pause
dec eax
test eax, 0xfffff
jne 0x1028a990
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x50]
add dword [esp + 0x1c], 0xa
add edx, 0xa
push eax
add edi, 0xa
mov dword [esp + 0x10], edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
sbb edx, dword [esp + 0x5c]
call fcn.10451200
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
movsd qword [esp + 0x30], xmm0
call fcn.10451200
movsd xmm1, qword [esp + 0x30]
divsd xmm1, xmm0
mulsd xmm1, qword [esp + 0x68]
mulsd xmm1, qword [esp + 0x68]
addsd xmm1, qword [esp + 0x48]
movsd qword [esp + 0x48], xmm1
jmp 0x1028aa10
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [esp + 0x44]
imul ecx, eax, 0x3e8
mov dword [esp + 0x30], ebx
mov eax, ecx
mov dword [esp + 0x1c], ecx
sub eax, esi
add edi, eax
mov eax, ecx
sub eax, esi
mov dword [esp + 0x14], edi
add dword [esp + 0xc], eax
mov edi, dword [esp + 0x20]
jmp 0x1028a720
test byte [esi + 0x1088], 2
je case.0x1028a8ee.2
mov ecx, esi
call fcn.101ce7f0
jmp case.0x1028a8ee.2
mov edi, 2
mov ecx, dword [ebp + 0xc]
mov eax, edi
mov esi, dword [esp + 0x2c]
pop edi
mov dword [ecx], ebx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc