Function at 0x180097380
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xe0
mov rax, qword [0x180129540]
xor rax, rsp
mov qword [rbp + 0x37], rax
cmp dword [0x18012a608], 5
jge 0x18009773d
movups xmm0, xmmword [0x1800f1380]
xor r8d, r8d
cmp dword [0x180129500], 2
movups xmm1, xmmword [0x1800f1390]
mov eax, dword [0x1800f13d0]
movups xmmword [rbp - 0x29], xmm0
movups xmm0, xmmword [0x1800f13a0]
mov qword [r11 + 8], rsi
movups xmmword [rbp - 9], xmm0
movups xmm0, xmmword [0x1800f13c0]
movups xmmword [rbp - 0x19], xmm1
movups xmm1, xmmword [0x1800f13b0]
mov qword [r11 + 0x10], rdi
movups xmmword [rbp + 0x17], xmm0
mov qword [r11 + 0x18], r14
movups xmmword [rbp + 7], xmm1
mov dword [rbp + 0x27], eax
jl 0x18009754f
movdqa xmm0, xmmword [0x1800f1680]
lea rcx, [rbp - 0x25]
movdqa xmm5, xmmword [0x1800e4760]
movdqa xmm4, xmmword [0x1800f1690]
movdqa xmmword [rbp - 0x49], xmm0
mov edx, dword [rbp - 0x49]
movaps xmmword [r11 - 0x18], xmm6
movdqa xmm6, xmmword [str.2222]
nop dword [rax + rax]
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 [0x1800e4780]
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 [0x1800e4780]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x50
jl 0x180097440
movaps xmm6, xmmword [rsp + 0xd0]
cmp r8d, 0x54
jge 0x180097591
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop dword [rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x54
jl 0x180097560
mov rcx, qword [0x18012abd0]
xor r14d, r14d
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x18012abd0]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x29]
movsxd rcx, dword [rax + 0x3c]
mov edi, dword [rcx + rdi + 0x50]
lea rcx, [rbp - 0x49]
call fcn.18004f0d0
mov rcx, qword [0x18012abd0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, qword [rbp - 0x41]
xor r9d, r9d
mov r11, qword [rbp - 0x49]
mov rsi, rax
sub r10, r11
sar r10, 2
sub rdi, r10
je 0x18009763b
nop
xor eax, eax
test r10, r10
je 0x180097620
xor ecx, ecx
nop dword [rax]
mov r8d, dword [r11 + rcx*4]
lea ecx, [rax + r9]
movzx ecx, byte [rcx + rsi]
cmp ecx, r8d
je 0x180097617
cmp r8d, 0xffffffff
jne 0x180097628
inc eax
mov ecx, eax
cmp rcx, r10
jb 0x180097600
test r14d, r14d
jle 0x180097635
dec r14d
inc r9d
mov eax, r9d
cmp rax, rdi
jb 0x1800975f0
jmp 0x18009763b
mov ebx, r9d
add rbx, rsi
mov r14, qword [rsp + 0x100]
mov rdi, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
test r11, r11
je 0x180097693
mov rdx, qword [rbp - 0x39]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x18009768b
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009768b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800d8994
cmp dword [0x18012a608], 5
mov qword [0x18012bd70], rbx
jge 0x18009773d
xorps xmm0, xmm0
mov qword [rbp - 0x59], 0
mov ecx, 0x20
mov qword [rbp - 0x51], 0xf
movups xmmword [rbp - 0x69], xmm0
call fcn.1800d8958
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x51], 0x1f
test rbx, rbx
jne 0x180097713
movups xmm0, xmmword [str.Couldnt_find_GiveAbility_]
mov qword [rbp - 0x59], 0x1a
xor edx, edx
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1800f13e8]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1800f13f0]
mov word [rax + 0x18], cx
lea rcx, [rbp - 0x69]
mov byte [rax + 0x1a], bl
call fcn.180093170
jmp 0x18009773d
movups xmm0, xmmword [str.Found_GiveAbility_]
mov qword [rbp - 0x59], socket
movups xmmword [rax], xmm0
movzx ecx, word [0x1800f1408]
mov word [rax + 0x10], cx
lea rcx, [rbp - 0x69]
mov byte [rax + 0x12], 0
call fcn.1800935c0
mov al, 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800d8e20
mov rbx, qword [rsp + 0x108]
add rsp, 0xe0
pop rbp
ret