Function at 0x416710
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 0x416784
cmp edi, eax
je 0x416789
call fcn.0041a633
cmp esi, ebx
je 0x416a71
test edi, edi
jne 0x41679a
call fcn.0041a633
cmp esi, dword [edi + 4]
jne 0x4167a4
call fcn.0041a633
cmp dword [esi + 0x10], 1
jne 0x41686a
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x2c]
add ebx, 0x28
cmp esi, dword [edi + 4]
mov dword [esp + 0x3c], ecx
jne 0x4167c6
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 0x4167e4
cmp ecx, ebx
je 0x4167ed
call fcn.0041a633
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
cmp dword [eax + 4], ecx
je 0x416807
cmp esi, dword [edi + 4]
jne 0x416800
call fcn.0041a633
mov esi, dword [esi]
jmp 0x416775
cmp esi, dword [edi + 4]
jne 0x416811
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 0x41683d
cmp ebp, ebx
je 0x416846
call fcn.0041a633
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x44]
jne 0x41692c
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 0x416775
cmp esi, dword [edi + 4]
jne 0x416874
call fcn.0041a633
cmp dword [esi + 0x10], 2
jne 0x4169cf
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x38]
add ebx, 0x34
cmp esi, dword [edi + 4]
mov dword [esp + 0x4c], eax
jne 0x416896
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 0x4168b4
cmp ecx, ebx
je 0x4168bd
call fcn.0041a633
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
cmp dword [eax + 4], edx
jne 0x4167f6
cmp esi, dword [edi + 4]
jne 0x4168d4
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 0x416900
cmp ebp, ebx
je 0x416909
call fcn.0041a633
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x54]
jne 0x41697c
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 0x416775
test ebp, ebp
jne 0x416939
call fcn.0041a633
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 4]
jne 0x416947
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 0x41696e
call fcn.0041a633
lea eax, [esi + 8]
lea ecx, [esp + 0x78]
push eax
push ecx
lea ecx, [ebx + 0x28]
jmp 0x4169ca
test ebp, ebp
jne 0x416989
call fcn.0041a633
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 4]
jne 0x416997
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 0x4169be
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 0x4169eb
mov eax, dword [esp + 0x34]
push eax
jmp 0x416a76
cmp esi, dword [edi + 4]
jne 0x4169ff
call fcn.0041a633
cmp esi, dword [edi + 4]
jne 0x4169ff
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::NFEvent.0
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], ecx
cmp esi, dword [edi + 4]
jne 0x416a28
call fcn.0041a633
mov edi, dword [esp + 0x1c]
cmp esi, dword [edi + 4]
je 0x416a4d
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