Function at 0x18003ded0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1802b5380]
xor rax, rsp
mov qword [rbp + 0x170], rax
cmp qword [0x1802ba830], 0
je 0x18003dbf3
cmp qword [0x1802ba888], 0
je 0x18003d672
call fcn.18003dd50
xor eax, eax
mov dword [rsp + 0x78], 0x214b6064
xor r14d, r14d
mov word [rsp + 0x7c], 0x2749
mov edx, r14d
mov byte [rsp + 0x7e], al
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx + 0x12]
inc edx
xor byte [rsp + rcx + 0x78], al
cmp edx, 6
jb 0x18003d690
xor eax, eax
mov byte [rsp + 0x7e], r14b
mov byte [rsp + 0x74], al
mov edx, r14d
mov dword [rsp + 0x70], 0x7b7d727f
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx + 0x12]
inc edx
xor byte [rsp + rcx + 0x70], al
cmp edx, 4
jb 0x18003d6c0
mov rcx, qword [0x1802b44a8]
mov rsi, 0xffffffffffffffff
mov rdx, rsi
mov byte [rsp + 0x74], r14b
inc rdx
cmp byte [rcx + rdx], r14b
jne 0x18003d6e7
mov qword [rsp + 0x50], r14
lea rax, [0x1802ba858]
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov dword [rsp + 0x40], r14d
lea rax, [rsp + 0x78]
mov dword [rsp + 0x38], r14d
xor r8d, r8d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call sub.D3DCOMPILER_43.dll_D3DCompile
mov rcx, qword [0x1802ba858]
test rcx, rcx
je 0x18003dbf3
mov rax, qword [0x1802ba830]
mov rdx, qword [rax]
mov rax, qword [rcx]
mov rdi, qword [rdx + 0x60]
call qword [rax + 0x20]
mov rcx, qword [0x1802ba858]
mov rbx, rax
mov rdx, qword [rcx]
call qword [rdx + 0x18]
lea rcx, [0x1802ba860]
xor r9d, r9d
mov qword [rsp + 0x20], rcx
mov r8, rbx
mov rcx, qword [0x1802ba830]
mov rdx, rax
call rdi
test eax, eax
jne 0x18003dbf3
mov dword [rbp + 0x118], r14d
lea rax, str.POSITION
mov qword [rbp + 0x110], rax
lea rax, str.TEXCOORD
mov qword [rbp + 0x130], rax
lea rax, str.COLOR
mov qword [rbp + 0x150], rax
mov rax, qword [0x1802ba830]
mov qword [rbp + 0x11c], 0x10
mov qword [rbp + 0x124], r14
mov dword [rbp + 0x12c], r14d
mov dword [rbp + 0x138], r14d
mov qword [rbp + 0x13c], 0x10
mov qword [rbp + 0x144], 8
mov dword [rbp + 0x14c], r14d
mov dword [rbp + 0x158], r14d
mov qword [rbp + 0x15c], 0x1c
mov qword [rbp + 0x164], 0x10
mov dword [rbp + 0x16c], r14d
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x58]
mov rcx, qword [0x1802ba858]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [0x1802ba858]
mov rbx, rax
mov rdx, qword [rcx]
call qword [rdx + 0x18]
lea rcx, [0x1802ba868]
mov r8d, 3
mov qword [rsp + 0x28], rcx
lea rdx, [rbp + 0x110]
mov rcx, qword [0x1802ba830]
mov r9, rax
mov qword [rsp + 0x20], rbx
call rdi
test eax, eax
jne 0x18003dbf3
mov rcx, qword [0x1802ba830]
lea r9, [0x1802ba870]
xor r8d, r8d
mov dword [rbp - 0x48], 0x40
lea rdx, [rbp - 0x48]
mov dword [rbp - 0x44], 2
mov dword [rbp - 0x40], 4
mov rax, qword [rcx]
mov qword [rbp - 0x3c], 0x10000
call qword [rax + 0x18]
xor eax, eax
mov dword [rsp + 0x78], 0x214b6062
mov byte [rsp + 0x7e], al
mov edx, r14d
mov word [rsp + 0x7c], 0x2749
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx + 0x12]
inc edx
xor byte [rsp + rcx + 0x78], al
cmp edx, 6
jb 0x18003d8d0
xor eax, eax
mov byte [rsp + 0x7e], r14b
mov byte [rsp + 0x74], al
mov edx, r14d
mov dword [rsp + 0x70], 0x7b7d727f
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx + 0x12]
inc edx
xor byte [rsp + rcx + 0x70], al
cmp edx, 4
jb 0x18003d900
mov rcx, qword [str.struct_PS_INPUT________________________float4_pos_:_SV_POSITION_____________float4_col_:_COLOR0_____________float2_uv__:_TEXCOORD0__________________________sampler_sampler0_____________Texture2D_texture0_________________________float4_main_PS_INPUT_input__:_SV_Target________________________float4_out_col__input.col__texture0.Sample_sampler0__input.uv_______________return_out_col______________]
mov byte [rsp + 0x74], r14b
nop dword [rax]
inc rsi
cmp byte [rcx + rsi], r14b
jne 0x18003d920
mov qword [rsp + 0x50], r14
lea rax, [0x1802ba878]
mov qword [rsp + 0x48], rax
mov rdx, rsi
mov dword [rsp + 0x40], r14d
lea rax, [rsp + 0x78]
mov dword [rsp + 0x38], r14d
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call sub.D3DCOMPILER_43.dll_D3DCompile
mov rcx, qword [0x1802ba878]
test rcx, rcx
je 0x18003dbf3
mov rax, qword [0x1802ba830]
mov rdx, qword [rax]
mov rax, qword [rcx]
mov rdi, qword [rdx + 0x78]
call qword [rax + 0x20]
mov rcx, qword [0x1802ba878]
mov rbx, rax
mov rdx, qword [rcx]
call qword [rdx + 0x18]
lea rcx, [0x1802ba880]
xor r9d, r9d
mov qword [rsp + 0x20], rcx
mov r8, rbx
mov rcx, qword [0x1802ba830]
mov rdx, rax
call rdi
test eax, eax
jne 0x18003dbf3
xor eax, eax
lea rcx, [rbp + 0x25]
xor edx, edx
mov dword [rbp + 4], eax
mov r8d, 0xe3
call fcn.18007d1c0
mov rcx, qword [0x1802ba830]
lea r8, [0x1802ba8a0]
movdqa xmm0, xmmword [0x180104f00]
lea rdx, [rbp]
mov dword [rbp], r14d
mov dword [rbp + 8], 1
mov rax, qword [rcx]
mov dword [rbp + 0xc], 5
movdqa xmmword [rbp + 0x10], xmm0
mov dword [rbp + 0x20], 1
mov byte [rbp + 0x24], 0xf
call qword [rax + 0xa0]
mov rcx, qword [0x1802ba830]
lea r8, [0x1802ba898]
xorps xmm0, xmm0
mov qword [rbp - 0x10], r14
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 3
movdqu xmmword [rbp - 0x28], xmm0
mov rax, qword [rcx]
mov dword [rbp - 0x2c], 1
mov dword [rbp - 0x14], 1
mov dword [rbp - 0x18], 1
call qword [rax + 0xb0]
movdqa xmm0, xmmword [0x180104ee0]
lea r8, [0x1802ba8a8]
mov rcx, qword [0x1802ba830]
lea rdx, [rbp - 0x80]
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x64], 1
mov dword [rbp - 0x68], 1
mov rax, qword [rcx]
mov dword [rbp - 0x6c], 1
mov dword [rbp - 0x60], 8
movups xmm0, xmmword [rbp - 0x6c]
mov dword [rbp - 0x70], r14d
movups xmmword [rbp - 0x5c], xmm0
call qword [rax + 0xa8]
call fcn.180020b90
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x78]
mov rbx, rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rax + 0xa0]
call fcn.180031b50
mov edx, dword [rsp + 0x78]
lea r9, [rsp + 0x60]
mov rax, qword [rsp + 0x68]
lea r8, [rbp - 0x48]
mov ecx, dword [rsp + 0x70]
mov qword [rbp - 0x48], rax
lea eax, [rdx*4]
mov dword [rbp - 0x7c], ecx
mov rcx, qword [0x1802ba830]
mov dword [rbp - 0x40], eax
mov dword [rbp - 0x80], edx
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x6c], 1
mov rax, qword [rcx]
mov qword [rbp - 0x5c], r14
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x70], 0x1c
mov dword [rbp - 0x64], r14d
mov dword [rbp - 0x60], 8
mov qword [rsp + 0x60], r14
mov dword [rbp - 0x3c], r14d
call qword [rax + 0x28]
mov eax, dword [rbp - 0x78]
mov rcx, qword [0x1802ba830]
mov dword [rbp - 0x24], eax
mov qword [rbp - 0x20], r14
mov dword [rbp - 0x30], 0x1c
mov qword [rbp - 0x2c], 4
mov rax, qword [rcx]
lea r9, [0x1802ba890]
mov rdx, qword [rsp + 0x60]
lea r8, [rbp - 0x30]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 0xa0]
lea r8, [0x1802ba888]
mov rax, qword [0x1802ba890]
lea rdx, [rbp + 0x110]
movdqa xmm1, xmmword [0x180104ef0]
xorps xmm0, xmm0
mov qword [rbp + 0x120], r14
mov qword [rcx + 8], rax
mov rcx, qword [0x1802ba830]
movdqu xmmword [rbp + 0x12c], xmm0
mov dword [rbp + 0x128], 8
movdqu xmmword [rbp + 0x110], xmm1
mov rax, qword [rcx]
mov qword [rbp + 0x13c], r14
call qword [rax + 0xb8]
mov al, 1
jmp 0x18003dbf5
xor al, al
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1800553d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
cmp qword [0x1802ba888], 0
je 0x18003d620
ret