Function at 0x140047cd0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xd0
mov rax, qword [0x14017cbd0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
cmp byte [0x140163939], 0
movups xmm0, xmmword [str.BfMHBuSXP2_7__]
movzx eax, word [0x140163938]
mov word [rbp - 0x21], ax
movups xmmword [rbp - 0x39], xmm0
movsd xmm0, qword [0x140163930]
movsd qword [rbp - 0x29], xmm0
je 0x140047edc
xor ecx, ecx
cmp dword [0x14017cbe8], 2
jl 0x140047e9b
movdqa xmm0, xmmword [0x140165570]
lea rdx, [rbp - 0x35]
movdqa xmm5, xmmword [0x1401654b0]
mov eax, 1
movdqa xmm4, xmmword [0x140165560]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x1401654e0]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x38], xmm8
movdqa xmmword [rbp - 0x49], xmm0
mov r8d, dword [rbp - 0x49]
movd xmm8, eax
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 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 ecx, 8
pmuldq xmm1, xmm4
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 [0x140165550]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140165550]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140047d80
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
cmp ecx, 0x1a
jge 0x140047edc
movsxd rax, ecx
lea r8, [rbp - 0x39]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x1a
jl 0x140047eb0
cmp byte [0x140163919], 0
movsd xmm0, qword [str._BSTU]
movzx eax, word [0x140163918]
movsd qword [rbp - 0x49], xmm0
mov word [rbp - 0x41], ax
je 0x140047f25
xor byte [rbp - 0x48], 0x36
xor byte [rbp - 0x47], 0x37
xor byte [rbp - 0x46], 0x38
xor byte [rbp - 0x45], 0x39
xor byte [rbp - 0x44], 0x3a
xor byte [rbp - 0x43], 0x3b
xor byte [rbp - 0x42], 0x3c
xor byte [rbp - 0x41], 0x3d
xor byte [rbp - 0x40], 0x3e
mov byte [rbp - 0x49], 0x6e
lea rdx, [rbp - 0x49]
call fcn.140047600
lea r8, [rbp - 0x39]
mov rdx, rax
call fcn.140047760
test rax, rax
je 0x140047f6b
call fcn.140047a80
mov rcx, rax
lea r8, [rbp - 0x11]
lea rax, [rbp - 0x19]
mov r9d, 0x30
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x140047f6b
mov eax, dword [rbp + 0xf]
jmp 0x140047f6d
xor eax, eax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140094f40
add rsp, 0xd0
pop rbp
ret