Function at 0x1800a8640
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 [0x180149040]
xor rax, rsp
mov qword [rbp + 0x68], rax
xor edi, edi
mov eax, dword [0x18014adc0]
cmp eax, 6
jge 0x1800a889f
lea rdx, [rbp - 0x50]
lea rcx, [0x1801263c0]
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 [0x180149018], 2
jl 0x1800a8848
movdqa xmm5, xmmword [0x18012ef90]
movdqa xmm4, xmmword [0x18012f080]
movdqa xmm6, xmmword [0x18012efd0]
movdqa xmm0, xmmword [0x18012f090]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rbp - 0x4c]
mov r8d, dword [rsp + 0x40]
nop word [rax + 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
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
andps xmm2, xmmword [0x18012f070]
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
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f070]
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 0x1800a8740
cmp ecx, 0xa5
jge 0x1800a8880
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xa5
jl 0x1800a8852
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x60]
call fcn.1800387f0
mov rcx, qword [rax]
mov qword [0x18014ae40], rcx
jmp 0x1800a893c
cmp eax, 0x10
jge 0x1800a8935
lea rdx, [0x18014c830]
lea rcx, [rsp + 0x60]
call fcn.18002d010
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.1800ac000
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.18000f200
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 + 0x28], 0x64
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1800acb60
mov rcx, qword [rax]
mov qword [0x18014ae40], rcx
jmp 0x1800a893c
mov rcx, qword [0x18014ae40]
test rcx, rcx
jne 0x1800a8b72
lea rdx, [0x18014c810]
lea rcx, [rsp + 0x60]
call fcn.18002d010
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.1800ac000
cmp qword [rbp + 0x60], rdi
je 0x1800a8a6c
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.18000f200
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 + 0x28], 0x64
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x60]
call fcn.1800acb60
mov rcx, qword [rax]
test rcx, rcx
jne 0x1800a8af9
mov word [rsp + 0x30], 0x8b48
mov byte [rsp + 0x32], 0xc4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
lea edx, [rcx + 3]
lea rcx, [rsp + 0x40]
call fcn.18000f200
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 + 0x28], 0x64
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x60]
call fcn.1800acb60
mov rcx, qword [rax]
test rcx, rcx
jne 0x1800a8af9
mov rcx, qword [0x18014ae40]
jmp 0x1800a8b00
lea rdx, [0x18014c850]
lea rcx, [rbp - 0x78]
call fcn.18002d010
mov r9b, 1
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1800ac000
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.18000f200
mov rcx, qword [rsp + 0x60]
mov byte [rcx], 0xe8
inc rcx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x28], 0x32
mov dword [rsp + 0x20], edi
mov r9b, 1
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1800acb60
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1800a8af9
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x18014ae40], rcx
test rcx, rcx
jne 0x1800a8b72
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea r8d, [rcx + 0x1f]
lea rdx, str.Couldnt_find_StaticLoadObject_
lea rcx, [rsp + 0x60]
call fcn.180016150
nop
mov byte [rsp + 0x30], 0
mov dword [rbp + 0x60], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x60]
call fcn.180028480
nop
lea rcx, [rsp + 0x60]
call fcn.18002d3d0
xor al, al
jmp 0x1800a8bd9
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.180016150
nop
mov byte [rsp + 0x30], 0
mov dword [rbp + 0x60], edi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x60]
call fcn.180028480
nop
lea rcx, [rsp + 0x60]
call fcn.18002d3d0
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.1800ed360
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