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

Disassembly:
jmp 0x140014760
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x20]
mov rax, qword [0x140039080]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x14004006a]
call fcn.14001193d
nop
mov rax, qword [rbp + 0x240]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x1400147af
jmp 0x1400150d8
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rbp + 0x240]
lea rax, [rcx + rax + 0x1ec]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
shl eax, 0x18
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
shl eax, 0x10
mov ecx, dword [rbp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
shl eax, 8
mov ecx, dword [rbp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
mov ecx, dword [rbp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 8]
mov eax, dword [rcx + rax]
mov ecx, dword [rbp + 0x24]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
shl eax, 0x18
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
shl eax, 0x10
mov ecx, dword [rbp + 0x44]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
shl eax, 8
mov ecx, dword [rbp + 0x44]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
mov ecx, dword [rbp + 0x44]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rbp + 8]
mov eax, dword [rcx + rax]
mov ecx, dword [rbp + 0x44]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
shl eax, 0x18
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
shl eax, 0x10
mov ecx, dword [rbp + 0x64]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
shl eax, 8
mov ecx, dword [rbp + 0x64]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
mov ecx, dword [rbp + 0x64]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rbp + 8]
mov eax, dword [rcx + rax]
mov ecx, dword [rbp + 0x64]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
shl eax, 0x18
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
shl eax, 0x10
mov ecx, dword [rbp + 0x84]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
shl eax, 8
mov ecx, dword [rbp + 0x84]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
movzx eax, byte [rax]
mov ecx, dword [rbp + 0x84]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x248]
inc rax
mov qword [rbp + 0x248], rax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rbp + 8]
mov eax, dword [rcx + rax]
mov ecx, dword [rbp + 0x84]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
mov dword [rbp + 0x124], 1
jmp 0x140014ac0
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
mov rax, qword [rbp + 0x240]
mov eax, dword [rax + 0x3d4]
cmp dword [rbp + 0x124], eax
jge 0x140014d0f
movsxd rax, dword [rbp + 0x124]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x240]
lea rax, [rcx + rax + 0x1ec]
mov qword [rbp + 8], rax
mov eax, dword [rbp + 0x24]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x14002e6c0]
mov edx, dword [rbp + 0x84]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x14002eac0]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0x64]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x14002eec0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x44]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x14002f2c0]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 8]
xor eax, dword [rdx + rcx]
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0x44]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x14002e6c0]
mov edx, dword [rbp + 0x24]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x14002eac0]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0x84]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x14002eec0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x64]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x14002f2c0]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rbp + 8]
xor eax, dword [rdx + rcx]
mov dword [rbp + 0xc4], eax
mov eax, dword [rbp + 0x64]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x14002e6c0]
mov edx, dword [rbp + 0x44]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x14002eac0]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0x24]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x14002eec0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x84]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x14002f2c0]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rbp + 8]
xor eax, dword [rdx + rcx]
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0x84]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x14002e6c0]
mov edx, dword [rbp + 0x64]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x14002eac0]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0x44]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x14002eec0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x24]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x14002f2c0]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rbp + 8]
xor eax, dword [rdx + rcx]
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0xa4]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0xc4]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0xe4]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x104]
mov dword [rbp + 0x84], eax
jmp 0x140014ab2
mov rax, qword [rbp + 0x240]
movsxd rax, dword [rax + 0x3d4]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x240]
lea rax, [rcx + rax + 0x1ec]
mov qword [rbp + 8], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 8]
mov eax, dword [rcx + rax]
mov dword [rbp + 0x144], eax
mov eax, dword [rbp + 0x24]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x144]
sar ecx, 0x18
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x84]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x144]
sar ecx, 0x10
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x64]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x144]
sar ecx, 8
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x44]
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
xor eax, dword [rbp + 0x144]
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rbp + 8]
mov eax, dword [rcx + rax]
mov dword [rbp + 0x144], eax
mov eax, dword [rbp + 0x44]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x144]
sar ecx, 0x18
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x24]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x144]
sar ecx, 0x10
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 5
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x84]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x144]
sar ecx, 8
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 6
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x64]
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
xor eax, dword [rbp + 0x144]
mov ecx, 1
imul rcx, rcx, 7
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rbp + 8]
mov eax, dword [rcx + rax]
mov dword [rbp + 0x144], eax
mov eax, dword [rbp + 0x64]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x144]
sar ecx, 0x18
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 8
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x44]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x144]
sar ecx, 0x10
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 9
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x24]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x144]
sar ecx, 8
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 0xa
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x84]
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
xor eax, dword [rbp + 0x144]
mov ecx, 1
imul rcx, rcx, 0xb
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rbp + 8]
mov eax, dword [rcx + rax]
mov dword [rbp + 0x144], eax
mov eax, dword [rbp + 0x84]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x144]
sar ecx, 0x18
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 0xc
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x64]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x144]
sar ecx, 0x10
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 0xd
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x44]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x144]
sar ecx, 8
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 0xe
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x24]
and eax, 0xff
cdqe
lea rcx, [0x14002d5c0]
movsx eax, byte [rcx + rax]
xor eax, dword [rbp + 0x144]
mov ecx, 1
imul rcx, rcx, 0xf
mov rdx, qword [rbp + 0x250]
mov byte [rdx + rcx], al
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.14001145b
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret