Function at 0x1800cfe30
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x120
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x180149040]
xor rax, rsp
mov qword [rbp + 8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov r8d, 0xe
lea rdx, str.LevelStreaming
lea rcx, [rbp - 0x70]
call fcn.180016150
nop
xor r9d, r9d
lea rcx, [rbp - 0x70]
call fcn.180063570
mov r14, rax
lea rcx, [rbp - 0x70]
call fcn.18002d3d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, socket
lea rdx, str.LevelStreamingKismet
lea rcx, [rsp + 0x70]
call fcn.180016150
nop
xor r9d, r9d
lea rcx, [rsp + 0x70]
call fcn.180063570
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x11
lea rdx, str.SetShouldBeLoaded
lea rcx, [rsp + 0x50]
call fcn.180016150
nop
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180062ff0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.18002d3d0
nop
lea rcx, [rsp + 0x70]
call fcn.18002d3d0
test rbx, rbx
jne 0x1800cfff9
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea r8d, [rbx + 0x15]
lea rdx, str.LevelStreamingDynamic
lea rcx, [rbp - 0x30]
call fcn.180016150
nop
xor r9d, r9d
lea rcx, [rbp - 0x30]
call fcn.180063570
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x11
lea rdx, str.SetShouldBeLoaded
lea rcx, [rsp + 0x50]
call fcn.180016150
nop
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180062ff0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.18002d3d0
nop
lea rcx, [rbp - 0x30]
call fcn.18002d3d0
test rbx, rbx
jne 0x1800cfff9
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea r8d, [rbx + 0x11]
lea rdx, str.SetShouldBeLoaded
lea rcx, [rsp + 0x50]
call fcn.180016150
nop
lea rdx, [rsp + 0x50]
xor ecx, ecx
call fcn.180062ff0
nop
lea rcx, [rsp + 0x50]
call fcn.18002d3d0
xor edi, edi
lea r15, [0x18014bfd8]
lea esi, [rdi + 1]
movsd xmm0, qword [0x18014adb8]
movsd xmm6, qword [0x18012eb48]
mov eax, dword [0x18014adc0]
comisd xmm0, xmm6
jb 0x1800d0233
cmp eax, 0x17
jge 0x1800d0233
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r8d, [rdi + 0x12]
lea rdx, str.SetShouldBeVisible
lea rcx, [rsp + 0x70]
call fcn.180016150
nop
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.180062ff0
mov rcx, rax
mov ebx, edi
test rax, rax
jne 0x1800d00d9
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rsp + 0x50]
call fcn.180016150
nop
cmp byte [0x18014add8], dil
je 0x1800d00cd
mov byte [rsp + 0x40], dil
mov dword [rsp + 0x48], 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
call fcn.180028480
nop
lea rcx, [rsp + 0x50]
call fcn.18002d3d0
jmp 0x1800d00e4
movsxd rax, dword [0x1801493ac]
mov rbx, qword [rax + rcx]
mov qword [rbp], rbx
lea rcx, [rsp + 0x70]
call fcn.18002d3d0
mov dword [rsp + 0x48], 0x20c48348
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov edx, 4
lea rcx, [rsp + 0x70]
call fcn.18000f200
mov rcx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x48]
mov dword [rcx], eax
lea rax, [rcx + 4]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x28], 0x800
mov dword [rsp + 0x20], edi
mov r9b, 1
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x10]
lea rcx, [rbp]
call fcn.1800acb60
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.18000f200
mov rcx, qword [rsp + 0x50]
mov byte [rcx], 0xe8
inc rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x28], 0x800
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.1800acb60
mov rcx, rax
mov rbx, qword [rax]
test rbx, rbx
je 0x1800d01b2
movsxd rax, dword [rbx + 1]
add rbx, 5
add rbx, rax
mov qword [rcx], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rsp + 0x50]
call fcn.180016150
nop
cmp byte [0x18014add8], 0
je 0x1800d0214
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x48], 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
call fcn.180028480
nop
lea rcx, [rsp + 0x50]
call fcn.18002d3d0
mov qword [0x18014c980], rbx
movsd xmm0, qword [0x18014adb8]
mov eax, dword [0x18014adc0]
comisd xmm0, xmmword [0x18012ec40]
jb 0x1800d0612
cmp eax, 0x17
jge 0x1800d086d
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x1f
lea rdx, str.SetIsRequestingUnloadAndRemoval
lea rcx, [rsp + 0x50]
call fcn.180016150
nop
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.180062ff0
mov rcx, rax
mov rbx, rdi
test rax, rax
jne 0x1800d02f4
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rbp - 0x70]
call fcn.180016150
nop
cmp byte [0x18014add8], 0
je 0x1800d02e9
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x48], 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [0x18014bfc8]
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x48]
call fcn.180028480
nop
lea rcx, [rbp - 0x70]
call fcn.18002d3d0
jmp 0x1800d02ff
movsxd rax, dword [0x1801493ac]
mov rbx, qword [rax + rcx]
mov qword [rbp], rbx
lea rcx, [rsp + 0x50]
call fcn.18002d3d0
mov dword [rsp + 0x48], 0x20c48348
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov edx, 4
lea rcx, [rsp + 0x50]
call fcn.18000f200
mov rcx, qword [rsp + 0x50]
mov eax, dword [rsp + 0x48]
mov dword [rcx], eax
lea rax, [rcx + 4]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], 0x800
mov dword [rsp + 0x20], edi
mov r9b, 1
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x30]
lea rcx, [rbp]
call fcn.1800acb60
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.18000f200
mov rcx, qword [rsp + 0x70]
mov byte [rcx], 0xe8
inc rcx
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x28], 0x800
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1800acb60
mov rcx, rax
mov rbx, qword [rax]
test rbx, rbx
je 0x1800d03cd
movsxd rax, dword [rbx + 1]
add rbx, 5
add rbx, rax
mov qword [rcx], rbx
movsd xmm0, qword [0x18014adb8]
ucomisd xmm0, qword [0x18012ec98]
jp 0x1800d05af
jne 0x1800d05af
movups xmm0, xmmword [0x18012baf0]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x18012bb00]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x18012bb10]
movups xmmword [rbp - 0x50], xmm0
mov eax, dword [0x18012bb20]
mov dword [rbp - 0x40], eax
movzx eax, word [0x18012bb24]
mov word [rbp - 0x3c], ax
movzx eax, byte [0x18012bb26]
mov byte [rbp - 0x3a], al
cmp dword [0x180149018], 2
jl 0x1800d0563
movdqa xmm5, xmmword [0x18012ef90]
movdqa xmm4, xmmword [0x18012f080]
movdqa xmm6, xmmword [0x18012efd0]
movdqa xmm0, xmmword [0x18012f090]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x6c]
mov edx, dword [rbp - 0x30]
movd xmm2, edi
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdi + 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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edi, 8
mov eax, edi
lea rcx, [rcx + 8]
cmp edi, 0x30
jl 0x1800d0461
cmp eax, 0x37
jge 0x1800d059c
movsxd rax, edi
lea r8, [rbp - 0x70]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, dil
sub al, cl
add al, 0x34
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x37
jl 0x1800d0570
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.1800387f0
mov rbx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rbp - 0x70]
call fcn.180016150
nop
cmp byte [0x18014add8], 0
je 0x1800d060d
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x48], 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [0x18014bfc8]
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x48]
call fcn.180028480
nop
jmp 0x1800d085d
comisd xmm0, xmm6
jb 0x1800d086d
comisd xmm0, xmmword [0x18012eb98]
jb 0x1800d062b
cmp eax, 7
jl 0x1800d062d
mov esi, edi
mov eax, dword [0x18012bae8]
movups xmm0, xmmword [0x18012bab0]
mov dword [rbp - 0x38], eax
movups xmmword [rbp - 0x70], xmm0
movzx eax, word [0x18012baec]
movups xmm0, xmmword [0x18012bad0]
mov word [rbp - 0x34], ax
movups xmmword [rbp - 0x50], xmm0
movzx eax, byte [0x18012baee]
movsd xmm0, qword [0x18012bae0]
movups xmm1, xmmword [0x18012bac0]
mov byte [rbp - 0x32], al
movsd qword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x60], xmm1
cmp dword [0x180149018], 2
jl 0x1800d07b4
movdqa xmm5, xmmword [0x18012ef90]
movdqa xmm4, xmmword [0x18012f080]
movdqa xmm6, xmmword [0x18012efd0]
movdqa xmm0, xmmword [0x18012f090]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x6c]
mov edx, dword [rbp - 0x30]
movd xmm2, edi
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdi + 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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edi, 8
mov eax, edi
lea rcx, [rcx + 8]
cmp edi, 0x38
jl 0x1800d06b2
cmp eax, 0x3f
jge 0x1800d07ec
movsxd rax, edi
lea r8, [rbp - 0x70]
add r8, rax
nop
mov eax, 0x94f2095
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, dil
sub al, cl
add al, 0x34
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x3f
jl 0x1800d07c0
mov r8d, esi
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.1800387f0
mov rbx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rbp - 0x70]
call fcn.180016150
nop
cmp byte [0x18014add8], 0
je 0x1800d085d
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x48], 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [0x18014bfc8]
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x48]
call fcn.180028480
nop
lea rcx, [rbp - 0x70]
call fcn.18002d3d0
mov qword [0x18014c990], rbx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1800ed360
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret