Function at 0x1400011e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rdx
xor r12d, r12d
cmp ecx, 2
je 0x140001264
lea rdx, str.Usage:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001780
mov rcx, rax
mov rdx, qword [rbx]
call fcn.140001780
mov rcx, rax
lea rdx, str.__sc1_in_hex_
call fcn.140001780
mov rcx, rax
lea rdx, [0x140001950]
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]
lea eax, [r12 + 1]
jmp 0x1400014b0
mov rdx, qword [rdx + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r12
mov qword [rbp + 7], r12
mov r15, 0xffffffffffffffff
mov r8, r15
inc r8
cmp byte [rdx + r8], r12b
jne 0x140001281
lea rcx, [rbp - 0x11]
call fcn.140001990
nop
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
mov r14, r12
mov qword [rbp - 0x19], r12
mov rsi, r12
mov rdi, qword [rbp - 0x21]
cmp qword [rbp - 1], r12
jbe 0x140001387
nop dword [rax]
nop dword [rax + rax]
mov r8, rsi
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0xf]
call fcn.1400015e0
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r13, rax
lea rbx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rbx, qword [rbp + 0xf]
mov dword [rax], r12d
mov r8d, 0x10
lea rdx, [rbp - 0x31]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp - 0x31]
je 0x140001456
cmp dword [r13], 0x22
je 0x140001448
mov byte [rbp - 0x39], al
cmp rdi, r14
je 0x140001326
mov byte [rdi], al
inc rdi
mov qword [rbp - 0x21], rdi
jmp 0x14000133e
lea r8, [rbp - 0x39]
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.140001a90
mov r14, qword [rbp - 0x19]
mov rdi, qword [rbp - 0x21]
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x140001379
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001374
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001441
call fcn.140001c8c
add rsi, 2
cmp rsi, qword [rbp - 1]
jb 0x1400012c0
mov rsi, qword [rbp - 0x29]
sub rdi, rsi
lea r13, str.kagan
inc r15
cmp byte [r15 + r13], 0
jne 0x140001395
movsxd rdi, edi
test rdi, rdi
je 0x1400013fc
nop word [rax + rax]
xor edx, edx
mov rax, r12
div r15
movzx eax, byte [rdx + r13]
xor byte [r12 + rsi], al
movzx ebx, byte [r12 + rsi]
lea rdx, [0x140003424]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001780
mov rcx, rax
lea rdx, [0x1400011c0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
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___int____ptr64]
inc r12
cmp r12, rdi
jb 0x1400013b0
lea rdx, [0x140001950]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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]
nop
test rsi, rsi
je 0x140001470
sub r14, rsi
mov rax, rsi
cmp r14, 0x1000
jb 0x140001464
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001464
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
mov rdx, r14
mov rcx, rsi
call fcn.140001c8c
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1400014ae
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400014a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001c8c
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140001c30
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret