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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x360
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140122f00]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rsi, qword [0x140124708]
xor r15d, r15d
mov dword [rbp + 0x10], r15d
lea rcx, str.AgentService.NotificationListener::Start:_Entry
call fcn.140003eb0
mov dword [rbp + 0x10], 1
lea rbx, [rsi + 0x70]
lea rdi, [rsi + 0x98]
lea rcx, str.AgentService.FilterConnection::Initialize:_Entry
call fcn.140003dc0
cmp qword [rdi], 0xffffffffffffffff
je 0x14001ad2a
cmp qword [rdi], r15
je 0x14001ad2a
mov ebx, 0x800700b7
jmp 0x14001ad67
cmp qword [rbx + 0x18], 8
jb 0x14001ad34
mov rbx, qword [rbx]
mov r9d, 4
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
lea r8, [rbp + 0x10]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.FLTLIB.DLL_FilterConnectCommunicationPort]
mov ebx, eax
test eax, eax
jns 0x14001ad67
mov edx, eax
lea rcx, str.AgentService.FilterConnection::Initialize:_Failed_to_connect__status__0x_X
call fcn.140003df4
mov edx, ebx
lea rcx, str.AgentService.FilterConnection::Initialize:_Exit__retStatus__0x_X
call fcn.14001ab44
test ebx, ebx
js 0x14001afd2
mov r13d, r15d
lea rcx, [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp + 0x38]
lea r14d, [rax + rax]
mov rcx, qword [rdi]
lea rax, [rcx + 1]
test rax, 0xfffffffffffffffe
jne 0x14001add1
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rsp + 0x68]
call fcn.140005a2c
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x30]
call fcn.140005278
lea rdx, [0x140118428]
lea rcx, [rbp - 0x30]
call sub.msvcrt.dll__CxxThrowException
nop
mov r9d, r14d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov qword [rsi + 8], rax
test rax, rax
je 0x14001afb5
mov eax, dword [rsi + 0x68]
add eax, 0x10
mov dword [rsi + 0x10], eax
mov qword [rsp + 0x30], r15
mov r15d, r14d
lea r12, [rsi + 0x18]
mov rax, qword [r12 + 8]
mov rdx, qword [r12]
mov rcx, rax
sub rcx, rdx
sar rcx, 3
cmp rcx, r15
jbe 0x14001ae52
lea rbx, [rdx + r14*8]
cmp rbx, rdx
jne 0x14001ae29
mov qword [r12 + 8], rdx
jmp 0x14001ae74
cmp rbx, rax
je 0x14001ae74
mov rdi, rax
sub rdi, rax
and rdi, 0xfffffffffffffff8
mov r8, rdi
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_memmove]
lea rax, [rbx + rdi]
mov qword [r12 + 8], rax
jmp 0x14001ae74
jae 0x14001ae74
mov r9, r15
sub r9, rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, r12
call fcn.14001b5fc
mov byte [rsi + 0x14], 1
test r14d, r14d
je 0x14001aee1
xor edi, edi
lock inc dword [rsi + 0x30]
mov rbx, qword [r12]
and qword [rsp + 0x28], r13
and dword [rsp + 0x20], r13d
mov r9, rsi
lea r8, [0x14001b320]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + rbx], rax
mov rax, qword [r12]
cmp qword [rdi + rax], r13
jne 0x14001aed7
lock dec dword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLastError]
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.140003df4
add rdi, 8
sub r15, 1
jne 0x14001ae7f
cmp dword [rsi + 0x30], r13d
je 0x14001af9b
lea ebx, [r14 + r14*4]
movsxd rdi, ebx
lea r12, [rsi + 0x38]
mov rdx, rdi
mov rcx, r12
call fcn.14001b484
lea rcx, [rsi + 0x50]
mov edx, dword [rsi + 0x10]
imul edx, ebx
call fcn.14001b384
xor r14d, r14d
test ebx, ebx
jle 0x14001af9b
xor r15d, r15d
movsxd rax, r14d
lea rbx, [rax + rax*4]
mov rcx, qword [r12]
add rcx, 8
lea rcx, [rcx + rbx*8]
xor edx, edx
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
mov rax, qword [r12]
mov dword [r15 + rax], r14d
mov r9, qword [r12]
mov r8d, dword [rsi + 0x10]
mov edx, r8d
imul edx, r14d
add rdx, qword [rsi + 0x50]
add r9, 8
lea r9, [r9 + rbx*8]
lea rcx, [rsi + 0x98]
call fcn.14001aab0
cmp eax, 0x800703e5
je 0x14001af82
mov edx, eax
lea rcx, str.AgentService.NotificationListener::_Failed_to_post_receive_message__status__0x_X
call fcn.140003df4
jmp 0x14001af85
inc r13d
inc r14d
add r15, 0x28
sub rdi, 1
jne 0x14001af1e
test r13d, r13d
je 0x14001af9b
xor ebx, ebx
jmp 0x14001afe0
mov ebx, 0x80004005
mov byte [rsi + 0x14], 0
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsi + 8], 0
jmp 0x14001afe0
call qword [sym.imp.KERNEL32.dll_GetLastError]
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 0x14001afd9
lea rcx, str.AgentService.NotificationListener::_Filter_connection_initialized_failed__status__0x_X
mov edx, ebx
call fcn.140003df4
mov r9d, ebx
lea r8, str.AgentService.NotificationListener::Start:_Exit__retStatus__0x_X
mov edx, 0x100
lea rcx, [rbp + 0x50]
call qword [sym.imp.msvcrt.dll_swprintf_s]
lea rcx, [rbp + 0x50]
call fcn.140003eb0
mov eax, ebx
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400b3bf0
lea r11, [rsp + 0x360]
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