Function at 0x1400cfdc0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x3b0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rbp + 0x290], rax
xor r15b, r15b
cmp byte [0x1401669f8], r15b
je 0x1400d050c
mov rdi, 0xffffffffffffffff
movabs r12, 0x7fffffffffffffff
mov r13d, 0xeb0
movss xmm6, dword [0x140131a5c]
movabs rbx, 0x7ffffffff70f2e7f
lea rcx, [rbp + 0x40]
call fcn.140005a00
mov rax, qword [rbp + 0x40]
cmp rax, rbx
jge 0x1400cfe53
add rax, 0x8f0d180
mov qword [rsp + 0x60], rax
jmp 0x1400cfe58
mov qword [rsp + 0x60], r12
lea rcx, [rsp + 0x60]
call fcn.14002dce0
mov rcx, qword [0x140167a98]
movss xmm0, dword [rcx + 0x1c0]
mulss xmm0, xmm6
cvttss2si ebx, xmm0
movss xmm1, dword [rcx + 0x1c4]
mulss xmm1, xmm6
cvttss2si r11d, xmm1
add rcx, 0x140
lea r9d, [r11 + 1]
mov r8d, ebx
lea rdx, [rbp + 0x20]
call fcn.140005890
nop
lea esi, [r11 + 2]
mov rcx, qword [0x140167a98]
add rcx, 0x140
mov r9d, esi
mov r8d, ebx
lea rdx, [rbp]
call fcn.140005890
nop
mov rcx, qword [0x140167a98]
add rcx, 0x140
mov r9d, 0x35
mov r8d, ebx
lea rdx, [rbp - 0x20]
call fcn.140005890
nop
cmp ebx, 0x63
jne 0x1400d000b
cmp r11d, 0x35
jne 0x1400d0015
mov dword [rsp + 0x30], 0xbd83b89a
mov dword [rsp + 0x34], 0xaa94aea1
mov dword [rsp + 0x38], 0x81b3acb8
mov word [rsp + 0x3c], 0x98
mov byte [rsp + 0x3e], 1
xor r14d, r14d
mov ecx, r14d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0xd
jb 0x1400cff30
mov byte [rsp + 0x3e], r14b
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
lea rax, [rsp + 0x30]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x1400cff60
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14002c630
nop
lea r15, [0x140005700]
mov qword [rsp + 0x20], r15
lea r9, [0x1400056b0]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0xd0]
call fcn.14010f1e0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x140131ac0]
movdqa xmmword [rbp + 0x90], xmm1
mov byte [rbp + 0x80], 0
mov dword [rbp + 0x60], 2
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r9, qword [rbp - 0x60]
mov rbx, qword [rbp - 0x50]
lea rcx, [rbp + 0x80]
cmp rbx, 0xf
ja 0x1400d022f
mov qword [rbp + 0x90], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx + 0x80], 0
jmp 0x1400d0238
test ebx, ebx
jne 0x1400d0015
cmp r11d, 0x17
je 0x1400d0075
test r15b, r15b
jne 0x1400d0075
mov byte [0x140166a0f], 1
mov edx, reloc.WS2_32.dll_socket
xor ecx, ecx
call fcn.1400d3670
lea rcx, [rbp + 0x48]
call fcn.140005a00
mov rax, qword [rbp + 0x48]
movabs rcx, 0x7fffffff88ca6bff
cmp rax, rcx
jge 0x1400d0056
add rax, 0x77359400
mov qword [rsp + 0x68], rax
jmp 0x1400d005b
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x68]
call fcn.14002dce0
test ebx, ebx
jne 0x1400d0176
mov r15b, 1
jmp 0x1400d0176
cmp word [rbp + 0x22], 0
jne 0x1400d0092
cmp r11d, 0x35
je 0x1400d0092
lea eax, [r11 + 1]
shl eax, 5
movd xmm1, eax
jmp 0x1400d0123
movzx eax, word [rbp + 0x20]
cmp ax, 8
je 0x1400d0108
cmp ax, r13w
je 0x1400d0108
cmp r11d, 0x35
jne 0x1400d013e
movzx eax, word [rbp - 0x1e]
cmp word [rbp - 0x20], 0
jne 0x1400d0166
test eax, eax
jne 0x1400d0166
mov byte [0x140166a0f], 1
lea ecx, [rbx + 1]
lea edx, [rax + 0x17]
call fcn.1400d3670
lea rcx, [rbp + 0x50]
call fcn.140005a00
mov rax, qword [rbp + 0x50]
movabs rcx, 0x7fffffff88ca6bff
cmp rax, rcx
jge 0x1400d0155
add rax, 0x77359400
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14002dce0
jmp 0x1400d0176
cmp r11d, 0x35
je 0x1400d00ac
cmp word [rbp + 2], 0
jne 0x1400d013e
cmp word [rbp], 0
jne 0x1400d013e
shl esi, 5
movd xmm1, esi
mov byte [0x140166a0f], 1
cvtdq2ps xmm1, xmm1
shl ebx, 5
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
call fcn.140007470
jmp 0x1400d0176
cmp ax, 8
je 0x1400d0150
cmp ax, r13w
je 0x1400d0150
lea r8d, [r11 + 1]
jmp 0x1400d0169
mov r8d, esi
jmp 0x1400d0169
mov qword [rsp + 0x70], r12
lea rcx, [rsp + 0x70]
call fcn.14002dce0
jmp 0x1400d0176
mov r8d, r11d
mov edx, ebx
mov ecx, reloc.WS2_32.dll_select
call fcn.1400d6990
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400d01ae
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d01ae
mov rbx, qword [rbp - 0x10]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400d01ae
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1400d01e6
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d01e6
mov rbx, qword [rbp + 0x10]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400d01e6
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1400d021d
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d021d
mov rbx, qword [rbp + 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400d021d
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
cmp byte [0x1401669f8], 0
je 0x1400d050c
jmp 0x1400cfe2a
mov rdx, rbx
call fcn.14002c9a0
nop
mov eax, dword [rbp + 0x60]
mov dword [rbp + 0xd0], eax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0xd8], rax
movaps xmm0, xmmword [rbp + 0x70]
movaps xmmword [rbp + 0xe0], xmm0
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0xf0]
call fcn.14002a4b0
nop
lea rcx, [rbp + 0x80]
call fcn.14002b140
nop
lea rcx, [rbp - 0x60]
call fcn.14002b140
movdqa xmm0, xmmword [0x1401348f0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x88c79484
mov dword [rsp + 0x54], 0x8284aedb
mov word [rsp + 0x58], 0x88
mov byte [rsp + 0x5a], 1
mov rcx, r14
nop
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x19
jb 0x1400d02b0
mov byte [rsp + 0x5a], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
lea rax, [rsp + 0x40]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400d02e0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.14002c630
nop
mov dword [rbp + 0x110], 2
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x30]
mov rax, qword [rbp + 0x148]
cmp rsi, rax
ja 0x1400d034f
lea rbx, [rbp + 0x130]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x130]
mov qword [rbp + 0x140], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x1400d035f
mov rdx, rsi
lea rcx, [rbp + 0x130]
call fcn.14002c9a0
nop
lea rcx, [rbp - 0x40]
call fcn.14002b140
mov dword [rsp + 0x20], r14d
mov r9d, edi
lea r8, [rbp + 0xd0]
mov rcx, qword [0x140167a98]
call fcn.140108950
movdqa xmm0, xmmword [0x140134c40]
movdqu xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x140135ff0]
movdqu xmmword [rbp - 0x78], xmm1
mov word [rbp - 0x68], 0xdb
mov byte [rbp - 0x66], 1
mov rcx, r14
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x78], al
inc rcx
cmp rcx, 0x21
jb 0x1400d03b0
mov byte [rbp - 0x66], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], r14
lea rax, [rsp + 0x78]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400d03e4
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0xa0]
call fcn.14002c630
lea rcx, [rbp + 0xa0]
call fcn.1400d15c0
mov dword [0x14015d1b0], 0x44960000
mov dword [0x14015d1c0], 0x437a0000
mov dword [0x14015d1b4], 0x42fa0000
mov dword [0x14015d1a8], 0x447a0000
xor edx, edx
mov rcx, qword [0x140167a98]
mov ecx, dword [rcx + 0x1b8]
call fcn.1400d1740
mov byte [0x1401669f8], 0
mov r9, r15
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0xd0]
call fcn.14010ee9c
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400d049f
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d049f
mov rbx, qword [rbp - 0x10]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400d049f
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1400d04d7
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d04d7
mov rbx, qword [rbp + 0x10]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400d04d7
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1400d050c
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d050c
mov rbx, qword [rbp + 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400d050c
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.14010ee40
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret