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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100859c8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x100aa470]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
lea esi, [ebx + 0x6e0]
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0
cmp byte [ebx + 0xa2c], 0
mov edi, 0x1388
je 0x1000b1aa
mov eax, edi
dec edi
test eax, eax
je 0x1000b1aa
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebx + 0xa2c], 0
jne 0x1000b192
lea edi, [ebx + 0x48c]
push edi
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x1000b1c5
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x20], 1
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov byte [ebp - 4], 1
push ebx
mov dword [ebp - 0x14], 0
call fcn.10010db0
mov edi, eax
test edi, edi
jns 0x1000b21e
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1000b5e2
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
sbb ecx, dword [ebp - 0x18]
add dword [esi], eax
adc dword [esi + 4], ecx
jmp 0x1000b5e2
cmp byte [ebx + 0xa2c], 0
je 0x1000b269
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1000b250
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
sbb edx, dword [ebp - 0x18]
add dword [esi], ecx
adc dword [esi + 4], edx
mov eax, 0xc00d36b5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0x10], 0
jne 0x1000b27d
mov edi, ebx
call fcn.1000fb30
mov edi, eax
jmp 0x1000b5b9
cmp dword [ebp + 0x14], 0
je 0x1000b28d
mov edi, 0x80070057
jmp 0x1000b397
cmp byte [ebx + 0xa37], 0
je 0x1000b2a0
mov edi, 0x80004005
jmp 0x1000b397
cmp dword [ebx + 0x9f4], 1
jne 0x1000b2b3
mov edi, 0xc00d6d60
jmp 0x1000b397
mov edi, dword [ebx + 0x55c]
test edi, edi
js 0x1000b397
cmp byte [ebx + 0xa34], 0
jne 0x1000b2e6
push 0
xor eax, eax
mov ecx, ebx
call fcn.10009690
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000b2e6
mov edi, 0x80004005
jmp 0x1000b397
cmp dword [ebx + 0x768], 0
jne 0x1000b2fb
mov ecx, dword [ebx + 0xa24]
mov dword [ebx + 0xa14], ecx
mov eax, dword [ebx + 0xa14]
test eax, eax
jne 0x1000b30f
mov edi, 0x80004005
jmp 0x1000b397
movzx edx, byte [ebx + 0xa35]
mov edi, dword [ebp + 0x10]
push edx
mov esi, eax
call fcn.10038de0
mov edi, eax
test edi, edi
jns 0x1000b394
lea ecx, [ebx + 0xa48]
call fcn.1003d470
cmp byte [ebx + 0x4f7], 0
jne 0x1000b394
cmp dword [ebx + 0x4f8], 0
jne 0x1000b394
cmp byte [ebx + 0xa38], 0
jne 0x1000b394
cmp byte [ebx + 0xa39], 0
jne 0x1000b394
cmp byte [ebx + 0xa5c], 0
jne 0x1000b394
mov edi, ebx
call fcn.1000fb30
mov edi, eax
test edi, edi
js 0x1000b394
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [ebp - 0x3c]
call fcn.100014e0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp - 0x34]
cmp byte [ebx + 0xa78], 0
je 0x1000b3e9
test edi, edi
js 0x1000b579
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x8c]
mov dword [ebp - 0x2c], 0xff676980
mov dword [ebp - 0x28], 0xffffffff
call eax
test eax, eax
jns 0x1000b3da
mov dword [ebp - 0x2c], 0xff676980
mov dword [ebp - 0x28], 0xffffffff
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebx + 0xa60]
call fcn.1000cc90
test edi, edi
js 0x1000b579
mov eax, dword [ebx + 0xa14]
cmp byte [eax + 0x16b], 0
jne 0x1000b40f
inc dword [ebx + 0x6a4]
cmp byte [eax + 0x16b], 0
je 0x1000b43d
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov eax, ebx
mov dword [ebx + 0xa40], ecx
mov byte [ebx + 0xa3d], 1
mov byte [ebx + 0xa37], 1
call fcn.1000fdb0
jmp 0x1000b527
lea edx, [ebx + 0xab0]
push edx
call fcn.1002e5c0
mov esi, dword [ebx + 0xa24]
add esi, 0x17c
mov edi, eax
call fcn.10001c40
mov dword [esi], edi
xor edi, edi
push 0x18
mov dword [ebp + 0x14], edi
mov byte [ebp - 4], 2
call fcn.1004110c
add esp, 4
cmp eax, edi
je 0x1000b495
mov dword [eax], vtable.IMFSampleExtradata.0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov esi, eax
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [ebp + 0x14], esi
mov dword [ebp - 4], 1
jmp 0x1000b4ba
xor eax, eax
mov esi, eax
mov dword [ebp + 0x14], esi
mov dword [ebp - 4], 1
jmp 0x1000b4ba
mov dword [ebp + 8], esi
cmp esi, edi
je 0x1000b4c9
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov byte [ebp - 4], 4
cmp esi, edi
jne 0x1000b4d8
mov edi, 0x8007000e
jmp 0x1000b514
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
call fcn.10001de0
mov edi, eax
test edi, edi
js 0x1000b511
mov edx, dword [ebx + 0xb68]
mov ecx, dword [ebp + 0x14]
push edx
lea eax, [ebx + 0xa7c]
push eax
call fcn.10001f90
mov edi, eax
test edi, edi
js 0x1000b511
lea ecx, [ebp - 0x14]
mov eax, ebx
call fcn.1000b100
mov edi, eax
mov esi, dword [ebp + 0x14]
mov byte [ebp - 4], 1
test esi, esi
je 0x1000b524
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov esi, dword [ebp - 0x34]
test edi, edi
js 0x1000b579
cmp byte [ebx + 0xa3d], 0
jne 0x1000b575
lea ecx, [ebx + 0xa48]
call fcn.1003d470
cmp byte [ebx + 0x4f7], 0
jne 0x1000b575
cmp dword [ebx + 0x4f8], 0
jne 0x1000b575
cmp byte [ebx + 0xa38], 0
jne 0x1000b575
cmp byte [ebx + 0xa39], 0
jne 0x1000b575
cmp byte [ebx + 0xa5c], 0
jne 0x1000b575
mov edi, ebx
call fcn.1000fb30
mov edi, eax
test edi, edi
jns 0x1000b59a
cmp dword [ebx + 0x55c], 0
jl 0x1000b59a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
push ecx
push edi
mov ecx, ebx
call edx
push 0
lea eax, [ebp - 0x24]
call fcn.1000a440
cmp byte [ebx + 0xa35], 0
jne 0x1000b5b1
cmp byte [ebx + 0x589], 0
setne al
test al, al
jne 0x1000b5b3
xor edi, edi
cmp byte [ebp - 0x20], 0
je 0x1000b5c3
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1000b5e2
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
sbb eax, dword [ebp - 0x18]
add dword [esi], edx
adc dword [esi + 4], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10