Function at 0x1800bb220
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 0x1800bb3a8
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 0x1800bb3a8
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 [0x180108908]
comisd xmm0, xmm6
jb 0x1800bb51e
cmp dword [0x180120d50], 0x17
jge 0x1800bb51e
mov eax, edi
mov rcx, qword [0x180122338]
test rcx, rcx
je 0x1800bb467
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.18004ad70
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.18004ad70
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1800bb50f
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 [0x180108a00]
jb 0x1800bb849
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 0x1800bba47
mov rax, rdi
mov rcx, qword [0x180122340]
test rcx, rcx
je 0x1800bb5c6
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.18004ad70
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.18004ad70
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1800bb66d
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
movsd xmm0, qword [0x180120d48]
ucomisd xmm0, qword [0x180108a60]
jp 0x1800bba40
jne 0x1800bba40
movups xmm0, xmmword [0x180106ad0]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [str._uvc]
movups xmmword [rbp - 0x21], xmm1
movups xmm0, xmmword [0x180106af0]
movups xmmword [rbp - 0x11], xmm0
mov eax, dword [str.__RCVQ0]
mov dword [rbp - 1], eax
movzx eax, word [0x180106b04]
mov word [rbp + 3], ax
movzx eax, byte [0x180106b06]
mov byte [rbp + 5], al
cmp dword [0x18011f018], 2
jl 0x1800bb803
movdqa xmm5, xmmword [0x180108e60]
movdqa xmm4, xmmword [0x180109000]
movdqa xmm6, xmmword [0x180108e90]
movdqa xmm0, xmmword [0x180108f60]
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
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
andps xmm2, xmmword [0x180108f40]
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, 4
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 [0x180108f40]
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 0x1800bb701
cmp eax, 0x37
jge 0x1800bb83d
movsxd rax, edi
lea r8, [rbp - 0x31]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, dil
sub al, cl
add al, 0x30
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x37
jl 0x1800bb810
xor r8d, r8d
lea rdx, [rbp - 0x31]
jmp 0x1800bba34
comisd xmm0, xmm6
jb 0x1800bba47
comisd xmm0, xmmword [0x180108948]
jb 0x1800bb866
cmp dword [0x180120d50], 7
jl 0x1800bb868
mov esi, edi
mov eax, dword [0x180106ac8]
movups xmm0, xmmword [0x180106a90]
mov dword [rbp + 7], eax
movups xmmword [rbp - 0x31], xmm0
movzx eax, word [0x180106acc]
movups xmm0, xmmword [0x180106ab0]
mov word [rbp + 0xb], ax
movups xmmword [rbp - 0x11], xmm0
movzx eax, byte [0x180106ace]
movsd xmm0, qword [0x180106ac0]
movups xmm1, xmmword [str._uzc_af]
mov byte [rbp + 0xd], al
movsd qword [rbp - 1], xmm0
movups xmmword [rbp - 0x21], xmm1
cmp dword [0x18011f018], 2
jl 0x1800bb9f2
movdqa xmm5, xmmword [0x180108e60]
movdqa xmm4, xmmword [0x180109000]
movdqa xmm6, xmmword [0x180108e90]
movdqa xmm0, xmmword [0x180108f60]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp - 0x2d]
mov edx, dword [rbp + 0x17]
nop dword [rax]
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, 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
andps xmm2, xmmword [0x180108f40]
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, 4
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 [0x180108f40]
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 0x1800bb8f0
cmp eax, 0x3f
jge 0x1800bba2d
movsxd rax, edi
lea r8, [rbp - 0x31]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, dil
sub al, cl
add al, 0x30
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x3f
jl 0x1800bba00
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.1800cac90
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