Function at 0x140085330
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov eax, dword [0x140141968]
lea r14, [rbp + 0x5f]
mov rsi, qword [r14]
xor ebx, ebx
movups xmm0, xmmword [str.GaFSEqWP_IsP52_n533H]
mov dword [rbp - 1], eax
mov r8d, ebx
movzx eax, word [0x14014196c]
mov word [rbp + 3], ax
movzx eax, byte [0x14014196e]
mov qword [r14], rbx
mov edi, dword [reloc.WS2_32.dll_accept]
mov byte [rbp + 5], al
movaps xmmword [rsp + 0x80], xmm6
movups xmmword [rbp - 0x11], xmm0
cmp edi, 2
jl 0x1400854c7
movdqa xmm0, xmmword [0x1401428f0]
lea rcx, [rbp - 0xd]
movdqa xmm5, xmmword [0x1401426e0]
movdqa xmm4, xmmword [0x140142ab0]
movdqa xmm6, xmmword [0x140142700]
movdqa xmmword [rbp - 0x39], xmm0
mov edx, dword [rbp - 0x39]
nop
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, 4
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 [0x140142780]
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, 4
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 [0x140142780]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400853c0
cmp r8d, 0x17
jge 0x140085502
movsxd rax, r8d
lea r9, [rbp - 0x11]
add r9, rax
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x1400854d1
mov eax, dword [0x1401412c4]
lea rcx, [rbp + 0x67]
mov dword [rbp + 0x67], eax
movzx eax, word [0x1401412c8]
xor byte [rbp + 0x68], 0x33
xor byte [rbp + 0x69], 0x34
xor byte [rbp + 0x6a], 0x35
mov word [rbp + 0x6b], ax
movzx eax, byte [0x1401412ca]
xor byte [rbp + 0x6b], 0x36
xor al, 0x38
xor byte [rbp + 0x6c], 0x37
mov byte [rbp + 0x6d], al
mov byte [rbp + 0x67], 0x77
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x140085944
mov eax, dword [0x140141968]
mov r8d, ebx
mov dword [rbp + 0x17], eax
movzx eax, word [0x14014196c]
mov word [rbp + 0x1b], ax
movzx eax, byte [0x14014196e]
mov byte [rbp + 0x1d], al
movups xmm0, xmmword [str.GaFSEqWP_IsP52_n533H]
movups xmmword [rbp + 7], xmm0
cmp edi, 2
jl 0x1400856c7
movdqa xmm0, xmmword [0x1401428f0]
lea rcx, [rbp + 0xb]
movdqa xmm5, xmmword [0x1401426e0]
movdqa xmm4, xmmword [0x140142ab0]
movdqa xmm6, xmmword [0x140142700]
movdqa xmmword [rbp - 0x39], xmm0
mov edx, dword [rbp - 0x39]
nop
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, 4
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 [0x140142780]
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, 4
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 [0x140142780]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400855c0
cmp r8d, 0x17
jge 0x140085702
movsxd rax, r8d
lea r9, [rbp + 7]
add r9, rax
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x1400856d1
mov eax, dword [0x140140cd8]
lea rcx, [rbp + 0x6f]
mov dword [rbp + 0x6f], eax
movzx eax, word [0x140140cdc]
xor byte [rbp + 0x70], 0x33
xor byte [rbp + 0x71], 0x34
xor byte [rbp + 0x72], 0x35
mov word [rbp + 0x73], ax
movzx eax, byte [0x140140cde]
xor byte [rbp + 0x73], 0x36
xor al, 0x38
xor byte [rbp + 0x74], 0x37
mov byte [rbp + 0x75], al
mov byte [rbp + 0x6f], 0x75
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x140085944
movzx eax, byte [0x140141368]
mov byte [rbp - 0x19], al
movups xmm0, xmmword [str._PUCuVOHYtPO55B]
movups xmmword [rbp - 0x29], xmm0
cmp edi, 2
jl 0x1400858b4
movdqa xmm0, xmmword [0x1401428f0]
lea rcx, [rbp - 0x25]
movdqa xmm5, xmmword [0x1401426e0]
movdqa xmm4, xmmword [0x140142ab0]
movdqa xmm6, xmmword [0x140142700]
movdqa xmmword [rbp - 0x39], xmm0
mov edx, dword [rbp - 0x39]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 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 ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x140142780]
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, 4
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 [0x140142780]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1400857b0
cmp eax, 0x11
jge 0x1400858ed
movsxd rax, ebx
lea r8, [rbp - 0x29]
add r8, rax
nop
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
inc ebx
sub al, cl
add al, 0x32
xor byte [r8 - 1], al
cmp ebx, 0x11
jl 0x1400858c0
mov eax, dword [0x140140cd8]
lea rcx, [rbp + 0x77]
mov dword [rbp + 0x77], eax
movzx eax, word [0x140140cdc]
xor byte [rbp + 0x78], 0x33
xor byte [rbp + 0x79], 0x34
xor byte [rbp + 0x7a], 0x35
mov word [rbp + 0x7b], ax
movzx eax, byte [0x140140cde]
xor byte [rbp + 0x7b], 0x36
xor al, 0x38
xor byte [rbp + 0x7c], 0x37
mov byte [rbp + 0x7d], al
mov byte [rbp + 0x77], 0x75
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
je 0x14008599f
movups xmm1, xmmword [rcx]
movdqu xmmword [0x14025fd50], xmm1
movsd xmm0, qword [rcx + 0x10]
movsd qword [0x14025fd60], xmm0
mov eax, dword [rcx + 0x18]
movdqa xmm0, xmmword [0x140142b90]
mov dword [0x14025fd68], eax
xorps xmm0, xmm1
movzx eax, word [rcx + 0x1c]
lea rcx, [0x14025fd50]
mov word [0x14025fd6c], ax
mov eax, reloc.WS2_32.dll_recv
movdqu xmmword [0x14025fd50], xmm0
nop
xor byte [rax + rcx], 0xfa
inc rax
cmp rax, 0x1e
jb 0x140085990
mov al, 1
movaps xmm6, xmmword [rsp + 0x80]
mov qword [r14], rsi
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret