Function at 0x10016a50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bddd
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x100a6204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.FltLib.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10016aaf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FilterConnectCommunicationPort
push eax
call esi
push str.FilterGetMessage
push dword [ebp - 0x38]
mov dword [edi + 0xc], eax
call esi
mov dword [edi + 0x10], eax
cmp dword [edi + 0xc], 0
je 0x10016e90
cmp dword [edi + 0x10], 0
je 0x10016e90
push 1
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi], eax
mov ecx, dword [0x100a7978]
test ecx, ecx
jne 0x10016b3b
push 0x100a5020
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100a7978], 0
jne 0x10016b2a
push 4
call fcn.10048f93
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 4
test esi, esi
je 0x10016b18
mov ecx, esi
call fcn.1003f990
mov byte [ebp - 4], 4
jmp 0x10016b1a
xor esi, esi
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x38], eax
mov dword [0x100a7978], esi
push 0x100a5020
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100a7978]
lea eax, [ebp - 0x28]
push eax
call fcn.10040680
mov esi, eax
mov dword [ebp - 4], 6
cmp dword [esi + 0x14], 8
jb 0x10016b55
mov esi, dword [esi]
call fcn.10008280
mov ecx, eax
test ecx, ecx
je 0x10016f7b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
push esi
call fcn.100074e0
test al, al
jne 0x10016ba9
test esi, esi
jne 0x10016b8a
xor ecx, ecx
jmp 0x10016b9f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016b90
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x3c]
call fcn.1000f980
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.100053f0
call fcn.10008280
mov ecx, eax
test ecx, ecx
je 0x10016f85
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x40]
push dword [ebp - 0x3c]
push str._s_dir_protect_tip
push eax
call fcn.10007b40
mov eax, dword [edi + 0xc]
lea esi, [edi + 4]
add esp, 0xc
push esi
push 0
push 0
push 0
push 0
push dword [ebp - 0x40]
call eax
mov dword [ebp - 0x38], eax
test eax, eax
jns 0x10016c74
lea eax, [ebp - 0x34]
push eax
call fcn.100243f0
add esp, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x29], al
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x34]
call fcn.10005780
cmp byte [ebp - 0x29], 0
je 0x10016e47
lea eax, [ebp - 0x34]
push eax
call fcn.100243f0
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xd8]
mov edi, dword [eax]
call fcn.10004540
mov esi, eax
mov byte [ebp - 4], 0xe
mov ecx, esi
push dword [ebp - 0x38]
call fcn.10006630
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0xd
jmp 0x10016e30
push 0
push 0
push dword [edi]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp eax, dword [edi]
je 0x10016cfa
lea eax, [ebp - 0x34]
push eax
call fcn.100243f0
add esp, 4
mov byte [ebp - 4], 0x10
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x29], al
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x34]
call fcn.10005780
cmp byte [ebp - 0x29], 0
je 0x10016e47
lea eax, [ebp - 0x34]
push eax
call fcn.100243f0
add esp, 4
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xd8]
mov edi, dword [eax]
call fcn.10004540
mov esi, eax
mov byte [ebp - 4], 0x12
push str.AssociateDevice_failed
push esi
call fcn.100027c0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0x11
jmp 0x10016e30
push 0
push 0
push edi
push 0x10015410
push 0
push 0
call fcn.10059644
push 0x640
mov dword [ebp - 0x38], eax
call fcn.10048fd1
add esp, 0x1c
test eax, eax
je 0x10016e47
lea ecx, [eax + 0x14]
xorps xmm0, xmm0
push ecx
push 0x14
movups xmmword [ecx], xmm0
push eax
mov dword [ecx + 0x10], 0
push dword [esi]
mov eax, dword [edi + 0x10]
call eax
cmp eax, 0x800703e5
je 0x10016db8
lea eax, [ebp - 0x34]
push eax
call fcn.100243f0
add esp, 4
mov byte [ebp - 4], 0x14
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x29], al
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x34]
call fcn.10005780
cmp byte [ebp - 0x29], 0
je 0x10016e47
lea eax, [ebp - 0x34]
push eax
call fcn.100243f0
add esp, 4
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xd8]
mov edi, dword [eax]
call fcn.10004540
mov esi, eax
mov byte [ebp - 4], 0x16
push str.FilterGetMessage_failed
push esi
call fcn.100027c0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0x15
jmp 0x10016e30
push 0
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
lea eax, [ebp - 0x34]
push eax
call fcn.100243f0
add esp, 4
mov byte [ebp - 4], 0x18
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x29], al
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x34]
call fcn.10005780
cmp byte [ebp - 0x29], 0
je 0x10016e47
lea eax, [ebp - 0x34]
push eax
call fcn.100243f0
add esp, 4
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xd8]
mov edi, dword [eax]
call fcn.10004540
mov esi, eax
mov byte [ebp - 4], 0x1a
push str.FilterMsgHelper_Init_End
push esi
call fcn.100027c0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xd8]
call fcn.10006a00
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x34]
call fcn.10005780
mov byte [ebp - 4], 9
or esi, 0xffffffff
mov edx, dword [ebp - 0x40]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10016e68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10016f60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10016f60
lea eax, [ebp - 0x34]
push eax
call fcn.100243f0
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x29], al
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x10016ee2
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x10016ee2
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10016edf
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x29]
test al, al
je 0x10016f60
lea eax, [ebp - 0x34]
push eax
call fcn.100243f0
add esp, 4
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xd8]
mov edi, dword [eax]
call fcn.10004540
mov esi, eax
mov byte [ebp - 4], 2
push str.Load_fltlib_failed
push esi
call fcn.100027c0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd8]
call fcn.10006a00
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x10016f60
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10016f60
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10016f60
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10049342
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100074c0
push 0x80004005
call fcn.100074c0
int3