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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4f904]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
push esi
xor esi, esi
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x28]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x1d], 0
lea ecx, [edi + 4]
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
test byte [edi + 0x24], 0x80
je 0x3c411
cmp dword [edi + 0x28], 0
jne 0x3c444
mov ecx, 0x50180
call ebx
mov eax, dword [edi + 0xb4]
test eax, eax
mov dword [ebp - 0x24], eax
je 0x3c5c3
cmp dword [0x59d18], 0
jne 0x3c6fa
mov eax, dword [edi + 0xb8]
inc word [edi + 0x34]
lea ecx, [edi + 4]
mov dword [ebp - 0x38], eax
call ebx
call fcn.0001cba3
mov esi, eax
lea eax, [ebp - 0x64]
push eax
push dword [0x59cf0]
call fcn.00014a8b
test eax, eax
mov dword [ebp - 0x30], eax
je 0x2c09a
and word [eax + 0x1c], 0
test esi, esi
je 0x2c29b
cmp dword [ebp - 0x30], 0
je 0x2c29b
push dword [ebp + 0x14]
lea eax, [ebp - 0x1c]
push dword [ebp + 0xc]
push eax
call fcn.000128ab
mov eax, dword [ebp - 0x30]
or dword [esi + 0x78], 4
mov dword [esi + 0xb4], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x4c]
mov byte [esi + 0x1c], 1
push dword [eax]
movzx eax, byte [eax + 8]
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x16
push dword [ebp - 0x38]
call dword [ebp - 0x24]
cmp eax, 0xc0000016
mov dword [ebp - 0x24], eax
jne 0x3c61f
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x60]
push 0x20a30
mov dword [ebp - 0x38], eax
mov eax, dword [eax + 0x18]
push ecx
push dword [eax + 0xc]
call fcn.00014950
test eax, eax
jl 0x3c614
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 4]
test edx, edx
jne 0x3c752
and dword [eax + 0x18], 0
and dword [ebp - 0x34], 0
mov dword [eax + 8], fcn.0001a45c
mov edx, dword [ebp - 0x44]
and word [eax + 0x1c], 0
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 0x18]
mov ecx, dword [eax + 4]
cmp ecx, dword [0x50004]
jne 0x3c78e
cmp dword [eax + 0x10], 2
jne 0x3c78e
mov eax, dword [eax + 0xc]
test eax, eax
je 0x3c78e
lea ecx, [ebp - 0x45]
push ecx
push dword [eax]
call fcn.00016bbe
test eax, eax
mov dword [ebp - 0x34], eax
je 0x3c78e
mov ecx, dword [eax + 0x14]
cmp ecx, dword [ebp - 0x58]
jne 0x2c28e
test byte [eax + 0x11], 3
jne 0x2c28e
lea ecx, [edi + 4]
mov dword [ebp - 0x30], ecx
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
xor eax, eax
inc eax
push eax
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x38]
push dword [eax + 4]
push esi
push dword [ebp - 0x34]
call fcn.0001c3e7
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
lea eax, [esi + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x3c]
mov dx, word [ecx]
mov word [esi + 0x14], dx
mov cx, word [ecx + 2]
mov word [esi + 0x16], cx
jne 0x3c77c
mov ebx, dword [ebp - 0x34]
mov byte [esi + 0x1c], 3
mov dword [esi + 0xc8], ebx
mov ecx, dword [ebx + 0x40]
mov dword [esi + 0x158], ecx
inc word [ebx + 0x12]
mov dword [ebx + 8], esi
cmp dword [0x59d18], 0
jne 0x2c286
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [esi + 0x30]
push ecx
push eax
call fcn.0001c55a
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [eax], ecx
lea eax, [edi + 0x7c]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov ecx, dword [eax]
mov dword [ecx + 4], ebx
mov dword [ebx + 4], eax
mov dword [eax], ebx
dec word [edi + 0x34]
cmp word [edi + 0x34], 0
jne 0x2c262
mov eax, dword [edi + 0x24]
test al, 0x40
jne 0x2c262
test eax, 0x60007
jne 0x3c764
mov ecx, dword [ebp - 0x30]
mov edi, dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
call edi
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x3c]
call edi
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00010ef2
leave
ret 0x2c
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x30], eax
jmp 0x2c225
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x3c]
call ebx
jmp 0x3c78e
push edi
call fcn.00012aa2
jmp 0x3c94f
lea ecx, [edi + 4]
call ebx
cmp byte [ebp - 0x1d], 0
jne 0x3c6ee
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax + 2]
push 1
push edi
push 6
push eax
push dword [ebp + 0x10]
call fcn.0004a563
test eax, eax
je 0x3c6ee
mov edi, eax
jmp 0x3c60b
inc word [edi + 0x34]
lea eax, [edi + 0x8c]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x24], ecx
je 0x3c52f
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
mov dword [ecx + 4], edx
mov ecx, edx
mov dword [ebp - 0x28], eax
mov dword [eax], ecx
lea ecx, [edi + 4]
mov dword [ebp - 0x34], eax
call ebx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x3c]
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
lea ecx, [edi + 4]
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x28], eax
jne 0x3c4eb
test byte [eax + 0x11], 3
jne 0x3c4eb
mov esi, dword [eax + 8]
test esi, esi
mov dword [ebp - 0x50], esi
je 0x3c4eb
cmp byte [esi + 0x1c], 1
jne 0x3c4eb
lea ecx, [esi + 4]
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
cmp byte [esi + 0x1c], 1
jne 0x3c4e6
test byte [esi + 0x1e], 1
jne 0x3c4e6
mov eax, dword [esi + 0xc]
test eax, eax
je 0x3c4d7
cmp eax, dword [ebp + 0xc]
jne 0x3c4e6
mov ax, word [esi + 0x14]
test ax, ax
je 0x3c517
cmp ax, word [ebp + 0x14]
je 0x3c517
lea ecx, [esi + 4]
call ebx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x3c]
call ebx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
lea eax, [edi + 0x8c]
cmp dword [ebp - 0x24], eax
je 0x3c52f
jmp 0x3c45b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], 1
mov dword [eax], ecx
mov ecx, 0x50180
call ebx
dec word [edi + 0x34]
cmp word [edi + 0x34], 0
jne 0x3c562
mov eax, dword [edi + 0x24]
test al, 0x40
jne 0x3c562
test eax, 0x60007
je 0x3c562
or eax, 0x40
mov dword [edi + 0x24], eax
push edi
lea eax, [edi + 0x94]
push eax
call sub.TDI.SYS_CTEScheduleEvent
cmp dword [ebp - 0x40], 0
je 0x2c048
mov ecx, dword [ebp + 0xc]
inc dword [esi + 8]
lea eax, [esi + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x3c]
mov dx, word [ecx]
mov word [esi + 0x14], dx
mov cx, word [ecx + 2]
mov word [esi + 0x16], cx
mov ecx, dword [esi + 0xb4]
test byte [ecx + 0x1c], 1
jne 0x3c6a8
or dword [esi + 0x78], 4
cmp dword [0x59d18], 0
jne 0x3c6a2
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [esi + 0x30]
push ecx
push eax
call fcn.0001c55a
jmp 0x3c6a8
cmp byte [ebp - 0x1d], al
lea ecx, [edi + 4]
jne 0x3c6f3
inc word [edi + 0x34]
call ebx
mov ecx, 0x50180
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax + 2]
push 1
push edi
push 6
push eax
push dword [ebp + 0x10]
call fcn.0004a563
push edi
mov dword [ebp - 0x38], eax
call fcn.00012aa2
cmp dword [ebp - 0x38], 0
je 0x3c6ee
mov edi, dword [ebp - 0x38]
mov byte [ebp - 0x1d], 1
jmp 0x2c024
and dword [ebp - 0x44], 0
mov dword [ebp - 0x24], 0xc000021b
mov eax, dword [ebp - 0x30]
test byte [eax + 0x1c], 2
je 0x3c639
mov eax, 0x504a0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
call fcn.0001042f
push dword [ebp - 0x30]
push dword [0x59cf0]
call fcn.000149c4
push esi
call fcn.0001ab51
cmp byte [ebp - 0x1d], 0
jne 0x3c947
cmp dword [ebp - 0x24], 0xc0000236
jne 0x3c947
mov ecx, 0x50180
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax + 2]
push 1
push edi
push 6
push eax
push dword [ebp + 0x10]
call fcn.0004a563
mov esi, eax
test esi, esi
je 0x3c940
push edi
call fcn.00012aa2
mov edi, esi
mov esi, dword [ebp - 0x50]
mov byte [ebp - 0x1d], 1
jmp 0x2c024
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x34]
mov byte [esi + 0x1c], 3
dec dword [edi + 0x28]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
lea ecx, [edi + 0x80]
mov edx, dword [ecx]
mov dword [edx], eax
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov dword [ecx], eax
lea ecx, [edi + 0x7c]
mov dword [eax], ecx
lea ecx, [esi + 4]
call ebx
lea ecx, [edi + 4]
call ebx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x3c]
call ebx
jmp 0x2c275
mov ecx, 0x50180
call ebx
jmp 0x3c983
call fcn.00049a41
test eax, eax
je 0x3c74d
push dword [ebp + 0x30]
mov ecx, dword [ebp - 0x3c]
push dword [ebp + 0x24]
mov edx, dword [ebp + 0x10]
push dword [ebp - 0x60]
mov esi, dword [ebp + 0xc]
push ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edx
mov bx, word [ecx]
push edx
mov word [eax + 0x14], bx
mov bx, word [ecx + 2]
push esi
mov word [eax + 0x16], bx
mov ebx, dword [ebp + 0x2c]
push edi
push eax
mov dword [eax + 0x24], ebx
call fcn.0004e0bb
test al, al
je 0x3c983
mov eax, dword [ebp - 0x5c]
mov byte [eax], 1
jmp 0x3c983
lea ecx, [edi + 4]
jmp 0x3c6f3
cmp dword [edx + 0x14], 0
je 0x2c135
mov dword [eax + 0x18], edx
jmp 0x2c139
or eax, 0x40
push edi
mov dword [edi + 0x24], eax
add edi, 0x94
push edi
call sub.TDI.SYS_CTEScheduleEvent
jmp 0x2c262
mov ecx, dword [ebp - 0x30]
call ebx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x3c]
call ebx
jmp 0x3c90e
mov ebx, dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
mov ecx, 0x50180
call ebx
lea ecx, [edi + 4]
mov dword [ebp - 0x30], ecx
call ebx
lea eax, [edi + 0x84]
mov ebx, dword [eax]
mov dword [ebp - 0x24], 0xc000023a
jmp 0x3c822
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
mov dword [eax + 4], ecx
mov eax, ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebx], eax
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
mov ecx, dword [ebx + 0x3c]
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
mov ecx, dword [ebp - 0x30]
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
cmp dword [ebp - 0x28], ebx
jne 0x3c802
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebp - 0x58]
jne 0x3c802
test byte [ebx + 0x11], 3
je 0x3c82c
mov ecx, dword [ebx + 0x3c]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
lea eax, [edi + 0x84]
cmp ebx, eax
je 0x3c8f0
jmp 0x3c7b4
xor eax, eax
inc eax
push eax
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x38]
push dword [eax + 4]
push esi
push ebx
call fcn.0001c3e7
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
lea eax, [esi + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x3c]
mov dx, word [ecx]
mov word [esi + 0x14], dx
mov cx, word [ecx + 2]
mov word [esi + 0x16], cx
jne 0x3c8d0
mov byte [esi + 0x1c], 3
mov dword [esi + 0xc8], ebx
mov ecx, dword [ebx + 0x40]
mov dword [esi + 0x158], ecx
inc word [ebx + 0x12]
mov dword [ebx + 8], esi
cmp dword [0x59d18], 0
mov dword [ebp - 0x40], 1
jne 0x3c8a3
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [esi + 0x30]
push ecx
push eax
call fcn.0001c55a
jmp 0x3c8a9
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x30], eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [eax], ecx
lea eax, [edi + 0x80]
mov ecx, dword [eax]
mov dword [ecx], ebx
mov ecx, dword [eax]
mov dword [ebx + 4], ecx
mov dword [eax], ebx
lea eax, [edi + 0x7c]
mov dword [ebx], eax
jmp 0x3c8d9
mov ecx, dword [ebx + 0x3c]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
cmp dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jne 0x3c8f9
mov ecx, dword [ebp - 0x30]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
mov ecx, 0x50180
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
cmp dword [ebp - 0x40], 0
jne 0x2c245
lea ebx, [esi + 4]
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
push dword [ebp - 0x24]
push dword [ebp - 0x4c]
push esi
call fcn.0001b1fd
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
push esi
call fcn.0001ab51
push edi
xor esi, esi
call fcn.00012aa2
jmp 0x2c275
mov ecx, 0x50180
call ebx
push edi
call fcn.00012aa2
jmp 0x3c983
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x3c979
test byte [edi + 0x1c], 2
je 0x3c96d
mov eax, 0x504a0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
call fcn.0001042f
push edi
push dword [0x59cf0]
call fcn.000149c4
test esi, esi
je 0x3c983
push esi
call fcn.0001ab51
xor eax, eax
jmp 0x2c277