Function at 0x1400306c0
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 [0x1400c0040]
xor rax, rsp
mov qword [rbp - 0x18], rax
movzx edx, byte [0x1400b578a]
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, [0x1400c0a98]
mov qword [rbp - 0x40], 2
mov qword [rsp + 0x58], rdi
lea rsi, [0x1400c0a90]
setne al
mov qword [rbp - 0x80], rbx
mov dword [rbp - 0x74], eax
lea r14, [0x1400c0aa0]
mov rax, qword [0x1400c0ab0]
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 0x140030816
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 0x140030889
mov rcx, qword [0x1400c0aa8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400c0aa0]
mov qword [0x1400c0aa8], rbx
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400c0a98]
mov qword [0x1400c0aa0], rbx
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400c0a90]
mov qword [0x1400c0a98], rbx
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
mov qword [0x1400c0a90], rbx
jmp 0x140030c94
mov rcx, qword [0x1400c0aa0]
lea r9, [rsp + 0x70]
lea r8, [0x1400a0728]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x1400308d0
mov rcx, qword [0x1400c0a90]
lea r9, [0x1400c0aa8]
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 [0x1400c0ab0]
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, [0x1400a0750]
mov qword [rsp + 0x28], 0x14
mov edx, 0x37c0
mov r9d, 8
mov qword [rsp + 0x20], 0x10
mov r8d, 0x440
call fcn.14003cac0
xor ecx, ecx
call fcn.14003c760
call fcn.14003fc60
or dword [rax], 3
cmp byte [0x1400a074f], bl
movups xmm3, xmmword [0x1400a0738]
mov r10, qword [rax + 0x30]
movsd xmm0, qword [0x1400a0748]
movups xmmword [rbp - 0x30], xmm3
movsd qword [rbp - 0x20], xmm0
je 0x140030c43
cmp dword [0x1400bfff8], 2
mov r8d, ebx
jl 0x140030c04
movdqa xmm5, xmmword [0x1400a0f20]
movdqa xmm2, xmmword [0x1400a0ba0]
movdqa xmm4, xmmword [0x1400a0cb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movd eax, xmm3
movdqa xmm3, xmmword [0x1400a0c10]
movaps xmmword [rsp + 0x100], xmm6
movdqa xmm6, xmmword [str.8888HKRC_NGO]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movaps xmmword [rsp + 0xf0], xmm7
movdqa xmm7, xmmword [0x1400a0cc0]
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 [0x1400a0be0]
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 [0x1400a0c50]
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 [0x1400a0c60]
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 [0x1400a0c70]
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 0x140030c43
lea r9, [rbp - 0x30]
nop dword [rax + rax]
mov eax, 0x24924925
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x18
jl 0x140030c10
movss xmm2, dword [0x1400a0a98]
lea rdx, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov rcx, r10
call fcn.1400534e0
mov rcx, qword [0x1400c0ab0]
mov qword [0x1400c0550], rax
call fcn.140064d80
mov rdx, qword [0x1400c0a98]
mov rcx, qword [0x1400c0a90]
call fcn.140063de0
mov rcx, qword [0x1400c0a90]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov al, 1
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.14007d4a0
mov rbx, qword [rsp + 0x138]
add rsp, 0x110
pop rbp
ret