Function at 0x14003c040
Capabilities:
Encode data using xor
Execute command
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140062010]
xor rax, rsp
mov qword [rbp + 0x40], rax
lea rcx, [rsp + 0x30]
call fcn.140031900
lea rcx, [rsp + 0x30]
call fcn.14003afe0
mov edx, 0x1e
lea rcx, [rbp + 0x20]
call fcn.140034ea0
nop
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [rsp + 0x30]
call fcn.140031900
lea rcx, [rsp + 0x30]
call fcn.14003afe0
call fcn.14003a240
mov dword [rbp], 0xcdd4f3f0
mov dword [rbp + 4], 0xc1cac4db
mov dword [rbp + 8], 0x908f90c8
mov word [rbp + 0xc], 0x100
xor edi, edi
mov ecx, edi
nop dword [rax]
lea eax, [rcx - 0x5b]
xor byte [rbp + rcx], al
inc rcx
cmp rcx, 0xc
jb 0x14003c0e0
mov byte [rbp + 0xd], dil
lea rcx, [rbp]
call fcn.14002c2d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.1400454f0
lea rcx, [rsp + 0x30]
call fcn.140031900
lea rcx, [rsp + 0x30]
call fcn.14003afe0
mov dword [rbp], 0xdbc6f6f5
mov dword [rbp + 4], 0xdec4ddda
mov dword [rbp + 8], 0x8f90c9
mov byte [rbp + 0xc], 1
mov rcx, rdi
nop dword [rax]
lea eax, [rcx - 0x5b]
xor byte [rbp + rcx], al
inc rcx
cmp rcx, 0xb
jb 0x14003c140
mov byte [rbp + 0xc], dil
lea rdx, [rbp]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140044310
mov r14d, edi
mov rsi, rdi
lea r15, [0x140148760]
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov ebx, eax
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x14003c191
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x14003c191
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x14003c1b8
mov byte [rsi + r15], bl
inc r14d
inc rsi
mov word [rsp + 0x20], 0x2a
mov byte [rsp + 0x22], dil
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140044310
cmp bl, 8
jne 0x14003c1de
cmp rsi, 1
jl 0x14003c171
lea rdx, [0x140058518]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140044310
dec r14d
dec rsi
jmp 0x14003c171
cmp bl, 0xd
jne 0x14003c171
movsxd rax, r14d
cmp rax, 0x20
jae 0x14003c3a4
mov byte [rax + r15], dil
mov word [rsp + 0x20], 0xa
mov byte [rsp + 0x22], dil
lea rcx, [rsp + 0x20]
call fcn.14002c2d0
test r14d, r14d
jg 0x14003c351
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rbp]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx edx, word [rbp + 8]
mov eax, 0xf0
and dx, ax
or dx, 0xc
mov word [rbp + 8], dx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movdqa xmm0, xmmword [0x14005a1f0]
movdqu xmmword [rbp], xmm0
mov dword [rbp + 0x10], 0xcfc4c5d4
mov dword [rbp + 0x14], 0x9cdfc8d6
mov dword [rbp + 0x18], 0xacd3cbf3
mov word [rbp + 0x1c], 0x100
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x5b]
xor byte [rbp + rcx], al
inc rcx
cmp rcx, 0x1c
jb 0x14003c280
mov byte [rbp + 0x1d], dil
lea rdx, [rbp]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140044310
mov rcx, rax
lea rdx, [0x1400444e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov dword [rbp], 0xdbd2c7d5
mov word [rbp + 4], 0xcc
mov byte [rbp + 6], 1
nop word [rax + rax]
lea eax, [rdi - 0x5b]
xor byte [rbp + rdi], al
inc rdi
cmp rdi, 5
jb 0x14003c2d0
mov byte [rbp + 6], 0
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14003c326
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c321
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c39d
call fcn.1400462c8
xor eax, eax
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140045d20
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, [rsp + 0x30]
call fcn.140031900
lea rcx, [rsp + 0x30]
call fcn.14003afe0
call fcn.14003b180
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14003c326
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c321
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003c321
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140046448
int3