Function at 0x1401e1fb4
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor r13d, r13d
mov esi, r13d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1401b0900
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.1401cc338
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r12d, eax
mov rbx, qword [rsp + 0x38]
mov qword [rbp - 0x70], rbx
mov rdi, qword [rbx]
mov qword [rbp - 0x68], rdi
lea r14d, [r13 + 1]
cmp rdi, rbx
je 0x1401e22ae
lea rcx, vtable.OHandle.0
mov r8d, dword [rdi + 0x10]
cmp r8d, r12d
je 0x1401e2196
lea rax, vtable.RefCounted.0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x58], r13
mov byte [rsp + 0x60], r13b
mov dword [rsp + 0x64], 0x55
mov byte [rsp + 0x20], r13b
lea r9, [rsp + 0x48]
xor edx, edx
mov ecx, 0x411
call fcn.1401cc52c
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r13
mov word [rbp - 0x60], r13w
lea r8, [rbp - 0x60]
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1401cbd90
lea rcx, [rbp - 0x20]
call fcn.1401e231c
nop
or esi, r14d
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000ac00
test al, al
jne 0x1401e210a
lea rcx, [rbp - 0x40]
call fcn.1401e242c
nop
or esi, 2
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000ac00
test al, al
mov r15b, r14b
je 0x1401e210d
mov r15b, r13b
test sil, 2
je 0x1401e212a
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp - 0x40]
call fcn.14000b190
nop
test r14b, sil
je 0x1401e2145
and esi, 0xfffffffe
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp - 0x20]
call fcn.14000b190
test r15b, r15b
jne 0x1401e215c
mov edx, r14d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1401e21a7
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp - 0x60]
call fcn.14000b190
nop
mov rcx, qword [rsp + 0x58]
lea rax, vtable.OHandle.0
test rcx, rcx
mov qword [rsp + 0x48], rax
je 0x1401e218f
cmp byte [rsp + 0x60], r13b
je 0x1401e218f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, vtable.OHandle.0
mov rdi, qword [rdi]
cmp rdi, rbx
je 0x1401e22a9
jmp 0x1401e2053
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea r8, [rsp + 0x68]
lea rdx, str.Call_to_TerminateProcess_failed._Error___d
lea rcx, [rbp]
call fcn.14000c244
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x1401e21d3
mov rbx, qword [rax]
lea rcx, [rbp + 0x20]
call fcn.14017bf78
lea rcx, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rsp + 0x70], rcx
lea rcx, str.ContextData
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rbx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, str.O15Client::ForceShutdownO15Apps
mov edx, 0x3af
mov ecx, 0x6e06a0
mov r8d, 0xa
call fcn.14000cf28
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp + 0x90]
call fcn.14000b190
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp + 0x70]
call fcn.14000b190
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp + 0x48]
call fcn.14000b190
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp + 0x28]
call fcn.14000b190
nop
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp]
call fcn.14000b190
nop
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp - 0x60]
call fcn.14000b190
nop
lea rax, vtable.OHandle.0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1401e22a6
cmp byte [rsp + 0x60], r13b
je 0x1401e22a6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14b, r13b
mov rbx, qword [rsp + 0x38]
mov rdx, qword [rbx]
mov qword [rbx], rbx
mov rax, qword [rsp + 0x38]
mov qword [rax + 8], rax
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x38]
cmp rdx, rcx
je 0x1401e22e4
mov rbx, qword [rdx]
mov rcx, rdx
call fcn.14015729c
mov rdx, rbx
mov rcx, qword [rsp + 0x38]
cmp rbx, rcx
jne 0x1401e22cc
call fcn.14015729c
mov al, r14b
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140135130
lea r11, [rsp + 0x1c0]
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