Function at 0x1800a6570
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov eax, dword [0x180149de0]
cmp eax, 6
jge 0x1800a6799
movups xmm0, xmmword [0x180125830]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x180125840]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x180125850]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [str.XRBE]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x180125870]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x180125880]
movups xmmword [rbp - 0x60], xmm1
mov eax, dword [0x180125890]
mov dword [rbp - 0x50], eax
movzx eax, word [0x180125894]
mov word [rbp - 0x4c], ax
movzx eax, byte [0x180125896]
mov byte [rbp - 0x4a], al
xor r8d, r8d
cmp dword [0x180148090], 2
jl 0x1800a6737
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
movdqa xmm6, xmmword [0x18012e1e0]
mov edx, dword [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x60
jl 0x1800a6650
cmp r8d, 0x67
jge 0x1800a6780
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x67
jl 0x1800a6750
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.180038a30
mov rcx, qword [rax]
jmp 0x1800a7066
cmp eax, 0xb
jge 0x1800a69bc
movups xmm0, xmmword [0x1801257a0]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1801257b0]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x1801257c0]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1801257d0]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x1801257e0]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x1801257f0]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x180125800]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x180125810]
movups xmmword [rbp - 0x40], xmm1
movsd xmm0, qword [0x180125820]
movsd qword [rbp - 0x30], xmm0
mov eax, dword [0x180125828]
mov dword [rbp - 0x28], eax
movzx eax, word [0x18012582c]
mov word [rbp - 0x24], ax
xor r8d, r8d
cmp dword [0x180148090], 2
jl 0x1800a695d
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
movdqa xmm6, xmmword [0x18012e1e0]
mov edx, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, r8d
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x88
jl 0x1800a6870
cmp r8d, 0x8e
jge 0x1800a69a3
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x8e
jl 0x1800a6970
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.180038a30
mov rcx, qword [rax]
jmp 0x1800a7066
movsd xmm0, qword [0x180149dd8]
ucomisd xmm0, qword [0x18012dd90]
jp 0x1800a6bb9
jne 0x1800a6bb9
movups xmm0, xmmword [0x180125730]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x180125740]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x180125750]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x180125760]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x180125770]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x180125780]
movups xmmword [rbp - 0x60], xmm1
mov eax, dword [0x180125790]
mov dword [rbp - 0x50], eax
xor r8d, r8d
cmp dword [0x180148090], 2
jl 0x1800a6b57
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
movdqa xmm6, xmmword [0x18012e1e0]
mov edx, dword [rsp + 0x30]
nop dword [rax]
movd xmm2, r8d
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x60
jl 0x1800a6a70
cmp r8d, 0x64
jge 0x1800a6ba0
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x64
jl 0x1800a6b70
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.180038a30
mov rcx, qword [rax]
jmp 0x1800a7066
cmp eax, 0x10
jge 0x1800a6da9
movups xmm0, xmmword [0x1801256c0]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1801256d0]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x1801256e0]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1801256f0]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x180125700]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x180125710]
movups xmmword [rbp - 0x60], xmm1
movzx eax, word [0x180125720]
mov word [rbp - 0x50], ax
xor r8d, r8d
cmp dword [0x180148090], 2
jl 0x1800a6d47
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
movdqa xmm6, xmmword [0x18012e1e0]
mov edx, dword [rsp + 0x30]
nop dword [rax]
movd xmm2, r8d
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x60
jl 0x1800a6c60
cmp r8d, 0x62
jge 0x1800a6d90
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x62
jl 0x1800a6d60
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.180038a30
mov rcx, qword [rax]
jmp 0x1800a7066
ucomisd xmm0, qword [0x18012de38]
jp 0x1800a6fcc
jne 0x1800a6fcc
movups xmm0, xmmword [0x180125630]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x180125640]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x180125650]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [str.RUBDZ]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x180125670]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x180125680]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x180125690]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x1801256a0]
movups xmmword [rbp - 0x40], xmm1
mov eax, dword [0x1801256b0]
mov dword [rbp - 0x30], eax
movzx eax, word [0x1801256b4]
mov word [rbp - 0x2c], ax
xor r8d, r8d
cmp dword [0x180148090], 2
jl 0x1800a6f6d
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
movdqa xmm6, xmmword [0x18012e1e0]
mov edx, dword [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x80
jl 0x1800a6e80
cmp r8d, 0x86
jge 0x1800a6fb3
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x86
jl 0x1800a6f80
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.180038a30
mov rcx, qword [rax]
jmp 0x1800a7066
lea rdx, [0x18014b810]
lea rcx, [rbp - 0x20]
call fcn.18002d350
mov r9b, 1
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.1800aaa60
mov rbx, rax
mov byte [rbp + 0x20], 0xe8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.18000f4e0
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x20]
mov byte [rax], cl
inc rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 0x800
mov dword [rsp + 0x20], 0
mov r9b, 1
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x30]
mov rcx, rbx
call fcn.1800ab590
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1800a7066
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x18014a790], rcx
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
test rcx, rcx
lea rcx, [rsp + 0x30]
jne 0x1800a70df
mov r8d, 0x1f
lea rdx, str.Couldnt_find_StaticFindObject_
call fcn.180016750
nop
mov byte [rbp + 0x20], 0
mov dword [rbp + 0x28], 1
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x28]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x30]
call fcn.18002d710
xor al, al
jmp 0x1800a7134
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.Found_StaticFindObject_
call fcn.180016750
nop
mov byte [rbp + 0x20], 0
mov dword [rbp + 0x28], 0
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x28]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x30]
call fcn.18002d710
mov al, 1
mov rbx, qword [rsp + 0x138]
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbp
ret