Function at 0x140011380
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 [0x140110040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x1400113bd
jmp 0x140011e94
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0xb0]
lea rax, [rcx + rax + 0x1ec]
mov qword [rsp + 8], 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 + 0x8c], 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 + 0x8c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x8c], 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 + 0x8c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x8c], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
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 + 0x8c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x38]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x8c], 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 + 0x88], 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 + 0x88]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], 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 + 0x88]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
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 + 0x88]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x50]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov dword [rsp + 0x14], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x14]
shl eax, 0x18
mov dword [rsp + 0x84], 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 + 0x84]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], 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 + 0x84]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
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 + 0x84]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], 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 + 0x90], 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 + 0x90]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x90], 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 + 0x90]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x90], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
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 + 0x90]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x7c]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x10], 1
jmp 0x140011833
mov eax, dword [rsp + 0x10]
inc eax
mov dword [rsp + 0x10], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x3d4]
cmp dword [rsp + 0x10], eax
jge 0x140011abc
movsxd rax, dword [rsp + 0x10]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xb0]
lea rax, [rcx + rax + 0x1ec]
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x8c]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x1400f1a00]
mov edx, dword [rsp + 0x90]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x1400ef500]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x84]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1400f0500]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x88]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1400f1600]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 8]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x88]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x1400f1a00]
mov edx, dword [rsp + 0x8c]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x1400ef500]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x90]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1400f0500]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x84]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1400f1600]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 8]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x84]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x1400f1a00]
mov edx, dword [rsp + 0x88]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x1400ef500]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x8c]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1400f0500]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x90]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1400f1600]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 8]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x1c], eax
mov eax, dword [rsp + 0x90]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x1400f1a00]
mov edx, dword [rsp + 0x84]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x1400ef500]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x88]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1400f0500]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x8c]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1400f1600]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 8]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x18]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x1c]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x90], eax
jmp 0x140011829
mov rax, qword [rsp + 0xb0]
movsxd rax, dword [rax + 0x3d4]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xb0]
lea rax, [rcx + rax + 0x1ec]
mov qword [rsp + 8], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov eax, dword [rcx + rax]
mov dword [rsp], eax
mov eax, dword [rsp + 0x8c]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 0x90]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 0x84]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 0x88]
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 8]
mov eax, dword [rcx + rax]
mov dword [rsp], eax
mov eax, dword [rsp + 0x88]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 0x8c]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 0x90]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 0x84]
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 8]
mov eax, dword [rcx + rax]
mov dword [rsp], eax
mov eax, dword [rsp + 0x84]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 0x88]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 0x8c]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 0x90]
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 8]
mov eax, dword [rcx + rax]
mov dword [rsp], eax
mov eax, dword [rsp + 0x90]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 0x84]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 0x88]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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 + 0x8c]
and eax, 0xff
cdqe
lea rcx, [0x1400ef400]
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
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a30c0
add rsp, 0xa8
ret