Function at 0x140011760
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rdi
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
movsd xmm0, qword [str.GPYZ]
xor edi, edi
cmp byte [0x140022a49], dil
movzx eax, word [0x140022a48]
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov dword [rbp + 0x17], edi
movsd qword [rbp - 0x29], xmm0
mov word [rbp - 0x21], ax
je 0x1400117d7
xor byte [rbp - 0x28], 0x33
xor byte [rbp - 0x27], 0x34
xor byte [rbp - 0x26], 0x35
xor byte [rbp - 0x25], 0x36
xor byte [rbp - 0x24], 0x37
xor byte [rbp - 0x23], 0x38
xor byte [rbp - 0x22], 0x39
xor byte [rbp - 0x21], 0x3a
xor byte [rbp - 0x20], 0x3b
mov byte [rbp - 0x29], 0x6e
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp byte [0x140022d99], dil
mov esi, 4
movups xmm0, xmmword [str.Ge_SEApT_SOS4___]
mov r10, rax
movzx eax, word [0x140022d98]
mov word [rbp - 1], ax
movups xmmword [rbp - 0x19], xmm0
movsd xmm0, qword [0x140022d90]
movsd qword [rbp - 9], xmm0
je 0x1400119df
cmp dword [0x140028050], 2
mov ecx, edi
jl 0x14001199b
movdqa xmm0, xmmword [0x140023320]
lea rdx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140023280]
mov eax, 0x1f
movdqa xmm4, xmmword [0x140023340]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
movdqa xmm7, xmmword [0x1400232b0]
movdqa xmmword [rbp + 7], xmm0
mov r8d, dword [rbp + 7]
movaps xmmword [rsp + 0x80], xmm8
movd xmm8, eax
movd xmm6, esi
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, 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 [0x1400232f0]
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 [0x1400232f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140011880
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
cmp ecx, 0x1a
jge 0x1400119df
movsxd rax, ecx
lea r8, [rbp - 0x19]
add r8, rax
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x32
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x1a
jl 0x1400119b0
lea rdx, [rbp - 0x19]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, esi
mov qword [rsp + 0x20], rdi
mov rcx, rax
lea r8, [rbp + 0x17]
mov edx, 7
call rbx
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xc0]
test eax, eax
jne 0x140011a2a
cmp dword [rbp + 0x17], edi
setne dil
mov eax, edi
jmp 0x140011a2c
xor eax, eax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14001e910
mov rdi, qword [rsp + 0xd0]
add rsp, 0xb0
pop rbp
ret