Function at 0x1400024b0
Capabilities:
Encrypt data using aes
Reference aes constants
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x1400024db
jmp 0x140002ee9
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0xb0]
lea rax, [rcx + rax + 0xc]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x24]
shl eax, 0x18
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x28]
shl eax, 0x10
mov ecx, dword [rsp + 8]
or ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x2c]
shl eax, 8
mov ecx, dword [rsp + 8]
or ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x18]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 8]
or ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x38]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x3c]
shl eax, 0x18
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x40]
shl eax, 0x10
mov ecx, dword [rsp + 0xc]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x44]
shl eax, 8
mov ecx, dword [rsp + 0xc]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x18]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0xc]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xc]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x90]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x50]
shl eax, 0x18
mov dword [rsp + 0x10], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x54]
shl eax, 0x10
mov ecx, dword [rsp + 0x10]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x58]
shl eax, 8
mov ecx, dword [rsp + 0x10]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x18]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x10]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x68]
shl eax, 0x18
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x6c]
shl eax, 0x10
mov ecx, dword [rsp + 4]
or ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x70]
shl eax, 8
mov ecx, dword [rsp + 4]
or ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x18]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 4]
or ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x7c]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov dword [rsp + 0x20], 1
jmp 0x1400028e8
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x3d4]
cmp dword [rsp + 0x20], eax
jge 0x140002b44
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xb0]
lea rax, [rcx + rax + 0xc]
mov qword [rsp + 0x18], rax
mov eax, dword [rsp + 8]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x140016040]
mov edx, dword [rsp + 0xc]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x140016440]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x10]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x140016840]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 4]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x140016c40]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0xc]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x140016040]
mov edx, dword [rsp + 0x10]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x140016440]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 4]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x140016840]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 8]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x140016c40]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x10]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x140016040]
mov edx, dword [rsp + 4]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x140016440]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 8]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x140016840]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0xc]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x140016c40]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 4]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x140016040]
mov edx, dword [rsp + 8]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x140016440]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0xc]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x140016840]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x10]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x140016c40]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 4], eax
jmp 0x1400028de
mov rax, qword [rsp + 0xb0]
movsxd rax, dword [rax + 0x3d4]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xb0]
lea rax, [rcx + rax + 0xc]
mov qword [rsp + 0x18], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x18]
mov eax, dword [rcx + rax]
mov dword [rsp], eax
mov eax, dword [rsp + 8]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp]
sar ecx, 0x18
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0xc]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp]
sar ecx, 0x10
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x10]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp]
sar ecx, 8
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 4]
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
xor eax, dword [rsp]
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x18]
mov eax, dword [rcx + rax]
mov dword [rsp], eax
mov eax, dword [rsp + 0xc]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp]
sar ecx, 0x18
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x10]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp]
sar ecx, 0x10
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 5
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 4]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp]
sar ecx, 8
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 6
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 8]
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
xor eax, dword [rsp]
mov ecx, 1
imul rcx, rcx, 7
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x18]
mov eax, dword [rcx + rax]
mov dword [rsp], eax
mov eax, dword [rsp + 0x10]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp]
sar ecx, 0x18
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 8
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 4]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp]
sar ecx, 0x10
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 9
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 8]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp]
sar ecx, 8
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 0xa
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0xc]
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
xor eax, dword [rsp]
mov ecx, 1
imul rcx, rcx, 0xb
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x18]
mov eax, dword [rcx + rax]
mov dword [rsp], eax
mov eax, dword [rsp + 4]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp]
sar ecx, 0x18
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 8]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp]
sar ecx, 0x10
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 0xd
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0xc]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp]
sar ecx, 8
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 0xe
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x10]
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
xor eax, dword [rsp]
mov ecx, 1
imul rcx, rcx, 0xf
mov rdx, qword [rsp + 0xc0]
mov byte [rdx + rcx], al
add rsp, 0xa8
ret