Function at 0x1800a7150
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 [0x180148040]
xor rax, rsp
mov qword [rbp + 0x68], rax
xor edi, edi
mov eax, dword [0x180149de0]
cmp eax, 6
jge 0x1800a739e
lea rdx, [rbp - 0x50]
lea rcx, [0x180125580]
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 [0x180148090], 2
jl 0x1800a733c
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rbp - 0x4c]
movdqa xmm6, xmmword [0x18012e1e0]
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 0x1800a7252
cmp ecx, 0xa5
jge 0x1800a737f
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xa5
jl 0x1800a7350
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x60]
call fcn.180038a30
mov rcx, qword [rax]
mov qword [0x180149e60], rcx
jmp 0x1800a743b
cmp eax, 0x10
jge 0x1800a7434
lea rdx, [0x18014b850]
lea rcx, [rsp + 0x60]
call fcn.18002d350
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.1800aaa60
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.18000f4e0
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.1800ab590
mov rcx, qword [rax]
mov qword [0x180149e60], rcx
jmp 0x1800a743b
mov rcx, qword [0x180149e60]
test rcx, rcx
jne 0x1800a767f
lea rdx, [0x18014b830]
lea rcx, [rsp + 0x60]
call fcn.18002d350
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.1800aaa60
cmp qword [rbp + 0x60], rdi
je 0x1800a756d
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.18000f4e0
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.1800ab590
mov rcx, qword [rax]
test rcx, rcx
jne 0x1800a7604
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.18000f4e0
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.1800ab590
mov rcx, qword [rax]
test rcx, rcx
jne 0x1800a7604
mov rcx, qword [0x180149e60]
jmp 0x1800a760b
lea rdx, [0x18014b870]
lea rcx, [rbp - 0x78]
call fcn.18002d350
mov r9b, 1
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1800aaa60
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.18000f4e0
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 + 0x28], 0x32
mov dword [rsp + 0x20], edi
mov r9b, 1
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1800ab590
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1800a7604
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x180149e60], rcx
test rcx, rcx
jne 0x1800a767f
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.180016750
nop
mov byte [rsp + 0x30], 0
mov dword [rbp + 0x60], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x60]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x60]
call fcn.18002d710
xor al, al
jmp 0x1800a76e6
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.180016750
nop
mov byte [rsp + 0x30], 0
mov dword [rbp + 0x60], edi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x60]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x60]
call fcn.18002d710
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.1800ec360
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