Function at 0x140019b1c
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 - 0x228]
sub rsp, 0x300
mov rax, qword [0x140110980]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, qword [0x140111b08]
lea rcx, str.AgentService.NotificationListener::Start:_Entry
call fcn.140004670
mov dword [rbp - 0x50], 1
lea r12, [rdi + 0x98]
lea rbx, [rdi + 0x70]
lea rcx, str.AgentService.FilterConnection::Initialize:_Entry
call fcn.140004514
mov rcx, qword [r12]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140019b99
mov ebx, 0x800700b7
jmp 0x140019beb
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
jbe 0x140019eb9
cmp qword [rbx + 0x18], 8
jb 0x140019bb1
mov rbx, qword [rbx]
mov r9d, 4
mov qword [rsp + 0x28], r12
and qword [rsp + 0x20], 0
lea r8, [rbp - 0x50]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.FLTLIB.DLL_FilterConnectCommunicationPort]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x140019beb
mov edx, eax
lea rcx, str.AgentService.FilterConnection::Initialize:_Failed_to_connect__status__0x_X
call fcn.140004544
mov edx, ebx
lea rcx, str.AgentService.FilterConnection::Initialize:_Exit__retStatus__0x_X
call fcn.1400199a4
test ebx, ebx
js 0x140019e1d
xor r15d, r15d
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop dword [rax + rax]
mov eax, dword [rbp - 0x28]
lea r14d, [rax + rax]
lea r13d, [r14 + r14*4]
mov dword [rsp + 0x30], r13d
mov rcx, qword [r12]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140019e86
mov r9d, r14d
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 0x140019dfa
mov eax, dword [rdi + 0x68]
add eax, 0x10
mov dword [rdi + 0x10], eax
lea rbx, [rdi + 0x18]
and qword [rsp + 0x38], r15
mov esi, r14d
mov r8, qword [rbx + 8]
mov rcx, qword [rbx]
mov rax, r8
sub rax, rcx
sar rax, 3
cmp rsi, rax
jae 0x140019c9c
lea rax, [rcx + r14*8]
cmp rax, rcx
jne 0x140019c91
mov qword [rbx + 8], rcx
jmp 0x140019cbb
cmp rax, r8
je 0x140019cbb
mov qword [rbx + 8], rax
jmp 0x140019cbb
jbe 0x140019cbb
mov r9, rsi
sub r9, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001a444
mov byte [rdi + 0x14], 1
test r14d, r14d
je 0x140019d36
xor r14d, r14d
lock inc dword [rdi + 0x30]
and qword [rsp + 0x28], r15
and dword [rsp + 0x20], r15d
mov r9, rdi
lea r8, [0x14001a1f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rbx]
mov qword [r14 + rax], rcx
mov rax, qword [rbx]
cmp qword [r14 + rax], r15
jne 0x140019d2c
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.140004544
add r14, 8
sub rsi, 1
jne 0x140019cc7
cmp dword [rdi + 0x30], r15d
je 0x140019dda
movsxd rbx, r13d
lea r13, [rdi + 0x38]
mov rdx, rbx
mov rcx, r13
call fcn.14001a31c
lea rcx, [rdi + 0x50]
mov edx, dword [rdi + 0x10]
imul edx, dword [rsp + 0x30]
call fcn.14001a24c
xor esi, esi
test rbx, rbx
jle 0x140019dda
xor r14d, r14d
movsxd rax, esi
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 [r14 + rax], esi
mov rax, qword [r13]
lea rcx, [rcx + 1]
lea r9, [rax + rcx*8]
mov r8d, dword [rdi + 0x10]
mov edx, r8d
imul edx, esi
add rdx, qword [rdi + 0x50]
mov rcx, r12
call fcn.14001990c
cmp eax, 0x800703e5
je 0x140019dc6
mov edx, eax
lea rcx, str.AgentService.NotificationListener::_Failed_to_post_receive_message__status__0x_X
call fcn.140004544
jmp 0x140019dc9
inc r15d
inc esi
add r14, 0x28
sub rbx, 1
jne 0x140019d6d
test r15d, r15d
jne 0x140019e2b
mov ebx, 0x80004005
mov byte [rdi + 0x14], 0
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
and qword [rdi + 8], 0
jmp 0x140019e2b
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 0x140019e24
lea rcx, str.AgentService.NotificationListener::_Filter_connection_initialized_failed__status__0x_X
mov edx, ebx
call fcn.140004544
mov r9d, ebx
lea r8, str.AgentService.NotificationListener::Start:_Exit__retStatus__0x_X
mov edx, 0x100
lea rcx, [rbp - 0x10]
call qword [sym.imp.msvcrt.dll_swprintf_s]
nop dword [rax + rax]
lea rcx, [rbp - 0x10]
call fcn.140004670
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400c2d60
lea r11, [rsp + 0x300]
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 + 0x48]
call fcn.1400061b0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140005a44
lea rdx, [0x140106f30]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Attempting_to_assign_an_already_valid_handle.
lea rcx, [rsp + 0x48]
call fcn.1400061b0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140005a44
lea rdx, [0x140106f30]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll__CxxThrowException
int3