Function at 0x140001410
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
cmp qword [0x140041900], 0
jne 0x140001752
mov ecx, dword [0x1400366b8]
mov ebx, 0x77
movups xmm0, xmmword [str.B_Y_v_vO]
movzx eax, word [0x1400366bc]
mov dword [rbp - 0x19], ecx
xor ax, 0x3f
xor word [rbp - 0x17], 0x3e
xor cx, 0x3d
movups xmmword [rbp - 0x29], xmm0
xor word [rbp - 0x27], 0x36
xor word [rbp - 0x25], 0x37
xor word [rbp - 0x23], 0x38
xor word [rbp - 0x21], 0x39
xor word [rbp - 0x1f], 0x3a
xor word [rbp - 0x1d], 0x3b
xor word [rbp - 0x1b], 0x3c
mov word [rbp - 0x19], cx
lea rcx, [rbp - 0x29]
mov word [rbp - 0x29], bx
mov word [rbp - 0x15], ax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9, rax
test rax, rax
jne 0x140001575
mov ecx, dword [0x1400366d0]
mov edx, 0x75
movups xmm0, xmmword [str._ERJ_n_b]
movzx eax, word [0x1400366d4]
mov dword [rbp - 1], ecx
xor ax, 0x3f
xor word [rbp + 1], 0x3e
xor cx, 0x3d
movups xmmword [rbp - 0x11], xmm0
xor word [rbp - 0xf], 0x36
xor word [rbp - 0xd], 0x37
xor word [rbp - 0xb], 0x38
xor word [rbp - 9], 0x39
xor word [rbp - 7], 0x3a
xor word [rbp - 5], 0x3b
xor word [rbp - 3], 0x3c
mov word [rbp - 1], cx
lea rcx, [rbp - 0x11]
mov word [rbp - 0x11], dx
mov word [rbp + 3], ax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [0x1400366b8]
movups xmm0, xmmword [str.B_Y_v_vO]
movzx eax, word [0x1400366bc]
mov dword [rbp + 0x17], ecx
xor ax, 0x3f
xor word [rbp + 0x19], 0x3e
xor cx, 0x3d
movups xmmword [rbp + 7], xmm0
xor word [rbp + 9], 0x36
xor word [rbp + 0xb], 0x37
xor word [rbp + 0xd], 0x38
xor word [rbp + 0xf], 0x39
xor word [rbp + 0x11], 0x3a
xor word [rbp + 0x13], 0x3b
xor word [rbp + 0x15], 0x3c
mov word [rbp + 0x17], cx
lea rcx, [rbp + 7]
mov word [rbp + 7], bx
mov word [rbp + 0x1b], ax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r9, rax
test rax, rax
je 0x14000173f
movups xmm0, xmmword [str.BbKHUQRh___3E]
movzx eax, byte [0x140036768]
xor ecx, ecx
cmp dword [0x140041088], 2
movups xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0x2f], al
jl 0x1400016e4
movdqa xmm0, xmmword [str.5555555555555555]
lea rdx, [rbp + 0x23]
movdqa xmm5, xmmword [0x14003aac0]
movdqa xmm4, xmmword [0x14003ac10]
movdqa xmmword [rbp + 0x37], xmm0
mov r8d, dword [rbp + 0x37]
movaps xmmword [rsp + 0x90], xmm6
movdqa xmm6, xmmword [str.8888::::]
nop
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x14003ab00]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x14003ab00]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1400015d0
movaps xmm6, xmmword [rsp + 0x90]
cmp ecx, 0x11
jge 0x14000171f
movsxd rax, ecx
lea r8, [rbp + 0x1f]
add r8, rax
nop
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x11
jl 0x1400016f0
lea rdx, [rbp + 0x1f]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140041900], rax
test rax, rax
jne 0x140001752
mov qword [0x140041900], rax
xor al, al
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
call fcn.140001790
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp rbx, rax
mov rbx, qword [rsp + 0xb0]
sete al
add rsp, 0xa0
pop rbp
ret