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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1117e2b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x111ec774]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KeRneL32.DLl_EnterCriticalSection]
xor esi, esi
test byte [ebp + 8], 8
mov dword [ebp - 4], esi
je 0x1100be04
push edi
call fcn.1100a6c0
push edi
call fcn.1100ad10
add esp, 8
test byte [ebp + 8], 1
mov ebx, dword [edi + 0x84]
mov dword [ebp - 0x10], ebx
je 0x1100bef7
cmp ebx, esi
je 0x1100bef7
lea esi, [edi + 0x28]
push esi
call dword [sym.imp.KeRneL32.DLl_EnterCriticalSection]
push ebx
mov dword [edi + 0x84], 0
call dword [sym.imp.WinMM.DlL_waveInStop]
push ebx
call dword [sym.imp.WinMM.DlL_waveInReset]
push esi
call dword [sym.imp.KeRneL32.DLl_LeaveCriticalSection]
mov eax, dword [edi + 0x88]
xor ebx, ebx
push eax
mov dword [edi + 0x20c], ebx
call dword [sym.imp.KeRneL32.DLl_SetEvent]
cmp dword [edi + 0x20c], ebx
jne 0x1100be75
push 0x32
call dword [sym.imp.KeRneL32.DLl_Sleep]
cmp dword [edi + 0x20c], ebx
je 0x1100be65
lea eax, [edi + 0x28]
push eax
call dword [sym.imp.KeRneL32.DLl_EnterCriticalSection]
lea esi, [edi + 0x98]
cmp dword [edi + 0x208], ebx
jle 0x1100bed7
lea ecx, [ecx]
test byte [esi + 0x10], 2
je 0x1100bea3
mov ecx, dword [ebp - 0x10]
push 0x20
push esi
push ecx
call dword [sym.imp.WinMM.DlL_waveInUnprepareHeader]
mov eax, dword [esi]
test eax, eax
je 0x1100beb2
push eax
call fcn.11163aa5
add esp, 4
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
inc ebx
add esi, 0x20
cmp ebx, dword [edi + 0x208]
jl 0x1100be90
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WinMM.DlL_waveInClose]
lea eax, [edi + 0x28]
push eax
mov dword [edi + 0x1d8], 0
call dword [sym.imp.KeRneL32.DLl_LeaveCriticalSection]
xor esi, esi
test byte [ebp + 8], 2
mov dword [ebp - 0x10], esi
je 0x1100c070
lea eax, [edi + 0x40]
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KeRneL32.DLl_EnterCriticalSection]
mov ecx, dword [edi + 4]
push esi
push esi
push 0x11196574
push 0x111a0f18
mov byte [ebp - 4], 1
call fcn.1105e820
test eax, eax
jne 0x1100bf4d
mov eax, dword [edi + 0x1e0]
mov ebx, dword [sym.imp.WinMM.DlL_waveOutReset]
cmp eax, esi
je 0x1100bf40
push eax
call ebx
mov eax, dword [edi + 0x1e4]
cmp eax, esi
je 0x1100bf4d
push eax
call ebx
mov eax, dword [edi + 0x404]
test eax, eax
je 0x1100bfb7
mov ebx, dword [sym.imp.KeRneL32.DLl_GetTickCount]
call ebx
mov ecx, dword [edi + 0x404]
mov esi, eax
test ecx, ecx
je 0x1100bfb3
jmp 0x1100bf70
mov ecx, dword [edi + 0x1e8]
call fcn.11110920
test eax, eax
je 0x1100bf83
push 1
jmp 0x1100bf94
mov ecx, dword [edi + 0x1ec]
call fcn.11110920
test eax, eax
je 0x1100bf9e
push 2
push eax
push edi
call fcn.1100b340
add esp, 0xc
call ebx
sub eax, esi
cmp eax, 0x1f4
jae 0x1100bfb3
mov edx, dword [edi + 0x404]
test edx, edx
jne 0x1100bf70
call ebx
xor esi, esi
cmp byte [edi + 0x239], 6
mov ecx, dword [edi + 4]
sbb eax, eax
and eax, 0xffffff38
push esi
add eax, 0xc8
push eax
push 0x11196560
push 0x111a0f18
call fcn.1105e820
mov ebx, eax
cmp ebx, esi
je 0x1100bff9
push ebx
push 0x11196554
call fcn.11147060
add esp, 8
push ebx
call dword [sym.imp.KeRneL32.DLl_Sleep]
mov eax, dword [edi + 0x1e0]
mov ebx, dword [sym.imp.WinMM.DlL_waveOutClose]
cmp eax, esi
je 0x1100c019
push eax
mov dword [edi + 0x1e0], esi
call ebx
mov dword [ebp - 0x10], 1
mov eax, dword [edi + 0x1e4]
cmp eax, esi
je 0x1100c02f
push eax
mov dword [edi + 0x1e4], esi
call ebx
inc dword [ebp - 0x10]
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 0
call dword [sym.imp.KeRneL32.DLl_LeaveCriticalSection]
cmp dword [ebp - 0x10], esi
je 0x1100c070
mov eax, dword [edi + 0x88]
push eax
mov dword [edi + 0x20c], esi
call dword [sym.imp.KeRneL32.DLl_SetEvent]
cmp dword [edi + 0x20c], esi
jne 0x1100c070
lea ecx, [ecx]
push 0x32
call dword [sym.imp.KeRneL32.DLl_Sleep]
cmp dword [edi + 0x20c], esi
je 0x1100c060
test byte [ebp + 8], 4
je 0x1100c0be
mov eax, dword [edi + 0x7c]
cmp eax, esi
je 0x1100c08a
mov ecx, dword [edi + 0x21c]
push esi
push eax
call ecx
mov dword [edi + 0x7c], esi
mov eax, dword [edi + 0x80]
cmp eax, esi
je 0x1100c0a4
mov edx, dword [edi + 0x21c]
push esi
push eax
call edx
mov dword [edi + 0x80], esi
mov eax, dword [edi + 0x74]
mov byte [edi + 0x409], 0
cmp eax, esi
je 0x1100c0be
push eax
call fcn.11163aa5
add esp, 4
mov dword [edi + 0x74], esi
cmp dword [ebp + 8], 0xf
jne 0x1100c0ce
push esi
push esi
call fcn.1100bc30
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KeRneL32.DLl_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret