Function at 0x140001a10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x140037040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
movups xmm0, xmmword [str.BfMHBuSXP2_7__]
movzx eax, word [0x1400319d0]
xor ebx, ebx
cmp byte [0x1400319d1], bl
movups xmmword [rbp - 0x31], xmm0
mov dword [rbp + 0x37], ebx
movsd xmm0, qword [0x1400319c8]
movsd qword [rbp - 0x21], xmm0
mov word [rbp - 0x19], ax
je 0x140001bfd
cmp dword [reloc.d2d1.dll_Ordinal_1], 2
mov ecx, ebx
jl 0x140001bbc
movdqa xmm0, xmmword [str.5555555555555555]
lea rdx, [rbp - 0x2d]
movdqa xmm5, xmmword [0x140032a30]
movdqa xmm4, xmmword [0x140032bf0]
movdqa xmmword [rbp - 9], xmm0
mov r8d, dword [rbp - 9]
movaps xmmword [rsp + 0xc0], xmm6
movdqa xmm6, xmmword [0x140032a50]
nop dword [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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140032a80]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140001ab0
movaps xmm6, xmmword [rsp + 0xc0]
cmp ecx, 0x1a
jge 0x140001bfd
movsxd rax, ecx
lea r8, [rbp - 0x31]
add r8, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x1a
jl 0x140001bd0
cmp word [0x140032322], bx
movups xmm0, xmmword [str._BSTU]
mov eax, dword [0x140032320]
mov dword [rbp - 0x39], eax
movups xmmword [rbp - 0x49], xmm0
je 0x140001c50
xor word [rbp - 0x47], 0x36
mov eax, 0x6e
xor word [rbp - 0x45], 0x37
xor word [rbp - 0x43], 0x38
xor word [rbp - 0x41], 0x39
xor word [rbp - 0x3f], 0x3a
xor word [rbp - 0x3d], 0x3b
xor word [rbp - 0x3b], 0x3c
xor word [rbp - 0x39], 0x3d
xor word [rbp - 0x37], 0x3e
mov word [rbp - 0x49], ax
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x140001c96
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x30
lea r8, [rbp + 7]
mov rcx, rax
xor edx, edx
lea rax, [rbp + 0x37]
mov qword [rsp + 0x20], rax
call rdi
test eax, eax
cmovns rbx, qword [rbp + 0xf]
mov byte [rbx + 2], 1
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14002fa10
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret