Function at 0x140003c40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov dword [rbp - 0x59], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov r8d, 5
lea rdx, str.test1
lea rcx, [rbp - 0x11]
call fcn.140005400
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0x2f]
call fcn.140001cf0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140003cdb
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003cd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003f19
call fcn.1400063bc
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov r8d, 5
lea rdx, str.test2
lea rcx, [rbp - 0x11]
call fcn.140005400
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0xf]
call fcn.140001cf0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140003d4d
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400063bc
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
test al, 1
jne 0x140003e24
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 0x51]
call fcn.140004d20
mov dword [rbp - 0x59], 4
lea rbx, [rbp - 0x51]
mov rcx, qword [rbp - 0x51]
mov r8, qword [rbp - 0x39]
cmp r8, 0xf
cmova rbx, rcx
lea rdi, [rbp - 0x51]
cmova rdi, rcx
mov r9, qword [rbp - 0x41]
add rdi, r9
cmp rbx, rdi
je 0x140003db3
call fcn.140003c40
xor byte [rbx], 0xaa
inc rbx
cmp rbx, rdi
jne 0x140003d97
mov r8, qword [rbp - 0x39]
mov r9, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x51]
lea rdx, [rbp - 0x51]
cmp r8, 0xf
cmova rdx, rcx
mov r8, r9
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005bf0
lea rdx, [0x140005090]
mov rcx, rax
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
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140003ee7
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ee1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ee1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x31]
call fcn.140004d20
mov dword [rbp - 0x59], 8
lea rbx, [rbp - 0x31]
mov rcx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x19]
cmp r8, 0xf
cmova rbx, rcx
lea rdi, [rbp - 0x31]
cmova rdi, rcx
mov r9, qword [rbp - 0x21]
add rdi, r9
cmp rbx, rdi
je 0x140003e7c
call fcn.140003c40
xor byte [rbx], 0xaa
inc rbx
cmp rbx, rdi
jne 0x140003e60
mov r8, qword [rbp - 0x19]
mov r9, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x31]
lea rdx, [rbp - 0x31]
cmp r8, 0xf
cmova rdx, rcx
mov r8, r9
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005bf0
lea rdx, [0x140005090]
mov rcx, rax
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
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x140003ee7
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ee1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ee1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400063bc
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140003f25
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400063bc
movdqa xmm0, xmmword [0x140008a30]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x140003f74
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400063bc
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140006290
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret