Function at 0x1400371c0
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x140150a10]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r15, r8
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], r8
lea rax, vtable.CTP::ProcessWatchdog.0
mov qword [rcx], rax
xor r12d, r12d
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov rax, qword [rdx + 8]
test rax, rax
je 0x14003721e
lock inc dword [rax + 8]
mov rax, qword [rdx]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r12
mov qword [rcx + 0x20], r12
mov rax, qword [r8 + 8]
test rax, rax
je 0x140037242
lock inc dword [rax + 8]
mov rax, qword [r8]
mov qword [rcx + 0x18], rax
mov rax, qword [r8 + 8]
mov qword [rcx + 0x20], rax
add rcx, 0x28
mov edx, 2
call fcn.1400a8fac
nop
lea rbx, [rdi + 0x78]
mov qword [rsp + 0x30], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov ecx, 0x68
call fcn.1400ab6e8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
xorps xmm0, xmm0
movups xmmword [rdi + 0x88], xmm0
mov esi, 0xffffffff
cmp qword [r14], 0
jne 0x14003732b
lea ecx, [rsi + 0x19]
call fcn.1400ab6e8
mov rcx, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_Intel::WindowsEventAPI_.0
mov qword [rcx], rax
lea rax, [rcx + 0x10]
lea rdx, vtable.Intel::WindowsEventAPI.0
mov qword [rax], rdx
mov qword [rdi + 8], rax
mov rbx, qword [rdi + 0x10]
mov qword [rdi + 0x10], rcx
test rbx, rbx
je 0x14003732b
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003732b
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14005c601.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14003732b
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14005c601.0]
cmp qword [r15], 0
jne 0x1400373d3
mov ecx, 0x18
call fcn.1400ab6e8
mov rdx, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_Intel::ProcessAPI_.0
mov qword [rdx], rax
lea rax, [rdx + 0x10]
lea rcx, vtable.Intel::ProcessAPI.0
mov qword [rax], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdx
lea rdx, [rsp + 0x38]
lea rcx, [rdi + 0x18]
call fcn.1400122b0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400373d3
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400373d3
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14005c601.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400373d3
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005c601.0]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rax + 8]
call qword [case.0x14005c601.0]
mov qword [rdi + 0x98], rax
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rax + 8]
call qword [case.0x14005c601.0]
mov qword [rdi + 0xa0], rax
cmp qword [rdi + 0x98], 0
je 0x140037556
test rax, rax
je 0x140037556
mov ecx, 0x10
call fcn.1400ab6e8
mov qword [rax], rdi
lea rcx, [0x140037770]
mov qword [rax + 8], rcx
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400126b0]
xor edx, edx
xor ecx, ecx
call fcn.1400bca28
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140037546
cmp dword [rdi + 0x90], 0
jne 0x14003757f
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm0
movups xmmword [rdi + 0x88], xmm0
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x1400374e3
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400374e3
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14005c601.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400374e3
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14005c601.0]
nop
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x140037521
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140037521
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14005c601.0]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140037521
mov rdx, qword [rbx]
mov rcx, rbx
mov rax, qword [rdx + 8]
call qword [case.0x14005c601.0]
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400ab6c0
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsp + 0x58], r12d
mov ecx, 6
call fcn.1400a9148
nop
lea rdx, str.Could_not_create_ProcessWatchdog_events
lea rcx, [rsp + 0x80]
call fcn.140020cd0
lea rdx, [0x14014ce58]
lea rcx, [rsp + 0x80]
call fcn.1400ad94c
int3
call fcn.1400b920c
int3