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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e85e8
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push esi
push edi
mov eax, dword [0x11279148]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1127ad00], 0
jne 0x111609ea
cmp dword [0x1127acfc], 0
jne 0x111609ea
cmp byte [0x1127ad14], 0
je 0x11160c20
push str.WaitVistaPipes_n
call fcn.111bd7b0
add esp, 4
call fcn.1115ffd0
cmp byte [0x1127ad14], 0
je 0x11160a0a
call fcn.111601e0
cmp dword [0x1127acfc], 0
je 0x11160a20
cmp byte [0x1127ad2a], 0
jne 0x11160c20
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
call edi
mov esi, eax
push 0x1127ef5c
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0x1127ef5c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call edi
mov edi, eax
sub eax, esi
mov dword [ebp - 0x14], edi
cmp eax, 0x64
jb 0x11160a5d
push eax
push str.Warning._took__d_ms_to_get_simap_lock_n
call fcn.111bd7b0
add esp, 8
mov eax, dword [0x1127f1dc]
mov esi, dword [eax]
mov dword [ebp - 4], 0
cmp esi, eax
je 0x11160af2
mov edi, dword [esi + 0x10]
cmp dword [edi + 0x60], 0
jne 0x11160a8d
cmp dword [edi + 0x1c], 0
jne 0x11160a8d
call fcn.11170920
cmp dword [edi + 0x1c], 0
je 0x11160a82
mov ecx, edi
call fcn.1114d080
test eax, eax
je 0x11160aa5
cmp ebx, 0x40
jge 0x11160aa5
mov dword [ebp + ebx*4 - 0x11c], eax
inc ebx
cmp byte [esi + 0x15], 0
jne 0x11160ae7
mov eax, dword [esi + 8]
cmp byte [eax + 0x15], 0
jne 0x11160acc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x15], 0
jne 0x11160ae7
mov edi, edi
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x15], 0
je 0x11160ac0
jmp 0x11160ae7
mov eax, dword [esi + 4]
cmp byte [eax + 0x15], 0
jne 0x11160ae5
cmp esi, dword [eax + 8]
jne 0x11160ae5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 0
je 0x11160ad5
mov esi, eax
cmp esi, dword [0x1127f1dc]
jne 0x11160a73
mov edi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1127ef5c
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
sub eax, edi
cmp eax, 0x64
jb 0x11160b1c
push eax
push str.Warning._simap_lock_held_for__d_ms_n
call fcn.111bd7b0
add esp, 8
test ebx, ebx
je 0x11160b50
push ebx
push str.Waiting_for__d_clients_n
call fcn.111bd7b0
add esp, 8
push 0x7530
push 1
lea eax, [ebp - 0x11c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push str.Waited_n
call fcn.111bd7b0
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push 0x1127ef5c
mov esi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call edi
mov ebx, eax
sub eax, esi
cmp eax, 0x64
jb 0x11160b7e
push eax
push str.Warning._took__d_ms_to_get_simap_lock_n
call fcn.111bd7b0
add esp, 8
mov eax, dword [0x1127f1dc]
mov esi, dword [eax]
cmp esi, eax
je 0x11160bfa
lea esp, [esp]
mov eax, dword [esi + 0x10]
add eax, 0x34
cmp dword [eax], 0
je 0x11160baf
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x11160baf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x15], 0
jne 0x11160bf2
mov eax, dword [esi + 8]
cmp byte [eax + 0x15], 0
jne 0x11160bd4
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x15], 0
jne 0x11160bf2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x15], 0
je 0x11160bc8
jmp 0x11160bf2
mov eax, dword [esi + 4]
cmp byte [eax + 0x15], 0
jne 0x11160bf0
lea ecx, [ecx]
cmp esi, dword [eax + 8]
jne 0x11160bf0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 0
je 0x11160be0
mov esi, eax
cmp esi, dword [0x1127f1dc]
jne 0x11160b90
call edi
push 0x1127ef5c
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
sub eax, ebx
cmp eax, 0x64
jb 0x11160c20
push eax
push str.Warning._simap_lock_held_for__d_ms_n
call fcn.111bd7b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret