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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x11d0c5b8]
mov eax, dword fs:[0x2c]
push ebx
push esi
push edi
mov edi, dword [eax + edx*4]
mov bl, cl
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0xe8b0]
mov eax, dword [eax + 0xe8b4]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x64], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test bl, bl
jne 0x102861fd
mov edx, dword [0x11d23dc8]
mov eax, edx
mov esi, dword [0x11d23dcc]
or eax, esi
je 0x102861fd
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
sub ecx, edx
sbb eax, esi
cmp eax, dword [ebp - 0x74]
jg 0x102861fd
jl 0x10286199
cmp ecx, dword [ebp - 0x64]
ja 0x102861fd
mov eax, dword [edi + 0x10]
cmp dword [eax + 0x2d0], 0x1100
jb 0x102861e7
cmp byte [edi + 8], 0
jne 0x102861b9
call fcn.10450c0b
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0xbe2c]
cmp dword [eax + 0x11c0], 0
je 0x102861e7
call fcn.1001db80
mov ecx, dword [eax + 0x11c0]
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
call eax
test al, al
jne 0x102861fd
mov eax, dword [0x11d23dc4]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x78], ecx
cmp byte [edi + 8], cl
jne 0x1028621b
call fcn.10450c0b
mov ecx, dword [ebp - 0x84]
mov eax, dword [edi + 0x10]
and ecx, 0xfffffffe
mov esi, dword [ebp - 0x40]
push 0x54
push 0
mov eax, dword [eax + 0xbe2c]
mov eax, dword [eax + 0x11cc]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 0x54
call fcn.10425c00
add esp, 0xc
mov dword [ebp - 0x60], 0x4e564441
cmp byte [edi + 8], 0
mov dword [ebp - 0x5c], 0x10002
mov dword [ebp - 0x58], 0x54
mov dword [ebp - 0x54], 0x4e562a2a
mov dword [ebp - 0x50], 0x2000004
mov dword [ebp - 0x40], esi
jne 0x1028628d
call fcn.10450c0b
mov eax, dword [edi + 0x10]
mov esi, dword [eax + 0xbe2c]
mov edx, dword [esi + 0x10b4]
test edx, edx
je 0x1028633a
mov eax, dword [esi]
test eax, eax
je 0x1028633a
mov ecx, dword [eax + 0xbe28]
test ecx, ecx
je 0x1028633a
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x1028633a
cmp dword [eax + 0xd45c], 1
jne 0x10286326
lea eax, [esi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esi + 0x10b4]
lea eax, [ebp - 0x88]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
call ecx
mov ebx, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x68]
movlpd qword [ebp - 0x68], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x68]
sub ecx, dword [esi + 0x1428]
mov eax, dword [ebp - 0x64]
sbb eax, dword [esi + 0x142c]
add dword [esi + 0x1420], ecx
adc dword [esi + 0x1424], eax
jmp 0x10286332
lea eax, [ebp - 0x88]
push eax
push ecx
call edx
mov ebx, eax
test ebx, ebx
jne 0x102863c7
mov eax, dword [ebp - 0x30]
mov ebx, 0
test al, 9
setne bl
test al, 4
jne 0x10286351
cmp dword [ebp - 0x2c], 0
je 0x10286354
or ebx, 2
cmp dword [ebp - 0x28], 0
je 0x102863c9
mov eax, dword [edi + 0x10]
or ebx, 4
cmp dword [eax + 0x2d0], 0x1100
jb 0x102863c9
cmp byte [edi + 8], 0
jne 0x1028637d
call fcn.10450c0b
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0xbe2c]
mov ecx, dword [eax + 0x11c0]
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x102863c9
cmp byte [edi + 8], 0
jne 0x102863ab
call fcn.10450c0b
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0xbe2c]
mov ecx, dword [eax + 0x11c0]
mov edx, dword [ecx]
call dword [edx + 0xe0]
jmp 0x102863c9
xor ebx, ebx
mov ecx, dword [ebp - 0x70]
mov eax, ebx
mov edx, dword [ebp - 0x6c]
mov dword [0x11d23dc8], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [0x11d23dc4], ebx
xor ecx, ebp
mov dword [0x11d23dcc], edx
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret