Function at 0x1400d6b10
Capabilities:
Encrypt data using aes via x86 extensions
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r9d, dword [rcx]
lea r14, [0x140100920]
mov dword [rdx], r9d
mov r12, rdx
mov r15d, dword [rcx + 4]
mov dword [rdx + 4], r15d
mov r10d, dword [rcx + 8]
mov dword [rdx + 8], r10d
mov r11d, dword [rcx + 0xc]
mov dword [rdx + 0xc], r11d
mov ebx, dword [rcx + 0x10]
mov dword [rdx + 0x10], ebx
mov edi, dword [rcx + 0x14]
mov dword [rdx + 0x14], edi
mov esi, dword [rcx + 0x18]
mov dword [rdx + 0x18], esi
mov r8d, dword [rcx + 0x1c]
mov dword [rdx + 0x1c], r8d
mov eax, r8d
shr eax, 0x10
mov edx, r8d
movzx ecx, al
mov ebp, r8d
shr rdx, 0x18
mov eax, r8d
shr eax, 8
mov r14d, dword [r14 + rdx*4 + 0x800]
lea rdx, [0x140100920]
xor r14d, dword [rdx + rcx*4 + 0x400]
movzx ecx, al
movzx eax, r8b
xor r14d, dword [rdx + rcx*4]
xor r14d, dword [rdx + rax*4 + 0xc00]
xor r14d, r9d
xor r14d, 1
xor r15d, r14d
mov dword [r12 + 0x20], r14d
mov r13d, r15d
mov dword [r12 + 0x24], r15d
xor r13d, r10d
mov dword [rsp + 0x38], r15d
mov eax, r13d
mov dword [r12 + 0x28], r13d
xor eax, r11d
movzx ecx, al
mov r8d, eax
shr rax, 0x18
mov dword [r12 + 0x2c], r8d
mov r9d, dword [rdx + rcx*4]
xor r9d, dword [rdx + rax*4 + 0xc00]
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r8d
shr eax, 8
xor r9d, dword [rdx + rcx*4 + 0x800]
movzx ecx, al
xor r9d, dword [rdx + rcx*4 + 0x400]
xor r9d, ebx
mov dword [r12 + 0x30], r9d
mov r12d, r9d
xor r12d, edi
mov rdi, qword [rsp + 0x40]
mov r15d, r12d
xor r15d, esi
xor ebp, r15d
mov edx, ebp
movzx ecx, bpl
mov eax, ebp
lea rbp, [0x140100920]
shr rax, 0x18
mov dword [rdi + 0x34], r12d
mov r10d, dword [rbp + rcx*4 + 0xc00]
mov dword [rdi + 0x38], r15d
xor r10d, dword [rbp + rax*4 + 0x800]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
mov dword [rdi + 0x3c], edx
xor r10d, dword [rbp + rcx*4 + 0x400]
mov r11d, dword [rsp + 0x38]
shr eax, 8
movzx ecx, al
xor r10d, dword [rbp + rcx*4]
xor r10d, r14d
xor r10d, 2
xor r11d, r10d
mov dword [rdi + 0x40], r10d
xor r13d, r11d
mov dword [rdi + 0x44], r11d
xor r8d, r13d
mov dword [rdi + 0x48], r13d
movzx ecx, r8b
mov eax, r8d
shr rax, 0x18
mov dword [rdi + 0x4c], r8d
mov ebx, dword [rbp + rcx*4]
xor ebx, dword [rbp + rax*4 + 0xc00]
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r8d
shr eax, 8
xor ebx, dword [rbp + rcx*4 + 0x800]
movzx ecx, al
xor ebx, dword [rbp + rcx*4 + 0x400]
xor ebx, r9d
xor r12d, ebx
mov dword [rdi + 0x50], ebx
xor r15d, r12d
mov dword [rdi + 0x54], r12d
xor edx, r15d
mov dword [rdi + 0x58], r15d
movzx ecx, dl
mov eax, edx
shr rax, 0x18
mov r9d, edx
mov esi, dword [rbp + rcx*4 + 0xc00]
mov dword [rdi + 0x5c], r9d
xor esi, dword [rbp + rax*4 + 0x800]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
xor esi, dword [rbp + rcx*4 + 0x400]
movzx ecx, al
xor esi, dword [rbp + rcx*4]
xor esi, r10d
xor esi, 4
mov r10d, esi
mov dword [rdi + 0x60], esi
xor r10d, r11d
mov r11d, r10d
mov dword [rdi + 0x64], r10d
xor r11d, r13d
mov r13, rdi
xor r8d, r11d
mov dword [rdi + 0x68], r11d
movzx ecx, r8b
mov eax, r8d
shr rax, 0x18
mov edx, r8d
mov r14d, dword [rbp + rcx*4]
mov dword [rdi + 0x6c], edx
xor r14d, dword [rbp + rax*4 + 0xc00]
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r8d
shr eax, 8
xor r14d, dword [rbp + rcx*4 + 0x800]
movzx ecx, al
xor r14d, dword [rbp + rcx*4 + 0x400]
xor r14d, ebx
mov dword [rdi + 0x70], r14d
mov ebx, r14d
xor ebx, r12d
mov dword [rdi + 0x74], ebx
mov edi, ebx
xor edi, r15d
xor r9d, edi
mov dword [r13 + 0x78], edi
mov r8d, r9d
movzx ecx, r9b
mov eax, r9d
lea r9, [0x140100920]
shr rax, 0x18
mov dword [r13 + 0x7c], r8d
mov ebp, dword [rbp + rcx*4 + 0xc00]
xor ebp, dword [r9 + rax*4 + 0x800]
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r8d
shr eax, 8
xor ebp, dword [r9 + rcx*4 + 0x400]
movzx ecx, al
xor ebp, dword [r9 + rcx*4]
xor ebp, esi
xor ebp, 8
mov r12d, ebp
mov dword [r13 + 0x80], ebp
xor r12d, r10d
lea r10, [0x140100920]
mov r9d, r12d
mov dword [r13 + 0x84], r12d
xor r9d, r11d
mov eax, r9d
mov dword [r13 + 0x88], r9d
xor eax, edx
movzx ecx, al
mov edx, eax
shr rax, 0x18
mov dword [r13 + 0x8c], edx
mov r15d, dword [r10 + rcx*4]
xor r15d, dword [r10 + rax*4 + 0xc00]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
xor r15d, dword [r10 + rcx*4 + 0x800]
movzx ecx, al
xor r15d, dword [r10 + rcx*4 + 0x400]
xor r15d, r14d
mov r10d, r15d
mov dword [r13 + 0x90], r15d
xor r10d, ebx
mov r11d, r10d
mov dword [r13 + 0x94], r10d
xor r11d, edi
lea rdi, [0x140100920]
mov eax, r11d
mov dword [r13 + 0x98], r11d
xor eax, r8d
movzx ecx, al
mov r8d, eax
shr rax, 0x18
mov dword [r13 + 0x9c], r8d
mov esi, dword [rdi + rcx*4 + 0xc00]
xor esi, dword [rdi + rax*4 + 0x800]
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r8d
shr eax, 8
xor esi, dword [rdi + rcx*4 + 0x400]
movzx ecx, al
xor esi, dword [rdi + rcx*4]
xor esi, ebp
xor esi, 0x10
xor r12d, esi
mov dword [r13 + 0xa0], esi
mov ebx, r12d
mov dword [r13 + 0xa4], r12d
xor ebx, r9d
mov eax, ebx
mov dword [r13 + 0xa8], ebx
xor eax, edx
mov edx, eax
mov dword [r13 + 0xac], edx
movzx ecx, al
shr rax, 0x18
mov r14d, dword [rdi + rcx*4]
xor r14d, dword [rdi + rax*4 + 0xc00]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
xor r14d, dword [rdi + rcx*4 + 0x800]
movzx ecx, al
xor r14d, dword [rdi + rcx*4 + 0x400]
xor r14d, r15d
lea r15, [0x140100920]
mov edi, r14d
mov dword [r13 + 0xb0], r14d
xor edi, r10d
mov r10d, edi
mov dword [r13 + 0xb4], edi
xor r10d, r11d
mov eax, r10d
mov dword [r13 + 0xb8], r10d
xor eax, r8d
mov r8d, eax
movzx ecx, al
shr rax, 0x18
mov dword [r13 + 0xbc], r8d
mov ebp, dword [r15 + rcx*4 + 0xc00]
xor ebp, dword [r15 + rax*4 + 0x800]
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r8d
shr eax, 8
xor ebp, dword [r15 + rcx*4 + 0x400]
movzx ecx, al
xor ebp, dword [r15 + rcx*4]
xor ebp, esi
xor ebp, 0x20
mov esi, ebp
mov dword [r13 + 0xc0], ebp
xor esi, r12d
mov r11d, esi
mov dword [r13 + 0xc4], esi
xor r11d, ebx
mov eax, r11d
mov dword [r13 + 0xc8], r11d
xor eax, edx
movzx ecx, al
mov r9d, eax
shr rax, 0x18
mov dword [r13 + 0xcc], r9d
mov edx, dword [r15 + rcx*4]
xor edx, dword [r15 + rax*4 + 0xc00]
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
xor edx, dword [r15 + rcx*4 + 0x800]
movzx ecx, al
xor edx, dword [r15 + rcx*4 + 0x400]
xor edx, r14d
mov dword [r13 + 0xd0], edx
xor edx, edi
mov dword [r13 + 0xd4], edx
xor edx, r10d
mov dword [r13 + 0xd8], edx
xor edx, r8d
movzx ecx, dl
mov eax, edx
shr rax, 0x18
mov dword [r13 + 0xdc], edx
mov r8d, dword [r15 + rcx*4 + 0xc00]
xor r8d, dword [r15 + rax*4 + 0x800]
mov eax, edx
shr eax, 0x10
movzx ecx, al
xor r8d, dword [r15 + rcx*4 + 0x400]
shr edx, 8
movzx eax, dl
xor r8d, dword [r15 + rax*4]
mov rbx, qword [rsp + 0x48]
xor r8d, ebp
mov rbp, qword [rsp + 0x50]
xor r8d, 0x40
xor esi, r8d
mov dword [r13 + 0xf0], 0
mov dword [r13 + 0xe4], esi
xor esi, r11d
mov dword [r13 + 0xe8], esi
xor esi, r9d
mov dword [r13 + 0xec], esi
xor eax, eax
mov dword [r13 + 0xe0], r8d
mov byte [r13 + 0xf0], 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
sub rsp, 0x38
mov r9, rcx
mov r8, rdx
mov ecx, dword [0x14010dca8]
test ecx, ecx
jns 0x1400d6b45
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov eax, 1
cpuid
mov rbx, qword [rsp + 0x30]
and ecx, 0x2000000
mov dword [0x14010dca8], ecx
test ecx, ecx
jne 0x1400d6b56
mov rdx, r8
mov rcx, r9
add rsp, 0x38
jmp 0x1400cd1e0
movdqu xmm3, xmmword [r9 + 0x10]
movdqu xmm0, xmmword [r9]
movdqu xmmword [r8 + 0x10], xmm3
movdqa xmm2, xmm0
movdqu xmmword [r8], xmm0
pslldq xmm2, 4
movdqa xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm0
movdqa xmm4, xmm2
pxor xmm4, xmm1
pslldq xmm2, 4
pxor xmm4, xmm2
aeskeygenassist xmm0, xmm3, 1
pshufd xmm1, xmm0, 0xff
pxor xmm4, xmm1
movdqa xmm1, xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [r8 + 0x20], xmm4
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm4, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm2, xmm1
movdqa xmm1, xmm4
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [r8 + 0x30], xmm2
pslldq xmm1, 4
pxor xmm0, xmm4
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 2
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [r8 + 0x40], xmm3
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm2, xmm1
movdqa xmm1, xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [r8 + 0x50], xmm2
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 4
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [r8 + 0x60], xmm3
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm2, xmm1
movdqa xmm1, xmm3
movdqu xmmword [r8 + 0x70], xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 8
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [r8 + 0x80], xmm3
pslldq xmm1, 4
pxor xmm0, xmm2
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm2, xmm1
movdqa xmm1, xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [r8 + 0x90], xmm2
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [r8 + 0xa0], xmm3
pslldq xmm1, 4
pxor xmm0, xmm2
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm2, xmm1
movdqa xmm1, xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [r8 + 0xb0], xmm2
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm4, xmm1
pslldq xmm1, 4
pxor xmm4, xmm0
pxor xmm4, xmm1
aeskeygenassist xmm0, xmm2, 0x20
pshufd xmm1, xmm0, 0xff
pxor xmm4, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [r8 + 0xc0], xmm4
pslldq xmm1, 4
pxor xmm0, xmm2
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm4, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm3, xmm1
movdqa xmm1, xmm4
pslldq xmm1, 4
movdqu xmmword [r8 + 0xd0], xmm3
movdqa xmm0, xmm1
xor eax, eax
pslldq xmm1, 4
pxor xmm0, xmm4
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x40
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqu xmmword [r8 + 0xe0], xmm2
mov dword [r8 + 0xf0], 0
mov byte [r8 + 0xf0], 0xe0
add rsp, 0x38
ret