Function at 0x14001ddac
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x140050ed0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov dword [rbp - 0x11], 0x41
mov eax, dword [rbp - 0x11]
xor al, 0x43
mov byte [rbp - 0xd], al
mov eax, dword [rbp - 0x11]
inc al
xor al, 0x3a
mov byte [rbp - 0xc], al
mov eax, dword [rbp - 0x11]
add al, 2
xor al, 0x5c
mov byte [rbp - 0xb], al
mov eax, dword [rbp - 0x11]
add al, 3
xor al, 0x63
mov byte [rbp - 0xa], al
mov eax, dword [rbp - 0x11]
add al, 4
xor al, 0x73
mov byte [rbp - 9], al
xor eax, eax
mov byte [rbp - 8], al
mov al, byte [rbp - 0xd]
xor edi, edi
mov edx, edi
mov al, byte [rbp + rdx - 0xd]
mov ecx, dword [rbp - 0x11]
add cl, dl
xor cl, al
mov byte [rbp + rdx - 0xd], cl
inc rdx
cmp rdx, 5
jb 0x14001de1e
mov byte [rbp - 8], dil
mov qword [rbp + 0x2f], rdi
mov qword [rbp + 0x3f], rdi
mov r14d, 0xf
mov qword [rbp + 0x47], r14
mov byte [rbp + 0x2f], dil
lea rdx, [rbp - 0xd]
lea rcx, [rbp + 0x2f]
call fcn.140005d40
nop
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0x10
cmovae rcx, qword [rbp + 0x2f]
call qword [0x1400543c8]
cmp eax, 0xffffffff
je 0x14001de7d
test al, 0x10
mov bl, 1
jne 0x14001de80
mov bl, dil
mov rdx, qword [rbp + 0x47]
cmp rdx, 0x10
jb 0x14001debe
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001deb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001deb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002404c
mov qword [rbp + 0x3f], rdi
mov qword [rbp + 0x47], r14
mov byte [rbp + 0x2f], dil
test bl, bl
je 0x14001e04e
mov dword [0x14005431c], 1
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov qword [rbp - 0x49], rdi
mov dword [rbp - 1], 0x62
mov eax, dword [rbp - 1]
xor al, 0x77
mov byte [rbp + 3], al
xor eax, eax
mov byte [rbp + 4], al
mov al, byte [rbp + 3]
mov al, byte [rbp + 3]
mov ecx, dword [rbp - 1]
xor cl, al
mov byte [rbp + 3], cl
mov byte [rbp + 4], dil
mov dword [rbp + 0xf], 0x21
mov byte [rbp + 0x13], 0x62
mov byte [rbp + 0x14], 0x6e
mov byte [rbp + 0x15], 0x6f
mov byte [rbp + 0x16], 0x6e
mov byte [rbp + 0x17], 0x74
mov byte [rbp + 0x18], 0x75
mov byte [rbp + 0x19], 5
xor eax, eax
mov byte [rbp + 0x1a], al
mov al, byte [rbp + 0x13]
mov rdx, rdi
mov al, byte [rbp + rdx + 0x13]
mov ecx, dword [rbp + 0xf]
xor cl, al
mov byte [rbp + rdx + 0x13], cl
inc rdx
cmp rdx, 7
jb 0x14001df3a
mov byte [rbp + 0x1a], dil
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [rbp + 3]
lea rdx, [rbp + 0x13]
lea rcx, [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov dword [rbp + 7], 0x20
mov eax, dword [rbp + 7]
xor al, 0x72
mov byte [rbp + 0xb], al
xor eax, eax
mov byte [rbp + 0xc], al
mov al, byte [rbp + 0xb]
mov al, byte [rbp + 0xb]
mov ecx, dword [rbp + 7]
xor cl, al
mov byte [rbp + 0xb], cl
mov byte [rbp + 0xc], dil
mov dword [rbp + 0x1f], 0x1f
mov byte [rbp + 0x23], 0x5c
mov byte [rbp + 0x24], 0x50
mov byte [rbp + 0x25], 0x51
mov byte [rbp + 0x26], 0x56
mov byte [rbp + 0x27], 0x51
mov byte [rbp + 0x28], 0x3b
xor eax, eax
mov byte [rbp + 0x29], al
mov al, byte [rbp + 0x23]
mov rdx, rdi
mov al, byte [rbp + rdx + 0x23]
mov ecx, dword [rbp + 0x1f]
xor cl, al
mov byte [rbp + rdx + 0x23], cl
inc rdx
cmp rdx, 6
jb 0x14001dfc4
mov byte [rbp + 0x29], dil
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [rbp + 0xb]
lea rdx, [rbp + 0x23]
lea rcx, [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov byte [rbp - 0x19], 0x4a
mov byte [rbp - 0x18], 0x4b
mov byte [rbp - 0x17], 0x48
mov byte [rbp - 0x16], 0x5b
mov byte [rbp - 0x15], 0x4d
mov byte [rbp - 0x14], dil
mov al, byte [rbp - 0x19]
mov rcx, rdi
mov al, byte [rbp + rcx - 0x19]
sub al, 6
mov byte [rbp + rcx - 0x19], al
inc rcx
cmp rcx, 5
jb 0x14001e019
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x29], r14
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.140005d40
lea rcx, [rbp - 0x41]
call fcn.140018244
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140023da0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret