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

Disassembly:
jmp 0x140016620
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, [0x14004508e]
call fcn.140011a50
mov rax, qword [rbp + 0x250]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x14001665d
jmp 0x140016c8e
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x3d0], 0x10
jne 0x14001668c
mov r8, qword [rbp + 0x260]
mov rdx, qword [rbp + 0x258]
mov rcx, qword [rbp + 0x250]
call fcn.14001117c
jmp 0x140016c8e
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 0x1400166b7
mov dword [rbp + 0x214], 0
jmp 0x1400166df
cmp dword [rbp + 4], 6
jne 0x1400166c9
mov dword [rbp + 0x218], 1
jmp 0x1400166d3
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, [0x1400336e0]
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, [0x1400336e0]
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, [0x1400336e0]
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 0x1400167a9
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0xa4], eax
jge 0x1400168d2
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 0x14001679b
mov dword [rbp + 0x104], 1
jmp 0x1400168ec
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 0x140016ab3
mov dword [rbp + 0xa4], 0
jmp 0x14001691f
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0xa4], eax
jge 0x140016a6e
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, [0x1400306c0]
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, [0x140030ac0]
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, [0x140030ec0]
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, [0x1400312c0]
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 0x140016911
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.14001150f
jmp 0x1400168de
mov dword [rbp + 0xa4], 0
mov dword [rbp + 0x124], 0
jmp 0x140016ad7
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0xa4], eax
jge 0x140016c8e
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 0x140016ac9
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret