Function at 0x140002ae0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movups xmm0, xmmword [0x140039938]
mov edi, dword [0x140046018]
xor ebx, ebx
movaps xmmword [rax - 0x38], xmm6
mov r8d, ebx
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov eax, dword [0x140039948]
lea esi, [rbx + 4]
mov dword [rbp - 0x21], eax
lea r14d, [rbx + 0x1f]
movzx eax, word [0x14003994c]
mov word [rbp - 0x1d], ax
movzx eax, byte [0x14003994e]
mov byte [rbp - 0x1b], al
movups xmmword [rbp - 0x31], xmm0
cmp edi, 2
jl 0x140002c85
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [rbp - 0x2d]
movdqa xmm5, xmmword [0x14003eb50]
movdqa xmm4, xmmword [0x14003ec80]
movdqa xmm7, xmmword [0x14003eb90]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm6, esi
movd xmm8, r14d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 r8d, 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 [0x14003ebb0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003ebb0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140002b80
cmp r8d, 0x17
jge 0x140002cc1
movsxd rax, r8d
lea r9, [rbp - 0x31]
add r9, rax
nop
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x140002c90
mov eax, dword [str.F___a_aC7]
lea rcx, [rbp + 0x67]
mov dword [rbp + 0x67], eax
movzx eax, word [0x1400399b4]
xor byte [rbp + 0x68], 0x32
xor byte [rbp + 0x69], 0x33
xor byte [rbp + 0x6a], 0x34
mov word [rbp + 0x6b], ax
movzx eax, byte [0x1400399b6]
xor byte [rbp + 0x6b], 0x35
xor al, 0x37
xor byte [rbp + 0x6c], 0x36
mov byte [rbp + 0x6d], al
mov byte [rbp + 0x67], 0x77
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x140003114
mov eax, dword [0x140039948]
mov r8d, ebx
mov dword [rbp - 9], eax
movzx eax, word [0x14003994c]
mov word [rbp - 5], ax
movzx eax, byte [0x14003994e]
mov byte [rbp - 3], al
movups xmm0, xmmword [0x140039938]
movups xmmword [rbp - 0x19], xmm0
cmp edi, 2
jl 0x140002e95
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x14003eb50]
movdqa xmm4, xmmword [0x14003ec80]
movdqa xmm7, xmmword [0x14003eb90]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm6, esi
movd xmm8, r14d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 r8d, 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 [0x14003ebb0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003ebb0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140002d90
cmp r8d, 0x17
jge 0x140002ed1
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x140002ea0
mov eax, dword [0x140039a7c]
lea rcx, [rbp + 0x6f]
mov dword [rbp + 0x6f], eax
movzx eax, word [0x140039a80]
xor byte [rbp + 0x70], 0x32
xor byte [rbp + 0x71], 0x33
xor byte [rbp + 0x72], 0x34
mov word [rbp + 0x73], ax
movzx eax, byte [0x140039a82]
xor byte [rbp + 0x73], 0x35
xor al, 0x37
xor byte [rbp + 0x74], 0x36
mov byte [rbp + 0x75], al
mov byte [rbp + 0x6f], 0x75
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x140003114
movzx eax, byte [0x140039b18]
mov byte [rbp - 0x39], al
movups xmm0, xmmword [str.xYQVBzWLIuSNJ4A]
movups xmmword [rbp - 0x49], xmm0
cmp edi, 2
jl 0x140003080
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [rbp - 0x45]
movdqa xmm5, xmmword [0x14003eb50]
movdqa xmm4, xmmword [0x14003ec80]
movdqa xmm7, xmmword [0x14003eb90]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm6, esi
movd xmm8, r14d
nop
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 ebx, 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 [0x14003ebb0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003ebb0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140002f80
cmp ebx, 0x11
jge 0x1400030bd
movsxd rax, ebx
lea r8, [rbp - 0x49]
add r8, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0x11
jl 0x140003090
mov eax, dword [0x140039a7c]
lea rcx, [rbp + 0x77]
mov dword [rbp + 0x77], eax
movzx eax, word [0x140039a80]
xor byte [rbp + 0x78], 0x32
xor byte [rbp + 0x79], 0x33
xor byte [rbp + 0x7a], 0x34
mov word [rbp + 0x7b], ax
movzx eax, byte [0x140039a82]
xor byte [rbp + 0x7b], 0x35
xor al, 0x37
xor byte [rbp + 0x7c], 0x36
mov byte [rbp + 0x7d], al
mov byte [rbp + 0x77], 0x75
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
je 0x14000316f
movups xmm1, xmmword [rcx]
movdqu xmmword [0x140046b58], xmm1
movsd xmm0, qword [rcx + 0x10]
movsd qword [0x140046b68], xmm0
mov eax, dword [rcx + 0x18]
movdqa xmm0, xmmword [0x14003ed00]
mov dword [0x140046b70], eax
xorps xmm0, xmm1
movzx eax, word [rcx + 0x1c]
lea rcx, [0x140046b58]
mov word [0x140046b74], ax
mov eax, 0x10
movdqu xmmword [0x140046b58], xmm0
nop
xor byte [rax + rcx], 0xfa
inc rax
cmp rax, 0x1e
jb 0x140003160
mov al, 1
lea r11, [rsp + 0xb0]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret