Function at 0x180097770
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rsp + 0x170], xmm6
mov rax, qword [0x18012c040]
xor rax, rsp
mov qword [rbp + 0x68], rax
xor edi, edi
mov eax, dword [0x18012dd70]
cmp eax, 6
jge 0x1800979be
lea rdx, [rbp - 0x50]
lea rcx, [0x18010b7b0]
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rdx + 0x70], xmm0
movups xmm1, xmmword [rcx + 0x80]
movups xmmword [rdx + 0x80], xmm1
movups xmm0, xmmword [rcx + 0x90]
movups xmmword [rdx + 0x90], xmm0
mov eax, dword [rcx + 0xa0]
mov dword [rdx + 0xa0], eax
movzx eax, byte [rcx + 0xa4]
mov byte [rdx + 0xa4], al
mov ecx, edi
cmp dword [0x18012c090], 2
jl 0x18009795c
movdqa xmm4, xmmword [0x1801148f0]
movdqa xmm3, xmmword [0x180114da0]
movdqa xmm5, xmmword [0x180114910]
movdqa xmm0, xmmword [0x1801149e0]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rbp - 0x4c]
movdqa xmm6, xmmword [0x180114990]
mov r8d, dword [rsp + 0x40]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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, 0xa0
jl 0x180097872
cmp ecx, 0xa5
jge 0x18009799f
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xa5
jl 0x180097970
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x60]
call fcn.180026720
mov rcx, qword [rax]
mov qword [0x18012e728], rcx
jmp 0x180097a53
cmp eax, 0x10
jge 0x180097a4c
lea rdx, [0x18012f6d8]
lea rcx, [rsp + 0x60]
call fcn.18003e7d0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.18009a290
mov rbx, rax
mov word [rsp + 0x30], 0x5540
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.180039ff0
mov rax, qword [rsp + 0x40]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
add rax, 2
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.18009adc0
mov rcx, qword [rax]
mov qword [0x18012e728], rcx
jmp 0x180097a53
mov rcx, qword [0x18012e728]
test rcx, rcx
jne 0x180097c7f
lea rdx, [0x18012f6b8]
lea rcx, [rsp + 0x60]
call fcn.18003e7d0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.18009a290
cmp qword [rbp + 0x60], rdi
je 0x180097b75
mov word [rsp + 0x30], 0x894c
mov byte [rsp + 0x32], 0x4c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov edx, 3
lea rcx, [rsp + 0x40]
call fcn.180039ff0
mov rbx, qword [rsp + 0x40]
mov r8d, 3
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + 3]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x60]
call fcn.18009adc0
mov rcx, qword [rax]
test rcx, rcx
jne 0x180097c04
mov word [rsp + 0x30], 0x8b48
mov byte [rsp + 0x32], 0xc4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov edx, 3
lea rcx, [rsp + 0x40]
call fcn.180039ff0
mov rbx, qword [rsp + 0x40]
mov r8d, 3
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + 3]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x60]
call fcn.18009adc0
mov rcx, qword [rax]
test rcx, rcx
jne 0x180097c04
mov rcx, qword [0x18012e728]
jmp 0x180097c0b
lea rdx, [0x18012f6f8]
lea rcx, [rbp - 0x78]
call fcn.18003e7d0
mov r9b, 1
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.18009a290
mov rbx, rax
mov byte [rsp + 0x30], 0xe8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.180039ff0
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rsp + 0x30]
mov byte [rdx], cl
lea rcx, [rdx + 1]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x20], edi
mov r9b, 1
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.18009adc0
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x180097c04
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x18012e728], rcx
test rcx, rcx
jne 0x180097c7f
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 0x1f
lea rdx, str.Couldnt_find_StaticLoadObject_
lea rcx, [rsp + 0x60]
call fcn.180013310
nop
mov byte [rsp + 0x30], 0
mov dword [rbp + 0x60], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [0x18012f3e8]
mov qword [rsp + 0x20], rax
lea r9, [0x18012f3d8]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x60]
call fcn.180025bb0
nop
lea rcx, [rsp + 0x60]
call fcn.180027960
xor al, al
jmp 0x180097ce6
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.Found_StaticLoadObject_
lea rcx, [rsp + 0x60]
call fcn.180013310
nop
mov byte [rsp + 0x30], 0
mov dword [rbp + 0x60], edi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [0x18012f3e8]
mov qword [rsp + 0x20], rax
lea r9, [0x18012f3d8]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x60]
call fcn.180025bb0
nop
lea rcx, [rsp + 0x60]
call fcn.180027960
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.1800d4da0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret