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

Disassembly:
sub rsp, 0x28
test dl, 0x3f
jne 0x1400b6b22
add rdx, rcx
cmp rcx, rdx
jae 0x1400b6b00
mov rax, rcx
vmovdqu xmm3, xmmword [0x14016f980]
vmovdqu xmm2, xmmword [0x14016f970]
add rcx, 0x40
vmovdqu xmm1, xmmword [0x14016f960]
vmovdqu xmm0, xmmword [str._f__nc]
not rax
add rax, rdx
vaesenc xmm5, xmm3, xmmword [rcx - 0x40]
vaesdec xmm2, xmm2, xmmword [rcx - 0x30]
shr rax, 6
vaesenc xmm1, xmm1, xmmword [rcx - 0x20]
vaesdec xmm0, xmm0, xmmword [rcx - 0x10]
and eax, 7
cmp rcx, rdx
jae 0x1400b6aa7
test rax, rax
je 0x1400b6999
cmp rax, 1
je 0x1400b6975
cmp rax, 2
je 0x1400b695a
cmp rax, 3
je 0x1400b693f
cmp rax, 4
je 0x1400b6924
cmp rax, 5
je 0x1400b6909
cmp rax, 6
je 0x1400b68ee
vaesenc xmm5, xmm5, xmmword [rcx]
vaesdec xmm2, xmm2, xmmword [rcx + 0x10]
vaesenc xmm1, xmm1, xmmword [rcx + 0x20]
add rcx, 0x40
vaesdec xmm0, xmm0, xmmword [rcx - 0x10]
vaesenc xmm5, xmm5, xmmword [rcx]
vaesdec xmm2, xmm2, xmmword [rcx + 0x10]
vaesenc xmm1, xmm1, xmmword [rcx + 0x20]
add rcx, 0x40
vaesdec xmm0, xmm0, xmmword [rcx - 0x10]
vaesenc xmm5, xmm5, xmmword [rcx]
vaesdec xmm2, xmm2, xmmword [rcx + 0x10]
vaesenc xmm1, xmm1, xmmword [rcx + 0x20]
add rcx, 0x40
vaesdec xmm0, xmm0, xmmword [rcx - 0x10]
vaesenc xmm5, xmm5, xmmword [rcx]
vaesdec xmm2, xmm2, xmmword [rcx + 0x10]
vaesenc xmm1, xmm1, xmmword [rcx + 0x20]
add rcx, 0x40
vaesdec xmm0, xmm0, xmmword [rcx - 0x10]
vaesenc xmm5, xmm5, xmmword [rcx]
vaesdec xmm2, xmm2, xmmword [rcx + 0x10]
vaesenc xmm1, xmm1, xmmword [rcx + 0x20]
add rcx, 0x40
vaesdec xmm0, xmm0, xmmword [rcx - 0x10]
vaesenc xmm5, xmm5, xmmword [rcx]
vaesdec xmm2, xmm2, xmmword [rcx + 0x10]
vaesenc xmm1, xmm1, xmmword [rcx + 0x20]
add rcx, 0x40
vaesdec xmm0, xmm0, xmmword [rcx - 0x10]
vaesenc xmm5, xmm5, xmmword [rcx]
vaesdec xmm2, xmm2, xmmword [rcx + 0x10]
vaesenc xmm1, xmm1, xmmword [rcx + 0x20]
add rcx, 0x40
vaesdec xmm0, xmm0, xmmword [rcx - 0x10]
cmp rcx, rdx
jae 0x1400b6aa7
vaesenc xmm4, xmm5, xmmword [rcx]
vaesenc xmm1, xmm1, xmmword [rcx + 0x20]
vaesdec xmm5, xmm2, xmmword [rcx + 0x10]
add rcx, 0x200
vaesdec xmm0, xmm0, xmmword [rcx - 0x1d0]
vaesenc xmm3, xmm4, xmmword [rcx - 0x1c0]
vaesdec xmm2, xmm5, xmmword [rcx - 0x1b0]
vaesenc xmm4, xmm1, xmmword [rcx - 0x1a0]
vaesdec xmm5, xmm0, xmmword [rcx - 0x190]
vaesenc xmm3, xmm3, xmmword [rcx - 0x180]
vaesdec xmm2, xmm2, xmmword [rcx - 0x170]
vaesenc xmm1, xmm4, xmmword [rcx - 0x160]
vaesdec xmm0, xmm5, xmmword [rcx - 0x150]
vaesenc xmm4, xmm3, xmmword [rcx - 0x140]
vaesdec xmm5, xmm2, xmmword [rcx - 0x130]
vaesenc xmm1, xmm1, xmmword [rcx - 0x120]
vaesdec xmm0, xmm0, xmmword [rcx - 0x110]
vaesenc xmm3, xmm4, xmmword [rcx - 0x100]
vaesdec xmm2, xmm5, xmmword [rcx - 0xf0]
vaesenc xmm4, xmm1, xmmword [rcx - 0xe0]
vaesdec xmm5, xmm0, xmmword [rcx - 0xd0]
vaesenc xmm3, xmm3, xmmword [rcx - 0xc0]
vaesdec xmm2, xmm2, xmmword [rcx - 0xb0]
vaesenc xmm1, xmm4, xmmword [rcx - 0xa0]
vaesenc xmm4, xmm3, xmmword [rcx - 0x80]
vaesdec xmm0, xmm5, xmmword [rcx - 0x90]
vaesdec xmm3, xmm2, xmmword [rcx - 0x70]
vaesenc xmm1, xmm1, xmmword [rcx - 0x60]
vaesdec xmm0, xmm0, xmmword [rcx - 0x50]
vaesenc xmm5, xmm4, xmmword [rcx - 0x40]
vaesdec xmm2, xmm3, xmmword [rcx - 0x30]
vaesenc xmm1, xmm1, xmmword [rcx - 0x20]
vaesdec xmm0, xmm0, xmmword [rcx - 0x10]
cmp rcx, rdx
jb 0x1400b6999
vmovdqu xmm4, xmmword [0x14016f990]
vaesenc xmm5, xmm5, xmm4
vaesdec xmm2, xmm2, xmm4
vaesenc xmm1, xmm1, xmm4
vaesdec xmm0, xmm0, xmm4
vmovdqu xmm4, xmmword [0x14016f9a0]
vaesenc xmm3, xmm5, xmm4
vaesdec xmm5, xmm2, xmm4
vaesenc xmm2, xmm1, xmm4
vaesdec xmm1, xmm0, xmm4
vmovdqu xmmword [r8], xmm3
vmovdqu xmmword [r8 + 0x10], xmm5
vmovdqu xmmword [r8 + 0x20], xmm2
vmovdqu xmmword [r8 + 0x30], xmm1
add rsp, 0x28
ret
vmovdqu xmm0, xmmword [str._f__nc]
vmovdqu xmm1, xmmword [0x14016f960]
vmovdqu xmm2, xmmword [0x14016f970]
vmovdqu xmm5, xmmword [0x14016f980]
jmp 0x1400b6aa7
mov r8d, 0x3e
lea rdx, str.RandomX_src_aes_hash.cpp
lea rcx, str.inputSize___64__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
nop
nop
nop
nop