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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4f984]
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 0x3c491
cmp dword [edi + 0x28], 0
jne 0x3c4c4
mov ecx, 0x50200
call ebx
mov eax, dword [edi + 0xb4]
test eax, eax
mov dword [ebp - 0x24], eax
je 0x3c643
cmp dword [0x59d98], 0
jne 0x3c77a
mov eax, dword [edi + 0xb8]
inc word [edi + 0x34]
lea ecx, [edi + 4]
mov dword [ebp - 0x38], eax
call ebx
call fcn.0001cac6
mov esi, eax
lea eax, [ebp - 0x64]
push eax
push dword [0x59d70]
call fcn.00014a8b
test eax, eax
mov dword [ebp - 0x30], eax
je 0x2c06e
and word [eax + 0x1c], 0
test esi, esi
je 0x2c26f
cmp dword [ebp - 0x30], 0
je 0x2c26f
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 0x3c69f
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x60]
push 0x20a3a
mov dword [ebp - 0x38], eax
mov eax, dword [eax + 0x18]
push ecx
push dword [eax + 0xc]
call fcn.00014950
test eax, eax
jl 0x3c694
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 0x3c7d2
and dword [eax + 0x18], 0
and dword [ebp - 0x34], 0
mov dword [eax + 8], fcn.0001a45f
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 [0x50084]
jne 0x3c80e
cmp dword [eax + 0x10], 2
jne 0x3c80e
mov eax, dword [eax + 0xc]
test eax, eax
je 0x3c80e
lea ecx, [ebp - 0x45]
push ecx
push dword [eax]
call fcn.00016bbe
test eax, eax
mov dword [ebp - 0x34], eax
je 0x3c80e
mov ecx, dword [eax + 0x14]
cmp ecx, dword [ebp - 0x58]
jne 0x2c262
test byte [eax + 0x11], 3
jne 0x2c262
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.0001bc29
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 0x3c7fc
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 [0x59d98], 0
jne 0x2c25a
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [esi + 0x30]
push ecx
push eax
call fcn.0001bd9c
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 0x2c236
mov eax, dword [edi + 0x24]
test al, 0x40
jne 0x2c236
test eax, 0x60007
jne 0x3c7e4
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.00010eee
leave
ret 0x2c
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x30], eax
jmp 0x2c1f9
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x3c]
call ebx
jmp 0x3c80e
push edi
call fcn.00012aa2
jmp 0x3c9cf
lea ecx, [edi + 4]
call ebx
cmp byte [ebp - 0x1d], 0
jne 0x3c76e
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax + 2]
push 1
push edi
push 6
push eax
push dword [ebp + 0x10]
call fcn.0004a5e3
test eax, eax
je 0x3c76e
mov edi, eax
jmp 0x3c68b
inc word [edi + 0x34]
lea eax, [edi + 0x8c]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x24], ecx
je 0x3c5af
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 0x3c56b
test byte [eax + 0x11], 3
jne 0x3c56b
mov esi, dword [eax + 8]
test esi, esi
mov dword [ebp - 0x50], esi
je 0x3c56b
cmp byte [esi + 0x1c], 1
jne 0x3c56b
lea ecx, [esi + 4]
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
cmp byte [esi + 0x1c], 1
jne 0x3c566
test byte [esi + 0x1e], 1
jne 0x3c566
mov eax, dword [esi + 0xc]
test eax, eax
je 0x3c557
cmp eax, dword [ebp + 0xc]
jne 0x3c566
mov ax, word [esi + 0x14]
test ax, ax
je 0x3c597
cmp ax, word [ebp + 0x14]
je 0x3c597
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 0x3c5af
jmp 0x3c4db
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, 0x50200
call ebx
dec word [edi + 0x34]
cmp word [edi + 0x34], 0
jne 0x3c5e2
mov eax, dword [edi + 0x24]
test al, 0x40
jne 0x3c5e2
test eax, 0x60007
je 0x3c5e2
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 0x2c01c
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 0x3c728
or dword [esi + 0x78], 4
cmp dword [0x59d98], 0
jne 0x3c722
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [esi + 0x30]
push ecx
push eax
call fcn.0001bd9c
jmp 0x3c728
cmp byte [ebp - 0x1d], al
lea ecx, [edi + 4]
jne 0x3c773
inc word [edi + 0x34]
call ebx
mov ecx, 0x50200
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.0004a5e3
push edi
mov dword [ebp - 0x38], eax
call fcn.00012aa2
cmp dword [ebp - 0x38], 0
je 0x3c76e
mov edi, dword [ebp - 0x38]
mov byte [ebp - 0x1d], 1
jmp 0x2bff8
and dword [ebp - 0x44], 0
mov dword [ebp - 0x24], 0xc000021b
mov eax, dword [ebp - 0x30]
test byte [eax + 0x1c], 2
je 0x3c6b9
mov eax, 0x50520
or ecx, 0xffffffff
lock xadd dword [eax], ecx
call fcn.0001042f
push dword [ebp - 0x30]
push dword [0x59d70]
call fcn.000149c4
push esi
call fcn.0001a7f0
cmp byte [ebp - 0x1d], 0
jne 0x3c9c7
cmp dword [ebp - 0x24], 0xc0000236
jne 0x3c9c7
mov ecx, 0x50200
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.0004a5e3
mov esi, eax
test esi, esi
je 0x3c9c0
push edi
call fcn.00012aa2
mov edi, esi
mov esi, dword [ebp - 0x50]
mov byte [ebp - 0x1d], 1
jmp 0x2bff8
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 0x2c249
mov ecx, 0x50200
call ebx
jmp 0x3ca03
call fcn.00049ac1
test eax, eax
je 0x3c7cd
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.0004e13b
test al, al
je 0x3ca03
mov eax, dword [ebp - 0x5c]
mov byte [eax], 1
jmp 0x3ca03
lea ecx, [edi + 4]
jmp 0x3c773
cmp dword [edx + 0x14], 0
je 0x2c109
mov dword [eax + 0x18], edx
jmp 0x2c10d
or eax, 0x40
push edi
mov dword [edi + 0x24], eax
add edi, 0x94
push edi
call sub.TDI.SYS_CTEScheduleEvent
jmp 0x2c236
mov ecx, dword [ebp - 0x30]
call ebx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x3c]
call ebx
jmp 0x3c98e
mov ebx, dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
mov ecx, 0x50200
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 0x3c8a2
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 0x3c882
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebp - 0x58]
jne 0x3c882
test byte [ebx + 0x11], 3
je 0x3c8ac
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 0x3c970
jmp 0x3c834
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.0001bc29
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 0x3c950
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 [0x59d98], 0
mov dword [ebp - 0x40], 1
jne 0x3c923
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [esi + 0x30]
push ecx
push eax
call fcn.0001bd9c
jmp 0x3c929
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 0x3c959
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 0x3c979
mov ecx, dword [ebp - 0x30]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
mov ecx, 0x50200
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
cmp dword [ebp - 0x40], 0
jne 0x2c219
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.0001ae9c
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
push esi
call fcn.0001a7f0
push edi
xor esi, esi
call fcn.00012aa2
jmp 0x2c249
mov ecx, 0x50200
call ebx
push edi
call fcn.00012aa2
jmp 0x3ca03
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x3c9f9
test byte [edi + 0x1c], 2
je 0x3c9ed
mov eax, 0x50520
or ecx, 0xffffffff
lock xadd dword [eax], ecx
call fcn.0001042f
push edi
push dword [0x59d70]
call fcn.000149c4
test esi, esi
je 0x3ca03
push esi
call fcn.0001a7f0
xor eax, eax
jmp 0x2c24b