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

Disassembly:
jmp 0x140015630
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]
lea rcx, [0x14004508e]
call fcn.140011a50
mov rax, qword [rbp + 0x240]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x14001566d
jmp 0x140015f8d
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rbp + 0x240]
lea rax, [rcx + rax + 0xc]
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 0x14001597b
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 0x140015bc7
movsxd rax, dword [rbp + 0x124]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x240]
lea rax, [rcx + rax + 0xc]
mov qword [rbp + 8], rax
mov eax, dword [rbp + 0x24]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x1400306c0]
mov edx, dword [rbp + 0x44]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x140030ac0]
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, [0x140030ec0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x84]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1400312c0]
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, [0x1400306c0]
mov edx, dword [rbp + 0x64]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x140030ac0]
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, [0x140030ec0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x24]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1400312c0]
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, [0x1400306c0]
mov edx, dword [rbp + 0x84]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x140030ac0]
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, [0x140030ec0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x44]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1400312c0]
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, [0x1400306c0]
mov edx, dword [rbp + 0x24]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x140030ac0]
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, [0x140030ec0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x64]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1400312c0]
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 0x14001596d
mov rax, qword [rbp + 0x240]
movsxd rax, dword [rax + 0x3d4]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x240]
lea rax, [rcx + rax + 0xc]
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, str.cw
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 + 0x44]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, str.cw
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, str.cw
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 + 0x84]
and eax, 0xff
cdqe
lea rcx, str.cw
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, str.cw
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 + 0x64]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, str.cw
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, str.cw
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 + 0x24]
and eax, 0xff
cdqe
lea rcx, str.cw
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, str.cw
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 + 0x84]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, str.cw
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, str.cw
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 + 0x44]
and eax, 0xff
cdqe
lea rcx, str.cw
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, str.cw
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 + 0x24]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, str.cw
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, str.cw
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 + 0x64]
and eax, 0xff
cdqe
lea rcx, str.cw
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
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret