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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x10
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx]
shl ecx, 8
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x20], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax + 4]
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx + 4]
shl ecx, 0x10
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx + 4]
shl ecx, 8
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx + 4]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x24], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax + 8]
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx + 8]
shl ecx, 0x10
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx + 8]
shl ecx, 8
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx + 8]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x28], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax + 0xc]
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx + 0xc]
shl ecx, 0x10
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx + 0xc]
shl ecx, 8
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx + 0xc]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xf0]
sar eax, 1
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x18
mov eax, eax
lea rcx, [0x14017b550]
mov edx, dword [rsp + 0x2c]
shr edx, 0x10
and edx, 0xff
mov edx, edx
lea r8, [0x14017b150]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x28]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017ad50]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x24]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017a950]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x24]
shr eax, 0x18
mov eax, eax
lea rcx, [0x14017b550]
mov edx, dword [rsp + 0x20]
shr edx, 0x10
and edx, 0xff
mov edx, edx
lea r8, [0x14017b150]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x2c]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017ad50]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x28]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017a950]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 5
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x28]
shr eax, 0x18
mov eax, eax
lea rcx, [0x14017b550]
mov edx, dword [rsp + 0x24]
shr edx, 0x10
and edx, 0xff
mov edx, edx
lea r8, [0x14017b150]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x20]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017ad50]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x2c]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017a950]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 6
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x2c]
shr eax, 0x18
mov eax, eax
lea rcx, [0x14017b550]
mov edx, dword [rsp + 0x28]
shr edx, 0x10
and edx, 0xff
mov edx, edx
lea r8, [0x14017b150]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x24]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017ad50]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x20]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017a950]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 7
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 0x20
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x4c]
dec eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x14000277a
jmp 0x14000294b
mov eax, dword [rsp + 0x44]
shr eax, 0x18
mov eax, eax
lea rcx, [0x14017b550]
mov edx, dword [rsp + 0x38]
shr edx, 0x10
and edx, 0xff
mov edx, edx
lea r8, [0x14017b150]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x3c]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017ad50]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x40]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017a950]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x40]
shr eax, 0x18
mov eax, eax
lea rcx, [0x14017b550]
mov edx, dword [rsp + 0x44]
shr edx, 0x10
and edx, 0xff
mov edx, edx
lea r8, [0x14017b150]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x38]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017ad50]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x3c]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017a950]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x3c]
shr eax, 0x18
mov eax, eax
lea rcx, [0x14017b550]
mov edx, dword [rsp + 0x40]
shr edx, 0x10
and edx, 0xff
mov edx, edx
lea r8, [0x14017b150]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x44]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017ad50]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x38]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017a950]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
shr eax, 0x18
mov eax, eax
lea rcx, [0x14017b550]
mov edx, dword [rsp + 0x3c]
shr edx, 0x10
and edx, 0xff
mov edx, edx
lea r8, [0x14017b150]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x40]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017ad50]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x44]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14017a950]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x2c], eax
jmp 0x14000258a
mov eax, dword [rsp + 0x44]
shr eax, 0x18
mov eax, eax
lea rcx, str.RRRR_t_t_t_tjjjj
mov eax, dword [rcx + rax*4]
and eax, 0xff000000
mov ecx, dword [rsp + 0x38]
shr ecx, 0x10
and ecx, 0xff
mov ecx, ecx
lea rdx, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff0000
xor eax, ecx
mov ecx, dword [rsp + 0x3c]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff00
xor eax, ecx
mov ecx, dword [rsp + 0x40]
and ecx, 0xff
mov ecx, ecx
lea rdx, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x40]
shr eax, 0x18
mov eax, eax
lea rcx, str.RRRR_t_t_t_tjjjj
mov eax, dword [rcx + rax*4]
and eax, 0xff000000
mov ecx, dword [rsp + 0x44]
shr ecx, 0x10
and ecx, 0xff
mov ecx, ecx
lea rdx, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff0000
xor eax, ecx
mov ecx, dword [rsp + 0x38]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff00
xor eax, ecx
mov ecx, dword [rsp + 0x3c]
and ecx, 0xff
mov ecx, ecx
lea rdx, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x3c]
shr eax, 0x18
mov eax, eax
lea rcx, str.RRRR_t_t_t_tjjjj
mov eax, dword [rcx + rax*4]
and eax, 0xff000000
mov ecx, dword [rsp + 0x40]
shr ecx, 0x10
and ecx, 0xff
mov ecx, ecx
lea rdx, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff0000
xor eax, ecx
mov ecx, dword [rsp + 0x44]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff00
xor eax, ecx
mov ecx, dword [rsp + 0x38]
and ecx, 0xff
mov ecx, ecx
lea rdx, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
shr eax, 0x18
mov eax, eax
lea rcx, str.RRRR_t_t_t_tjjjj
mov eax, dword [rcx + rax*4]
and eax, 0xff000000
mov ecx, dword [rsp + 0x3c]
shr ecx, 0x10
and ecx, 0xff
mov ecx, ecx
lea rdx, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff0000
xor eax, ecx
mov ecx, dword [rsp + 0x40]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff00
xor eax, ecx
mov ecx, dword [rsp + 0x44]
and ecx, 0xff
mov ecx, ecx
lea rdx, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx]
mov dword [rsp + 0x2c], eax
call fcn.14008d8e8
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x18
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x20]
shr eax, 0x10
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x20]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x68]
mov dl, byte [rsp + 0x20]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x24]
shr eax, 0x18
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx + 4], al
mov eax, dword [rsp + 0x24]
shr eax, 0x10
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx + 4], al
mov eax, dword [rsp + 0x24]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx + 4], al
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x68]
mov dl, byte [rsp + 0x24]
mov byte [rcx + rax + 4], dl
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x28]
shr eax, 0x18
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx + 8], al
mov eax, dword [rsp + 0x28]
shr eax, 0x10
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx + 8], al
mov eax, dword [rsp + 0x28]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx + 8], al
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x68]
mov dl, byte [rsp + 0x28]
mov byte [rcx + rax + 8], dl
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 0x42
div ecx
mov eax, edx
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x2c]
shr eax, 0x18
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx + 0xc], al
mov eax, dword [rsp + 0x2c]
shr eax, 0x10
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx + 0xc], al
mov eax, dword [rsp + 0x2c]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx + 0xc], al
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x68]
mov dl, byte [rsp + 0x2c]
mov byte [rcx + rax + 0xc], dl
xor edx, edx
mov eax, dword [rsp + 0x2c]
mov ecx, 0x56
div ecx
mov eax, edx
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
add rsp, 0x58
ret