Function at 0x37a806c0
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 + 0xc0]
mov edi, edx
push eax
lea eax, [esp + 0xd4]
mov esi, ecx
push eax
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x138]
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 + 0x40]
lea eax, [esi + 0x20]
movaps xmm1, xmmword [esp + 0xe4]
add esp, 0x24
movaps xmm2, xmmword [esp + 0xd0]
mov ecx, 0x2000
movaps xmm3, xmmword [esp + 0xe0]
movaps xmm4, xmmword [esp + 0xf0]
movaps xmm5, xmmword [esp + 0x100]
movaps xmm6, xmmword [esp + 0x110]
movaps xmm7, xmmword [esp + 0x120]
movaps xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [edi + 0x50]
movaps xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [edi + 0x60]
movaps xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [edi + 0x70]
movaps xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [edi + 0x80]
movaps xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [edi + 0x90]
movaps xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [edi + 0xa0]
movaps xmmword [esp + 0xa0], xmm0
movups xmm0, xmmword [edi + 0xb0]
movaps xmmword [esp + 0xb0], xmm0
movups xmm0, xmmword [eax - 0x20]
pxor xmm0, xmmword [esp + 0x40]
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [eax - 0x10]
pxor xmm0, xmmword [esp + 0x50]
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [eax]
pxor xmm0, xmmword [esp + 0x60]
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [eax + 0x10]
pxor xmm0, xmmword [esp + 0x70]
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [eax + 0x20]
pxor xmm0, xmmword [esp + 0x80]
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [eax + 0x30]
pxor xmm0, xmmword [esp + 0x90]
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [eax + 0x40]
pxor xmm0, xmmword [esp + 0xa0]
aesenc xmm0, xmmword [esp + 0x10]
lea eax, [eax + 0x80]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [esp + 0xa0], xmm0
movups xmm0, xmmword [eax - 0x30]
pxor xmm0, xmmword [esp + 0xb0]
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [esp + 0xb0], xmm0
sub ecx, 1
jne 0x37a807c3
movaps xmm0, xmmword [esp + 0x40]
movups xmmword [edi + 0x40], xmm0
movaps xmm0, xmmword [esp + 0x50]
movups xmmword [edi + 0x50], xmm0
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [edi + 0x60], xmm0
movaps xmm0, xmmword [esp + 0x70]
movups xmmword [edi + 0x70], xmm0
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [edi + 0x80], xmm0
movaps xmm0, xmmword [esp + 0x90]
movups xmmword [edi + 0x90], xmm0
movaps xmm0, xmmword [esp + 0xa0]
movups xmmword [edi + 0xa0], xmm0
movaps xmm0, xmmword [esp + 0xb0]
movups xmmword [edi + 0xb0], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
ret