Function at 0x1400712a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14012e7c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, r9
mov rsi, r8
mov r15, rcx
mov dword [rbp - 0x2c], 0x78563412
cmp dword [rcx + 0x58], 1
jbe 0x14007152c
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x30], dil
mov edx, edi
mov eax, 2
cmp r8, 0x7e
cmovae edx, eax
mov ecx, 8
cmp r8, 0x10000
cmovae eax, ecx
add rdx, rax
movzx eax, byte [r15 + 0x5c]
neg al
sbb rcx, rcx
and ecx, 4
add rdx, rcx
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.1400715c0
mov rax, qword [rbp - 0x28]
mov byte [rax], 0x82
movzx eax, byte [r15 + 0x5c]
cmp rsi, 0x7e
jae 0x14007137c
neg al
sbb cl, cl
and cl, 0x80
or cl, sil
mov rax, qword [rbp - 0x28]
mov byte [rax + 1], cl
cmp byte [r15 + 0x5c], dil
je 0x140071485
mov rax, qword [rbp - 0x28]
mov byte [rax + 2], reloc.WS2_32.dll_select
mov rax, qword [rbp - 0x28]
mov byte [rax + 3], 0x34
mov rax, qword [rbp - 0x28]
mov byte [rax + 4], 0x56
mov rax, qword [rbp - 0x28]
mov byte [rax + 5], 0x78
jmp 0x140071485
mov rdx, rsi
shr rdx, 8
cmp rsi, 0x10000
jae 0x1400713e3
mov ecx, 0x7e
mov r8d, 0xfe
test al, al
cmovne ecx, r8d
mov rax, qword [rbp - 0x28]
mov byte [rax + 1], cl
mov rax, qword [rbp - 0x28]
mov byte [rax + 2], dl
mov rax, qword [rbp - 0x28]
mov byte [rax + 3], sil
cmp byte [r15 + 0x5c], 0
je 0x140071485
mov rax, qword [rbp - 0x28]
mov byte [rax + 4], reloc.WS2_32.dll_select
mov rax, qword [rbp - 0x28]
mov byte [rax + 5], 0x34
mov rax, qword [rbp - 0x28]
mov byte [rax + 6], 0x56
mov rax, qword [rbp - 0x28]
mov byte [rax + 7], 0x78
jmp 0x140071485
mov ecx, 0x7f
mov r8d, 0xff
test al, al
cmovne ecx, r8d
mov rax, qword [rbp - 0x28]
mov byte [rax + 1], cl
mov rcx, rsi
shr rcx, 0x38
mov rax, qword [rbp - 0x28]
mov byte [rax + 2], cl
mov rcx, rsi
shr rcx, 0x30
mov rax, qword [rbp - 0x28]
mov byte [rax + 3], cl
mov rcx, rsi
shr rcx, 0x28
mov rax, qword [rbp - 0x28]
mov byte [rax + 4], cl
mov rcx, rsi
shr rcx, 0x20
mov rax, qword [rbp - 0x28]
mov byte [rax + 5], cl
mov rcx, rsi
shr rcx, 0x18
mov rax, qword [rbp - 0x28]
mov byte [rax + 6], cl
mov rcx, rsi
shr rcx, 0x10
mov rax, qword [rbp - 0x28]
mov byte [rax + 7], cl
mov rax, qword [rbp - 0x28]
mov byte [rax + 8], dl
mov rax, qword [rbp - 0x28]
mov byte [rax + 9], sil
cmp byte [r15 + 0x5c], 0
je 0x140071485
mov rax, qword [rbp - 0x28]
mov byte [rax + 0xa], reloc.WS2_32.dll_select
mov rax, qword [rbp - 0x28]
mov byte [rax + 0xb], 0x34
mov rax, qword [rbp - 0x28]
mov byte [rax + 0xc], 0x56
mov rax, qword [rbp - 0x28]
mov byte [rax + 0xd], 0x78
mov r9, qword [rbp - 0x20]
mov r8, qword [rbp - 0x28]
sub r9, r8
mov rdx, qword [r15 + 0x28]
lea rcx, [r15 + 0x20]
call fcn.140071700
mov r9, qword [rbp + 0x50]
sub r9, rbx
mov rdx, qword [r15 + 0x28]
mov r8, rbx
lea rcx, [r15 + 0x20]
call fcn.140071700
cmp byte [r15 + 0x5c], 0
je 0x1400714ef
mov r8, qword [r15 + 0x28]
sub r8, rsi
sub r8, qword [r15 + 0x20]
test rsi, rsi
je 0x1400714ef
nop dword [rax + rax]
lea rdx, [rdi + r8]
add rdx, qword [r15 + 0x20]
movzx ecx, byte [rdx]
mov rax, rdi
and eax, 3
xor cl, byte [rbp + rax - 0x2c]
mov byte [rdx], cl
inc rdi
cmp rdi, rsi
jne 0x1400714d0
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14007152c
mov rdx, qword [rbp - 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140071527
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140071527
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d83f4
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400d8150
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret