Function at 0x575020
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x178
vmovups xmmword [rsp + 0xd0], xmm6
vmovups xmmword [rsp + 0xe0], xmm7
vmovups xmmword [rsp + 0xf0], xmm8
vmovups xmmword [rsp + 0x100], xmm9
vmovups xmmword [rsp + 0x110], xmm10
vmovups xmmword [rsp + 0x120], xmm11
vmovups xmmword [rsp + 0x130], xmm12
vmovups xmmword [rsp + 0x140], xmm13
vmovups xmmword [rsp + 0x150], xmm14
vmovups xmmword [rsp + 0x160], xmm15
vmovdqu xmm5, xmmword [rcx + 0xb0]
vmovdqu xmm7, xmmword [rdx + 0x40]
vpxor xmm0, xmm0, xmm0
xor eax, eax
vmovdqu xmm4, xmmword [rcx + 0x90]
vmovdqu xmm2, xmmword [rdx]
vmovdqu xmm1, xmmword [rdx + 0x20]
vmovdqu xmm13, xmmword [rdx + 0x70]
vmovdqu xmm15, xmmword [rdx + 0x30]
vmovdqu xmm6, xmmword [rcx + 0x80]
mov r10d, dword [rcx + 0xc8]
mov r8d, dword [rcx + 0xd4]
mov r9d, dword [rcx + 0xd0]
vpxor xmm12, xmm5, xmm7
vmovdqu xmmword [rsp + 0x60], xmm5
vmovdqu xmmword [rsp + 0xa0], xmm5
vmovdqu xmm5, xmmword [rdx + 0x50]
vpxor xmm14, xmm2, xmm4
vmovdqu xmmword [rsp + 0x10], xmm4
vmovdqu xmmword [rsp + 0x80], xmm4
mov r11d, r10d
vaesenc xmm12, xmm12, xmm0
vaesenc xmm14, xmm14, xmm0
vmovdqu xmmword [rsp + 0x50], xmm1
not r11d
vmovdqu xmm4, xmmword [rdx + 0x10]
vmovdqu xmmword [rsp + 0x40], xmm7
vmovdqu xmmword [rsp + 0x90], xmm6
vmovd xmm3, r8d
vpinsrd xmm3, xmm3, r9d, 1
vpxor xmm12, xmm12, xmm5
vmovdqu xmmword [rsp + 0x30], xmm5
vmovdqu xmm5, xmmword [rdx + 0x60]
mov edx, dword [rcx + 0xcc]
vaesenc xmm12, xmm12, xmm0
vpxor xmm14, xmm4, xmm14
vaesenc xmm14, xmm14, xmm0
vmovd xmm7, edx
vpxor xmm14, xmm14, xmm1
vmovdqu xmm1, xmmword [rcx + 0xa0]
vaesenc xmm14, xmm14, xmm0
vpxor xmm14, xmm15, xmm14
vpxor xmm12, xmm12, xmm5
vaesenc xmm14, xmm14, xmm0
vmovdqu xmmword [rsp + 0x20], xmm5
vaesenc xmm12, xmm12, xmm0
vpxor xmm6, xmm14, xmm6
vpxor xmm12, xmm13, xmm12
vmovdqu xmmword [rsp], xmm6
vaesenc xmm12, xmm12, xmm0
vmovdqu xmmword [rsp + 0xb0], xmm1
vpxor xmm12, xmm12, xmm1
vpinsrd xmm1, xmm7, r11d, 1
mov r11d, r8d
not r11d
vpunpcklqdq xmm6, xmm3, xmm1
vmovd xmm7, r9d
vmovd xmm3, r10d
vpinsrd xmm1, xmm7, r11d, 1
vpinsrd xmm3, xmm3, edx, 1
vmovdqu xmmword [rsp + 0xc0], xmm6
mov r11d, edx
vpunpcklqdq xmm6, xmm3, xmm1
not r11d
vmovdqu xmmword [rsp + 0x70], xmm6
vaesenc xmm1, xmm2, xmm0
vpshufd xmm1, xmm1, 0x39
vpxor xmm1, xmm13, xmm1
test eax, eax
je 0x5756f0
vpxor xmm11, xmm1, xmmword [rsp]
vaesenc xmm3, xmm4, xmm0
vpshufd xmm3, xmm3, 0x39
vpxor xmm3, xmm1, xmm3
vaesenc xmm11, xmm11, xmm0
cmp eax, 1
jne 0x575219
vpxor xmm3, xmm3, xmmword [rsp + 0xc0]
vmovdqu xmm6, xmmword [rsp + 0x40]
vmovdqu xmm4, xmmword [rsp + 0x50]
vaesenc xmm10, xmm15, xmm0
vpxor xmm11, xmm11, xmm3
vmovdqu xmm7, xmmword [rsp + 0x30]
vpshufd xmm10, xmm10, 0x39
vaesenc xmm11, xmm11, xmm0
vaesenc xmm9, xmm6, xmm0
vmovdqu xmm6, xmmword [rsp + 0x20]
vaesenc xmm5, xmm4, xmm0
vpshufd xmm5, xmm5, 0x39
vpshufd xmm9, xmm9, 0x39
vpxor xmm5, xmm3, xmm5
vaesenc xmm8, xmm7, xmm0
vpxor xmm10, xmm5, xmm10
vpshufd xmm8, xmm8, 0x39
vpxor xmm11, xmm11, xmm5
vpxor xmm9, xmm10, xmm9
vaesenc xmm11, xmm11, xmm0
vpxor xmm14, xmm12, xmm9
vpxor xmm8, xmm9, xmm8
vpxor xmm11, xmm11, xmm10
vaesenc xmm14, xmm14, xmm0
vaesenc xmm11, xmm11, xmm0
vpxor xmm4, xmm11, xmmword [rsp + 0x60]
vpxor xmm14, xmm14, xmm8
vaesenc xmm7, xmm6, xmm0
vaesenc xmm14, xmm14, xmm0
vpshufd xmm7, xmm7, 0x39
vaesenc xmm6, xmm13, xmm0
vpxor xmm7, xmm8, xmm7
vpshufd xmm6, xmm6, 0x39
vpxor xmm14, xmm14, xmm7
vpxor xmm6, xmm7, xmm6
vaesenc xmm14, xmm14, xmm0
cmp eax, 2
je 0x575720
vpalignr xmm2, xmm6, xmm7, 4
vpxor xmm1, xmm1, xmm2
vpxor xmm11, xmm14, xmm6
inc eax
vpxor xmm2, xmm1, xmm4
vpalignr xmm13, xmm1, xmm6, 4
vaesenc xmm11, xmm11, xmm0
vpxor xmm3, xmm3, xmm13
vpxor xmm11, xmm11, xmmword [rsp + 0x10]
vaesenc xmm2, xmm2, xmm0
vpalignr xmm13, xmm3, xmm1, 4
vpxor xmm5, xmm5, xmm13
vpxor xmm2, xmm2, xmm3
vpalignr xmm15, xmm5, xmm3, 4
vaesenc xmm1, xmm1, xmm0
vpxor xmm10, xmm10, xmm15
vaesenc xmm2, xmm2, xmm0
vpshufd xmm1, xmm1, 0x39
vpxor xmm2, xmm2, xmm5
vaesenc xmm3, xmm3, xmm0
vaesenc xmm2, xmm2, xmm0
vpshufd xmm3, xmm3, 0x39
vpxor xmm2, xmm2, xmm10
vaesenc xmm2, xmm2, xmm0
vpxor xmm12, xmm2, xmm12
vpalignr xmm2, xmm10, xmm5, 4
vpxor xmm9, xmm9, xmm2
vaesenc xmm5, xmm5, xmm0
vpxor xmm14, xmm9, xmm11
vpalignr xmm2, xmm9, xmm10, 4
vpshufd xmm5, xmm5, 0x39
vaesenc xmm10, xmm10, xmm0
vpxor xmm8, xmm8, xmm2
vaesenc xmm14, xmm14, xmm0
vpshufd xmm10, xmm10, 0x39
vpxor xmm14, xmm14, xmm8
vpalignr xmm2, xmm8, xmm9, 4
vpxor xmm7, xmm7, xmm2
vaesenc xmm9, xmm9, xmm0
vaesenc xmm14, xmm14, xmm0
vpalignr xmm13, xmm7, xmm8, 4
vpxor xmm6, xmm6, xmm13
vpshufd xmm9, xmm9, 0x39
vpxor xmm14, xmm14, xmm7
vaesenc xmm8, xmm8, xmm0
vaesenc xmm7, xmm7, xmm0
vpxor xmm1, xmm6, xmm1
vaesenc xmm14, xmm14, xmm0
vpxor xmm2, xmm1, xmm12
vpshufd xmm8, xmm8, 0x39
vpxor xmm3, xmm1, xmm3
vpxor xmm14, xmm14, xmm6
vaesenc xmm2, xmm2, xmm0
vpshufd xmm7, xmm7, 0x39
vpxor xmm5, xmm3, xmm5
vaesenc xmm14, xmm14, xmm0
vpxor xmm14, xmm14, xmmword [rsp]
vpxor xmm2, xmm2, xmm3
vpxor xmm10, xmm5, xmm10
vaesenc xmm2, xmm2, xmm0
vaesenc xmm6, xmm6, xmm0
vpxor xmm9, xmm10, xmm9
vpxor xmm2, xmm2, xmm5
vpxor xmm8, xmm9, xmm8
vpshufd xmm6, xmm6, 0x39
vaesenc xmm2, xmm2, xmm0
vpxor xmm7, xmm8, xmm7
vpxor xmm2, xmm2, xmm10
vpxor xmm6, xmm7, xmm6
vaesenc xmm2, xmm2, xmm0
vpxor xmm15, xmm2, xmm11
vpalignr xmm2, xmm6, xmm7, 4
vpxor xmm1, xmm1, xmm2
vpxor xmm13, xmm1, xmm15
vmovdqu xmmword [rsp + 0x10], xmm15
vmovdqu xmm2, xmm1
vpxor xmm11, xmm9, xmm14
vaesenc xmm13, xmm13, xmm0
vaesenc xmm11, xmm11, xmm0
vpxor xmm11, xmm11, xmm8
vaesenc xmm11, xmm11, xmm0
vpxor xmm11, xmm11, xmm7
vaesenc xmm11, xmm11, xmm0
vpxor xmm11, xmm11, xmm6
vaesenc xmm11, xmm11, xmm0
vpxor xmm11, xmm11, xmm4
vpalignr xmm4, xmm1, xmm6, 4
vpxor xmm3, xmm3, xmm4
vpxor xmm13, xmm13, xmm3
vpalignr xmm15, xmm3, xmm1, 4
vpxor xmm5, xmm5, xmm15
vmovdqu xmmword [rsp + 0x60], xmm11
vaesenc xmm13, xmm13, xmm0
vpalignr xmm15, xmm5, xmm3, 4
vpxor xmm10, xmm10, xmm15
vmovdqu xmm4, xmm3
vpxor xmm13, xmm13, xmm5
vmovdqu xmmword [rsp + 0x50], xmm5
vmovdqu xmm15, xmm10
vaesenc xmm13, xmm13, xmm0
vpxor xmm13, xmm13, xmm10
vaesenc xmm13, xmm13, xmm0
vpxor xmm13, xmm13, xmm14
vmovdqu xmmword [rsp], xmm13
vpalignr xmm13, xmm10, xmm5, 4
vpxor xmm9, xmm9, xmm13
vpxor xmm14, xmm9, xmm11
vpalignr xmm13, xmm9, xmm10, 4
vpxor xmm8, xmm8, xmm13
vmovdqu xmmword [rsp + 0x40], xmm9
vaesenc xmm14, xmm14, xmm0
vpalignr xmm13, xmm8, xmm9, 4
vpxor xmm7, xmm7, xmm13
vmovdqu xmmword [rsp + 0x30], xmm8
vpxor xmm14, xmm14, xmm8
vpalignr xmm13, xmm7, xmm8, 4
vpxor xmm6, xmm6, xmm13
vmovdqu xmmword [rsp + 0x20], xmm7
vaesenc xmm14, xmm14, xmm0
vmovdqu xmm13, xmm6
vpxor xmm14, xmm14, xmm7
vaesenc xmm14, xmm14, xmm0
vpxor xmm14, xmm14, xmm6
vaesenc xmm14, xmm14, xmm0
vpxor xmm12, xmm14, xmm12
cmp eax, 3
jne 0x5751dd
vmovdqu xmm15, xmmword [rsp]
vaesenc xmm1, xmm1, xmm0
vaesenc xmm3, xmm3, xmm0
not r9d
vpshufd xmm1, xmm1, 0x39
vpshufd xmm3, xmm3, 0x39
vpxor xmm14, xmm15, xmmword [rsp + 0xb0]
vmovd xmm4, r8d
vpxor xmm1, xmm6, xmm1
vaesenc xmm5, xmm5, xmm0
vpinsrd xmm4, xmm4, r9d, 1
vpxor xmm11, xmm11, xmmword [rsp + 0x80]
vpshufd xmm5, xmm5, 0x39
vaesenc xmm10, xmm10, xmm0
vpxor xmm3, xmm1, xmm3
vmovups xmm13, xmmword [rsp + 0x140]
vpshufd xmm10, xmm10, 0x39
vaesenc xmm9, xmm9, xmm0
vpshufd xmm9, xmm9, 0x39
vaesenc xmm8, xmm8, xmm0
vpshufd xmm8, xmm8, 0x39
vaesenc xmm7, xmm7, xmm0
vpshufd xmm7, xmm7, 0x39
vaesenc xmm6, xmm6, xmm0
vpxor xmm2, xmm1, xmm15
vpshufd xmm6, xmm6, 0x39
vmovups xmm15, xmmword [rsp + 0x160]
vaesenc xmm2, xmm2, xmm0
vmovdqu xmmword [rcx + 0xa0], xmm14
vpxor xmm2, xmm2, xmm3
vpxor xmm3, xmm3, xmm5
vmovd xmm5, edx
vaesenc xmm2, xmm2, xmm0
vpxor xmm2, xmm2, xmm3
vpxor xmm3, xmm3, xmm10
vmovups xmm10, xmmword [rsp + 0x110]
vaesenc xmm2, xmm2, xmm0
vpxor xmm2, xmm2, xmm3
vpxor xmm3, xmm3, xmm9
vmovups xmm9, xmmword [rsp + 0x100]
vpxor xmm8, xmm3, xmm8
vaesenc xmm1, xmm2, xmm0
vpxor xmm2, xmm3, xmm12
vpxor xmm12, xmm12, xmmword [rsp + 0x90]
vpinsrd xmm3, xmm5, r10d, 1
vaesenc xmm2, xmm2, xmm0
vpxor xmm1, xmm11, xmm1
vmovups xmm11, xmmword [rsp + 0x120]
vpunpcklqdq xmm3, xmm3, xmm4
vmovdqu xmm4, xmmword [rsp + 0xa0]
vpxor xmm2, xmm2, xmm8
vmovdqu xmmword [rcx + 0x90], xmm1
vpxor xmm14, xmm4, xmmword [rsp + 0x10]
vpxor xmm7, xmm3, xmm7
vaesenc xmm2, xmm2, xmm0
vpxor xmm7, xmm7, xmm8
vmovups xmm8, xmmword [rsp + 0xf0]
vpxor xmm2, xmm2, xmm7
vaesenc xmm2, xmm2, xmm0
vpxor xmm6, xmm2, xmm6
vpxor xmm6, xmm6, xmm7
vmovdqu xmmword [rcx + 0x80], xmm12
vmovups xmm7, xmmword [rsp + 0xe0]
vmovups xmm12, xmmword [rsp + 0x130]
vaesenc xmm0, xmm6, xmm0
vmovups xmm6, xmmword [rsp + 0xd0]
vpxor xmm0, xmm14, xmm0
vmovups xmm14, xmmword [rsp + 0x150]
vmovdqu xmmword [rcx + 0xb0], xmm0
add rsp, 0x178
ret
vpxor xmm1, xmm1, xmmword [rsp + 0x70]
vaesenc xmm3, xmm4, xmm0
vpxor xmm11, xmm1, xmmword [rsp]
vpshufd xmm3, xmm3, 0x39
vpxor xmm3, xmm1, xmm3
vaesenc xmm11, xmm11, xmm0
jmp 0x575219
vmovd xmm2, r9d
vpinsrd xmm11, xmm2, r8d, 1
vmovd xmm2, r10d
vpinsrd xmm2, xmm2, r11d, 1
vpunpcklqdq xmm2, xmm11, xmm2
vpxor xmm6, xmm6, xmm2
jmp 0x5752d3