Function at 0x180150710
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1803d9938]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdx
mov r9, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x18015074c
mov r9, qword [rcx]
mov r11, qword [rcx + 0x10]
xor r15d, r15d
mov r10d, r15d
add r11, r9
cmp r9, r11
je 0x180150796
nop
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
movzx eax, r8b
or al, 0x20
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
inc r9
cmp r9, r11
jne 0x180150760
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul ebp, ecx, 0x8001
mov r8, rbx
lea rdx, str.platform:_textures_
lea rcx, [rsp + 0x38]
call fcn.180150120
mov r9, rax
cmp qword [rax + 0x18], 0x10
jb 0x1801507c8
mov r9, qword [rax]
mov r11, qword [rax + 0x10]
mov r10d, r15d
add r11, r9
cmp r9, r11
je 0x180150816
nop word [rax + rax]
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
movzx eax, r8b
or al, 0x20
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
inc r9
cmp r9, r11
jne 0x1801507e0
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul r14d, ecx, 0x8001
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x180150868
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180150863
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180150863
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18026980c
mov rax, qword [section..data]
mov rsi, qword [rax + 0x2a8]
test rsi, rsi
je 0x180150a00
mov edx, ebp
mov rcx, rsi
call fcn.180150540
mov rbp, rax
test rax, rax
je 0x180150941
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.1800be2c0
mov rdx, rax
mov rcx, rbp
call fcn.1801505c0
mov rsi, rax
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1801508e6
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1801508e1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180150933
mov rcx, r8
call fcn.18026980c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x18015092b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180150926
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18015093a
mov rcx, r8
call fcn.18026980c
mov rax, rsi
jmp 0x180150a7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov edx, r14d
mov rcx, rsi
call fcn.180150540
mov rsi, rax
test rax, rax
je 0x180150a00
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.1800be2c0
mov rdx, rax
mov rcx, rsi
call fcn.1801505c0
mov rsi, rax
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1801509a9
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1801509a4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801509f9
mov rcx, r8
call fcn.18026980c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x18015092b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180150926
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x180150923
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180150a36
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180150a31
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180150aad
mov rcx, r8
call fcn.18026980c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x180150a7b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180150a76
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180150ab4
mov rcx, r8
call fcn.18026980c
xor eax, eax
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r15
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180269d00
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3