Function at 0x1606c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebp
xor ebp, ebp
cmp dword [0x1698c], ebp
je 0x1642b
push esi
push edi
xor edi, edi
cmp dword [0x16998], ebp
jbe 0x160de
jmp 0x160c9
mov esi, dword [eax]
mov ecx, dword [esi + 0x18]
mov dword [eax], ecx
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x160b4
add eax, 0xa8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jns 0x160b4
push dword [esi + 0x10]
call fcn.00015038
mov dword [esi + 0x10], ebp
mov dword [esi + 0x10], ebp
lea eax, [esi + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jns 0x160c9
push esi
call fcn.00014fa0
mov eax, dword [0x169e8]
lea eax, [eax + edi*4]
cmp dword [eax], ebp
jne 0x1608c
inc edi
cmp edi, dword [0x16998]
jb 0x160c9
mov eax, dword [0x169e4]
cmp eax, ebp
je 0x16113
mov dword [eax + 0x10], ebp
mov eax, dword [0x169e4]
add eax, 0x14
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jns 0x16106
push dword [0x169e4]
call fcn.00014fa0
or dword [0x169e0], 0xffffffff
mov dword [0x169e4], ebp
xor ecx, ecx
cmp dword [0x16944], ebp
mov dword [esp + 0x14], ecx
jbe 0x1635d
push ebx
jmp 0x1633f
mov esi, dword [eax]
sub esi, 0x8c
lea eax, [esi + 0x8c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [ecx + 4], eax
cmp dword [esi + 0x30], ebp
jne 0x161d8
cmp byte [esi + 0x1a], 0
jne 0x1615d
push dword [esi + 0x88]
call fcn.000128a2
mov eax, dword [esi + 0x64]
cmp eax, ebp
je 0x1617d
add eax, 0xa8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jns 0x1617d
push dword [esi + 0x64]
call fcn.00015038
mov dword [esi + 0x64], ebp
mov eax, dword [esi + 0x60]
cmp eax, ebp
mov dword [esi + 0x64], ebp
je 0x1619e
add eax, 0x14
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jns 0x1619e
push dword [esi + 0x60]
call fcn.00014fa0
mov dword [esi + 0x60], ebp
mov eax, dword [esi + 4]
mov dword [esi + 0x60], ebp
cmp eax, dword [0x169e0]
jne 0x161b2
push esi
call fcn.000156ee
xor eax, eax
mov ax, word [esi + 0x68]
push eax
mov eax, dword [0x16970]
call dword [eax + 0x3c]
lea eax, [esi + 0xa8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jns 0x161d8
push esi
call fcn.00015038
xor esi, esi
mov ax, word [esi + 0x16]
test al, 2
je 0x16269
and ax, 0xfffd
push esi
mov word [esi + 0x16], ax
call fcn.00010434
jmp 0x16269
mov edi, dword [esi + 0x78]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
sub edi, 0x40
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x3c]
add eax, 0xa8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jns 0x16220
push dword [edi + 0x3c]
call fcn.00015038
mov dword [edi + 0x3c], ebp
mov ebx, dword [edi + 0x24]
mov ebp, dword [ebx + 8]
lea ecx, [ebp + 0x78]
mov dword [esp + 0x14], ecx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov dl, al
mov eax, dword [ebx + 0xc]
mov dword [edi], eax
mov dword [ebx + 0xc], edi
inc dword [ebp + 0xc]
dec dword [ebx + 0x10]
mov byte [esp + 0x13], dl
jne 0x1625d
cmp byte [ebp + 0x1c], 0
je 0x1627b
add ebx, 0x20
push ebx
call dword [sym.imp.ntoskrnl.exe_KeQuerySystemTime]
mov dl, byte [esp + 0x13]
mov ecx, dword [esp + 0x14]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
xor ebp, ebp
lea eax, [esi + 0x78]
cmp dword [eax], eax
jne 0x161f4
lea ebx, [esi + 0x80]
jmp 0x16308
xor ecx, ecx
mov eax, 0x16964
inc ecx
lock xadd dword [eax], ecx
cmp byte [0x16960], 0
jne 0x16297
call fcn.00010a2e
jmp 0x16259
mov ecx, dword [esp + 0x14]
mov byte [ebp + 0x1c], 1
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
lea eax, [ebp + 0x58]
push eax
push dword [0x16724]
add ebp, 0x30
push dword [0x16720]
push ebp
call dword [sym.imp.ntoskrnl.exe_KeSetTimer]
jmp 0x16267
mov edi, dword [ebx]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
push 0xc000023c
push dword [edi + 0x10]
lea eax, [edi + 0x18]
push dword [edi + 8]
push eax
mov eax, dword [0x16970]
call dword [eax + 0x40]
mov eax, dword [edi + 0x14]
add eax, 0xa8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jns 0x16300
push dword [edi + 0x14]
call fcn.00015038
mov dword [edi + 0x14], ebp
push ebp
push edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp dword [ebx], ebx
jne 0x162c1
mov eax, dword [esi + 0x20]
cmp eax, ebp
mov dword [esi + 0x30], 1
je 0x16326
push dword [esi + 0x24]
push eax
call fcn.00015c5a
mov dword [esi + 0x20], ebp
lea eax, [esi + 0xa8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jns 0x1633b
push esi
call fcn.00015038
mov ecx, dword [esp + 0x18]
mov eax, dword [0x16ad4]
lea eax, [eax + ecx*8]
cmp dword [eax], eax
jne 0x1612b
inc ecx
cmp ecx, dword [0x16944]
mov dword [esp + 0x18], ecx
jb 0x1633f
pop ebx
mov eax, dword [0x1693c]
mov ecx, dword [eax + 0x20]
cmp ecx, ebp
pop edi
pop esi
je 0x16381
push dword [eax + 0x24]
push ecx
call fcn.00015c5a
mov eax, dword [0x1693c]
mov dword [eax + 0x20], ebp
mov eax, dword [0x1693c]
cmp dword [eax + 0x30], ebp
jne 0x163b9
mov dword [eax + 0x30], 1
mov eax, dword [0x1693c]
add eax, 0xa8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jns 0x163b4
push dword [0x1693c]
call fcn.00015038
xor eax, eax
mov dword [0x1693c], eax
jmp 0x163b9
mov eax, dword [0x1693c]
add eax, 0xa8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jns 0x163e2
push dword [0x1693c]
call fcn.00015038
mov dword [0x1693c], ebp
jmp 0x163e2
push ebp
push ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [0x169f4]
cmp eax, ebp
mov ecx, eax
je 0x16402
mov eax, dword [eax]
cmp eax, ebp
mov dword [0x169f4], eax
jne 0x163da
jmp 0x16402
push ebp
push ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [0x16ae4]
cmp eax, ebp
mov ecx, eax
je 0x16418
mov eax, dword [eax]
cmp eax, ebp
mov dword [0x16ae4], eax
jne 0x163fa
push ebp
push dword [0x1698c]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov dword [0x1698c], ebp
xor eax, eax
pop ebp
add esp, 0xc
ret