Function at 0x140201e30
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 [0x140306028]
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 0x1402020bc
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.14020aff0
mov rax, qword [rbp - 0x28]
mov byte [rax], 0x82
movzx eax, byte [r15 + 0x5c]
cmp rsi, 0x7e
jae 0x140201f0c
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 0x140202015
mov rax, qword [rbp - 0x28]
mov byte [rax + 2], reloc.WS2_32.dll_select
mov rax, qword [rbp - 0x28]
mov byte [rax + 3], reloc.WS2_32.dll_gethostbyname
mov rax, qword [rbp - 0x28]
mov byte [rax + 4], 0x56
mov rax, qword [rbp - 0x28]
mov byte [rax + 5], 0x78
jmp 0x140202015
mov rdx, rsi
shr rdx, 8
cmp rsi, 0x10000
jae 0x140201f73
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 0x140202015
mov rax, qword [rbp - 0x28]
mov byte [rax + 4], reloc.WS2_32.dll_select
mov rax, qword [rbp - 0x28]
mov byte [rax + 5], reloc.WS2_32.dll_gethostbyname
mov rax, qword [rbp - 0x28]
mov byte [rax + 6], 0x56
mov rax, qword [rbp - 0x28]
mov byte [rax + 7], 0x78
jmp 0x140202015
mov ecx, 0x7f
mov r8d, 0xff
test al, al
cmovne ecx, r8d
mov rax, qword [rbp - 0x28]
mov byte [rax + 1], cl
mov rcx, qword [rbp - 0x28]
mov rax, rsi
shr rax, 0x38
mov byte [rcx + 2], al
mov rcx, qword [rbp - 0x28]
mov rax, rsi
shr rax, 0x30
mov byte [rcx + 3], al
mov rcx, qword [rbp - 0x28]
mov rax, rsi
shr rax, 0x28
mov byte [rcx + 4], al
mov rcx, qword [rbp - 0x28]
mov rax, rsi
shr rax, 0x20
mov byte [rcx + 5], al
mov rcx, qword [rbp - 0x28]
mov rax, rsi
shr rax, 0x18
mov byte [rcx + 6], al
mov rcx, qword [rbp - 0x28]
mov rax, rsi
shr rax, 0x10
mov byte [rcx + 7], al
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 0x140202015
mov rax, qword [rbp - 0x28]
mov byte [rax + 0xa], reloc.WS2_32.dll_select
mov rax, qword [rbp - 0x28]
mov byte [rax + 0xb], reloc.WS2_32.dll_gethostbyname
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.14020c5d0
mov r9, qword [rbp + 0x50]
sub r9, rbx
mov rdx, qword [r15 + 0x28]
mov r8, rbx
lea rcx, [r15 + 0x20]
call fcn.14020c5d0
cmp byte [r15 + 0x5c], 0
je 0x14020207f
mov r8, qword [r15 + 0x28]
sub r8, qword [r15 + 0x20]
sub r8, rsi
test rsi, rsi
je 0x14020207f
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 0x140202060
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1402020bc
mov rdx, qword [rbp - 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402020b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402020b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140222190
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140222170
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret