Function at 0x1400510e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x118
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x80], xmm9
movaps xmmword [rbp + 0x70], xmm8
movaps xmmword [rbp + 0x60], xmm7
movaps xmmword [rbp + 0x50], xmm6
mov qword [rbp + 0x48], 0xfffffffffffffffe
mov qword [rbp - 8], r9
mov rdi, r8
mov qword [rbp], rdx
mov rsi, rcx
mov r15, qword [rbp + 0x100]
lea rbx, [r8*8]
lea r12, [r15*8]
movq xmm1, rbx
movdqa xmm6, xmmword [0x14005da60]
punpckldq xmm1, xmm6
movapd xmm7, xmmword [0x14005da70]
subpd xmm1, xmm7
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
movsd xmm8, qword [0x14005da80]
mulsd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movsd xmm9, qword [0x14005be00]
addsd xmm0, xmm9
cvttsd2si r14, xmm0
shl r14d, 7
sub r14, rbx
movq xmm1, r12
punpckldq xmm1, xmm6
subpd xmm1, xmm7
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mulsd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
addsd xmm0, xmm9
cvttsd2si r13, xmm0
shl r13d, 7
sub r13, r12
xorpd xmm0, xmm0
movapd xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], 0
mov rax, r13
shr rax, 3
mov rdx, r14
shr rdx, 3
add rdx, rdi
add rdx, r15
add rdx, rax
add rdx, 0x10
je 0x14005120a
js 0x1400514b9
lea rcx, [rbp + 0x10]
call fcn.1400302d0
mov rdx, qword [rbp + 0x18]
jmp 0x14005120c
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8, qword [rbp - 8]
mov r9, r15
call fcn.140032080
lea rcx, [rbp + 0x10]
mov rdx, r13
call fcn.140051dc0
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x10]
mov r8, qword [rbp]
mov r9, rdi
call fcn.140032080
lea rcx, [rbp + 0x10]
mov rdx, r14
call fcn.140051dc0
mov r13, qword [rbp + 0x118]
xor edi, edi
lea r14, [rbp + 0x10]
lea r15, [rbp - 0x20]
jmp 0x14005126f
mov byte [rdx], al
inc qword [rbp + 0x18]
inc rdi
cmp rdi, 8
je 0x14005129a
lea eax, [rdi*8]
mov cl, 0x38
sub cl, al
mov rax, r12
shr rax, cl
mov byte [rbp - 0x20], al
mov rdx, qword [rbp + 0x18]
cmp rdx, qword [rbp + 0x20]
jne 0x140051260
mov rcx, r14
mov r8, r15
call fcn.1400303a0
jmp 0x140051266
xor edi, edi
lea r14, [rbp + 0x10]
lea r15, [rbp - 0x20]
jmp 0x1400512bf
mov byte [rdx], al
inc qword [rbp + 0x18]
inc rdi
cmp rdi, 8
je 0x1400512ea
lea eax, [rdi*8]
mov cl, 0x38
sub cl, al
mov rax, rbx
shr rax, cl
mov byte [rbp - 0x20], al
mov rdx, qword [rbp + 0x18]
cmp rdx, qword [rbp + 0x20]
jne 0x1400512b0
mov rcx, r14
mov r8, r15
call fcn.1400303a0
jmp 0x1400512b6
movupd xmm0, xmmword [r13]
movapd xmmword [rbp - 0x30], xmm0
mov rdi, qword [rbp + 0x18]
sub rdi, qword [rbp + 0x10]
cmp rdi, 0x10
jae 0x14005133f
xor r13d, r13d
xor eax, eax
xor edi, edi
xor r12d, r12d
xor r15d, r15d
xor r14d, r14d
xor ebx, ebx
xor r11d, r11d
xor r10d, r10d
xor r9d, r9d
xor r8d, r8d
mov dword [rbp + 0xc], 0
mov dword [rbp], 0
mov dword [rbp - 8], 0
xor ecx, ecx
xor edx, edx
jmp 0x1400513f2
shr rdi, 4
xorpd xmm0, xmm0
xor ebx, ebx
lea r14, [rbp - 0x20]
lea r15, [rbp - 0x40]
lea r12, [rbp - 0x50]
nop word cs:[rax + rax]
mov rax, rbx
shl rax, 4
mov rcx, qword [rbp + 0x10]
movupd xmm1, xmmword [rcx + rax]
xorpd xmm1, xmm0
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x50], xmm0
movapd xmmword [rbp - 0x40], xmm1
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.140051ee0
movapd xmm0, xmmword [rbp - 0x20]
inc rbx
cmp rbx, rdi
jne 0x140051360
movapd xmmword [rbp + 0x30], xmm0
movzx eax, byte [rbp + 0x3f]
mov dword [rbp - 8], eax
movzx eax, byte [rbp + 0x3e]
mov dword [rbp], eax
movzx eax, byte [rbp + 0x3d]
mov dword [rbp + 0xc], eax
movzx r8d, byte [rbp + 0x3c]
movzx r9d, byte [rbp + 0x3b]
movzx r10d, byte [rbp + 0x3a]
movzx r11d, byte [rbp + 0x39]
movzx ebx, byte [rbp + 0x38]
movzx r14d, byte [rbp + 0x37]
movzx r15d, byte [rbp + 0x36]
movzx r12d, byte [rbp + 0x35]
movzx edi, byte [rbp + 0x34]
movzx eax, byte [rbp + 0x33]
movzx r13d, byte [rbp + 0x32]
movzx edx, byte [rbp + 0x30]
movzx ecx, byte [rbp + 0x31]
mov byte [rsi], dl
mov byte [rsi + 1], cl
mov byte [rsi + 2], r13b
mov byte [rsi + 3], al
mov byte [rsi + 4], dil
mov byte [rsi + 5], r12b
mov byte [rsi + 6], r15b
mov byte [rsi + 7], r14b
mov byte [rsi + 8], bl
mov byte [rsi + 9], r11b
mov byte [rsi + 0xa], r10b
mov byte [rsi + 0xb], r9b
mov byte [rsi + 0xc], r8b
mov eax, dword [rbp + 0xc]
mov byte [rsi + 0xd], al
mov eax, dword [rbp]
mov byte [rsi + 0xe], al
mov eax, dword [rbp - 8]
mov byte [rsi + 0xf], al
mov rax, qword [rbp + 0x120]
mov qword [rsp + 0x20], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, rsi
mov r8, qword [rbp + 0x108]
mov r9d, dword [rbp + 0x110]
call fcn.140050fa0
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140051490
mov rdx, qword [rbp + 0x20]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14005148b
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x1400514be
add rdx, 0x27
mov rcx, rax
call fcn.140055568
movaps xmm6, xmmword [rbp + 0x50]
movaps xmm7, xmmword [rbp + 0x60]
movaps xmm8, xmmword [rbp + 0x70]
movaps xmm9, xmmword [rbp + 0x80]
add rsp, 0x118
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.140005830
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3