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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4255a8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42d414]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
lea eax, [esi + 0x68]
push eax
mov dword [esp + 0x34], vtable.nfapi::AutoLock.0
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
lea edi, [esi + 4]
mov dword [esp + 0x98], eax
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov dword [esp + 0x1c], edi
test edi, edi
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 4]
je 0x416dc4
cmp edi, eax
je 0x416dc9
call fcn.0041a633
cmp esi, ebx
je 0x4170b1
test edi, edi
jne 0x416dda
call fcn.0041a633
cmp esi, dword [edi + 4]
jne 0x416de4
call fcn.0041a633
cmp dword [esi + 0x10], 1
jne 0x416eaa
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x2c]
add ebx, 0x28
cmp esi, dword [edi + 4]
mov dword [esp + 0x3c], ecx
jne 0x416e06
call fcn.0041a633
lea ebp, [esi + 8]
push ebp
lea edx, [esp + 0x5c]
push edx
mov ecx, ebx
call fcn.0040afd0
mov ecx, dword [eax]
test ecx, ecx
mov dword [esp + 0x24], eax
je 0x416e24
cmp ecx, ebx
je 0x416e2d
call fcn.0041a633
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
cmp dword [eax + 4], ecx
je 0x416e47
cmp esi, dword [edi + 4]
jne 0x416e40
call fcn.0041a633
mov esi, dword [esi]
jmp 0x416db5
cmp esi, dword [edi + 4]
jne 0x416e51
call fcn.0041a633
mov ebx, dword [esp + 0x18]
push ebp
lea edx, [esp + 0x64]
add ebx, 0x10
push edx
mov ecx, ebx
call fcn.004150f0
mov ebp, dword [eax]
test ebp, ebp
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], ecx
je 0x416e7d
cmp ebp, ebx
je 0x416e86
call fcn.0041a633
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x44]
jne 0x416f6c
mov ecx, dword [esp + 0x1c]
push esi
push edi
lea edx, [esp + 0x70]
push edx
call fcn.004166b0
mov edi, dword [eax]
mov esi, dword [eax + 4]
jmp 0x416db5
cmp esi, dword [edi + 4]
jne 0x416eb4
call fcn.0041a633
cmp dword [esi + 0x10], 2
jne 0x41700f
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x38]
add ebx, 0x34
cmp esi, dword [edi + 4]
mov dword [esp + 0x4c], eax
jne 0x416ed6
call fcn.0041a633
lea ebp, [esi + 8]
push ebp
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
call fcn.0040afd0
mov ecx, dword [eax]
test ecx, ecx
mov dword [esp + 0x24], eax
je 0x416ef4
cmp ecx, ebx
je 0x416efd
call fcn.0041a633
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
cmp dword [eax + 4], edx
jne 0x416e36
cmp esi, dword [edi + 4]
jne 0x416f14
call fcn.0041a633
mov ebx, dword [esp + 0x18]
push ebp
lea eax, [esp + 0x7c]
add ebx, 0x1c
push eax
mov ecx, ebx
call fcn.004150f0
mov ebp, dword [eax]
test ebp, ebp
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], ecx
je 0x416f40
cmp ebp, ebx
je 0x416f49
call fcn.0041a633
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x54]
jne 0x416fbc
mov ecx, dword [esp + 0x1c]
push esi
push edi
lea edx, [esp + 0x8c]
push edx
call fcn.004166b0
mov edi, dword [eax]
mov esi, dword [eax + 4]
jmp 0x416db5
test ebp, ebp
jne 0x416f79
call fcn.0041a633
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 4]
jne 0x416f87
call fcn.0041a633
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov ebx, dword [esp + 0x18]
push eax
push ebp
lea edx, [esp + 0x80]
mov dword [esp + 0x28], ecx
push edx
lea ecx, [ebx + 0x10]
call fcn.00415550
cmp esi, dword [edi + 4]
jne 0x416fae
call fcn.0041a633
lea eax, [esi + 8]
lea ecx, [esp + 0x78]
push eax
push ecx
lea ecx, [ebx + 0x28]
jmp 0x41700a
test ebp, ebp
jne 0x416fc9
call fcn.0041a633
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 4]
jne 0x416fd7
call fcn.0041a633
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 0x18]
push eax
push ebp
lea eax, [esp + 0x80]
push eax
lea ecx, [ebx + 0x1c]
mov dword [esp + 0x2c], edx
call fcn.00415550
cmp esi, dword [edi + 4]
jne 0x416ffe
call fcn.0041a633
lea ecx, [esi + 8]
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [ebx + 0x34]
call fcn.0040ae70
push 0
push 0x18
call fcn.00419a50
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41702b
mov eax, dword [esp + 0x34]
push eax
jmp 0x4170b6
cmp esi, dword [edi + 4]
jne 0x41703f
call fcn.0041a633
cmp esi, dword [edi + 4]
jne 0x41703f
call fcn.0041a633
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebx], vtable.nfapi::NFEventOut.0
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], ecx
cmp esi, dword [edi + 4]
jne 0x417068
call fcn.0041a633
mov edi, dword [esp + 0x1c]
cmp esi, dword [edi + 4]
je 0x41708d
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [edx], eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push esi
mov dword [ecx + 4], edx
call fcn.00419cac
add esp, 4
add dword [edi + 8], 0xffffffff
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret