Function at 0x1800bb5f0
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
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x18011f040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov r8d, 0x11
lea rdx, str.SetShouldBeLoaded
lea rcx, [rbp - 0x59]
call fcn.18001d0a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, socket
lea rdx, str.LevelStreamingKismet
lea rcx, [rbp - 0x31]
call fcn.18001d0a0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.18000def0
mov rbx, rax
lea rcx, [rbp - 0x31]
call fcn.18001f2b0
nop
lea rcx, [rbp - 0x59]
call fcn.18001f2b0
test rbx, rbx
jne 0x1800bb778
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
lea r8d, [rbx + 0x11]
lea rdx, str.SetShouldBeLoaded
lea rcx, [rbp - 0x59]
call fcn.18001d0a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
lea r8d, [rbx + 0x15]
lea rdx, str.LevelStreamingDynamic
lea rcx, [rbp - 0x31]
call fcn.18001d0a0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.18000def0
mov rbx, rax
lea rcx, [rbp - 0x31]
call fcn.18001f2b0
nop
lea rcx, [rbp - 0x59]
call fcn.18001f2b0
test rbx, rbx
jne 0x1800bb778
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
lea r8d, [rbx + 0x11]
lea rdx, str.SetShouldBeLoaded
lea rcx, [rbp - 0x59]
call fcn.18001d0a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
lea r8d, [rbx + 0xe]
lea rdx, str.LevelStreaming
lea rcx, [rbp - 0x31]
call fcn.18001d0a0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.18000def0
mov rbx, rax
lea rcx, [rbp - 0x31]
call fcn.18001f2b0
nop
lea rcx, [rbp - 0x59]
call fcn.18001f2b0
mov qword [0x180122330], rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov r8d, socket
lea rdx, str.SetShouldBeVisible
lea rcx, [rbp - 0x59]
call fcn.18001d0a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, 0xe
lea rdx, str.LevelStreaming
lea rcx, [rbp - 0x31]
call fcn.18001d0a0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.18000def0
mov qword [0x180122338], rax
lea rcx, [rbp - 0x31]
call fcn.18001f2b0
nop
lea rcx, [rbp - 0x59]
call fcn.18001f2b0
xor edi, edi
lea esi, [rdi + 1]
movsd xmm0, qword [0x180120d48]
movsd xmm6, qword [0x1801088f8]
comisd xmm0, xmm6
jb 0x1800bb8ee
cmp dword [0x180120d50], 0x17
jge 0x1800bb8ee
mov eax, edi
mov rcx, qword [0x180122338]
test rcx, rcx
je 0x1800bb837
movsxd rax, dword [0x18011f098]
mov rax, qword [rax + rcx]
mov qword [rbp + 0x37], rax
mov dword [rbp - 0x39], 0x20c48348
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rdi
mov edx, 4
lea rcx, [rbp - 0x59]
call fcn.18002f250
mov rcx, qword [rbp - 0x59]
mov eax, dword [rbp - 0x39]
mov dword [rcx], eax
lea rax, [rcx + 4]
mov qword [rbp - 0x51], rax
mov dword [rsp + 0x20], edi
movzx r9d, sil
lea r8, [rbp - 0x59]
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 0x37]
call fcn.18004ad80
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rdi
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.18002f250
mov rcx, qword [rbp - 0x31]
mov byte [rcx], 0xe8
inc rcx
mov qword [rbp - 0x29], rcx
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rbp - 0x31]
lea rdx, [rbp + 0x17]
mov rcx, rbx
call fcn.18004ad80
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1800bb8df
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x180122318], rcx
movsd xmm0, qword [0x180120d48]
comisd xmm0, xmmword [0x1801089f0]
jb 0x1800bbc2b
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov r8d, 0x1f
lea rdx, str.SetIsRequestingUnloadAndRemoval
lea rcx, [rbp - 0x59]
call fcn.18001d0a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, 0xe
lea rdx, str.LevelStreaming
lea rcx, [rbp - 0x31]
call fcn.18001d0a0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.18000def0
mov qword [0x180122340], rax
lea rcx, [rbp - 0x31]
call fcn.18001f2b0
nop
lea rcx, [rbp - 0x59]
call fcn.18001f2b0
cmp dword [0x180120d50], 0x17
jge 0x1800bbe39
mov rax, rdi
mov rcx, qword [0x180122340]
test rcx, rcx
je 0x1800bb996
movsxd rax, dword [0x18011f098]
mov rax, qword [rax + rcx]
mov qword [rbp + 0x37], rax
mov dword [rbp - 0x39], 0x20c48348
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rdi
mov edx, 4
lea rcx, [rbp - 0x31]
call fcn.18002f250
mov rcx, qword [rbp - 0x31]
mov eax, dword [rbp - 0x39]
mov dword [rcx], eax
lea rax, [rcx + 4]
mov qword [rbp - 0x29], rax
mov dword [rsp + 0x20], edi
mov r9b, 1
lea r8, [rbp - 0x31]
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 0x37]
call fcn.18004ad80
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rdi
mov rdx, rsi
lea rcx, [rbp - 0x59]
call fcn.18002f250
mov rcx, qword [rbp - 0x59]
mov byte [rcx], 0xe8
inc rcx
mov qword [rbp - 0x51], rcx
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rbp - 0x59]
lea rdx, [rbp + 0x27]
mov rcx, rbx
call fcn.18004ad80
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1800bba3d
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
movsd xmm0, qword [0x180120d48]
ucomisd xmm0, qword [0x180108a50]
jp 0x1800bbe32
jne 0x1800bbe32
movups xmm0, xmmword [str._r_ne_t]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [0x180106ad0]
movups xmmword [rbp - 0x21], xmm1
movups xmm0, xmmword [0x180106ae0]
movups xmmword [rbp - 0x11], xmm0
mov eax, dword [0x180106af0]
mov dword [rbp - 1], eax
movzx eax, word [0x180106af4]
mov word [rbp + 3], ax
movzx eax, byte [0x180106af6]
mov byte [rbp + 5], al
cmp dword [0x18011f018], 2
jl 0x1800bbbdb
movdqa xmm5, xmmword [0x180108e50]
movdqa xmm4, xmmword [0x180109040]
movdqa xmm6, xmmword [0x180108e80]
movdqa xmm0, xmmword [0x180108f50]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp - 0x2d]
mov edx, dword [rbp + 0x17]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180108f30]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180108f30]
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 0x1800bbad1
cmp eax, 0x37
jge 0x1800bbc1f
movsxd rax, edi
lea r8, [rbp - 0x31]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, dil
sub al, cl
add al, 0x39
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x37
jl 0x1800bbbf0
xor r8d, r8d
lea rdx, [rbp - 0x31]
jmp 0x1800bbe26
comisd xmm0, xmm6
jb 0x1800bbe39
comisd xmm0, xmmword [0x180108938]
jb 0x1800bbc48
cmp dword [0x180120d50], 7
jl 0x1800bbc4a
mov esi, edi
mov eax, dword [0x180106ab8]
movups xmm0, xmmword [0x180106a80]
mov dword [rbp + 7], eax
movups xmmword [rbp - 0x31], xmm0
movzx eax, word [0x180106abc]
movups xmm0, xmmword [0x180106aa0]
mov word [rbp + 0xb], ax
movups xmmword [rbp - 0x11], xmm0
movzx eax, byte [0x180106abe]
movsd xmm0, qword [0x180106ab0]
movups xmm1, xmmword [0x180106a90]
mov byte [rbp + 0xd], al
movsd qword [rbp - 1], xmm0
movups xmmword [rbp - 0x21], xmm1
cmp dword [0x18011f018], 2
jl 0x1800bbdda
movdqa xmm5, xmmword [0x180108e50]
movdqa xmm4, xmmword [0x180109040]
movdqa xmm6, xmmword [0x180108e80]
movdqa xmm0, xmmword [0x180108f50]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp - 0x2d]
mov edx, dword [rbp + 0x17]
nop
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180108f30]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180108f30]
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 0x1800bbcd0
cmp eax, 0x3f
jge 0x1800bbe1f
movsxd rax, edi
lea r8, [rbp - 0x31]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, dil
sub al, cl
add al, 0x39
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x3f
jl 0x1800bbdf0
mov r8d, esi
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 0x17]
call fcn.18001e430
mov rcx, qword [rax]
mov qword [0x180122328], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov r8d, 0xd
lea rdx, str.IsLevelLoaded
lea rcx, [rbp - 0x59]
call fcn.18001d0a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, 0xe
lea rdx, str.LevelStreaming
lea rcx, [rbp - 0x31]
call fcn.18001d0a0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.18000def0
mov qword [0x180122348], rax
lea rcx, [rbp - 0x31]
call fcn.18001f2b0
nop
lea rcx, [rbp - 0x59]
call fcn.18001f2b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov r8d, 0xe
lea rdx, str.CreateInstance
lea rcx, [rbp - 0x59]
call fcn.18001d0a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, 0xe
lea rdx, str.LevelStreaming
lea rcx, [rbp - 0x31]
call fcn.18001d0a0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.18000def0
mov qword [0x180122350], rax
lea rcx, [rbp - 0x31]
call fcn.18001f2b0
nop
lea rcx, [rbp - 0x59]
call fcn.18001f2b0
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1800cb0c0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret