Function at 0x1800cede0
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 [0x180148040]
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.180016750
nop
xor r9d, r9d
lea rcx, [rbp - 0x70]
call fcn.180062d90
mov r14, rax
lea rcx, [rbp - 0x70]
call fcn.18002d710
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.180016750
nop
xor r9d, r9d
lea rcx, [rsp + 0x70]
call fcn.180062d90
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.180016750
nop
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180062810
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.18002d710
nop
lea rcx, [rsp + 0x70]
call fcn.18002d710
test rbx, rbx
jne 0x1800cefad
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, socket
lea rdx, str.LevelStreamingDynamic
lea rcx, [rbp - 0x30]
call fcn.180016750
nop
xor r9d, r9d
lea rcx, [rbp - 0x30]
call fcn.180062d90
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.180016750
nop
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180062810
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.18002d710
nop
lea rcx, [rbp - 0x30]
call fcn.18002d710
test rbx, rbx
jne 0x1800cefad
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.180016750
nop
lea rdx, [rsp + 0x50]
xor ecx, ecx
call fcn.180062810
nop
lea rcx, [rsp + 0x50]
call fcn.18002d710
xor edi, edi
lea r15, [0x18014aff8]
mov esi, 1
movsd xmm0, qword [0x180149dd8]
movsd xmm6, qword [0x18012dca8]
mov eax, dword [0x180149de0]
comisd xmm0, xmm6
jb 0x1800cf1f5
cmp eax, 0x17
jge 0x1800cf1f5
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, socket
lea rdx, str.SetShouldBeVisible
lea rcx, [rsp + 0x70]
call fcn.180016750
nop
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.180062810
mov rcx, rax
mov ebx, edi
test rax, rax
jne 0x1800cf091
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
xor r8d, r8d
lea rdx, [0x18011e4f0]
lea rcx, [rsp + 0x50]
call fcn.180016750
nop
cmp byte [0x180149df8], dil
je 0x1800cf085
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, [0x18014afe8]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x50]
call fcn.18002d710
jmp 0x1800cf09c
movsxd rax, dword [0x1801483cc]
mov rbx, qword [rax + rcx]
mov qword [rbp], rbx
lea rcx, [rsp + 0x70]
call fcn.18002d710
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.18000f4e0
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.1800ab590
mov rbx, rax
mov byte [rsp + 0x40], 0xe8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.18000f4e0
mov rdx, qword [rsp + 0x50]
movzx ecx, byte [rsp + 0x40]
mov byte [rdx], cl
lea rcx, [rdx + 1]
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.1800ab590
mov rcx, rax
mov rbx, qword [rax]
test rbx, rbx
je 0x1800cf174
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, [0x18011e4f0]
lea rcx, [rsp + 0x50]
call fcn.180016750
nop
cmp byte [0x180149df8], 0
je 0x1800cf1d6
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, [0x18014afe8]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x50]
call fcn.18002d710
mov qword [0x18014b9a0], rbx
movsd xmm0, qword [0x180149dd8]
mov eax, dword [0x180149de0]
comisd xmm0, xmmword [0x18012dda0]
jb 0x1800cf5d3
cmp eax, 0x17
jge 0x1800cf81e
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.180016750
nop
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.180062810
mov rcx, rax
mov rbx, rdi
test rax, rax
jne 0x1800cf2b6
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
xor r8d, r8d
lea rdx, [0x18011e4f0]
lea rcx, [rbp - 0x70]
call fcn.180016750
nop
cmp byte [0x180149df8], 0
je 0x1800cf2ab
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, [0x18014afe8]
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x48]
call fcn.1800288e0
nop
lea rcx, [rbp - 0x70]
call fcn.18002d710
jmp 0x1800cf2c1
movsxd rax, dword [0x1801483cc]
mov rbx, qword [rax + rcx]
mov qword [rbp], rbx
lea rcx, [rsp + 0x50]
call fcn.18002d710
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.18000f4e0
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.1800ab590
mov rbx, rax
mov byte [rsp + 0x40], 0xe8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.18000f4e0
mov rdx, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x40]
mov byte [rdx], cl
lea rcx, [rdx + 1]
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.1800ab590
mov rcx, rax
mov rbx, qword [rax]
test rbx, rbx
je 0x1800cf399
movsxd rax, dword [rbx + 1]
add rbx, 5
add rbx, rax
mov qword [rcx], rbx
movsd xmm0, qword [0x180149dd8]
ucomisd xmm0, qword [0x18012ddf8]
jp 0x1800cf570
jne 0x1800cf570
movups xmm0, xmmword [0x18012ac50]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [str._uvc]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x18012ac70]
movups xmmword [rbp - 0x50], xmm0
mov eax, dword [str.__RCVQ0]
mov dword [rbp - 0x40], eax
movzx eax, word [0x18012ac84]
mov word [rbp - 0x3c], ax
movzx eax, byte [0x18012ac86]
mov byte [rbp - 0x3a], al
cmp dword [0x180148090], 2
jl 0x1800cf522
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x6c]
movdqa xmm6, xmmword [0x18012e1e0]
mov edx, dword [rbp - 0x30]
nop word [rax + rax]
movd xmm2, edi
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edi, 8
lea rcx, [rcx + 8]
cmp edi, 0x30
jl 0x1800cf440
cmp edi, 0x37
jge 0x1800cf55d
movsxd rax, edi
lea r8, [rbp - 0x70]
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 0x1800cf530
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.180038a30
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, [0x18011e4f0]
lea rcx, [rbp - 0x70]
call fcn.180016750
nop
cmp byte [0x180149df8], 0
je 0x1800cf5ce
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, [0x18014afe8]
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x48]
call fcn.1800288e0
nop
jmp 0x1800cf80e
comisd xmm0, xmm6
jb 0x1800cf81e
comisd xmm0, xmmword [0x18012dcf8]
jb 0x1800cf5ec
cmp eax, 7
jl 0x1800cf5ee
mov esi, edi
mov eax, dword [0x18012ac48]
movups xmm0, xmmword [0x18012ac10]
mov dword [rbp - 0x38], eax
movups xmmword [rbp - 0x70], xmm0
movzx eax, word [0x18012ac4c]
movups xmm0, xmmword [0x18012ac30]
mov word [rbp - 0x34], ax
movups xmmword [rbp - 0x50], xmm0
movzx eax, byte [0x18012ac4e]
movsd xmm0, qword [0x18012ac40]
movups xmm1, xmmword [str._uzc_af]
mov byte [rbp - 0x32], al
movsd qword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x60], xmm1
cmp dword [0x180148090], 2
jl 0x1800cf762
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x6c]
movdqa xmm6, xmmword [0x18012e1e0]
mov edx, dword [rbp - 0x30]
nop dword [rax + rax]
movd xmm2, edi
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edi, 8
lea rcx, [rcx + 8]
cmp edi, 0x38
jl 0x1800cf680
cmp edi, 0x3f
jge 0x1800cf79d
movsxd rax, edi
lea r8, [rbp - 0x70]
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 0x1800cf770
mov r8d, esi
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.180038a30
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, [0x18011e4f0]
lea rcx, [rbp - 0x70]
call fcn.180016750
nop
cmp byte [0x180149df8], 0
je 0x1800cf80e
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, [0x18014afe8]
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x48]
call fcn.1800288e0
nop
lea rcx, [rbp - 0x70]
call fcn.18002d710
mov qword [0x18014b9b0], rbx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1800ec360
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