Function at 0x1400373ec
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401cd300]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
xor r12d, r12d
lea rcx, [rdx + 0xad0]
call fcn.14002dcd4
mov rsi, rax
lea rcx, [rax + 0x10]
call fcn.14002db80
movsxd r14, eax
mov r15, r14
test eax, eax
jne 0x1400374c6
movsd xmm0, qword [0x1400e8b00]
movsd qword [rbp - 0x38], xmm0
mov al, byte [0x1400e8b08]
mov byte [rbp - 0x30], al
mov r8d, r12d
lea r9, [rbp - 0x38]
mov eax, 0x2f684bdb
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 9
jl 0x140037463
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rax, [rbp - 0x38]
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], r12b
jne 0x1400374a9
lea rdx, [rbp - 0x38]
mov r8, rsi
mov rcx, rdi
call fcn.14002c914
jmp 0x140037683
lea rcx, [rbx - 6]
and ecx, 8
call fcn.14002db5c
test al, al
je 0x140037549
movzx eax, word [0x1400e8b0c]
mov word [rbp - 0x40], ax
mov al, byte [0x1400e8b0e]
mov byte [rbp - 0x3e], al
mov r8d, r12d
lea r9, [rbp - 0x40]
mov eax, 0x2f684bdb
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 3
jl 0x1400374f1
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rax, [rbp - 0x40]
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], r12b
jne 0x140037537
lea rdx, [rbp - 0x40]
jmp 0x1400374b6
lea rcx, [rsi + 8]
call fcn.14002dcd4
mov rbx, rax
mov eax, 2
mul r15
mov rsi, 0xffffffffffffffff
cmovb rax, rsi
mov rcx, rax
call fcn.1400df4c8
mov r15, rax
lea r8d, [r14 + r14]
mov rdx, rax
mov rcx, rbx
call fcn.140038874
mov r8d, r12d
mov rcx, r15
lea edx, [r14 - 1]
and edx, 3
dec r14d
lea ebx, [rsi + 8]
cmp r8d, r14d
jge 0x1400375af
add edx, 3
inc r8d
movzx eax, dx
and ax, bx
add word [rcx], ax
add rcx, 2
jmp 0x140037595
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
inc rsi
cmp word [r15 + rsi*2], r12w
jne 0x1400375be
mov r8, rsi
mov rdx, r15
lea rcx, [rbp - 0x28]
call fcn.14002c9f4
nop
mov rcx, r15
call fcn.1400defec
lea rcx, [rbp - 0x28]
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x10]
cmp rdx, rbx
cmova rcx, r8
mov rax, qword [rbp - 0x18]
lea r10, [rcx + rax*2]
lea rax, [rbp - 0x28]
cmova rax, r8
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
cmp rax, r10
jne 0x140037627
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], r12b
jmp 0x140037646
mov r9, r10
sub r9, rax
sar r9, 1
mov r8, r10
mov rdx, rax
mov rcx, rdi
call fcn.14002ce88
mov rdx, qword [rbp - 0x10]
mov r8, qword [rbp - 0x28]
cmp rdx, rbx
jbe 0x140037683
lea rdx, [rdx*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x14003767b
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003767b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400defec
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400df3e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret