Function at 0x1024f1c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push ebx
mov eax, dword [esi]
call dword [eax + 0x44]
mov eax, dword [esi + 0xf050]
mov dword [esi + 0xefd0], 0
mov dword [esi + 0x11ac8], 0
mov dword [esi + 0x11acc], 0
mov dword [esi + 0x11ad0], 0
mov dword [esi + 0x11ac4], 0
test eax, eax
je 0x1024f221
push eax
mov ecx, ebx
call fcn.101d2ce0
mov dword [esi + 0xf050], 0
mov eax, dword [esi + 0xf054]
test eax, eax
je 0x1024f23d
push eax
mov ecx, ebx
call fcn.101d2ce0
mov dword [esi + 0xf054], 0
mov eax, dword [esi + 0xf058]
test eax, eax
je 0x1024f263
push eax
mov ecx, ebx
call fcn.101d2ce0
mov dword [esi + 0xf058], 0
mov dword [esi + 0xf044], 0
mov eax, dword [esi + 0xf04c]
test eax, eax
je 0x1024f2b9
cmp dword [esi + 0xef9c], 0
jne 0x1024f2a5
mov eax, dword [eax + 4]
mov dword [ebx + eax*4 + 0x11dc], 0
mov dword [ebx + eax*4 + 0x125c], 1
mov ecx, dword [esi + 0xf04c]
call fcn.101c5f50
mov ecx, dword [esi + 0xf04c]
call fcn.101c6e30
mov dword [esi + 0xf04c], 0
mov dword [esi + 0xef9c], 0
mov eax, dword [esi + 0x3484]
test eax, eax
je 0x1024f2d6
push eax
call fcn.10434337
add esp, 4
mov dword [esi + 0x3484], 0
mov eax, dword [esi + 0x3480]
test eax, eax
je 0x1024f2f3
push eax
call fcn.10434337
add esp, 4
mov dword [esi + 0x3480], 0
mov ecx, dword [0x11d0c5b8]
mov eax, dword fs:[0x2c]
push edi
mov dword [ebp - 4], 0
mov edi, 0x6914
lea eax, [eax + ecx*4]
mov dword [ebp - 0xc], eax
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [esi + edi + 0x874c]
test ecx, ecx
je 0x1024f3ce
mov eax, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [eax + 0x10]
mov ebx, dword [eax + 0xbe2c]
mov eax, dword [ebx]
cmp dword [eax + 0xd45c], 1
jne 0x1024f3a5
lea eax, [ebx + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebx + 0x10d4]
lea ecx, [ebp - 8]
push ecx
push dword [ebx + 0x11cc]
call eax
push eax
push ecx
mov ecx, ebx
call fcn.101c9e10
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebx + 0x1428]
mov eax, dword [ebp - 0x10]
sbb eax, dword [ebx + 0x142c]
add dword [ebx + 0x1420], ecx
adc dword [ebx + 0x1424], eax
jmp 0x1024f3c0
mov eax, dword [ebx + 0x10d4]
lea ecx, [ebp - 8]
push ecx
push dword [ebx + 0x11cc]
call eax
push eax
push ecx
mov ecx, ebx
call fcn.101c9e10
mov ebx, dword [ebp + 8]
mov dword [esi + edi + 0x874c], 0
mov eax, dword [ebx]
mov ecx, dword [edi + eax]
test ecx, ecx
je 0x1024f3ef
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebx]
mov ecx, dword [edi + eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov dword [edi + eax], 0
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.1027e450
inc dword [ebp - 4]
add edi, 4
mov eax, dword [ebp - 0xc]
cmp edi, 0x6924
jb 0x1024f320
mov eax, dword [esi + 0xf070]
test eax, eax
je 0x1024f452
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x1024f452
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1024f452
mov ecx, dword [esi + 0xf070]
call fcn.1012bd20
mov ecx, dword [esi + 0xf070]
test ecx, ecx
je 0x1024f448
push ecx
call fcn.1024f500
mov dword [esi + 0xf070], 0
mov eax, dword [esi + 0xf074]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1024f46f
push eax
call ebx
mov dword [esi + 0xf074], 0
mov eax, dword [esi + 0xefe8]
test eax, eax
je 0x1024f486
push eax
call ebx
mov dword [esi + 0xefe8], 0
mov edi, dword [esi + 0x11ab8]
test edi, edi
je 0x1024f4d8
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1024f4a3
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 8], 0
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1024f4b6
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 0xc], 0
push 0x10
push edi
mov dword [edi + 4], 0
mov dword [edi], 0
call fcn.1045088a
add esp, 8
mov dword [esi + 0x11ab8], 0
mov eax, dword [esi + 0xf048]
pop edi
test eax, eax
je 0x1024f4f0
push eax
call ebx
mov dword [esi + 0xf048], 0
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4