Function at 0x140033180
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rsp
sub rsp, 0x128
movdqu xmm3, xmmword [rdx + 0x30]
mov r9, rcx
movdqu xmm1, xmmword [rdx + 0x20]
pslldq xmm1, 4
movdqa xmm0, xmm1
movaps xmmword [rax - 0x18], xmm6
pxor xmm0, xmmword [rdx + 0x20]
pslldq xmm1, 4
movdqa xmm2, xmm1
movaps xmmword [rax - 0x28], xmm7
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
movaps xmmword [rax - 0x38], xmm8
aeskeygenassist xmm0, xmm3, 1
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movaps xmmword [rax - 0x48], xmm9
movdqa xmm1, xmm3
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rax - 0x88], xmm13
movaps xmmword [rax - 0x98], xmm14
movaps xmmword [rax - 0xa8], xmm15
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rsp + 0x60], xmm2
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm3, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rsp + 0x50], xmm3
pslldq xmm1, 4
pxor xmm0, xmm2
movdqa xmm4, xmm1
pslldq xmm1, 4
pxor xmm4, xmm0
pxor xmm4, xmm1
aeskeygenassist xmm0, xmm3, 2
pshufd xmm1, xmm0, 0xff
pxor xmm4, xmm1
movdqa xmm1, xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rsp + 0x40], xmm4
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm5, xmm1
pslldq xmm1, 4
pxor xmm5, xmm0
pxor xmm5, xmm1
aeskeygenassist xmm0, xmm4, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm5, xmm1
movdqa xmm1, xmm4
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rsp + 0x30], xmm5
pslldq xmm1, 4
pxor xmm0, xmm4
movdqa xmm12, xmm1
pslldq xmm1, 4
pxor xmm12, xmm0
pxor xmm12, xmm1
aeskeygenassist xmm0, xmm5, 4
pshufd xmm1, xmm0, 0xff
pxor xmm12, xmm1
movdqa xmm1, xmm5
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rsp + 0x70], xmm12
pxor xmm0, xmm5
cmp dword [r8 + 4], 0
movdqu xmm9, xmmword [rdx + 0x40]
movdqu xmm10, xmmword [rdx + 0x50]
movdqu xmm11, xmmword [rdx + 0x60]
movdqu xmm13, xmmword [rdx + 0x80]
movdqu xmm14, xmmword [rdx + 0x90]
movdqu xmm15, xmmword [rdx + 0xa0]
pslldq xmm1, 4
movdqa xmm6, xmm1
pslldq xmm1, 4
pxor xmm6, xmm0
pxor xmm6, xmm1
aeskeygenassist xmm0, xmm12, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm6, xmm1
movdqa xmm1, xmm12
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rsp + 0x20], xmm6
pslldq xmm1, 4
pxor xmm0, xmm12
movdqu xmm12, xmmword [rdx + 0x70]
movdqa xmm7, xmm1
pxor xmm7, xmm0
pslldq xmm1, 4
pxor xmm7, xmm1
aeskeygenassist xmm0, xmm6, 8
pshufd xmm1, xmm0, 0xff
pxor xmm7, xmm1
movdqa xmm1, xmm6
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rsp + 0x10], xmm7
pxor xmm0, xmm6
pslldq xmm1, 4
movdqa xmm8, xmm1
pslldq xmm1, 4
pxor xmm8, xmm0
pxor xmm8, xmm1
aeskeygenassist xmm0, xmm7, 0
pshufd xmm1, xmm0, 0xaa
movdqa xmm0, xmm8
movdqa xmmword [rsp], xmm8
pxor xmm0, xmm1
movdqu xmm8, xmmword [rdx + 0xb0]
movdqa xmmword [rsp], xmm0
jne 0x140033409
xor eax, eax
jmp 0x14003340d
mov rax, qword [r8 + 0x10]
shr rax, 4
test rax, rax
je 0x140033a2c
lea r8, [rcx + 0x20]
mov r10, r9
lea rcx, [rax - 1]
shr rcx, 3
inc rcx
nop dword [rax]
prefetchnta byte [r10]
prefetchnta byte [r10 + 4]
movdqa xmm1, xmmword [rsp + 0x70]
movdqu xmm7, xmmword [r8 - 0x20]
pxor xmm7, xmm9
movdqa xmm9, xmmword [rsp + 0x20]
aesenc xmm7, xmmword [rdx + 0x20]
aesenc xmm7, xmmword [rdx + 0x30]
aesenc xmm7, xmm2
aesenc xmm7, xmm3
aesenc xmm7, xmm4
aesenc xmm7, xmm5
aesenc xmm7, xmm1
aesenc xmm7, xmm6
movdqu xmm6, xmmword [r8 - 0x10]
aesenc xmm7, xmmword [rsp + 0x10]
pxor xmm6, xmm10
movdqa xmm10, xmmword [rsp + 0x10]
aesenc xmm6, xmmword [rdx + 0x20]
aesenc xmm6, xmmword [rdx + 0x30]
aesenc xmm6, xmm2
aesenc xmm6, xmm3
aesenc xmm6, xmm4
aesenc xmm6, xmm5
movdqu xmm5, xmmword [r8]
pxor xmm5, xmm11
movdqa xmm11, xmmword [rsp + 0x40]
aesenc xmm5, xmmword [rdx + 0x20]
aesenc xmm5, xmmword [rdx + 0x30]
aesenc xmm5, xmm2
aesenc xmm5, xmm3
aesenc xmm5, xmm4
movdqu xmm4, xmmword [r8 + 0x10]
pxor xmm4, xmm12
movdqa xmm12, xmmword [rsp]
aesenc xmm4, xmmword [rdx + 0x20]
aesenc xmm4, xmmword [rdx + 0x30]
aesenc xmm4, xmm2
aesenc xmm4, xmm3
movdqu xmm3, xmmword [r8 + 0x20]
pxor xmm3, xmm13
movdqa xmm13, xmmword [rsp + 0x20]
aesenc xmm3, xmmword [rdx + 0x20]
aesenc xmm3, xmmword [rdx + 0x30]
aesenc xmm3, xmm2
movdqu xmm2, xmmword [r8 + 0x30]
pxor xmm2, xmm14
movdqa xmm14, xmmword [rsp + 0x10]
aesenc xmm2, xmmword [rdx + 0x20]
aesenc xmm2, xmmword [rdx + 0x30]
aesenc xmm4, xmm11
aesenc xmm6, xmm1
aesenc xmm6, xmm9
aesenc xmm6, xmm10
aesenc xmm7, xmm0
aesenc xmm6, xmm0
movdqa xmm0, xmmword [rsp + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm4, xmm9
aesenc xmm5, xmm9
aesenc xmm4, xmm10
aesenc xmm5, xmm10
movdqa xmm10, xmmword [rsp + 0x50]
aesenc xmm5, xmmword [rsp]
aesenc xmm3, xmm10
aesenc xmm3, xmm11
aesenc xmm3, xmm0
aesenc xmm3, xmm1
aesenc xmm3, xmm9
movdqa xmm9, xmmword [rsp + 0x60]
aesenc xmm3, xmmword [rsp + 0x10]
aesenc xmm2, xmm9
aesenc xmm2, xmm10
aesenc xmm2, xmm11
aesenc xmm2, xmm0
aesenc xmm2, xmm1
aesenc xmm2, xmm13
aesenc xmm2, xmm14
aesenc xmm4, xmm12
aesenc xmm3, xmm12
movdqu xmm1, xmmword [r8 + 0x40]
lea r10, [r10 + 8]
lea r8, [r8 + 0x80]
pxor xmm1, xmm15
aesenc xmm1, xmmword [rdx + 0x20]
aesenc xmm1, xmmword [rdx + 0x30]
aesenc xmm1, xmm9
aesenc xmm1, xmm10
aesenc xmm1, xmm11
aesenc xmm1, xmm0
movdqu xmm0, xmmword [r8 - 0x30]
pxor xmm0, xmm8
movdqa xmm8, xmm7
aesenc xmm0, xmmword [rdx + 0x20]
aesenc xmm0, xmmword [rdx + 0x30]
aesenc xmm1, xmmword [rsp + 0x70]
aesenc xmm0, xmm9
movdqa xmm9, xmm6
pxor xmm9, xmm7
aesenc xmm0, xmm10
movdqa xmm10, xmm5
pxor xmm10, xmm6
movdqa xmm6, xmmword [rsp + 0x20]
aesenc xmm0, xmm11
movdqa xmm11, xmm4
pxor xmm11, xmm5
movdqa xmm5, xmmword [rsp + 0x30]
aesenc xmm0, xmmword [rsp + 0x30]
aesenc xmm0, xmmword [rsp + 0x70]
aesenc xmm0, xmm13
aesenc xmm2, xmm12
aesenc xmm1, xmm13
movdqa xmm13, xmm2
pxor xmm13, xmm3
aesenc xmm0, xmm14
aesenc xmm0, xmm12
movdqa xmm15, xmm0
pxor xmm8, xmm0
movdqa xmm0, xmmword [rsp]
aesenc xmm1, xmm14
aesenc xmm1, xmm12
movdqa xmm12, xmm3
movdqa xmm3, xmmword [rsp + 0x50]
movdqa xmm14, xmm1
pxor xmm12, xmm4
movdqa xmm4, xmmword [rsp + 0x40]
pxor xmm14, xmm2
movdqa xmm2, xmmword [rsp + 0x60]
pxor xmm15, xmm1
sub rcx, 1
jne 0x140033430
test rax, rax
je 0x140033a2c
dec rax
lea rcx, [r9 + 0x20]
shr rax, 3
inc rax
jmp 0x140033763
movdqa xmm2, xmmword [rsp + 0x60]
movdqa xmm3, xmmword [rsp + 0x50]
movdqa xmm4, xmmword [rsp + 0x40]
movdqa xmm5, xmmword [rsp + 0x30]
movdqa xmm6, xmmword [rsp + 0x20]
movdqa xmm0, xmmword [rsp]
prefetchnta byte [r9]
prefetchnta byte [r9 + 4]
movdqa xmm1, xmmword [rsp + 0x70]
movdqu xmm7, xmmword [rcx - 0x20]
pxor xmm7, xmm9
movdqa xmm9, xmmword [rsp + 0x20]
aesenc xmm7, xmmword [rdx + 0x20]
aesenc xmm7, xmmword [rdx + 0x30]
aesenc xmm7, xmm2
aesenc xmm7, xmm3
aesenc xmm7, xmm4
aesenc xmm7, xmm5
aesenc xmm7, xmm1
aesenc xmm7, xmm6
movdqu xmm6, xmmword [rcx - 0x10]
aesenc xmm7, xmmword [rsp + 0x10]
pxor xmm6, xmm10
movdqa xmm10, xmmword [rsp + 0x10]
aesenc xmm6, xmmword [rdx + 0x20]
aesenc xmm6, xmmword [rdx + 0x30]
aesenc xmm6, xmm2
aesenc xmm6, xmm3
aesenc xmm6, xmm4
aesenc xmm6, xmm5
movdqu xmm5, xmmword [rcx]
pxor xmm5, xmm11
movdqa xmm11, xmmword [rsp + 0x40]
aesenc xmm5, xmmword [rdx + 0x20]
aesenc xmm5, xmmword [rdx + 0x30]
aesenc xmm5, xmm2
aesenc xmm5, xmm3
aesenc xmm5, xmm4
movdqu xmm4, xmmword [rcx + 0x10]
pxor xmm4, xmm12
movdqa xmm12, xmmword [rsp]
aesenc xmm4, xmmword [rdx + 0x20]
aesenc xmm4, xmmword [rdx + 0x30]
aesenc xmm4, xmm2
aesenc xmm4, xmm3
movdqu xmm3, xmmword [rcx + 0x20]
pxor xmm3, xmm13
movdqa xmm13, xmmword [rsp + 0x20]
aesenc xmm3, xmmword [rdx + 0x20]
aesenc xmm3, xmmword [rdx + 0x30]
aesenc xmm3, xmm2
movdqu xmm2, xmmword [rcx + 0x30]
pxor xmm2, xmm14
movdqa xmm14, xmmword [rsp + 0x10]
aesenc xmm2, xmmword [rdx + 0x20]
aesenc xmm2, xmmword [rdx + 0x30]
aesenc xmm4, xmm11
aesenc xmm6, xmm1
aesenc xmm6, xmm9
aesenc xmm6, xmm10
aesenc xmm7, xmm0
aesenc xmm6, xmm0
movdqa xmm0, xmmword [rsp + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm4, xmm9
aesenc xmm5, xmm9
aesenc xmm4, xmm10
aesenc xmm5, xmm10
movdqa xmm10, xmmword [rsp + 0x50]
aesenc xmm5, xmmword [rsp]
aesenc xmm3, xmm10
aesenc xmm3, xmm11
aesenc xmm3, xmm0
aesenc xmm3, xmm1
aesenc xmm3, xmm9
movdqa xmm9, xmmword [rsp + 0x60]
aesenc xmm3, xmmword [rsp + 0x10]
aesenc xmm2, xmm9
aesenc xmm2, xmm10
aesenc xmm2, xmm11
aesenc xmm2, xmm0
aesenc xmm2, xmm1
aesenc xmm2, xmm13
aesenc xmm2, xmm14
aesenc xmm4, xmm12
aesenc xmm3, xmm12
movdqu xmm1, xmmword [rcx + 0x40]
lea r9, [r9 + 8]
lea rcx, [rcx + 0x80]
pxor xmm1, xmm15
aesenc xmm1, xmmword [rdx + 0x20]
aesenc xmm1, xmmword [rdx + 0x30]
aesenc xmm1, xmm9
aesenc xmm1, xmm10
aesenc xmm1, xmm11
aesenc xmm1, xmm0
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm0, xmm8
movdqa xmm8, xmm7
aesenc xmm0, xmmword [rdx + 0x20]
aesenc xmm0, xmmword [rdx + 0x30]
aesenc xmm1, xmmword [rsp + 0x70]
aesenc xmm0, xmm9
movdqa xmm9, xmm6
pxor xmm9, xmm7
aesenc xmm0, xmm10
movdqa xmm10, xmm5
pxor xmm10, xmm6
aesenc xmm0, xmm11
movdqa xmm11, xmm4
pxor xmm11, xmm5
aesenc xmm0, xmmword [rsp + 0x30]
aesenc xmm0, xmmword [rsp + 0x70]
aesenc xmm0, xmm13
aesenc xmm1, xmm13
aesenc xmm2, xmm12
movdqa xmm13, xmm2
pxor xmm13, xmm3
aesenc xmm0, xmm14
aesenc xmm0, xmm12
movdqa xmm15, xmm0
pxor xmm8, xmm0
aesenc xmm1, xmm14
aesenc xmm1, xmm12
movdqa xmm12, xmm3
movdqa xmm14, xmm1
pxor xmm15, xmm1
pxor xmm12, xmm4
pxor xmm14, xmm2
sub rax, 1
jne 0x140033740
mov eax, reloc.WSOCK32.dll_recv
aesenc xmm9, xmmword [rdx + 0x20]
aesenc xmm10, xmmword [rdx + 0x20]
aesenc xmm11, xmmword [rdx + 0x20]
aesenc xmm12, xmmword [rdx + 0x20]
aesenc xmm13, xmmword [rdx + 0x20]
aesenc xmm9, xmmword [rdx + 0x30]
aesenc xmm10, xmmword [rdx + 0x30]
aesenc xmm11, xmmword [rdx + 0x30]
aesenc xmm12, xmmword [rdx + 0x30]
aesenc xmm13, xmmword [rdx + 0x30]
aesenc xmm14, xmmword [rdx + 0x20]
movdqa xmm0, xmmword [rsp + 0x60]
movdqa xmm1, xmmword [rsp + 0x50]
movdqa xmm2, xmmword [rsp + 0x30]
aesenc xmm14, xmmword [rdx + 0x30]
movdqa xmm3, xmmword [rsp + 0x70]
movdqa xmm5, xmmword [rsp]
movdqa xmm4, xmmword [rsp + 0x10]
aesenc xmm15, xmmword [rdx + 0x20]
aesenc xmm15, xmmword [rdx + 0x30]
aesenc xmm9, xmm0
aesenc xmm10, xmm0
aesenc xmm11, xmm0
aesenc xmm12, xmm0
aesenc xmm13, xmm0
aesenc xmm9, xmm1
aesenc xmm9, xmmword [rsp + 0x40]
aesenc xmm10, xmm1
aesenc xmm11, xmm1
aesenc xmm12, xmm1
aesenc xmm13, xmm1
aesenc xmm9, xmm2
aesenc xmm14, xmm0
aesenc xmm9, xmm3
aesenc xmm9, xmmword [rsp + 0x20]
aesenc xmm9, xmmword [rsp + 0x10]
aesenc xmm14, xmm1
aesenc xmm9, xmm5
movdqa xmm7, xmm9
movdqa xmm9, xmmword [rsp + 0x40]
aesenc xmm10, xmm9
aesenc xmm10, xmm2
aesenc xmm11, xmm9
aesenc xmm11, xmm2
aesenc xmm12, xmm9
aesenc xmm12, xmm2
aesenc xmm13, xmm9
aesenc xmm13, xmm2
aesenc xmm10, xmm3
aesenc xmm10, xmmword [rsp + 0x20]
aesenc xmm11, xmm3
aesenc xmm12, xmm3
aesenc xmm13, xmm3
aesenc xmm14, xmm9
aesenc xmm14, xmm2
aesenc xmm10, xmm4
aesenc xmm10, xmm5
movdqa xmm6, xmm10
movdqa xmm10, xmmword [rsp + 0x20]
aesenc xmm11, xmm10
aesenc xmm11, xmm4
aesenc xmm12, xmm10
aesenc xmm12, xmm4
aesenc xmm13, xmm10
aesenc xmm13, xmmword [rsp + 0x10]
aesenc xmm11, xmm5
movdqa xmm5, xmm11
movdqa xmm11, xmmword [rsp]
aesenc xmm12, xmm11
aesenc xmm13, xmm11
movdqa xmm4, xmm12
movdqa xmm3, xmm13
movdqa xmm12, xmmword [rsp + 0x70]
movdqa xmm13, xmmword [rsp + 0x10]
aesenc xmm14, xmm12
aesenc xmm14, xmm10
aesenc xmm14, xmm13
aesenc xmm14, xmm11
aesenc xmm15, xmm0
movdqa xmm2, xmm14
aesenc xmm15, xmm1
aesenc xmm8, xmmword [rdx + 0x20]
aesenc xmm8, xmmword [rdx + 0x30]
aesenc xmm8, xmm0
aesenc xmm8, xmmword [rsp + 0x50]
aesenc xmm8, xmm9
aesenc xmm8, xmmword [rsp + 0x30]
aesenc xmm15, xmm9
movdqa xmm9, xmm6
pxor xmm9, xmm7
aesenc xmm15, xmmword [rsp + 0x30]
aesenc xmm8, xmm12
aesenc xmm15, xmm12
movdqa xmm12, xmm3
pxor xmm12, xmm4
aesenc xmm8, xmm10
aesenc xmm15, xmm10
movdqa xmm10, xmm5
pxor xmm10, xmm6
aesenc xmm8, xmm13
aesenc xmm15, xmm13
movdqa xmm13, xmm2
pxor xmm13, xmm3
aesenc xmm8, xmm11
movdqa xmm0, xmm8
movdqa xmm8, xmm7
pxor xmm8, xmm0
aesenc xmm15, xmm11
movdqa xmm1, xmm15
movdqa xmm15, xmm0
movdqa xmm11, xmm4
movdqa xmm14, xmm1
pxor xmm15, xmm1
pxor xmm11, xmm5
pxor xmm14, xmm2
sub rax, 1
jne 0x140033a31
lea r11, [rsp + 0x128]
movdqu xmmword [rdx + 0x40], xmm9
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm9, xmmword [r11 - 0x48]
movdqu xmmword [rdx + 0x50], xmm10
movaps xmm10, xmmword [r11 - 0x58]
movdqu xmmword [rdx + 0x60], xmm11
movaps xmm11, xmmword [r11 - 0x68]
movdqu xmmword [rdx + 0x70], xmm12
movaps xmm12, xmmword [r11 - 0x78]
movdqu xmmword [rdx + 0x80], xmm13
movaps xmm13, xmmword [r11 - 0x88]
movdqu xmmword [rdx + 0x90], xmm14
movaps xmm14, xmmword [r11 - 0x98]
movdqu xmmword [rdx + 0xa0], xmm15
movaps xmm15, xmmword [r11 - 0xa8]
movdqu xmmword [rdx + 0xb0], xmm8
movaps xmm8, xmmword [r11 - 0x38]
mov rsp, r11
ret