Function at 0x1400d0110
Capabilities:
Terminate process

Disassembly:
test rdx, rdx
je 0x1400d030d
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1401d2800]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, rdx
mov rsi, rcx
mov edx, 0xea60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x78]
cmp eax, 0xffffffff
je 0x1400d03ab
test eax, eax
je 0x1400d02ea
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x1400d01a0
mov ecx, 0xffffffff
mov dword [rsp + 0x30], ecx
jmp 0x1400d01a4
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x58], ecx
mov byte [rsp + 0x68], 0xa
mov dword [rbp - 0x48], r14d
mov byte [rbp - 0x38], 0xa
test edi, edi
setne byte [rbp - 0x68]
mov byte [rbp - 0x58], 1
lea rax, method.Microsoft::NativeHost::CBootHealthCheck.virtual_16
mov qword [rbp - 0x18], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x10], xmm0
movsd xmm1, qword [rsp + 0x68]
movsd qword [rbp], xmm1
lea rax, method.Microsoft::NativeHost::CBootHealthCheck.virtual_16
mov qword [rbp + 8], rax
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbp + 0x10], xmm0
movsd xmm1, qword [rbp - 0x38]
movsd qword [rbp + 0x20], xmm1
lea rax, method.Microsoft::NativeHost::CBootHealthCheck.virtual_16
mov qword [rbp + 0x28], rax
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rbp + 0x30], xmm0
movsd xmm1, qword [rbp - 0x58]
movsd qword [rbp + 0x40], xmm1
lea rax, vtable.Microsoft::NativeHost::WebHostDepr::TerminatingWebView.0
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.nh.dll_void___cdecl_Microsoft::NativeHost::Log_struct_Microsoft::NativeHost::Logging::ILogEvent_const____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rdx, qword [rsi + 0x748]
test rdx, rdx
je 0x1400d0262
mov eax, dword [rdx + 8]
test eax, eax
je 0x1400d0262
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1400d030e
test eax, eax
jne 0x1400d0250
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
lea rax, str.WebviewManager_is_null._Cannot_shutdown.
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], 0x28
lea rax, str.webViewManager
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0xe
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140011760
test al, al
jne 0x1400d032b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
test rbx, rbx
je 0x1400d02ea
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400d02ea
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400d02ea
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14011e980
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov rdi, qword [rsi + 0x740]
mov qword [rsp + 0x38], rdi
mov rbx, qword [rsi + 0x748]
mov qword [rsp + 0x40], rbx
jmp 0x1400d026c
mov dword [rsp + 0x50], 0xe23
mov dword [rsp + 0x54], 0xd
lea rax, str.D:_a_work1_sdev_src_nhhostingwebhostwinWebViewInstance.cpp
mov qword [rsp + 0x58], rax
lea rax, str.void___cdecl_Microsoft::NativeHost::WebHostDepr::WebViewInstance::TerminateBrowserProcessOnTimeOut_void__
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x30], xmm0
mov rax, qword [0x1401d2500]
movups xmm1, xmmword [rax]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x50], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xffffffff
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x20]
call qword [sym.imp.nh.dll_public:_void___cdecl_Microsoft::NativeHost::ErrorChecks::CheckFailureContext::constructor_class_std::basic_string_view_char__struct_std::char_traits_char____class_std::basic_string_view_char__struct_std::char_traits_char____class_std::basic_string_view_char__struct_std::char_traits_char____unsigned_int__struct_std::source_location____ptr64]
nop
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.1400211a0
nop
lea r8, str.D:_a_work1_sdev_src_nhhostingwebhostwinWebViewInstance.cpp
mov edx, 0xe12
call fcn.14002e6a0
int3