Function at 0x1400111ae
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x140015c40
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x20]
lea rcx, [0x140037068]
call fcn.14001169a
mov rax, qword [rbp + 0x250]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x140015c7d
jmp 0x1400162ae
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x3d0], 0x10
jne 0x140015cac
mov r8, qword [rbp + 0x260]
mov rdx, qword [rbp + 0x258]
mov rcx, qword [rbp + 0x250]
call fcn.1400110fa
jmp 0x1400162ae
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3d0]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 4
jne 0x140015cd7
mov dword [rbp + 0x214], 0
jmp 0x140015cff
cmp dword [rbp + 4], 6
jne 0x140015ce9
mov dword [rbp + 0x218], 1
jmp 0x140015cf3
mov dword [rbp + 0x218], 2
mov eax, dword [rbp + 0x218]
mov dword [rbp + 0x214], eax
mov eax, dword [rbp + 0x214]
mov dword [rbp + 0x24], eax
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x20
lea rcx, [0x14002a6e0]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 1
add rax, rcx
mov ecx, 4
imul rcx, rcx, 0
mov eax, dword [rax + rcx]
mov dword [rbp + 0x44], eax
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x20
lea rcx, [0x14002a6e0]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 2
add rax, rcx
mov ecx, 4
imul rcx, rcx, 0
mov eax, dword [rax + rcx]
mov dword [rbp + 0x64], eax
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x20
lea rcx, [0x14002a6e0]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 3
add rax, rcx
mov ecx, 4
imul rcx, rcx, 0
mov eax, dword [rax + rcx]
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x250]
add rax, 0x458
mov qword [rbp + 0xe8], rax
mov dword [rbp + 0xa4], 0
jmp 0x140015dc9
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0xa4], eax
jge 0x140015ef2
mov rax, qword [rbp + 0x258]
movzx eax, byte [rax]
shl eax, 0x18
mov rcx, qword [rbp + 0xe8]
mov dword [rcx], eax
mov rax, qword [rbp + 0x258]
inc rax
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0x258]
movzx eax, byte [rax]
shl eax, 0x10
mov rcx, qword [rbp + 0xe8]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0xe8]
mov dword [rcx], eax
mov rax, qword [rbp + 0x258]
inc rax
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0x258]
movzx eax, byte [rax]
shl eax, 8
mov rcx, qword [rbp + 0xe8]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0xe8]
mov dword [rcx], eax
mov rax, qword [rbp + 0x258]
inc rax
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x258]
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x208]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0x208]
mov dword [rcx], eax
mov rax, qword [rbp + 0x258]
inc rax
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0xe8]
add rax, 4
mov qword [rbp + 0xe8], rax
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0xc]
movsxd rcx, dword [rbp + 0xa4]
mov rdx, qword [rbp + 0x208]
mov eax, dword [rax + rcx*4]
mov ecx, dword [rdx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0x208]
mov dword [rcx], eax
jmp 0x140015dbb
mov dword [rbp + 0x104], 1
jmp 0x140015f0c
mov eax, dword [rbp + 0x104]
inc eax
mov dword [rbp + 0x104], eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3d4]
cmp dword [rbp + 0x104], eax
jge 0x1400160d3
mov dword [rbp + 0xa4], 0
jmp 0x140015f3f
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0xa4], eax
jge 0x14001608e
movsxd rax, dword [rbp + 0xa4]
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x458]
sar eax, 0x18
and eax, 0xff
cdqe
mov qword [rbp + 0x218], rax
lea rcx, [0x1400276c0]
mov edx, dword [rbp + 0x44]
mov r8d, dword [rbp + 0xa4]
add r8d, edx
mov edx, r8d
mov eax, edx
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rdx, qword [rbp + 0x250]
mov eax, dword [rdx + rax*4 + 0x458]
sar eax, 0x10
and eax, 0xff
cdqe
lea rdx, [0x140027ac0]
mov eax, dword [rdx + rax*4]
mov rdx, qword [rbp + 0x218]
mov ecx, dword [rcx + rdx*4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 0x220], eax
mov ecx, dword [rbp + 0x64]
mov edx, dword [rbp + 0xa4]
add edx, ecx
mov ecx, edx
mov eax, ecx
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x458]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, [0x140027ec0]
mov edx, dword [rbp + 0x220]
xor edx, dword [rcx + rax*4]
mov eax, edx
mov dword [rbp + 0x224], eax
mov ecx, dword [rbp + 0x84]
mov edx, dword [rbp + 0xa4]
add edx, ecx
mov ecx, edx
mov eax, ecx
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x458]
and eax, 0xff
cdqe
lea rcx, [0x1400282c0]
mov edx, dword [rbp + 0x224]
xor edx, dword [rcx + rax*4]
mov eax, edx
movsxd rcx, dword [rbp + 0x104]
imul rcx, rcx, 0x20
mov rdx, qword [rbp + 0x250]
lea rcx, [rdx + rcx + 0xc]
movsxd rdx, dword [rbp + 0xa4]
xor eax, dword [rcx + rdx*4]
movsxd rcx, dword [rbp + 0xa4]
mov rdx, qword [rbp + 0x250]
mov dword [rdx + rcx*4 + 0x438], eax
jmp 0x140015f31
mov eax, dword [rbp + 4]
shl eax, 2
cdqe
mov rcx, qword [rbp + 0x250]
add rcx, 0x438
mov rdx, qword [rbp + 0x250]
add rdx, 0x458
mov qword [rbp + 0x218], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rbp + 0x218]
mov rcx, rax
call fcn.140011343
jmp 0x140015efe
mov dword [rbp + 0xa4], 0
mov dword [rbp + 0x124], 0
jmp 0x1400160f7
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0xa4], eax
jge 0x1400162ae
mov rax, qword [rbp + 0x250]
movsxd rax, dword [rax + 0x3d4]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0xc]
movsxd rcx, dword [rbp + 0xa4]
mov eax, dword [rax + rcx*4]
mov dword [rbp + 0xc4], eax
movsxd rax, dword [rbp + 0xa4]
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x458]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0xc4]
sar ecx, 0x18
xor eax, ecx
movsxd rcx, dword [rbp + 0x124]
mov rdx, qword [rbp + 0x260]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
mov eax, dword [rbp + 0x44]
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x458]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0xc4]
sar ecx, 0x10
xor eax, ecx
movsxd rcx, dword [rbp + 0x124]
mov rdx, qword [rbp + 0x260]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
mov eax, dword [rbp + 0x64]
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x458]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0xc4]
sar ecx, 8
xor eax, ecx
movsxd rcx, dword [rbp + 0x124]
mov rdx, qword [rbp + 0x260]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
mov eax, dword [rbp + 0x84]
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x458]
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
xor eax, dword [rbp + 0xc4]
movsxd rcx, dword [rbp + 0x124]
mov rdx, qword [rbp + 0x260]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
jmp 0x1400160e9
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret