Function at 0x1800b40e0
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 [0x180117040]
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.18001d5d0
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.18001d5d0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.18000e420
mov rbx, rax
lea rcx, [rbp - 0x31]
call fcn.18001faf0
nop
lea rcx, [rbp - 0x59]
call fcn.18001faf0
test rbx, rbx
jne 0x1800b4268
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.18001d5d0
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.18001d5d0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.18000e420
mov rbx, rax
lea rcx, [rbp - 0x31]
call fcn.18001faf0
nop
lea rcx, [rbp - 0x59]
call fcn.18001faf0
test rbx, rbx
jne 0x1800b4268
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.18001d5d0
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.18001d5d0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.18000e420
mov rbx, rax
lea rcx, [rbp - 0x31]
call fcn.18001faf0
nop
lea rcx, [rbp - 0x59]
call fcn.18001faf0
mov qword [0x18011aa98], 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.18001d5d0
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.18001d5d0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.18000e420
mov qword [0x18011aaa0], rax
lea rcx, [rbp - 0x31]
call fcn.18001faf0
nop
lea rcx, [rbp - 0x59]
call fcn.18001faf0
xor edi, edi
lea esi, [rdi + 1]
movsd xmm0, qword [0x180118dc0]
movsd xmm6, qword [0x180101238]
comisd xmm0, xmm6
jb 0x1800b43de
cmp dword [0x180118dc8], 0x17
jge 0x1800b43de
mov eax, edi
mov rcx, qword [0x18011aaa0]
test rcx, rcx
je 0x1800b4327
movsxd rax, dword [0x180117098]
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.18002fb80
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.18008dab0
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.18002fb80
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.18008dab0
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1800b43cf
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x18011aa80], rcx
movsd xmm0, qword [0x180118dc0]
comisd xmm0, xmmword [0x180101330]
jb 0x1800b471b
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.18001d5d0
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.18001d5d0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.18000e420
mov qword [0x18011aaa8], rax
lea rcx, [rbp - 0x31]
call fcn.18001faf0
nop
lea rcx, [rbp - 0x59]
call fcn.18001faf0
cmp dword [0x180118dc8], 0x17
jge 0x1800b4929
mov rax, rdi
mov rcx, qword [0x18011aaa8]
test rcx, rcx
je 0x1800b4486
movsxd rax, dword [0x180117098]
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.18002fb80
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.18008dab0
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.18002fb80
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.18008dab0
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1800b452d
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
movsd xmm0, qword [0x180118dc0]
ucomisd xmm0, qword [0x180101388]
jp 0x1800b4922
jne 0x1800b4922
movups xmm0, xmmword [0x1800ff5a0]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [0x1800ff5b0]
movups xmmword [rbp - 0x21], xmm1
movups xmm0, xmmword [0x1800ff5c0]
movups xmmword [rbp - 0x11], xmm0
mov eax, dword [0x1800ff5d0]
mov dword [rbp - 1], eax
movzx eax, word [0x1800ff5d4]
mov word [rbp + 3], ax
movzx eax, byte [0x1800ff5d6]
mov byte [rbp + 5], al
cmp dword [0x180117018], 2
jl 0x1800b46cb
movdqa xmm5, xmmword [0x180101630]
movdqa xmm4, xmmword [0x180101850]
movdqa xmm6, xmmword [0x180101670]
movdqa xmm0, xmmword [0x180101740]
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 [0x180101720]
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 [0x180101720]
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 0x1800b45c1
cmp eax, 0x37
jge 0x1800b470f
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, 0x35
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x37
jl 0x1800b46e0
xor r8d, r8d
lea rdx, [rbp - 0x31]
jmp 0x1800b4916
comisd xmm0, xmm6
jb 0x1800b4929
comisd xmm0, xmmword [0x180101278]
jb 0x1800b4738
cmp dword [0x180118dc8], 7
jl 0x1800b473a
mov esi, edi
mov eax, dword [0x1800ff598]
movups xmm0, xmmword [0x1800ff560]
mov dword [rbp + 7], eax
movups xmmword [rbp - 0x31], xmm0
movzx eax, word [0x1800ff59c]
movups xmm0, xmmword [0x1800ff580]
mov word [rbp + 0xb], ax
movups xmmword [rbp - 0x11], xmm0
movzx eax, byte [0x1800ff59e]
movsd xmm0, qword [0x1800ff590]
movups xmm1, xmmword [0x1800ff570]
mov byte [rbp + 0xd], al
movsd qword [rbp - 1], xmm0
movups xmmword [rbp - 0x21], xmm1
cmp dword [0x180117018], 2
jl 0x1800b48ca
movdqa xmm5, xmmword [0x180101630]
movdqa xmm4, xmmword [0x180101850]
movdqa xmm6, xmmword [0x180101670]
movdqa xmm0, xmmword [0x180101740]
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 [0x180101720]
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 [0x180101720]
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 0x1800b47c0
cmp eax, 0x3f
jge 0x1800b490f
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, 0x35
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x3f
jl 0x1800b48e0
mov r8d, esi
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 0x17]
call fcn.18001e960
mov rcx, qword [rax]
mov qword [0x18011aa90], 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.18001d5d0
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.18001d5d0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.18000e420
mov qword [0x18011aab0], rax
lea rcx, [rbp - 0x31]
call fcn.18001faf0
nop
lea rcx, [rbp - 0x59]
call fcn.18001faf0
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.18001d5d0
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.18001d5d0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.18000e420
mov qword [0x18011aab8], rax
lea rcx, [rbp - 0x31]
call fcn.18001faf0
nop
lea rcx, [rbp - 0x59]
call fcn.18001faf0
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1800c4020
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