Function at 0x140001070
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
xor edi, edi
xor ecx, ecx
mov r14d, edi
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r12d, eax
mov eax, 0x80808081
imul r12d
add edx, r12d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r12d, ecx
lea ecx, [rdi + 0x10]
inc r12b
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea ecx, [rdi + 0x10]
mov r15, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test r15, r15
je 0x1400011b3
test rax, rax
je 0x1400011b3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea ecx, [rax + rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov byte [r15], 0xba
lea ebx, [rdi + 1]
lea rsi, [r15 + 1]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movzx ecx, al
inc ebx
mov eax, 0x80808081
lea rsi, [rsi + 1]
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
mov byte [rsi - 1], cl
cmp ebx, 0x10
jb 0x140001114
movzx edx, r12b
lea rcx, str.___Generated_Key_Byte_:_0x_0.2X__n_n
call fcn.140001010
lea rcx, str.___Original_Key_:
call fcn.140001010
mov ebx, edi
mov rsi, r15
nop
movzx edx, byte [rsi]
lea rcx, str.0x_0.2X
call fcn.140001010
inc ebx
lea rsi, [rsi + 1]
cmp ebx, 0x10
jb 0x140001160
lea rcx, [0x14000229c]
call fcn.140001010
mov edx, edi
nop dword [rax + rax]
movsxd rcx, edx
movzx eax, dl
inc edx
add al, byte [rcx + r15]
xor al, r12b
mov byte [rcx + rbp], al
cmp edx, 0x10
jb 0x140001190
mov rcx, r15
mov r14, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, str.___Protected_Key_:
call fcn.140001010
mov ebx, edi
mov rsi, r14
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rsi]
lea rcx, str.0x_0.2X
call fcn.140001010
inc ebx
lea rsi, [rsi + 1]
cmp ebx, 0x10
jb 0x1400011d0
lea rcx, [0x14000229c]
call fcn.140001010
lea rcx, str._n_n_t_t_t__________________________________________________n_n
call fcn.140001010
lea rcx, str._i__Brute_Forcing_The_Seed_...
call fcn.140001010
mov ecx, 0x10
xor bl, bl
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400012ce
movzx eax, byte [r14]
cmp al, 0xba
je 0x14000123c
nop
inc bl
movzx ecx, al
xor cl, bl
cmp cl, 0xba
jne 0x140001230
movzx edx, bl
lea rcx, str.___FOUND_n___Calculated_Key_Byte_:_0x_0.2X__n
call fcn.140001010
mov edx, edi
nop dword [rax]
movsxd rcx, edx
movzx eax, bl
xor al, byte [rcx + r14]
sub al, dl
inc edx
mov byte [rcx + rsi], al
cmp edx, 0x10
jb 0x140001250
test bl, bl
je 0x1400012ce
lea rcx, str.___Original_Key_:
call fcn.140001010
mov rbx, rsi
nop dword [rax]
movzx edx, byte [rbx]
lea rcx, str.0x_0.2X
call fcn.140001010
inc edi
lea rbx, [rbx + 1]
cmp edi, 0x10
jb 0x140001280
lea rcx, [0x14000229c]
call fcn.140001010
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, str.___Press__Enter__To_Quit_...
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
jmp 0x1400012df
lea rcx, str.____FAILED__n
call fcn.140001010
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret