Function at 0x18000b290
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push r12
push r13
lea rbp, [rsp - 0x118]
sub rsp, 0x218
mov rax, qword [0x18027a1c0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r13, r8
mov r8, qword [rbp + 0x160]
mov qword [rsp + 0x40], r8
mov rax, r9
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x18000b488
test edx, edx
jle 0x18000b488
test r13, r13
je 0x18000b488
test rax, rax
je 0x18000b488
test r8, r8
je 0x18000b488
xor ebx, ebx
movsxd rax, edx
mov qword [rbp + 0xb0], rcx
lea r8, [rsp + 0x34]
mov qword [rbp + 0xa0], rcx
lea rdx, [rsp + 0x30]
add rcx, rax
mov qword [rsp + 0x200], r15
mov qword [rbp + 0xb8], rcx
mov r12d, 4
mov qword [rbp + 0xa8], rcx
xor r9d, r9d
lea rcx, [rbp - 0x20]
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
mov qword [rbp - 0x10], rbx
mov dword [rbp + 0x10], ebx
mov dword [rbp + 0x98], ebx
mov dword [rsp + 0x20], r12d
call fcn.1800208d0
mov r15, rax
test rax, rax
je 0x18000b38b
mov qword [rsp + 0x208], r14
mov r14, qword [0x18027a6d0]
test r14, r14
jne 0x18000b3b0
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor al, al
mov r14, qword [rsp + 0x208]
mov r15, qword [rsp + 0x200]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.18006a4f0
add rsp, 0x218
pop r13
pop r12
pop rbx
pop rbp
ret
mov qword [rsp + 0x240], rsi
lea r9, [rsp + 0x70]
mov esi, dword [rsp + 0x30]
lea r8, [rbp - 0x80]
mov qword [rbp - 0x5c], 1
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x4c], rbx
mov rcx, r14
mov dword [rbp - 0x70], esi
lea eax, [rsi*4]
mov dword [rbp - 0x68], 1
mov dword [rbp - 0x78], eax
mov dword [rbp - 0x64], 1
mov dword [rbp - 0x60], 0x1c
mov dword [rbp - 0x54], ebx
mov dword [rbp - 0x50], 8
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x74], ebx
mov qword [rsp + 0x210], rdi
mov edi, dword [rsp + 0x34]
mov dword [rbp - 0x6c], edi
mov rax, qword [r14]
call qword [rax + 0x28]
mov eax, dword [rbp - 0x68]
lea r8, [rbp - 0x40]
mov rdx, qword [rsp + 0x70]
mov r9, r13
mov dword [rbp - 0x34], eax
mov rcx, r14
mov qword [rbp - 0x30], rbx
mov dword [rbp - 0x40], 0x1c
mov qword [rbp - 0x3c], r12
mov rax, qword [r14]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x38]
mov rcx, r15
mov dword [rax], esi
mov rax, qword [rsp + 0x40]
mov dword [rax], edi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [rsp + 0x210]
mov al, 1
mov rsi, qword [rsp + 0x240]
jmp 0x18000b383
movzx eax, word [0x180268a20]
xor ebx, ebx
cmp dword [0x18027a1a0], 2
mov rcx, qword [0x18027a018]
movups xmm0, xmmword [0x180268a00]
movups xmm1, xmmword [0x180268a10]
mov r8d, dword [rcx + 0x2c]
mov word [rsp + 0x68], ax
movzx eax, byte [0x180268a22]
mov byte [rsp + 0x6a], al
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm1
jl 0x18000b64d
movdqa xmm0, xmmword [str.1111111111111111_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_b_b_b_b_b_b_b_b]
lea rdx, [rsp + 0x4c]
movdqa xmm5, xmmword [0x1800d1c60]
mov r12d, 4
movdqa xmm4, xmmword [0x180269bd0]
mov eax, 0x1f
movaps xmmword [rsp + 0x1f0], xmm6
movaps xmmword [rsp + 0x1e0], xmm7
movdqa xmm7, xmmword [str.6666]
movaps xmmword [rsp + 0x1d0], xmm8
movdqa xmmword [rbp - 0x80], xmm0
mov r9d, dword [rbp - 0x80]
movd xmm6, r12d
movd xmm8, eax
nop dword [rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r9d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ebx, 0x20
jl 0x18000b530
movaps xmm8, xmmword [rsp + 0x1d0]
movaps xmm7, xmmword [rsp + 0x1e0]
movaps xmm6, xmmword [rsp + 0x1f0]
cmp eax, 0x23
jge 0x18000b68d
movsxd rax, ebx
lea r9, [rsp + 0x48]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, bl
inc ebx
sub al, dl
add al, 0x31
xor byte [r9 - 1], al
cmp ebx, 0x23
jl 0x18000b660
lea r9, str.menu::LoadTextureFromMemory
lea rdx, [rsp + 0x48]
call fcn.1800030f0
xor al, al
jmp 0x18000b393