Function at 0x100654620
Capabilities:
Terminate process

Disassembly:
push rbp
push r12
push rsi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x80]
lea rdx, str.Exiting...
mov dword [sym.vim.exe_exiting], 1
mov r12d, ecx
xor ecx, ecx
call sym.vim.exe_ch_log
mov r9d, dword [sym.vim.exe_exmode_active]
test r9d, r9d
je 0x10065465f
add r12d, dword [sym.vim.exe_ex_exitval]
mov edx, 5
mov ecx, 0x62
call sym.vim.exe_set_vim_var_type
movsxd rdx, r12d
mov ecx, 0x62
call sym.vim.exe_set_vim_var_nr
mov r8d, dword [0x1007156bc]
test r8d, r8d
je 0x1006548c2
call sym.vim.exe_hash_debug_results
cmp dword [sym.vim.exe_v_dying], 1
jle 0x100654729
mov rax, qword [sym.vim.exe_p_viminfo]
cmp byte [rax], 0
jne 0x10065481a
call sym.vim.exe_profile_dump
mov ecx, dword [sym.vim.exe_did_emsg]
test ecx, ecx
jne 0x100654703
mov edx, dword [0x1007156bc]
test edx, edx
je 0x100654717
call sym.vim.exe_job_stop_on_exit
call sym.vim.exe_ruby_end
call sym.vim.exe_python3_end
call sym.vim.exe_perl_end
call sym.vim.exe_netbeans_end
call sym.vim.exe_cs_end
mov eax, dword [sym.vim.exe_garbage_collect_at_exit]
test eax, eax
jne 0x1006548d7
mov ecx, r12d
add rsp, 0x48
pop rbx
pop rsi
pop r12
pop rbp
jmp sym.vim.exe_mch_exit
mov dword [sym.vim.exe_no_wait_return], 0
mov edx, dword [0x1007156bc]
test edx, edx
jne 0x1006546c6
mov eax, dword [sym.vim.exe_Rows]
xor edx, edx
lea ecx, [rax - 1]
call sym.vim.exe_windgoto
jmp 0x1006546c6
mov rdx, qword [sym.vim.exe_first_tabpage]
lea rsi, [rbp - 0x50]
nop dword [rax]
test rdx, rdx
je 0x100654788
mov r8, qword [sym.vim.exe_curtab]
mov rcx, qword [sym.vim.exe_firstwin]
mov rax, rcx
cmp r8, rdx
je 0x100654757
mov rax, qword [rdx + 0x20]
test rax, rax
je 0x100654780
nop dword [rax]
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x100654777
cmp qword [rbx + 0xd0], 0xffffffffffffffff
jne 0x100654878
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x100654760
mov rdx, qword [rdx]
test rdx, rdx
jne 0x10065474b
mov rbx, qword [sym.vim.exe_firstbuf]
test rbx, rbx
je 0x1006547e3
lea rsi, [rbp - 0x50]
nop dword [rax + rax]
cmp qword [rbx + 8], 0
je 0x1006547da
mov rdx, rbx
mov rcx, rsi
call sym.vim.exe_set_bufref
mov rdx, qword [rbx + 0x98]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov ecx, 0xc
mov r8, rdx
call sym.vim.exe_apply_autocmds
mov rcx, rsi
call sym.vim.exe_bufref_valid
test eax, eax
je 0x1006547e3
mov rbx, qword [rbx + 0x68]
test rbx, rbx
jne 0x1006547a0
call sym.vim.exe_is_autocmd_blocked
test eax, eax
jne 0x100654910
mov rax, qword [sym.vim.exe_curbuf]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x65
mov qword [rsp + 0x20], rax
call sym.vim.exe_apply_autocmds
mov rax, qword [sym.vim.exe_p_viminfo]
cmp byte [rax], 0
je 0x100654823
xor edx, edx
xor ecx, ecx
call sym.vim.exe_write_viminfo
cmp dword [sym.vim.exe_v_dying], 1
jg 0x1006546ad
call sym.vim.exe_is_autocmd_blocked
test eax, eax
jne 0x1006548e3
mov rax, qword [sym.vim.exe_curbuf]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x64
mov qword [rsp + 0x20], rax
call sym.vim.exe_apply_autocmds
call sym.vim.exe_profile_dump
mov ecx, dword [sym.vim.exe_did_emsg]
test ecx, ecx
je 0x1006546bc
jmp 0x100654703
mov rdx, rbx
mov rcx, rsi
call sym.vim.exe_set_bufref
mov rdx, qword [rbx + 0x98]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov ecx, 0xe
mov r8, rdx
call sym.vim.exe_apply_autocmds
mov rcx, rsi
call sym.vim.exe_bufref_valid
test eax, eax
je 0x1006548b6
mov qword [rbx + 0xd0], 0xffffffffffffffff
mov rdx, qword [sym.vim.exe_first_tabpage]
jmp 0x100654738
mov eax, dword [sym.vim.exe_Rows]
xor edx, edx
lea ecx, [rax - 1]
call sym.vim.exe_windgoto
jmp 0x10065468b
xor ecx, ecx
call sym.vim.exe_garbage_collect
jmp 0x1006546f2
call sym.vim.exe_unblock_autocmds
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [sym.vim.exe_curbuf]
mov ecx, 0x64
mov qword [rsp + 0x20], rax
call sym.vim.exe_apply_autocmds
call sym.vim.exe_block_autocmds
jmp 0x1006546ad
call sym.vim.exe_unblock_autocmds
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [sym.vim.exe_curbuf]
mov ecx, 0x65
mov qword [rsp + 0x20], rax
call sym.vim.exe_apply_autocmds
call sym.vim.exe_block_autocmds
jmp 0x10065480e