Function at 0x1800048e0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x18002e010]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x180004d21
test rdx, rdx
je 0x180004d21
mov rdx, r8
call fcn.1800015c0
test eax, eax
je 0x180004d21
movdqa xmm0, xmmword [0x180029de0]
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x4b0], r13
xor r13d, r13d
movaps xmmword [rsp + 0x490], xmm6
mov word [rsp + 0x30], r13w
movaps xmmword [rsp + 0x480], xmm7
movdqu xmmword [rsp + 0x40], xmm0
inc rax
cmp word [rbx + rax*2], r13w
jne 0x180004962
mov r8, rax
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.180001d60
mov r9d, 9
lea r8, str..pipe_
lea rcx, [rsp + 0x30]
call fcn.1800020b0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [0x18002eca0]
cmp rdx, 8
jb 0x1800049f0
mov rcx, qword [0x18002ec88]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800049eb
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180004d2d
mov rcx, r8
call fcn.180007264
mov rdx, qword [rsp + 0x48]
movups xmmword [0x18002ec88], xmm6
movups xmmword [0x18002ec98], xmm7
cmp rdx, 8
jb 0x180004a40
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004a3b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004d2d
call fcn.180007264
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r13
mov rcx, rdi
call qword [sym.imp.FLTLIB.DLL_FilterConnectCommunicationPort]
mov ebx, eax
test eax, eax
jns 0x180004aa9
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x100
call fcn.180008a10
mov r8d, ebx
lea rdx, str.Error__StartFilter_Connecting_to_filter_port:_0x_08x
lea rcx, [rbp + 0x170]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea rcx, [rbp + 0x170]
call fcn.1800011c0
mov eax, 0xfffffffe
jmp 0x180004b2a
mov rcx, qword [rsp + 0x50]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x4b8], r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov r12, rax
test rax, rax
jne 0x180004b5c
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x100
call fcn.180008a10
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Error__StartFilter_Creating_completion_port:__d
lea rcx, [rbp + 0x170]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea rcx, [rbp + 0x170]
call fcn.1800011c0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [r12 - 3]
mov r12, qword [rsp + 0x4b8]
mov r13, qword [rsp + 0x4b0]
movaps xmm6, xmmword [rsp + 0x490]
movaps xmm7, xmmword [rsp + 0x480]
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.180006e20
add rsp, 0x4c0
pop rdi
pop rbx
pop rbp
ret
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x4f8], rsi
mov qword [rsp + 0x4a8], r14
mov qword [rsp + 0x4a0], r15
test rax, rax
je 0x180004b91
xor edx, edx
lea rcx, [0x180029c90]
call fcn.1800011c0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea r15, [rsp + 0x70]
mov qword [rsp + 0x60], r12
mov r14d, r13d
lea rax, [rsp + 0x68]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea r8, [sym.FsFilterDll.dll_FilterWorker]
mov dword [rsp + 0x20], r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r15], rax
test rax, rax
je 0x180004c74
mov ebx, r13d
nop word [rax + rax]
mov ecx, 0x100888
call fcn.18000f85c
mov rdi, rax
test rax, rax
je 0x180004c6d
lea r9, [rax + 0x100868]
mov r8d, 0x100868
xor eax, eax
mov rdx, rdi
mov qword [r9], rax
mov qword [r9 + 8], rax
mov qword [r9 + 0x10], rax
mov qword [r9 + 0x18], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.FLTLIB.DLL_FilterGetMessage]
mov esi, eax
cmp eax, 0x800703e5
jne 0x180004c63
inc ebx
cmp ebx, 5
jb 0x180004be0
inc r14d
add r15, 8
cmp r14d, 2
jb 0x180004ba3
mov r9d, 0xffffffff
mov dword [rsp + 0x20], r13d
mov r8d, 1
lea rdx, [rsp + 0x70]
mov ecx, r14d
mov esi, r13d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
jmp 0x180004cb5
mov rcx, rdi
call fcn.18000f848
jmp 0x180004cb5
mov esi, 8
jmp 0x180004cb5
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x100
mov esi, eax
call fcn.180008a10
mov r8d, esi
lea rdx, str.Error__StartFilter_Couldnt_create_thread:__d
lea rcx, [rbp + 0x170]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea rcx, [rbp + 0x170]
call fcn.1800011c0
xor edx, edx
lea rcx, [rbp + 0x270]
mov r8d, 0x100
call fcn.180008a10
mov r8d, esi
lea rdx, str.StartFilter_All_done._Result__0x_08x
lea rcx, [rbp + 0x270]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea rcx, [rbp + 0x270]
call fcn.1800011c0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x4a0]
mov eax, esi
mov rsi, qword [rsp + 0x4f8]
mov r14, qword [rsp + 0x4a8]
jmp 0x180004b22
mov rax, 0xffffffffffffffff
jmp 0x180004b42
call fcn.18000f7d0
int3