Function at 0x1800ba890
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x180119040]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r14, r9
mov rsi, r8
mov rdi, rcx
mov qword [rbp - 8], r9
mov rbx, qword [rbp + 0x110]
mov qword [rbp], rbx
xor r12d, r12d
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800ba8f0
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0x19
lea r9, str.StreamedVideoOnUrlSuccess
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
call fcn.1800250b0
cmp rax, 0xffffffffffffffff
je 0x1800ba9ce
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x60], xmm0
movq rax, xmm0
test rax, rax
je 0x1800ba9ce
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 8
mov qword [rbp - 0x68], 0xf
movabs rax, 0x4c52554c42676f4c
mov qword [rbp - 0x80], rax
mov byte [rbp - 0x78], 0
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1800a14f0
nop
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_requested_BLURL:
xor edx, edx
mov rcx, rax
call fcn.1800155a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 0xe
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.180097dd0
nop
lea rcx, [rbp + 0x60]
call fcn.180011620
movsd xmm0, qword [0x18011ac10]
comisd xmm0, xmmword [0x180104140]
jb 0x1800bab61
cmp byte [0x18011bebc], 0
je 0x1800bab61
call fcn.1800b8510
test rax, rax
je 0x1800bab61
mov rcx, qword [rdi + 0x10]
cmp rcx, rax
je 0x1800baa2b
movsxd r8, dword [str.08D_]
nop
test rcx, rcx
je 0x1800bab61
mov rcx, qword [r8 + rcx]
test rcx, rcx
je 0x1800bab61
cmp rcx, rax
jne 0x1800baa10
mov byte [0x18011bebc], 0
call fcn.1800b8510
test rax, rax
je 0x1800baa6a
mov rcx, qword [rdi + 0x10]
cmp rcx, rax
je 0x1800baa63
movsxd r8, dword [str.08D_]
nop dword [rax]
test rcx, rcx
je 0x1800baa6a
mov rcx, qword [r8 + rcx]
test rcx, rcx
je 0x1800baa6a
cmp rcx, rax
jne 0x1800baa50
mov qword [0x18011c5c0], rdi
lea rdx, [rbp + 0x28]
mov rcx, qword [rdi + 0x10]
call fcn.180005690
nop
mov r9d, 0x45
lea r8, str.Successfully_found_SpecialEventScript__ready_to_be_used__Actor____
xor edx, edx
mov rcx, rax
call fcn.1800155a0
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x1800ee150]
lea rcx, [rbp + 8]
call fcn.1800117f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x40]
call fcn.180097c40
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x1800bab47
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bab42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800bab42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8790
movdqa xmm0, xmmword [0x180104380]
movdqu xmmword [rbp + 0x18], xmm0
mov byte [rbp + 8], 0
lea rcx, [rbp + 0x28]
call fcn.180011620
cmp byte [0x18011c253], 0
je 0x1800bb426
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800bab7b
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 9
lea r9, str.OnCreated
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
call fcn.1800250b0
cmp rax, 0xffffffffffffffff
je 0x1800bac24
mov dword [rsp + 0x68], 0xc
mov dword [rsp + 0x6c], 0xc
lea rax, str.demospeed_1
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.180025970
mov dword [rsp + 0x50], 0x3f800000
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 5
mov qword [rsp + 0x78], socket
mov eax, dword [str.Slomo]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x180102c84]
mov byte [rsp + 0x64], al
mov byte [rsp + 0x65], 0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, qword [0x18011ae30]
call fcn.1800a0c90
movsd xmm0, qword [0x18011ac10]
ucomisd xmm0, qword [0x1801041d8]
jp 0x1800bad7e
jne 0x1800bad7e
cmp byte [0x18011bed3], 0
je 0x1800bad7e
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800bac5a
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rcx, 9
jb 0x1800bad7e
add rcx, 0xfffffffffffffff7
add rcx, rax
mov r8d, 9
lea rdx, str.BeginPlay
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x1800bad7e
call fcn.1800b8b10
test rax, rax
je 0x1800bacc0
mov rcx, qword [rdi + 0x10]
cmp rcx, rax
je 0x1800bacbb
movsxd r8, dword [str.08D_]
test rcx, rcx
je 0x1800bacc0
mov rcx, qword [r8 + rcx]
test rcx, rcx
je 0x1800bacc0
cmp rcx, rax
jne 0x1800baca8
call fcn.1800bc6e0
call fcn.1800b8df0
test rax, rax
je 0x1800bad7e
mov rcx, qword [rdi + 0x10]
cmp rcx, rax
je 0x1800bacfb
movsxd r8, dword [str.08D_]
nop
test rcx, rcx
je 0x1800bad7e
mov rcx, qword [r8 + rcx]
test rcx, rcx
je 0x1800bad7e
cmp rcx, rax
jne 0x1800bace0
call fcn.1800b8df0
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.180025850
mov rcx, qword [rax]
xor edx, edx
mov rcx, qword [rcx]
call fcn.18000f3f0
mov qword [0x18011be58], rax
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], 0xf
mov ecx, 0x20
call fcn.1800c8160
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], 0x1c
mov qword [rbp + 0x20], 0x1f
movups xmm0, xmmword [str.TitanHand_Chains___BeginPlay]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x180103478]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x180103480]
mov dword [rax + 0x18], ecx
mov byte [rax + 0x1c], 0
lea rcx, [rbp + 8]
call fcn.180097c40
cmp qword [0x18011bec8], 0
je 0x1800bb426
movsd xmm0, qword [0x18011ac10]
ucomisd xmm0, qword [0x1801041c0]
jp 0x1800bb426
jne 0x1800bb426
mov rax, rbx
mov rsi, qword [rbx + 0x18]
cmp rsi, 0xf
jbe 0x1800badb8
mov rax, qword [rbx]
mov rdi, qword [rbx + 0x10]
cmp rdi, 0x3a
jb 0x1800bae51
lea rcx, [rdi - 0x3a]
add rcx, rax
mov r8d, 0x3a
lea rdx, str.SequenceEvent__ENTRYPOINTDurian_Izp1000_GAME_DirectorBP_82
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x1800bae51
cmp byte [0x18011be68], 0
jne 0x1800bae51
mov byte [0x18011be68], 1
call fcn.180024cc0
call fcn.1800b6430
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
call fcn.1800229a0
xorps xmm6, xmm6
xorps xmm7, xmm7
call fcn.1800b6430
movdqa xmmword [rsp + 0x60], xmm6
movdqa xmmword [rsp + 0x40], xmm7
mov byte [rsp + 0x20], 1
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, qword [0x18011add0]
call fcn.1800265c0
mov rsi, qword [rbx + 0x18]
mov rdi, qword [rbx + 0x10]
mov rcx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1800bae5e
mov rcx, qword [r14]
mov r15, qword [r14 + 0x10]
mov qword [rsp + 0x20], 0x1e
lea r9, str.Durian_Izp1000_GAME_DirectorBP
xor r8d, r8d
mov rdx, r15
call fcn.1800250b0
cmp rax, 0xffffffffffffffff
je 0x1800baec8
mov rax, rbx
cmp rsi, 0xf
jbe 0x1800bae8f
mov rax, qword [rbx]
cmp rdi, 0x3a
jb 0x1800baec8
lea rcx, [rax - 0x3a]
add rcx, rdi
mov r8d, 0x3a
lea rdx, str.SequenceEvent__ENTRYPOINTDurian_Izp1000_GAME_DirectorBP_20
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x1800baec8
call fcn.1800bd230
mov r15, qword [r14 + 0x10]
mov rsi, qword [rbx + 0x18]
mov rdi, qword [rbx + 0x10]
mov rcx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1800baed5
mov rcx, qword [r14]
mov qword [rsp + 0x20], socket
lea r9, str.Rep_Durian_Master_C
xor r8d, r8d
mov rdx, r15
call fcn.1800250b0
cmp rax, 0xffffffffffffffff
je 0x1800baf3b
mov rax, rbx
cmp rsi, 0xf
jbe 0x1800baf02
mov rax, qword [rbx]
cmp rdi, 0xa
jb 0x1800baf3b
lea rcx, [rax - 0xa]
add rcx, rdi
mov r8d, 0xa
lea rdx, str.HideBurnin
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x1800baf3b
call fcn.1800bd530
mov r15, qword [r14 + 0x10]
mov rsi, qword [rbx + 0x18]
mov rdi, qword [rbx + 0x10]
mov rcx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1800baf48
mov rcx, qword [r14]
mov qword [rsp + 0x20], socket
lea r9, str.Rep_Durian_Phase_3
xor r8d, r8d
mov rdx, r15
call fcn.1800250b0
cmp rax, 0xffffffffffffffff
je 0x1800bafae
mov rax, rbx
cmp rsi, 0xf
jbe 0x1800baf75
mov rax, qword [rbx]
cmp rdi, 0xa
jb 0x1800bafae
lea rcx, [rax - 0xa]
add rcx, rdi
mov r8d, 0xa
lea rdx, str.HideBurnin
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x1800bafae
call fcn.1800bdc20
mov r15, qword [r14 + 0x10]
mov rsi, qword [rbx + 0x18]
mov rdi, qword [rbx + 0x10]
mov rcx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1800bafbb
mov rcx, qword [r14]
mov qword [rsp + 0x20], socket
lea r9, str.Rep_Durian_Phase_4
xor r8d, r8d
mov rdx, r15
call fcn.1800250b0
cmp rax, 0xffffffffffffffff
je 0x1800bb019
mov rax, rbx
cmp rsi, 0xf
jbe 0x1800bafe8
mov rax, qword [rbx]
cmp rdi, 0xa
jb 0x1800bb019
lea rcx, [rax - 0xa]
add rcx, rdi
mov r8d, 0xa
lea rdx, str.HideBurnin
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x1800bb019
call fcn.1800be120
mov rdi, qword [rbx + 0x10]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800bb026
mov rax, qword [rbx]
cmp rdi, 0x39
jb 0x1800bb304
lea rcx, [rax - 0x39]
add rcx, rdi
mov r8d, 0x39
lea rdx, str.SequenceEvent__ENTRYPOINTDurian_Spk3000_GAME_DirectorBP_9
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x1800bb304
xorps xmm4, xmm4
movss xmm1, dword [0x180104264]
movss xmm2, dword [0x180104320]
movss xmm3, dword [0x1801042c0]
xorps xmm0, xmm0
unpcklps xmm0, xmm1
movsd qword [rsp + 0x40], xmm0
movss dword [rsp + 0x48], xmm4
movss xmm0, dword [0x180104280]
unpcklps xmm0, xmm2
movsd qword [rsp + 0x50], xmm0
movss dword [rsp + 0x58], xmm3
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, qword [0x18011add0]
call fcn.1800395e0
movups xmm0, xmmword [str.vFFWYgiRZOX_b__a__4__]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [0x180103180]
movups xmmword [rbp + 0x38], xmm1
movups xmm0, xmmword [0x180103190]
movups xmmword [rbp + 0x48], xmm0
movsd xmm0, qword [0x1801031a0]
movsd qword [rbp + 0x58], xmm0
mov r8d, r12d
cmp dword [0x180119010], 2
jl 0x1800bb201
movdqa xmm5, xmmword [0x1801044a0]
movdqa xmm4, xmmword [0x180104660]
movdqa xmm6, xmmword [0x1801044d0]
movdqa xmm7, xmmword [str.22222222]
lea rcx, [rbp + 0x28]
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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x18
jl 0x1800bb112
cmp r8d, 0x1c
jge 0x1800bb244
movsxd rax, r8d
lea r9, [rbp + 0x28]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
sub ax, cx
add ax, 0x32
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x1c
jl 0x1800bb210
cmp word [rbp + 0x28], 0
je 0x1800bb265
lea rax, [rbp + 0x28]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800bb256
inc rcx
jmp 0x1800bb268
mov rcx, r12
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x6c], ecx
lea rax, [rbp + 0x28]
test ecx, ecx
cmove rax, r12
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x20], xmm0
mov rdx, qword [0x18011acd8]
mov rcx, qword [0x18011ad38]
test rcx, rcx
je 0x1800bb2aa
test rdx, rdx
je 0x1800bb2aa
lea r8, [rbp - 0x20]
call qword [0x18011adb0]
mov rcx, qword [rbp - 0x10]
call fcn.180039b20
mov byte [rsp + 0x30], 1
movsd xmm0, qword [0x18011ac10]
comisd xmm0, xmmword [0x180104010]
jb 0x1800bb2e5
cmp dword [0x18011abec], 0x17
jge 0x1800bb2e5
test rax, rax
je 0x1800bb304
mov dl, 1
mov rcx, rax
call qword [0x18011b7c0]
jmp 0x1800bb304
mov rdx, qword [0x18011b748]
test rax, rax
je 0x1800bb304
test rdx, rdx
je 0x1800bb304
lea r8, [rsp + 0x30]
mov rcx, rax
call qword [0x18011adb0]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800bb311
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rcx, 0x3a
jb 0x1800bb3b8
add rcx, 0xffffffffffffffc6
add rcx, rax
mov r8d, 0x3a
lea rdx, str.SequenceEvent__ENTRYPOINTDurian_Spk3000_GAME_DirectorBP_44
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x1800bb3b8
lea rdx, [rsp + 0x40]
mov rcx, qword [0x18011add0]
call fcn.1800256f0
movss xmm6, dword [rsp + 0x48]
addss xmm6, dword [0x1801042bc]
lea rdx, [rsp + 0x60]
mov rcx, qword [0x18011add0]
call fcn.180025590
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [rax + 8]
mov dword [rsp + 0x58], eax
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x40], xmm0
movss dword [rsp + 0x48], xmm6
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, qword [0x18011add0]
call fcn.1800395e0
mov dl, 5
mov rcx, qword [0x18011ae08]
call fcn.1800263a0
mov rcx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1800bb3c5
mov rcx, qword [r14]
mov qword [rsp + 0x20], socket
lea r9, str.Rep_Durian_Phase_5
xor r8d, r8d
mov rdx, qword [r14 + 0x10]
call fcn.1800250b0
cmp rax, 0xffffffffffffffff
je 0x1800bb426
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800bb3f4
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rcx, 0xa
jb 0x1800bb426
add rcx, 0xfffffffffffffff6
add rcx, rax
mov r8d, 0xa
lea rdx, str.HideBurnin
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x1800bb426
call fcn.1800be880
nop
mov rcx, r14
call fcn.180011620
nop
mov rcx, rbx
call fcn.180011620
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1800c8140
movaps xmm6, xmmword [rsp + 0x1a0]
movaps xmm7, xmmword [rsp + 0x190]
add rsp, 0x1b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret