Function at 0x1800be120
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 - 0xc8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x180119040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov edx, 4
mov rcx, qword [0x18011be78]
call fcn.1800bcf90
mov dl, 3
mov rcx, qword [0x18011c5e8]
call fcn.1800bce10
call fcn.1800c0f30
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180025850
mov rcx, qword [rax]
mov rcx, qword [rcx]
mov qword [0x18011c630], rcx
mov dl, 2
call fcn.1800bce10
mov ecx, 6
call fcn.1800bfe30
mov rcx, rax
call fcn.180039c30
mov qword [rbp - 0x70], rax
mov word [rbp - 0x68], 0x102
xor eax, eax
mov dword [rbp - 0x66], eax
mov word [rbp - 0x62], ax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xor esi, esi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], 0xf
lea ecx, [rax + 0x30]
call fcn.1800c8160
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], 0x20
mov qword [rbp - 0x38], 0x2f
movups xmm0, xmmword [str.SetDataLayerInstanceRuntimeState]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1800f9a90]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], sil
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x50]
mov rcx, qword [0x18011ac68]
call fcn.1800a0c90
lea rcx, [rbp - 0x70]
call fcn.1800bf2a0
mov rbx, qword [rbp - 0x70]
movsxd rax, dword [rbp - 0x68]
lea rdi, [rbx + rax*8]
cmp rbx, rdi
je 0x1800be2c0
nop dword [rax]
mov rcx, qword [rbx]
call fcn.180039c30
mov qword [rbp - 0x70], rax
mov word [rbp - 0x68], 0x100
xor eax, eax
mov dword [rbp - 0x66], eax
mov word [rbp - 0x62], ax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], 0xf
lea ecx, [rax + 0x30]
call fcn.1800c8160
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], 0x20
mov qword [rbp - 0x38], 0x2f
movups xmm0, xmmword [str.SetDataLayerInstanceRuntimeState]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1800f9a90]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], sil
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x50]
mov rcx, qword [0x18011ac68]
call fcn.1800a0c90
add rbx, 8
cmp rbx, rdi
jne 0x1800be240
lea rcx, [rbp - 0x70]
call fcn.1800bef90
mov rbx, qword [rbp - 0x70]
movsxd rax, dword [rbp - 0x68]
lea rdi, [rbx + rax*8]
cmp rbx, rdi
je 0x1800be360
nop
mov rcx, qword [rbx]
call fcn.180039c30
mov qword [rbp - 0x70], rax
mov word [rbp - 0x68], 0x102
xor eax, eax
mov dword [rbp - 0x66], eax
mov word [rbp - 0x62], ax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], 0xf
lea ecx, [rax + 0x30]
call fcn.1800c8160
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], 0x20
mov qword [rbp - 0x38], 0x2f
movups xmm0, xmmword [str.SetDataLayerInstanceRuntimeState]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1800f9a90]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], sil
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x50]
mov rcx, qword [0x18011ac68]
call fcn.1800a0c90
add rbx, 8
cmp rbx, rdi
jne 0x1800be2e0
mov rcx, qword [0x18011ada0]
test rcx, rcx
je 0x1800be3a0
cmp qword [0x18011ae78], rsi
je 0x1800be37e
mov rax, qword [0x18011ae48]
jmp 0x1800be388
movsxd rax, dword [0x18011ac30]
add rax, rcx
mov rbx, qword [rax]
test rbx, rbx
je 0x1800be3a0
movsxd rax, dword [0x18011ac3c]
mov rbx, qword [rax + rbx]
test rbx, rbx
jne 0x1800be3a3
mov rbx, rsi
lea rcx, [rbp - 0x10]
lea rax, [0x180103d20]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
movups xmm0, xmmword [rax + 0x70]
movups xmmword [rcx + 0x70], xmm0
movups xmm1, xmmword [rax + 0x80]
movups xmmword [rcx + 0x80], xmm1
movups xmm0, xmmword [rax + 0x90]
movups xmmword [rcx + 0x90], xmm0
mov eax, dword [rax + 0xa0]
mov dword [rcx + 0xa0], eax
mov r8d, esi
cmp dword [0x180119010], 2
jl 0x1800be55b
movdqa xmm5, xmmword [0x1801044a0]
movdqa xmm4, xmmword [0x180104650]
movdqa xmm6, xmmword [0x1801044e0]
movdqa xmm0, xmmword [str.2222222222222222]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0xc]
mov edx, dword [rbp - 0x70]
movd xmm2, r8d
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 [0x1801045a0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x1801045a0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0xa0
jl 0x1800be450
cmp r8d, 0xa4
jge 0x1800be5a3
movsxd rax, r8d
lea r9, [rbp - 0x10]
add r9, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xa4
jl 0x1800be570
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1800be5c0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x50]
call fcn.180009130
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
cmp byte [0x18011aaec], 0
jne 0x1800be60e
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.180011010
mov rcx, rax
call fcn.1800055b0
jmp 0x1800be617
lea rcx, [rbp - 0x50]
call fcn.180024ea0
mov rdi, rax
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1800be658
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800be653
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800be653
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8790
mov rcx, rbx
call fcn.1800b7db0
mov qword [rax], rdi
mov rcx, rbx
call fcn.1800b7f90
mov dword [rax], 0x42b40000
mov rcx, rbx
call fcn.1800b7e90
mov dword [rax], 0x3f59999a
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov ecx, 0x50
call fcn.1800c8160
mov rcx, rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], 0x46
mov qword [rbp - 0x58], 0x4f
movups xmm0, xmmword [str._Durian_Sequences_VerseMasters_Rep_Durian_Phase_5.Rep_Durian_Phase_5_C]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x180103700]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x180103710]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [0x180103720]
movups xmmword [rax + 0x30], xmm1
mov eax, dword [0x180103730]
mov dword [rcx + 0x40], eax
movzx eax, word [0x180103734]
mov word [rcx + 0x44], ax
mov byte [rcx + 0x46], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
cmp byte [0x18011aaec], 0
jne 0x1800be722
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.180011010
mov rcx, rax
call fcn.1800055b0
jmp 0x1800be72c
lea rcx, [rbp - 0x70]
call fcn.180024ea0
nop
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.180025850
mov rcx, qword [rax]
xor edx, edx
mov rcx, qword [rcx]
call fcn.18000f3f0
mov rbx, rax
mov qword [0x18011c618], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1800be794
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800be788
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800be788
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8790
mov rbx, qword [0x18011c618]
mov qword [rsp + 0x40], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], socket
mov ecx, 0x20
call fcn.1800c8160
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], socket
mov qword [rsp + 0x60], 0x1f
movups xmm0, xmmword [str.GetSequencePlayer]
movups xmmword [rax], xmm0
movzx edx, byte [0x180102c98]
mov byte [rax + 0x10], dl
mov byte [rax + 0x11], 0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1800a0c90
mov rcx, qword [rsp + 0x40]
mov qword [0x18011bec8], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 4
mov qword [rbp - 0x38], 0xf
mov dword [rbp - 0x50], 0x79616c50
mov byte [rbp - 0x4c], 0
xor r8d, r8d
lea rdx, [rbp - 0x50]
call fcn.1800a0c90
mov byte [rsp + 0x20], 1
lea rcx, [0x18011add0]
call fcn.180026c20
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1800c8140
lea r11, [rsp + 0x1c0]
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