Function at 0x1400367b0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
lea rbp, [r11 - 0x18]
sub rsp, 0x110
mov rax, qword [0x1400cb040]
xor rax, rsp
mov qword [rbp - 0x18], rax
movzx edx, byte [0x1400cb51b]
xor ebx, ebx
movzx eax, dl
mov qword [r11 + 8], rsi
neg al
mov qword [r11 + 0x10], rdi
mov eax, ebx
mov qword [r11 + 0x18], r14
sbb ecx, ecx
mov qword [rbp - 0x6c], rbx
and ecx, 0x3c
mov qword [rbp - 0x58], 2
test dl, dl
mov dword [rbp - 0x78], ecx
lea rdi, [0x1400cba88]
mov qword [rbp - 0x40], 2
mov qword [rsp + 0x58], rdi
lea rsi, [0x1400cba80]
setne al
mov qword [rbp - 0x80], rbx
mov dword [rbp - 0x74], eax
lea r14, [0x1400cba90]
mov rax, qword [0x1400cbaa0]
xor r9d, r9d
mov qword [rbp - 0x50], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov dword [rbp - 0x70], 0x1c
mov qword [rsp + 0x50], rax
mov edx, 1
mov qword [rsp + 0x48], rsi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], r14
xor ecx, ecx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x68]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x5c], 0x20
mov qword [rbp - 0x64], 1
mov qword [rbp - 0x48], 1
mov dword [rsp + 0x68], 0xb000
mov dword [rsp + 0x6c], 0xa000
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
cmp eax, 0x887a0004
jne 0x140036906
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rsi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], r14
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, 5
mov dword [rsp + 0x30], 7
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
mov r14, qword [rsp + 0x130]
mov rdi, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x120]
test eax, eax
je 0x140036979
mov rcx, qword [0x1400cba98]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400cba90]
mov qword [0x1400cba98], rbx
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400cba88]
mov qword [0x1400cba90], rbx
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400cba80]
mov qword [0x1400cba88], rbx
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
mov qword [0x1400cba80], rbx
jmp 0x140036d7b
mov rcx, qword [0x1400cba90]
lea r9, [rsp + 0x70]
lea r8, [0x1400aa990]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x1400369c0
mov rcx, qword [0x1400cba80]
lea r9, [0x1400cba98]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400cbaa0]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov rdx, 0xffffffffffffffff
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov qword [rsp + 0x30], 2
lea rcx, [0x1400aa9b8]
mov qword [rsp + 0x28], 0x14
mov edx, 0x37c0
mov r9d, 8
mov qword [rsp + 0x20], 0x10
mov r8d, 0x440
call fcn.140046130
xor ecx, ecx
call fcn.140045dd0
call fcn.1400493e0
or dword [rax], 3
cmp byte [0x1400aa9b7], bl
movups xmm3, xmmword [str.s_vnd__RXOJf_SOJQ_5m1_G1.89.8]
mov r10, qword [rax + 0x30]
movsd xmm0, qword [0x1400aa9b0]
movups xmmword [rbp - 0x30], xmm3
movsd qword [rbp - 0x20], xmm0
je 0x140036d2a
cmp dword [0x1400caff8], 2
mov r8d, ebx
jl 0x140036cf4
movdqa xmm5, xmmword [0x1400ab1f0]
movdqa xmm2, xmmword [0x1400aae50]
movdqa xmm4, xmmword [0x1400aaf60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movd eax, xmm3
movdqa xmm3, xmmword [0x1400aaec0]
movaps xmmword [rsp + 0x100], xmm6
movdqa xmm6, xmmword [str.::::HKRC_NGO]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movaps xmmword [rsp + 0xf0], xmm7
movdqa xmm7, xmmword [0x1400aaf70]
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movd dword [rbp - 0x30], xmm2
movdqa xmm2, xmmword [0x1400aae90]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm2, xmm0
pmuldq xmm1, xmm5
movd xmm0, dword [rbp - 0x2c]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rbp - 0x2c], xmm2
movdqa xmm2, xmmword [0x1400aaf00]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 0x28]
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
pmuldq xmm1, xmm5
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rbp - 0x28], xmm3
shufps xmm1, xmm0, 0xdd
movdqa xmm3, xmmword [0x1400aaf10]
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rbp - 0x24]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
pmuldq xmm1, xmm5
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rbp - 0x24], xmm2
movdqa xmm2, xmmword [0x1400aaf20]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 0x20]
andps xmm3, xmm4
packuswb xmm3, xmm3
pmuldq xmm1, xmm5
packuswb xmm3, xmm3
paddb xmm3, xmm7
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rbp - 0x20], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x100]
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x1c]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movaps xmm7, xmmword [rsp + 0xf0]
xorps xmm2, xmm0
movd dword [rbp - 0x1c], xmm2
jmp 0x140036d2a
lea r9, [rbp - 0x30]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x18
jl 0x140036d00
movss xmm2, dword [0x1400aad28]
lea rdx, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov rcx, r10
call fcn.14005cce0
mov rcx, qword [0x1400cbaa0]
mov qword [0x1400cb540], rax
call fcn.14006e580
mov rdx, qword [0x1400cba88]
mov rcx, qword [0x1400cba80]
call fcn.14006d5e0
mov rcx, qword [0x1400cba80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov al, 1
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.140086e80
mov rbx, qword [rsp + 0x138]
add rsp, 0x110
pop rbp
ret