Function at 0x4ba48d
Capabilities:
Encrypt data using aes via x86 extensions
Hash data using sha1 via x86 extensions

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
mov r10, qword [rsp + 0x38]
lea rsp, [rsp - 0xa8]
movaps xmmword [rax - 0xa8], xmm6
movaps xmmword [rax - 0x98], xmm7
movaps xmmword [rax - 0x88], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x58], xmm11
movaps xmmword [rax - 0x48], xmm12
movaps xmmword [rax - 0x38], xmm13
movaps xmmword [rax - 0x28], xmm14
movaps xmmword [rax - 0x18], xmm15
movdqu xmm8, xmmword [r9]
movd xmm9, dword [r9 + 0x10]
movdqa xmm7, xmmword [0x004ba410]
mov r11d, dword [rcx + 0xf0]
sub rsi, rdi
movups xmm15, xmmword [rcx]
movups xmm2, xmmword [r8]
movups xmm0, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x70]
pshufd xmm8, xmm8, 0x1b
pshufd xmm9, xmm9, 0x1b
jmp 0x4ba530
movups xmm14, xmmword [rdi]
xorps xmm14, xmm15
xorps xmm2, xmm14
movups xmm1, xmmword [rcx - 0x50]
aesenc xmm2, xmm0
movdqu xmm3, xmmword [r10]
movdqa xmm12, xmm9
pshufb xmm3, xmm7
movdqu xmm4, xmmword [r10 + 0x10]
movdqa xmm11, xmm8
movups xmm0, xmmword [rcx - 0x40]
aesenc xmm2, xmm1
pshufb xmm4, xmm7
paddd xmm9, xmm3
movdqu xmm5, xmmword [r10 + 0x20]
lea r10, [r10 + 0x40]
pxor xmm3, xmm12
movups xmm1, xmmword [rcx - 0x30]
aesenc xmm2, xmm0
pxor xmm3, xmm12
movdqa xmm10, xmm8
pshufb xmm5, xmm7
sha1rnds4 xmm8, xmm9, 0
sha1nexte xmm10, xmm4
movups xmm0, xmmword [rcx - 0x20]
aesenc xmm2, xmm1
sha1msg1 xmm3, xmm4
movdqu xmm6, xmmword [r10 - 0x10]
movdqa xmm9, xmm8
pshufb xmm6, xmm7
movups xmm1, xmmword [rcx - 0x10]
aesenc xmm2, xmm0
sha1rnds4 xmm8, xmm10, 0
sha1nexte xmm9, xmm5
pxor xmm3, xmm5
sha1msg1 xmm4, xmm5
movups xmm0, xmmword [rcx]
aesenc xmm2, xmm1
movdqa xmm10, xmm8
sha1rnds4 xmm8, xmm9, 0
sha1nexte xmm10, xmm6
movups xmm1, xmmword [rcx + 0x10]
aesenc xmm2, xmm0
sha1msg2 xmm3, xmm6
pxor xmm4, xmm6
sha1msg1 xmm5, xmm6
movups xmm0, xmmword [rcx + 0x20]
aesenc xmm2, xmm1
movdqa xmm9, xmm8
sha1rnds4 xmm8, xmm10, 0
sha1nexte xmm9, xmm3
movups xmm1, xmmword [rcx + 0x30]
aesenc xmm2, xmm0
sha1msg2 xmm4, xmm3
pxor xmm5, xmm3
sha1msg1 xmm6, xmm3
cmp r11d, 0xb
jb 0x4ba664
movups xmm0, xmmword [rcx + 0x40]
aesenc xmm2, xmm1
movups xmm1, xmmword [rcx + 0x50]
aesenc xmm2, xmm0
je 0x4ba664
movups xmm0, xmmword [rcx + 0x60]
aesenc xmm2, xmm1
movups xmm1, xmmword [rcx + 0x70]
aesenc xmm2, xmm0
aesenclast xmm2, xmm1
movups xmm0, xmmword [rcx - 0x60]
movdqa xmm10, xmm8
sha1rnds4 xmm8, xmm9, 0
sha1nexte xmm10, xmm4
movups xmm14, xmmword [rdi + 0x10]
xorps xmm14, xmm15
movups xmmword [rsi + rdi], xmm2
xorps xmm2, xmm14
movups xmm1, xmmword [rcx - 0x50]
aesenc xmm2, xmm0
sha1msg2 xmm5, xmm4
pxor xmm6, xmm4
sha1msg1 xmm3, xmm4
movups xmm0, xmmword [rcx - 0x40]
aesenc xmm2, xmm1
movdqa xmm9, xmm8
sha1rnds4 xmm8, xmm10, 1
sha1nexte xmm9, xmm5
movups xmm1, xmmword [rcx - 0x30]
aesenc xmm2, xmm0
sha1msg2 xmm6, xmm5
pxor xmm3, xmm5
sha1msg1 xmm4, xmm5
movups xmm0, xmmword [rcx - 0x20]
aesenc xmm2, xmm1
movdqa xmm10, xmm8
sha1rnds4 xmm8, xmm9, 1
sha1nexte xmm10, xmm6
movups xmm1, xmmword [rcx - 0x10]
aesenc xmm2, xmm0
sha1msg2 xmm3, xmm6
pxor xmm4, xmm6
sha1msg1 xmm5, xmm6
movups xmm0, xmmword [rcx]
aesenc xmm2, xmm1
movdqa xmm9, xmm8
sha1rnds4 xmm8, xmm10, 1
sha1nexte xmm9, xmm3
movups xmm1, xmmword [rcx + 0x10]
aesenc xmm2, xmm0
sha1msg2 xmm4, xmm3
pxor xmm5, xmm3
sha1msg1 xmm6, xmm3
movups xmm0, xmmword [rcx + 0x20]
aesenc xmm2, xmm1
movdqa xmm10, xmm8
sha1rnds4 xmm8, xmm9, 1
sha1nexte xmm10, xmm4
movups xmm1, xmmword [rcx + 0x30]
aesenc xmm2, xmm0
sha1msg2 xmm5, xmm4
pxor xmm6, xmm4
sha1msg1 xmm3, xmm4
cmp r11d, 0xb
jb 0x4ba786
movups xmm0, xmmword [rcx + 0x40]
aesenc xmm2, xmm1
movups xmm1, xmmword [rcx + 0x50]
aesenc xmm2, xmm0
je 0x4ba786
movups xmm0, xmmword [rcx + 0x60]
aesenc xmm2, xmm1
movups xmm1, xmmword [rcx + 0x70]
aesenc xmm2, xmm0
aesenclast xmm2, xmm1
movups xmm0, xmmword [rcx - 0x60]
movdqa xmm9, xmm8
sha1rnds4 xmm8, xmm10, 1
sha1nexte xmm9, xmm5
movups xmm14, xmmword [rdi + 0x20]
xorps xmm14, xmm15
movups xmmword [rsi + rdi + 0x10], xmm2
xorps xmm2, xmm14
movups xmm1, xmmword [rcx - 0x50]
aesenc xmm2, xmm0
sha1msg2 xmm6, xmm5
pxor xmm3, xmm5
sha1msg1 xmm4, xmm5
movups xmm0, xmmword [rcx - 0x40]
aesenc xmm2, xmm1
movdqa xmm10, xmm8
sha1rnds4 xmm8, xmm9, 2
sha1nexte xmm10, xmm6
movups xmm1, xmmword [rcx - 0x30]
aesenc xmm2, xmm0
sha1msg2 xmm3, xmm6
pxor xmm4, xmm6
sha1msg1 xmm5, xmm6
movups xmm0, xmmword [rcx - 0x20]
aesenc xmm2, xmm1
movdqa xmm9, xmm8
sha1rnds4 xmm8, xmm10, 2
sha1nexte xmm9, xmm3
movups xmm1, xmmword [rcx - 0x10]
aesenc xmm2, xmm0
sha1msg2 xmm4, xmm3
pxor xmm5, xmm3
sha1msg1 xmm6, xmm3
movups xmm0, xmmword [rcx]
aesenc xmm2, xmm1
movdqa xmm10, xmm8
sha1rnds4 xmm8, xmm9, 2
sha1nexte xmm10, xmm4
movups xmm1, xmmword [rcx + 0x10]
aesenc xmm2, xmm0
sha1msg2 xmm5, xmm4
pxor xmm6, xmm4
sha1msg1 xmm3, xmm4
movups xmm0, xmmword [rcx + 0x20]
aesenc xmm2, xmm1
movdqa xmm9, xmm8
sha1rnds4 xmm8, xmm10, 2
sha1nexte xmm9, xmm5
movups xmm1, xmmword [rcx + 0x30]
aesenc xmm2, xmm0
sha1msg2 xmm6, xmm5
pxor xmm3, xmm5
sha1msg1 xmm4, xmm5
cmp r11d, 0xb
jb 0x4ba8a9
movups xmm0, xmmword [rcx + 0x40]
aesenc xmm2, xmm1
movups xmm1, xmmword [rcx + 0x50]
aesenc xmm2, xmm0
je 0x4ba8a9
movups xmm0, xmmword [rcx + 0x60]
aesenc xmm2, xmm1
movups xmm1, xmmword [rcx + 0x70]
aesenc xmm2, xmm0
aesenclast xmm2, xmm1
movups xmm0, xmmword [rcx - 0x60]
movdqa xmm10, xmm8
sha1rnds4 xmm8, xmm9, 2
sha1nexte xmm10, xmm6
movups xmm14, xmmword [rdi + 0x30]
xorps xmm14, xmm15
movups xmmword [rsi + rdi + 0x20], xmm2
xorps xmm2, xmm14
movups xmm1, xmmword [rcx - 0x50]
aesenc xmm2, xmm0
sha1msg2 xmm3, xmm6
pxor xmm4, xmm6
sha1msg1 xmm5, xmm6
movups xmm0, xmmword [rcx - 0x40]
aesenc xmm2, xmm1
movdqa xmm9, xmm8
sha1rnds4 xmm8, xmm10, 3
sha1nexte xmm9, xmm3
movups xmm1, xmmword [rcx - 0x30]
aesenc xmm2, xmm0
sha1msg2 xmm4, xmm3
pxor xmm5, xmm3
sha1msg1 xmm6, xmm3
movups xmm0, xmmword [rcx - 0x20]
aesenc xmm2, xmm1
movdqa xmm10, xmm8
sha1rnds4 xmm8, xmm9, 3
sha1nexte xmm10, xmm4
sha1msg2 xmm5, xmm4
pxor xmm6, xmm4
movups xmm1, xmmword [rcx - 0x10]
aesenc xmm2, xmm0
movdqa xmm9, xmm8
sha1rnds4 xmm8, xmm10, 3
sha1nexte xmm9, xmm5
sha1msg2 xmm6, xmm5
movups xmm0, xmmword [rcx]
aesenc xmm2, xmm1
movdqa xmm5, xmm12
movdqa xmm10, xmm8
sha1rnds4 xmm8, xmm9, 3
sha1nexte xmm10, xmm6
movups xmm1, xmmword [rcx + 0x10]
aesenc xmm2, xmm0
movdqa xmm9, xmm8
sha1rnds4 xmm8, xmm10, 3
sha1nexte xmm9, xmm5
movups xmm0, xmmword [rcx + 0x20]
aesenc xmm2, xmm1
movups xmm1, xmmword [rcx + 0x30]
aesenc xmm2, xmm0
cmp r11d, 0xb
jb 0x4ba9c9
movups xmm0, xmmword [rcx + 0x40]
aesenc xmm2, xmm1
movups xmm1, xmmword [rcx + 0x50]
aesenc xmm2, xmm0
je 0x4ba9c9
movups xmm0, xmmword [rcx + 0x60]
aesenc xmm2, xmm1
movups xmm1, xmmword [rcx + 0x70]
aesenc xmm2, xmm0
aesenclast xmm2, xmm1
movups xmm0, xmmword [rcx - 0x60]
dec rdx
paddd xmm8, xmm11
movups xmmword [rsi + rdi + 0x30], xmm2
lea rdi, [rdi + 0x40]
jne 0x4ba530
pshufd xmm8, xmm8, 0x1b
pshufd xmm9, xmm9, 0x1b
movups xmmword [r8], xmm2
movdqu xmmword [r9], xmm8
movd dword [r9 + 0x10], xmm9
movaps xmm6, xmmword [rax - 0xa8]
movaps xmm7, xmmword [rax - 0x98]
movaps xmm8, xmmword [rax - 0x88]
movaps xmm9, xmmword [rax - 0x78]
movaps xmm10, xmmword [rax - 0x68]
movaps xmm11, xmmword [rax - 0x58]
movaps xmm12, xmmword [rax - 0x48]
movaps xmm13, xmmword [rax - 0x38]
movaps xmm14, xmmword [rax - 0x28]
movaps xmm15, xmmword [rax - 0x18]
mov rsp, rax
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret