Function at 0x10017300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008205d
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x100ac1c4]
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 0x1001735f
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 0x10017747
cmp dword [edi + 0x10], 0
je 0x10017747
push 1
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi], eax
mov ecx, dword [0x100ad984]
test ecx, ecx
jne 0x100173f0
push 0x100ab004
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100ad984], 0
jne 0x100173df
push 4
call fcn.1004771c
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 4
test esi, esi
je 0x100173c8
mov ecx, esi
call fcn.10039220
mov byte [ebp - 4], 4
jmp 0x100173ca
xor esi, esi
mov dword [ebp - 4], 0xffffffff
xor ecx, ecx
lea eax, [ebp - 0x38]
lock or dword [eax], ecx
mov dword [0x100ad984], esi
push 0x100ab004
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100ad984]
lea eax, [ebp - 0x28]
push eax
call fcn.1003d080
mov esi, eax
mov dword [ebp - 4], 6
cmp dword [esi + 0x14], 8
jb 0x1001740a
mov esi, dword [esi]
call fcn.100085e0
mov ecx, eax
test ecx, ecx
je 0x10017836
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.100079e0
test al, al
jne 0x1001745d
test esi, esi
jne 0x1001743f
xor ecx, ecx
jmp 0x10017453
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017444
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x3c]
call fcn.1000ffb0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.10005880
call fcn.100085e0
mov ecx, eax
test ecx, ecx
je 0x10017840
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.10007e90
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 0x10017528
lea eax, [ebp - 0x34]
push eax
call fcn.10024780
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.10005c10
cmp byte [ebp - 0x29], 0
je 0x100176fe
lea eax, [ebp - 0x34]
push eax
call fcn.10024780
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xd8]
mov edi, dword [eax]
call fcn.100049d0
mov esi, eax
mov byte [ebp - 4], 0xe
mov ecx, esi
push dword [ebp - 0x38]
call fcn.10006b30
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0xd
jmp 0x100176e7
push 0
push 0
push dword [edi]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp eax, dword [edi]
je 0x100175ae
lea eax, [ebp - 0x34]
push eax
call fcn.10024780
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.10005c10
cmp byte [ebp - 0x29], 0
je 0x100176fe
lea eax, [ebp - 0x34]
push eax
call fcn.10024780
add esp, 4
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xd8]
mov edi, dword [eax]
call fcn.100049d0
mov esi, eax
mov byte [ebp - 4], 0x12
push str.AssociateDevice_failed
push esi
call fcn.100027f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0x11
jmp 0x100176e7
push 0
push 0
push edi
push 0x10015d70
push 0
push 0
call fcn.10057c6e
push 0x640
mov dword [ebp - 0x38], eax
call fcn.1004775a
add esp, 0x1c
test eax, eax
je 0x100176fe
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 0x1001766f
lea eax, [ebp - 0x34]
push eax
call fcn.10024780
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.10005c10
cmp byte [ebp - 0x29], 0
je 0x100176fe
lea eax, [ebp - 0x34]
push eax
call fcn.10024780
add esp, 4
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xd8]
mov edi, dword [eax]
call fcn.100049d0
mov esi, eax
mov byte [ebp - 4], 0x16
push str.FilterGetMessage_failed
push esi
call fcn.100027f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0x15
jmp 0x100176e7
push 0
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
lea eax, [ebp - 0x34]
push eax
call fcn.10024780
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.10005c10
cmp byte [ebp - 0x29], 0
je 0x100176fe
lea eax, [ebp - 0x34]
push eax
call fcn.10024780
add esp, 4
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xd8]
mov edi, dword [eax]
call fcn.100049d0
mov esi, eax
mov byte [ebp - 4], 0x1a
push str.FilterMsgHelper_Init_End
push esi
call fcn.100027f0
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.10006f00
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x34]
call fcn.10005c10
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 0x1001771f
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 0x1001781b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1001781b
lea eax, [ebp - 0x34]
push eax
call fcn.10024780
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 0x10017799
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x10017799
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10017796
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x29]
test al, al
je 0x1001781b
lea eax, [ebp - 0x34]
push eax
call fcn.10024780
add esp, 4
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xd8]
mov edi, dword [eax]
call fcn.100049d0
mov esi, eax
mov byte [ebp - 4], 2
push str.Load_fltlib_failed
push esi
call fcn.100027f0
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.10006f00
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x1001781b
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1001781b
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x1001781b
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.10047acb
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100079c0
push 0x80004005
call fcn.100079c0
int3