Function at 0x1400014c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor edi, edi
mov dword [rsp + 0x60], 1
mov ecx, 0x80
mov qword [rsp + 0x50], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140001557
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
test eax, eax
jne 0x14000154e
lea r9, [rsp + 0x68]
mov edx, 0x80
lea r8, str.__X_
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
test rax, rax
je 0x14000154e
mov rdx, rbx
lea rcx, str.e_38_5_240m_s_e_0m_e_38_5_117mie_0m__Enabling_ansi_support_for_command_prompt..._n
call fcn.1400011a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, str.Console
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1400015ad
mov r8d, eax
lea rcx, [0x1400045b8]
xor edx, edx
call fcn.140001b90
xor al, al
jmp 0x1400016d5
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 4
lea rdx, str.VirtualTerminalLevel
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1400015f6
mov r8d, eax
lea rcx, [0x1400045d8]
xor edx, edx
call fcn.140001b90
xor al, al
jmp 0x1400016d5
mov ecx, 0x80
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000165f
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
test eax, eax
jne 0x140001656
lea r9, [rsp + 0x68]
mov edx, 0x80
lea r8, str.__X_
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
test rax, rax
je 0x140001656
mov rdx, rbx
lea rcx, str.e_38_5_240m_s_e_0m_e_38_5_154me_0m__Registry_key_and_value_created_successfully._Terminal_restart_required._n
call fcn.1400011a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x80
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1400016c8
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
test eax, eax
jne 0x1400016bf
lea r9, [rsp + 0x68]
mov edx, 0x80
lea r8, str.__X_
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
test rax, rax
je 0x1400016bf
mov rdx, rbx
lea rcx, str.e_38_5_240m_s_e_0m_e_38_5_154me_0m__Heh._Well_take_care_of_that_for_you._See_ya_round__initiate._n
call fcn.1400011a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140002610
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret