Function at 0x140029620
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 [0x1400b7040]
xor rax, rsp
mov qword [rbp - 0x20], rax
movzx edx, byte [0x1400a901d]
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, [0x1400b7928]
mov qword [rbp - 0x40], 2
mov qword [rsp + 0x58], rdi
lea rsi, [0x1400b7920]
setne al
mov qword [rbp - 0x80], rbx
mov dword [rbp - 0x74], eax
lea r14, [0x1400b7930]
mov rax, qword [0x1400b7940]
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 0x140029776
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 0x1400297e9
mov rcx, qword [0x1400b7938]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400b7930]
mov qword [0x1400b7938], rbx
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400b7928]
mov qword [0x1400b7930], rbx
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400b7920]
mov qword [0x1400b7928], rbx
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
mov qword [0x1400b7920], rbx
jmp 0x140029b2b
mov rcx, qword [0x1400b7930]
lea r9, [rsp + 0x70]
lea r8, [0x140098720]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140029830
mov rcx, qword [0x1400b7920]
lea r9, [0x1400b7938]
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 [0x1400b7940]
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, [0x140098740]
mov qword [rsp + 0x28], 0x14
mov edx, 0x37c0
mov r9d, 8
mov qword [rsp + 0x20], 0x10
mov r8d, 0x440
call fcn.140035a10
xor ecx, ecx
call fcn.1400356b0
call fcn.140038bc0
or dword [rax], 3
movups xmm3, xmmword [str.r_boRZDCVPN]
mov r10, qword [rax + 0x30]
movdqa xmm0, xmm3
psrldq xmm0, 0xf
movd eax, xmm0
movups xmmword [rbp - 0x30], xmm3
test al, al
je 0x140029ada
cmp dword [0x1400b7008], 2
mov r8d, ebx
jl 0x140029a9e
movdqa xmm5, xmmword [0x140098f70]
movdqa xmm2, xmmword [0x140098c00]
movdqa xmm4, xmmword [0x140098d00]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movd eax, xmm3
movdqa xmm3, xmmword [0x140098c70]
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 [0x140098d10]
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 [0x140098c40]
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 [0x140098cb0]
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
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 - 0x24]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movaps xmm7, xmmword [rsp + 0xf0]
xorps xmm2, xmm0
movd dword [rbp - 0x24], xmm2
jmp 0x140029ada
lea r9, [rbp - 0x30]
nop dword [rax]
nop word [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, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x140029ab0
movss xmm2, dword [0x140098af8]
lea rdx, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov rcx, r10
call fcn.14004c420
mov rcx, qword [0x1400b7940]
mov qword [0x1400b73d8], rax
call fcn.14005dc20
mov rdx, qword [0x1400b7928]
mov rcx, qword [0x1400b7920]
call fcn.14005cc80
mov rcx, qword [0x1400b7920]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov al, 1
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.140075e10
mov rbx, qword [rsp + 0x138]
add rsp, 0x110
pop rbp
ret