Function at 0x140131860
Capabilities:
Encode data using xor

Disassembly:
cmp edx, 5
ja case.default.0x1401318a7
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1403f1ec0]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x40], rcx
mov rbx, rcx
movsxd rax, edx
xor r10d, r10d
lea rdx, [0x140000000]
movaps xmmword [rsp + 0x60], xmm6
mov ecx, dword [rdx + rax*4 + 0x1320c8]
add rcx, rdx
jmp rcx
movsd xmm0, qword [str.hK_wSZWQ_]
mov r8, 0xffffffffffffffff
movzx eax, byte [0x1403caca0]
movsd qword [rbp - 0x40], xmm0
xorps xmm0, xmm0
xor byte [rbp - 0x3f], 0x39
xor byte [rbp - 0x3e], 0x3a
xor byte [rbp - 0x3d], 0x3b
xor byte [rbp - 0x3c], 0x3c
xor byte [rbp - 0x3b], 0x3d
xor byte [rbp - 0x3a], 0x3e
xor byte [rbp - 0x39], 0x3f
xor al, 0x40
mov byte [rbp - 0x40], 0x50
movups xmmword [rbx], xmm0
mov byte [rbp - 0x38], al
lea rax, [rbp - 0x40]
mov qword [rbx + 0x10], r10
mov qword [rbx + 0x18], r10
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x140131900
lea rdx, [rbp - 0x40]
jmp 0x14013209e
cmp byte [0x1403cb7d5], r10b
mov eax, dword [0x1403cb7d0]
movsd xmm0, qword [0x1403cb7c8]
mov dword [rbp - 0x38], eax
movzx eax, word [0x1403cb7d4]
mov word [rbp - 0x34], ax
movsd qword [rbp - 0x40], xmm0
je 0x140131a90
cmp dword [reloc.WS2_32.dll_accept], 2
mov r8d, r10d
jl 0x140131a49
movdqa xmm2, xmmword [0x1403cc610]
mov r8d, 8
movdqa xmm4, xmmword [0x1403cc650]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1403cc620]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1403cc630]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x1403cb7c8]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1403cc640]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1403cc660]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x40], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1403cc630]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x3c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1403cc640]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1403cc660]
xorps xmm2, xmm0
movd dword [rbp - 0x3c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x140131a60
xorps xmm0, xmm0
lea rax, [rbp - 0x40]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r10
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], r10
nop dword [rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x140131ab0
lea rdx, [rbp - 0x40]
jmp 0x14013209e
cmp byte [0x1403cb91d], r10b
mov eax, dword [0x1403cb918]
movsd xmm0, qword [str.tV_RR]
mov dword [rbp - 0x38], eax
movzx eax, word [0x1403cb91c]
mov word [rbp - 0x34], ax
movsd qword [rbp - 0x40], xmm0
je 0x140131c40
cmp dword [reloc.WS2_32.dll_accept], 2
mov r8d, r10d
jl 0x140131bff
movdqa xmm2, xmmword [0x1403cc610]
mov r8d, 8
movdqa xmm4, xmmword [0x1403cc650]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1403cc620]
movdqa xmm0, xmm2
mov eax, dword [0x1403cc660]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1403cc630]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1403cc640]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.tV_RR]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x40], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1403cc630]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1403cc640]
movd xmm1, dword [rbp - 0x3c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x3c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x140131c10
xorps xmm0, xmm0
lea rax, [rbp - 0x40]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r10
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], r10
nop dword [rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x140131c60
lea rdx, [rbp - 0x40]
jmp 0x14013209e
cmp dword [reloc.WS2_32.dll_accept], 2
mov r8d, r10d
movups xmm0, xmmword [str.j_ROI_M_]
movzx eax, byte [0x1403cac80]
mov byte [rbp - 0x20], al
movups xmmword [rbp - 0x30], xmm0
jl 0x140131dd7
movdqa xmm0, xmmword [0x1403cc660]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x1403cc610]
movdqa xmm4, xmmword [0x1403cc650]
movdqa xmm6, xmmword [0x1403cc630]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1403cc640]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1403cc640]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140131cd0
cmp r8d, 0x11
jge 0x140131e20
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x11
jl 0x140131df0
xorps xmm0, xmm0
lea rax, [rbp - 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r10
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], r10
nop dword [rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x140131e40
lea rdx, [rbp - 0x30]
jmp 0x14013209e
cmp dword [reloc.WS2_32.dll_accept], 2
mov r8d, r10d
movups xmm0, xmmword [str.j_ROI_M__a]
movzx eax, byte [0x1403cac10]
mov byte [rbp - 0x20], al
movups xmmword [rbp - 0x30], xmm0
jl 0x140131fb7
movdqa xmm0, xmmword [0x1403cc660]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x1403cc610]
movdqa xmm4, xmmword [0x1403cc650]
movdqa xmm6, xmmword [0x1403cc630]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1403cc640]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1403cc640]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140131eb0
cmp r8d, 0x11
jge 0x140132000
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x11
jl 0x140131fd0
xorps xmm0, xmm0
lea rax, [rbp - 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r10
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], r10
nop dword [rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x140132020
lea rdx, [rbp - 0x30]
jmp 0x14013209e
cmp byte [0x1403cb671], r10b
movsd xmm0, qword [str.p_IH__4A]
movzx eax, word [0x1403cb670]
movsd qword [rbp - 0x40], xmm0
mov word [rbp - 0x38], ax
je 0x140132078
xor byte [rbp - 0x3f], 0x39
xor byte [rbp - 0x3e], 0x3a
xor byte [rbp - 0x3d], 0x3b
xor byte [rbp - 0x3c], 0x3c
xor byte [rbp - 0x3b], 0x3d
xor byte [rbp - 0x3a], 0x3e
xor byte [rbp - 0x39], 0x3f
xor byte [rbp - 0x38], 0x40
xor byte [rbp - 0x37], 0x41
mov byte [rbp - 0x40], 0x48
xorps xmm0, xmm0
lea rax, [rbp - 0x40]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r10
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], r10
inc r8
cmp byte [rax + r8], r10b
jne 0x140132091
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.14013d0f0
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x60]
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.140319880
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret