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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
push edi
lea eax, [esp + 0xb0]
mov edi, edx
push eax
lea eax, [esp + 0xc4]
mov esi, ecx
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [edi + 0x20]
lea edx, [esp + 0x34]
call fcn.37a859f0
movups xmm0, xmmword [edi + 0x70]
add esp, 0x24
movups xmm1, xmmword [edi + 0x40]
add esi, 0x20
movups xmm2, xmmword [edi + 0x50]
mov eax, esi
movups xmm3, xmmword [edi + 0x60]
mov ecx, 0x8000
movaps xmmword [esp + 0xd0], xmm0
movups xmm0, xmmword [edi + 0x80]
movaps xmmword [esp + 0xe0], xmm0
movups xmm0, xmmword [edi + 0x90]
movaps xmmword [esp + 0xf0], xmm0
movups xmm0, xmmword [edi + 0xa0]
movaps xmmword [esp + 0x100], xmm0
movups xmm0, xmmword [edi + 0xb0]
movaps xmmword [esp + 0x80], xmm0
jmp 0x37a82428
movaps xmm1, xmmword [esp + 0x110]
movups xmm7, xmmword [eax - 0x20]
movups xmm6, xmmword [eax - 0x10]
pxor xmm7, xmm1
aesenc xmm7, xmmword [esp + 0x10]
aesenc xmm7, xmmword [esp + 0x20]
aesenc xmm7, xmmword [esp + 0x30]
aesenc xmm7, xmmword [esp + 0x40]
aesenc xmm7, xmmword [esp + 0x50]
movaps xmm5, xmmword [esp + 0x60]
pxor xmm6, xmm2
aesenc xmm6, xmmword [esp + 0x10]
aesenc xmm6, xmmword [esp + 0x20]
aesenc xmm6, xmmword [esp + 0x30]
aesenc xmm6, xmmword [esp + 0x40]
aesenc xmm6, xmmword [esp + 0x50]
movaps xmm2, xmmword [esp + 0x70]
movaps xmm4, xmmword [esp + 0x90]
aesenc xmm7, xmm5
aesenc xmm7, xmmword [esp + 0x70]
aesenc xmm6, xmm5
movups xmm5, xmmword [eax]
pxor xmm5, xmm3
movaps xmm1, xmmword [esp + 0xc0]
aesenc xmm5, xmmword [esp + 0x10]
aesenc xmm5, xmmword [esp + 0x20]
aesenc xmm5, xmmword [esp + 0x30]
aesenc xmm5, xmmword [esp + 0x40]
aesenc xmm5, xmmword [esp + 0x50]
aesenc xmm5, xmmword [esp + 0x60]
movups xmm3, xmmword [eax + 0x20]
pxor xmm3, xmmword [esp + 0xe0]
aesenc xmm3, xmmword [esp + 0x10]
aesenc xmm3, xmmword [esp + 0x20]
aesenc xmm3, xmmword [esp + 0x30]
aesenc xmm3, xmmword [esp + 0x40]
aesenc xmm3, xmmword [esp + 0x50]
aesenc xmm3, xmmword [esp + 0x60]
aesenc xmm5, xmm2
aesenc xmm6, xmm2
aesenc xmm5, xmm4
aesenc xmm7, xmm4
aesenc xmm6, xmm4
movups xmm4, xmmword [eax + 0x10]
pxor xmm4, xmmword [esp + 0xd0]
aesenc xmm4, xmmword [esp + 0x10]
aesenc xmm4, xmmword [esp + 0x20]
aesenc xmm4, xmmword [esp + 0x30]
aesenc xmm4, xmmword [esp + 0x40]
aesenc xmm4, xmmword [esp + 0x50]
aesenc xmm4, xmmword [esp + 0x60]
movaps xmm0, xmmword [esp + 0xb0]
aesenc xmm4, xmm2
aesenc xmm3, xmm2
movups xmm2, xmmword [eax + 0x30]
pxor xmm2, xmmword [esp + 0xf0]
aesenc xmm2, xmmword [esp + 0x10]
aesenc xmm2, xmmword [esp + 0x20]
aesenc xmm2, xmmword [esp + 0x30]
aesenc xmm2, xmmword [esp + 0x40]
aesenc xmm2, xmmword [esp + 0x50]
aesenc xmm2, xmmword [esp + 0x60]
aesenc xmm2, xmmword [esp + 0x70]
aesenc xmm5, xmm1
aesenc xmm5, xmm0
movaps xmmword [esp + 0xa0], xmm5
movaps xmm5, xmmword [esp + 0x90]
aesenc xmm4, xmm5
aesenc xmm3, xmm5
aesenc xmm2, xmm5
aesenc xmm7, xmm1
aesenc xmm6, xmm1
aesenc xmm4, xmm1
aesenc xmm3, xmm1
aesenc xmm2, xmm1
movups xmm1, xmmword [eax + 0x40]
pxor xmm1, xmmword [esp + 0x100]
aesenc xmm7, xmm0
aesenc xmm6, xmm0
aesenc xmm4, xmm0
aesenc xmm3, xmm0
aesenc xmm2, xmm0
lea eax, [eax + 0x80]
aesenc xmm1, xmmword [esp + 0x10]
aesenc xmm1, xmmword [esp + 0x20]
aesenc xmm1, xmmword [esp + 0x30]
aesenc xmm1, xmmword [esp + 0x40]
aesenc xmm1, xmmword [esp + 0x50]
aesenc xmm1, xmmword [esp + 0x60]
aesenc xmm1, xmmword [esp + 0x70]
aesenc xmm1, xmm5
movaps xmm5, xmm6
pxor xmm5, xmm7
movaps xmmword [esp + 0x110], xmm5
movaps xmm5, xmm3
pxor xmm5, xmm4
movaps xmmword [esp + 0xd0], xmm5
aesenc xmm1, xmmword [esp + 0xc0]
aesenc xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
pxor xmm0, xmmword [esp + 0x80]
movaps xmmword [esp + 0x80], xmm7
movaps xmm7, xmmword [esp + 0xa0]
pxor xmm7, xmm6
movaps xmm6, xmm4
pxor xmm6, xmmword [esp + 0xa0]
movaps xmm4, xmm2
movaps xmmword [esp + 0x120], xmm7
pxor xmm4, xmm3
movaps xmmword [esp + 0xa0], xmm6
movaps xmm3, xmm1
movaps xmmword [esp + 0xe0], xmm4
pxor xmm3, xmm2
movaps xmmword [esp + 0xf0], xmm3
movaps xmm3, xmmword [esp + 0xa0]
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmmword [esp + 0x40]
aesenc xmm0, xmmword [esp + 0x50]
aesenc xmm0, xmmword [esp + 0x60]
aesenc xmm0, xmmword [esp + 0x70]
aesenc xmm0, xmmword [esp + 0x90]
aesenc xmm0, xmmword [esp + 0xc0]
aesenc xmm0, xmmword [esp + 0xb0]
movaps xmm2, xmm0
pxor xmm2, xmm1
movaps xmm1, xmmword [esp + 0x80]
movaps xmmword [esp + 0x100], xmm2
pxor xmm1, xmm0
movaps xmm2, xmmword [esp + 0x120]
movaps xmmword [esp + 0x80], xmm1
sub ecx, 1
jne 0x37a82420
mov eax, 0x8000
nop dword [eax]
movups xmm7, xmmword [esi - 0x20]
pxor xmm7, xmmword [esp + 0x110]
aesenc xmm7, xmmword [esp + 0x10]
aesenc xmm7, xmmword [esp + 0x20]
movups xmm6, xmmword [esi - 0x10]
pxor xmm6, xmmword [esp + 0x120]
aesenc xmm6, xmmword [esp + 0x10]
aesenc xmm6, xmmword [esp + 0x20]
movups xmm5, xmmword [esi]
pxor xmm5, xmmword [esp + 0xa0]
aesenc xmm5, xmmword [esp + 0x10]
aesenc xmm5, xmmword [esp + 0x20]
aesenc xmm5, xmmword [esp + 0x30]
aesenc xmm7, xmmword [esp + 0x30]
aesenc xmm6, xmmword [esp + 0x30]
aesenc xmm5, xmmword [esp + 0x40]
aesenc xmm7, xmmword [esp + 0x40]
aesenc xmm6, xmmword [esp + 0x40]
aesenc xmm5, xmmword [esp + 0x50]
aesenc xmm7, xmmword [esp + 0x50]
aesenc xmm6, xmmword [esp + 0x50]
aesenc xmm5, xmmword [esp + 0x60]
aesenc xmm7, xmmword [esp + 0x60]
movaps xmm4, xmmword [esp + 0x70]
aesenc xmm6, xmmword [esp + 0x60]
movups xmm3, xmmword [esi + 0x20]
pxor xmm3, xmmword [esp + 0xe0]
aesenc xmm3, xmmword [esp + 0x10]
aesenc xmm3, xmmword [esp + 0x20]
movaps xmm1, xmmword [esp + 0xc0]
movaps xmm2, xmmword [esp + 0x90]
aesenc xmm3, xmmword [esp + 0x30]
movaps xmm0, xmmword [esp + 0xb0]
aesenc xmm3, xmmword [esp + 0x40]
aesenc xmm3, xmmword [esp + 0x50]
aesenc xmm3, xmmword [esp + 0x60]
aesenc xmm5, xmm4
aesenc xmm7, xmm4
aesenc xmm6, xmm4
movups xmm4, xmmword [esi + 0x10]
pxor xmm4, xmmword [esp + 0xd0]
aesenc xmm4, xmmword [esp + 0x10]
aesenc xmm4, xmmword [esp + 0x20]
aesenc xmm4, xmmword [esp + 0x30]
aesenc xmm4, xmmword [esp + 0x40]
aesenc xmm4, xmmword [esp + 0x50]
aesenc xmm4, xmmword [esp + 0x60]
aesenc xmm5, xmm2
aesenc xmm7, xmmword [esp + 0x90]
aesenc xmm6, xmm2
aesenc xmm5, xmm1
aesenc xmm5, xmm0
movaps xmmword [esp + 0xa0], xmm5
movaps xmm5, xmmword [esp + 0x70]
aesenc xmm4, xmm5
aesenc xmm4, xmm2
aesenc xmm3, xmm5
aesenc xmm3, xmm2
movups xmm2, xmmword [esi + 0x30]
pxor xmm2, xmmword [esp + 0xf0]
aesenc xmm2, xmmword [esp + 0x10]
aesenc xmm2, xmmword [esp + 0x20]
aesenc xmm2, xmmword [esp + 0x30]
aesenc xmm2, xmmword [esp + 0x40]
aesenc xmm2, xmmword [esp + 0x50]
aesenc xmm2, xmmword [esp + 0x60]
aesenc xmm2, xmm5
aesenc xmm2, xmmword [esp + 0x90]
aesenc xmm7, xmm1
aesenc xmm6, xmm1
aesenc xmm4, xmm1
aesenc xmm3, xmm1
aesenc xmm2, xmm1
movups xmm1, xmmword [esi + 0x40]
pxor xmm1, xmmword [esp + 0x100]
aesenc xmm1, xmmword [esp + 0x10]
aesenc xmm7, xmm0
aesenc xmm6, xmm0
aesenc xmm4, xmm0
aesenc xmm3, xmm0
aesenc xmm2, xmm0
lea esi, [esi + 0x80]
movaps xmm5, xmm6
pxor xmm5, xmm7
movaps xmmword [esp + 0x110], xmm5
movaps xmm5, xmm3
pxor xmm5, xmm4
movaps xmmword [esp + 0xd0], xmm5
aesenc xmm1, xmmword [esp + 0x20]
aesenc xmm1, xmmword [esp + 0x30]
aesenc xmm1, xmmword [esp + 0x40]
aesenc xmm1, xmmword [esp + 0x50]
aesenc xmm1, xmmword [esp + 0x60]
aesenc xmm1, xmmword [esp + 0x70]
aesenc xmm1, xmmword [esp + 0x90]
aesenc xmm1, xmmword [esp + 0xc0]
aesenc xmm1, xmm0
movups xmm0, xmmword [esi - 0x30]
pxor xmm0, xmmword [esp + 0x80]
movaps xmmword [esp + 0x80], xmm7
movaps xmm7, xmmword [esp + 0xa0]
pxor xmm7, xmm6
movaps xmm6, xmm4
pxor xmm6, xmmword [esp + 0xa0]
movaps xmm4, xmm2
movaps xmmword [esp + 0x120], xmm7
pxor xmm4, xmm3
movaps xmmword [esp + 0xa0], xmm6
movaps xmm3, xmm1
movaps xmmword [esp + 0xe0], xmm4
pxor xmm3, xmm2
movaps xmmword [esp + 0xf0], xmm3
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmmword [esp + 0x40]
aesenc xmm0, xmmword [esp + 0x50]
aesenc xmm0, xmmword [esp + 0x60]
aesenc xmm0, xmmword [esp + 0x70]
aesenc xmm0, xmmword [esp + 0x90]
aesenc xmm0, xmmword [esp + 0xc0]
aesenc xmm0, xmmword [esp + 0xb0]
movaps xmm2, xmm0
pxor xmm2, xmm1
movaps xmm1, xmmword [esp + 0x80]
movaps xmmword [esp + 0x100], xmm2
pxor xmm1, xmm0
movaps xmmword [esp + 0x80], xmm1
sub eax, 1
jne 0x37a82770
mov eax, 0x10
nop dword [eax + eax]
movaps xmm0, xmmword [esp + 0xa0]
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmmword [esp + 0x40]
aesenc xmm0, xmmword [esp + 0x50]
movaps xmm5, xmmword [esp + 0x60]
aesenc xmm0, xmm5
movaps xmm4, xmmword [esp + 0x70]
aesenc xmm0, xmm4
movaps xmm7, xmmword [esp + 0x110]
aesenc xmm7, xmmword [esp + 0x10]
aesenc xmm7, xmmword [esp + 0x20]
aesenc xmm7, xmmword [esp + 0x30]
movaps xmm3, xmmword [esp + 0x90]
aesenc xmm0, xmm3
movaps xmm6, xmmword [esp + 0x120]
aesenc xmm6, xmmword [esp + 0x10]
aesenc xmm6, xmmword [esp + 0x20]
aesenc xmm6, xmmword [esp + 0x30]
movaps xmm2, xmmword [esp + 0xc0]
aesenc xmm0, xmm2
aesenc xmm7, xmmword [esp + 0x40]
aesenc xmm6, xmmword [esp + 0x40]
movaps xmm1, xmmword [esp + 0xb0]
aesenc xmm0, xmm1
aesenc xmm7, xmmword [esp + 0x50]
aesenc xmm6, xmmword [esp + 0x50]
aesenc xmm7, xmm5
aesenc xmm6, xmm5
movaps xmm5, xmm0
movaps xmm0, xmmword [esp + 0xd0]
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmmword [esp + 0x40]
aesenc xmm0, xmmword [esp + 0x50]
aesenc xmm0, xmmword [esp + 0x60]
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
aesenc xmm7, xmm4
aesenc xmm6, xmm4
movaps xmm4, xmm0
movaps xmmword [esp + 0xa0], xmm5
movaps xmm0, xmmword [esp + 0xe0]
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmmword [esp + 0x40]
aesenc xmm0, xmmword [esp + 0x50]
aesenc xmm0, xmmword [esp + 0x60]
aesenc xmm0, xmmword [esp + 0x70]
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
aesenc xmm7, xmm3
aesenc xmm6, xmm3
movaps xmm3, xmm0
movaps xmm0, xmmword [esp + 0xf0]
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmmword [esp + 0x40]
aesenc xmm0, xmmword [esp + 0x50]
aesenc xmm0, xmmword [esp + 0x60]
aesenc xmm0, xmmword [esp + 0x70]
aesenc xmm0, xmmword [esp + 0x90]
aesenc xmm0, xmm2
aesenc xmm0, xmm1
aesenc xmm7, xmm2
aesenc xmm6, xmm2
movaps xmm2, xmm0
movaps xmm0, xmmword [esp + 0x100]
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmmword [esp + 0x40]
aesenc xmm7, xmm1
aesenc xmm6, xmm1
movaps xmm5, xmm6
pxor xmm5, xmm7
movaps xmmword [esp + 0x110], xmm5
movaps xmm5, xmm3
pxor xmm5, xmm4
movaps xmmword [esp + 0xd0], xmm5
aesenc xmm0, xmmword [esp + 0x50]
aesenc xmm0, xmmword [esp + 0x60]
aesenc xmm0, xmmword [esp + 0x70]
aesenc xmm0, xmmword [esp + 0x90]
aesenc xmm0, xmmword [esp + 0xc0]
aesenc xmm0, xmm1
movaps xmm1, xmm0
movaps xmm0, xmmword [esp + 0x80]
movaps xmmword [esp + 0x80], xmm7
movaps xmm7, xmmword [esp + 0xa0]
pxor xmm7, xmm6
movaps xmm6, xmm4
pxor xmm6, xmmword [esp + 0xa0]
movaps xmm4, xmm2
movaps xmmword [esp + 0x120], xmm7
pxor xmm4, xmm3
movaps xmmword [esp + 0xa0], xmm6
movaps xmm3, xmm1
movaps xmmword [esp + 0xe0], xmm4
pxor xmm3, xmm2
movaps xmmword [esp + 0xf0], xmm3
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmmword [esp + 0x40]
aesenc xmm0, xmmword [esp + 0x50]
aesenc xmm0, xmmword [esp + 0x60]
aesenc xmm0, xmmword [esp + 0x70]
aesenc xmm0, xmmword [esp + 0x90]
aesenc xmm0, xmmword [esp + 0xc0]
aesenc xmm0, xmmword [esp + 0xb0]
movaps xmm2, xmm0
pxor xmm2, xmm1
movaps xmm1, xmmword [esp + 0x80]
movaps xmmword [esp + 0x100], xmm2
pxor xmm1, xmm0
movaps xmmword [esp + 0x80], xmm1
sub eax, 1
jne 0x37a82ac0
movaps xmm0, xmmword [esp + 0x110]
movups xmmword [edi + 0x40], xmm0
movups xmmword [edi + 0x50], xmm7
movups xmmword [edi + 0x60], xmm6
movups xmmword [edi + 0x70], xmm5
movups xmmword [edi + 0x80], xmm4
movups xmmword [edi + 0x90], xmm3
movups xmmword [edi + 0xa0], xmm2
movups xmmword [edi + 0xb0], xmm1
pop edi
pop esi
mov esp, ebp
pop ebp
ret