Function at 0x1402cef90
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
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14040f080]
xor rax, rsp
mov qword [rbp + 0x37], rax
movups xmm0, xmmword [str.s_vnfGPDDdnzhJV__6:]
movups xmmword [rbp - 0x41], xmm0
movsd xmm0, qword [0x1403f3330]
movsd qword [rbp - 0x31], xmm0
mov eax, dword [0x1403f3338]
mov dword [rbp - 0x29], eax
mov esi, dword [reloc.WS2_32.dll_accept]
cmp byte [0x1403f333b], 0
je 0x1402cf17e
xor ecx, ecx
cmp esi, 2
jl 0x1402cf13a
movdqa xmm5, xmmword [0x1403f45a0]
movdqa xmm4, xmmword [0x1403f4800]
movdqa xmm6, xmmword [0x1403f45e0]
movdqa xmm0, xmmword [0x1403f4660]
movdqa xmmword [rbp + 7], xmm0
lea rdx, [rbp - 0x3d]
mov r8d, dword [rbp + 7]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1403f4630]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1403f4630]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x1402cf030
cmp ecx, 0x1c
jge 0x1402cf17e
movsxd rax, ecx
lea r8, [rbp - 0x41]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1c
jl 0x1402cf150
lea rax, [rbp - 0x41]
mov rbx, 0xffffffffffffffff
mov rdi, rbx
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1402cf190
call fcn.1403b6068
lea rcx, [rbp - 0x41]
mov qword [rbp + 7], rcx
mov qword [rbp + 0xf], rdi
lea r8, [rbp + 7]
mov edx, eax
lea rcx, [rbp - 0x21]
call fcn.1402c9a30
nop
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova rcx, qword [rbp - 0x21]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x17]
call fcn.1403b61a4
mov edx, eax
test eax, eax
jne 0x1402cf22d
mov eax, dword [rbp + 0x27]
test al, 1
mov ecx, 0x1ff
mov r8d, 0x16d
cmovne ecx, r8d
mov dword [rbp + 0xb], ecx
bt eax, 0xa
jae 0x1402cf21f
mov ecx, dword [rbp + 0x2b]
cmp ecx, 0xa000000c
jne 0x1402cf210
lea eax, [rdx + 4]
jmp 0x1402cf251
cmp ecx, 0xa0000003
jne 0x1402cf21f
mov eax, 0xa
jmp 0x1402cf251
movzx eax, al
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x1402cf251
mov dword [rbp + 0xb], 0xffff
sub eax, 2
je 0x1402cf24c
sub eax, 1
je 0x1402cf24c
sub eax, 0x32
je 0x1402cf24c
cmp eax, 0x46
je 0x1402cf24c
xor eax, eax
jmp 0x1402cf251
mov eax, 1
mov dword [rbp + 7], edx
lea rcx, [0x140591e20]
mov qword [rbp + 0xf], rcx
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
test eax, eax
je 0x1402cf2b1
cmp eax, 1
setne dil
mov rdx, qword [rbp - 9]
cmp rdx, 7
jbe 0x1402cf2c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402cf2be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402cf2be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor dil, dil
test edx, edx
jne 0x1402cf4ec
jmp 0x1402cf273
call fcn.1403b4e4c
test dil, dil
je 0x1402cf4c2
movups xmm0, xmmword [str.gXW_BE]
movups xmmword [rbp - 0x41], xmm0
movsd xmm0, qword [0x1403f2eb0]
movsd qword [rbp - 0x31], xmm0
movzx eax, byte [0x1403f2eb8]
mov byte [rbp - 0x29], al
xor r8d, r8d
cmp esi, 2
jl 0x1402cf43d
movdqa xmm5, xmmword [0x1403f45a0]
movdqa xmm4, xmmword [0x1403f4800]
movdqa xmm6, xmmword [0x1403f45e0]
movdqa xmm0, xmmword [0x1403f4660]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp - 0x3d]
mov edx, dword [rbp + 7]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1403f4630]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1403f4630]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x1402cf330
cmp r8d, 0x19
jge 0x1402cf483
movsxd rax, r8d
lea r9, [rbp - 0x41]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x19
jl 0x1402cf450
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], 0
mov qword [rbp - 9], 0
lea rax, [rbp - 0x41]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x1402cf4a0
mov r8, rbx
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x21]
call fcn.1402c8840
lea rcx, [rbp - 0x21]
call fcn.1402d62a0
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1403b5820
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
lea r8, [rbp - 0x21]
lea rdx, [rbp + 7]
call fcn.1402ca450
int3