Function at 0x140019efc
Capabilities:
Create thread
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov rax, qword [0x140113980]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, qword [0x140114b08]
lea rcx, str.AgentService.NotificationListener::Start:_Entry
call fcn.1400046d8
mov dword [rbp - 0x60], 1
lea rsi, [rdi + 0x98]
lea rbx, [rdi + 0x70]
lea rcx, str.AgentService.FilterConnection::Initialize:_Entry
call fcn.14000457c
mov rcx, qword [rsi]
lea rax, [rcx - 1]
xor r13d, r13d
cmp rax, 0xfffffffffffffffd
ja 0x140019f7b
mov ebx, 0x800700b7
jmp 0x140019fcc
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
jbe 0x14001a2a1
cmp qword [rbx + 0x18], 8
jb 0x140019f93
mov rbx, qword [rbx]
mov r9d, 4
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r13
lea r8, [rbp - 0x60]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.FLTLIB.DLL_FilterConnectCommunicationPort]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x140019fcc
mov edx, eax
lea rcx, str.AgentService.FilterConnection::Initialize:_Failed_to_connect__status__0x_X
call fcn.1400045ac
mov edx, ebx
lea rcx, str.AgentService.FilterConnection::Initialize:_Exit__retStatus__0x_X
call fcn.140019d84
test ebx, ebx
js 0x14001a205
mov r15d, r13d
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop dword [rax + rax]
mov eax, dword [rbp - 0x38]
lea ebx, [rax + rax]
lea r12d, [rbx + rbx*4]
mov rcx, qword [rsi]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001a26e
mov r9d, ebx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
nop dword [rax + rax]
mov qword [rdi + 8], rax
test rax, rax
je 0x14001a1e2
mov eax, dword [rdi + 0x68]
add eax, 0x10
mov dword [rdi + 0x10], eax
lea r14, [rdi + 0x18]
mov qword [rsp + 0x30], r13
mov esi, ebx
mov r8, qword [r14 + 8]
mov rcx, qword [r14]
mov rax, r8
sub rax, rcx
sar rax, 3
cmp rsi, rax
jae 0x14001a075
lea rax, [rcx + rbx*8]
cmp rax, rcx
jne 0x14001a06a
mov qword [r14 + 8], rcx
jmp 0x14001a094
cmp rax, r8
je 0x14001a094
mov qword [r14 + 8], rax
jmp 0x14001a094
jbe 0x14001a094
mov r9, rsi
sub r9, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.14001a834
mov byte [rdi + 0x14], 1
test ebx, ebx
je 0x14001a10e
mov rbx, r13
lock inc dword [rdi + 0x30]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
mov r9, rdi
lea r8, [0x14001a5f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [r14]
mov qword [rbx + rax], rcx
mov rax, qword [r14]
cmp qword [rbx + rax], r13
jne 0x14001a104
lock dec dword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
lea rcx, str.AgentService.NotificationListener::_Failed_to_create_thread__status__0x_X
call fcn.1400045ac
add rbx, 8
sub rsi, 1
jne 0x14001a09f
cmp dword [rdi + 0x30], r13d
je 0x14001a1c3
movsxd rbx, r12d
lea r13, [rdi + 0x38]
mov rdx, rbx
mov rcx, r13
call fcn.14001a710
lea rcx, [rdi + 0x50]
imul r12d, dword [rdi + 0x10]
mov edx, r12d
call fcn.14001a64c
xor r14d, r14d
test rbx, rbx
jle 0x14001a1c0
xor esi, esi
movsxd rax, r14d
lea rcx, [rax + rax*4]
mov rax, qword [r13]
xorps xmm0, xmm0
movups xmmword [rax + rcx*8 + 8], xmm0
movups xmmword [rax + rcx*8 + 0x18], xmm0
mov rax, qword [r13]
mov dword [rsi + rax], r14d
mov rax, qword [r13]
lea rcx, [rcx + 1]
lea r9, [rax + rcx*8]
mov r8d, dword [rdi + 0x10]
mov edx, r8d
imul edx, r14d
add rdx, qword [rdi + 0x50]
lea rcx, [rdi + 0x98]
call fcn.140019cec
cmp eax, 0x800703e5
je 0x14001a1a3
mov edx, eax
lea rcx, str.AgentService.NotificationListener::_Failed_to_post_receive_message__status__0x_X
call fcn.1400045ac
jmp 0x14001a1a6
inc r15d
inc r14d
add rsi, 0x28
sub rbx, 1
jne 0x14001a145
xor r13d, r13d
test r15d, r15d
je 0x14001a1c3
mov ebx, r13d
jmp 0x14001a213
xor r13d, r13d
mov ebx, 0x80004005
mov byte [rdi + 0x14], r13b
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rdi + 8], r13
jmp 0x14001a213
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea rcx, str.AgentService.NotificationListener::_Failed_to_open_completion_port__status__0x_X
jmp 0x14001a20c
lea rcx, str.AgentService.NotificationListener::_Filter_connection_initialized_failed__status__0x_X
mov edx, ebx
call fcn.1400045ac
mov r9d, ebx
lea r8, str.AgentService.NotificationListener::Start:_Exit__retStatus__0x_X
mov edx, 0x100
lea rcx, [rbp - 0x20]
call qword [sym.imp.msvcrt.dll_swprintf_s]
nop dword [rax + rax]
lea rcx, [rbp - 0x20]
call fcn.1400046d8
mov eax, ebx
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400c4a70
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rsp + 0x40]
call fcn.14000621c
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140005ab4
lea rdx, [0x1401096d0]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Attempting_to_assign_an_already_valid_handle.
lea rcx, [rsp + 0x40]
call fcn.14000621c
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140005ab4
lea rdx, [0x1401096d0]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll__CxxThrowException
int3