Function at 0x1005bfe60
Capabilities:
Query environment variable

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12d, ecx
call sym.vim.exe_check_options
mov rax, qword [0x1007274a8]
cmp byte [rax], 0
je 0x1005c0158
mov rax, qword [0x1007273d0]
xor edx, edx
cmp byte [rax], 0
mov rax, qword [sym.vim.exe_scroll_region]
setne dl
mov dword [rax], edx
test r12d, r12d
je 0x1005c0038
mov rdx, qword [0x100727438]
cmp byte [rdx], 0
je 0x1005c0090
mov rax, qword [0x100727458]
cmp byte [rax], 0
je 0x1005c00c6
mov rcx, qword [0x100727450]
cmp byte [rcx], 0
je 0x1005c00c6
mov rcx, qword [0x100727478]
cmp byte [rcx], 0
je 0x1005c00ee
mov rcx, qword [0x100727470]
cmp byte [rcx], 0
je 0x1005c00ee
mov rcx, qword [0x100727460]
cmp byte [rcx], 0
je 0x1005c0116
mov r8, qword [0x100727468]
cmp byte [r8], 0
je 0x1005c0116
mov r8, qword [0x100727408]
cmp byte [r8], 0
jne 0x1005bff2f
mov r8, qword [sym.vim.exe_empty_option]
mov r8, qword [r8]
mov qword [0x100727400], r8
cmp byte [rdx], 0
jne 0x1005bff50
mov rdx, qword [0x100727450]
mov qword [0x100727440], rax
mov qword [0x100727448], rax
mov qword [0x100727438], rdx
cmp byte [rax], 0
jne 0x1005bff81
mov rax, qword [0x100727438]
mov qword [0x100727450], rax
mov rax, qword [0x100727440]
cmp byte [rax], 0
jne 0x1005c01d0
mov rax, qword [0x100727448]
mov qword [0x100727458], rax
cmp byte [rcx], 0
jne 0x1005bffb2
mov rax, qword [0x100727438]
mov qword [0x100727468], rax
mov rax, qword [0x100727440]
cmp byte [rax], 0
jne 0x1005c01c0
mov rax, qword [0x100727448]
mov qword [0x100727460], rax
mov rax, qword [0x100727518]
cmp byte [rax], 0
je 0x1005c0138
mov rdx, qword [0x100727510]
cmp byte [rdx], 0
je 0x1005c0138
mov rdx, qword [0x100727540]
cmp byte [rdx], 0
je 0x1005bffea
mov rdx, qword [0x100727538]
cmp byte [rdx], 0
jne 0x1005c0020
mov rdx, qword [sym.vim.exe_empty_option]
mov rdx, qword [rdx]
mov qword [0x100727540], rdx
mov qword [0x100727538], rdx
cmp byte [rax], 0
jne 0x1005c0020
cmp byte [rdx], 0
jne 0x1005c0020
mov rcx, qword [0x100727508]
call sym.vim.exe_free_one_termoption
nop dword [rax + rax]
mov rax, qword [0x100727520]
xor edx, edx
cmp byte [rax], 0
mov rax, qword [sym.vim.exe_p_wiv]
setne dl
mov dword [rax], edx
mov rcx, qword [0x100727508]
mov dword [0x100728824], 1
call fcn.100672ad0
mov rbx, qword [sym.vim.exe_t_colors]
lea rcx, str.COLORS
mov dword [rbx], eax
call sub.msys_2.0.dll_getenv
mov r12, rax
test rax, rax
je 0x1005c0080
call sub.msys_2.0.dll___locale_ctype_ptr
movzx edx, byte [r12]
test byte [rdx + rax + 1], 4
jne 0x1005c0178
add rsp, 0x58
pop rbx
pop r12
ret
mov rax, qword [sym.vim.exe_empty_option]
mov rdx, qword [rax]
mov rax, qword [0x100727458]
mov qword [0x100727530], rdx
mov qword [0x100727448], rdx
mov qword [0x100727440], rdx
mov qword [0x100727438], rdx
cmp byte [rax], 0
jne 0x1005bfec0
mov rax, qword [sym.vim.exe_empty_option]
mov rcx, qword [0x100727478]
mov rax, qword [rax]
mov qword [0x100727450], rax
mov qword [0x100727458], rax
cmp byte [rcx], 0
jne 0x1005bfee0
mov rcx, qword [sym.vim.exe_empty_option]
mov rcx, qword [rcx]
mov qword [0x100727470], rcx
mov qword [0x100727478], rcx
mov rcx, qword [0x100727460]
cmp byte [rcx], 0
jne 0x1005bff00
mov rcx, qword [sym.vim.exe_empty_option]
mov rcx, qword [rcx]
mov qword [0x100727468], rcx
mov qword [0x100727460], rcx
jmp 0x1005bff11
mov rax, qword [sym.vim.exe_empty_option]
mov rax, qword [rax]
mov qword [0x100727518], rax
mov qword [0x100727510], rax
jmp 0x1005bffd2
mov rcx, qword [sym.vim.exe_e_terminal_capability_cm_required]
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sym.vim.exe_emsg
jmp 0x1005bfe7f
mov rcx, r12
call fcn.100672ad0
cmp dword [rbx], eax
je 0x1005c0080
mov dword [rbx], eax
cmp eax, 1
jg 0x1005c01e0
mov byte [rsp + 0x30], 0
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x20], 0
mov r9d, 1
mov r8, rbx
mov edx, 0xffffffff
lea rcx, str.t_Co
call sym.vim.exe_set_string_option_direct
jmp 0x1005c0080
mov qword [0x100727460], rax
jmp 0x1005bffb2
mov qword [0x100727458], rax
jmp 0x1005bff81
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0x30]
mov r8d, 0x14
xor edx, edx
lea r9, [0x1006d70c3]
mov rcx, rbx
call sub.msys_2.0.dll___sprintf_chk
jmp 0x1005c0199