Function at 0x14003cc00
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, 0x38
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
movzx edx, byte [rax]
shl edx, 0x18
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 1]
shl eax, 0x10
xor edx, eax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 2]
shl eax, 8
xor edx, eax
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rax + 3]
mov eax, edx
xor eax, ecx
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x40]
movzx edx, byte [rax + 4]
shl edx, 0x18
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 5]
shl eax, 0x10
xor edx, eax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 6]
shl eax, 8
xor edx, eax
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rax + 7]
mov eax, edx
xor eax, ecx
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx + 4]
mov dword [rsp + 0x14], eax
mov rax, qword [rsp + 0x40]
movzx edx, byte [rax + 8]
shl edx, 0x18
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 9]
shl eax, 0x10
xor edx, eax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0xa]
shl eax, 8
xor edx, eax
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rax + 0xb]
mov eax, edx
xor eax, ecx
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx + 8]
mov dword [rsp + 0x10], eax
mov rax, qword [rsp + 0x40]
movzx edx, byte [rax + 0xc]
shl edx, 0x18
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0xd]
shl eax, 0x10
xor edx, eax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0xe]
shl eax, 8
xor edx, eax
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rax + 0xf]
mov eax, edx
xor eax, ecx
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx + 0xc]
mov dword [rsp], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xf0]
sar eax, 1
mov dword [rsp + 0x1c], eax
mov eax, dword [rsp + 4]
shr eax, 0x18
mov r8d, eax
lea rdx, [0x140071410]
mov eax, dword [rsp]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, [0x140071810]
mov eax, dword [rax + rcx*4]
mov r8d, dword [rdx + r8*4]
xor r8d, eax
mov eax, dword [rsp + 0x10]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, [0x140071c10]
xor r8d, dword [rax + rcx*4]
mov eax, dword [rsp + 0x14]
and eax, 0xff
mov edx, eax
lea rcx, [0x140072010]
mov eax, r8d
xor eax, dword [rcx + rdx*4]
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x14]
shr eax, 0x18
mov r8d, eax
lea rdx, [0x140071410]
mov eax, dword [rsp + 4]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, [0x140071810]
mov eax, dword [rax + rcx*4]
mov r8d, dword [rdx + r8*4]
xor r8d, eax
mov eax, dword [rsp]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, [0x140071c10]
xor r8d, dword [rax + rcx*4]
mov eax, dword [rsp + 0x10]
and eax, 0xff
mov edx, eax
lea rcx, [0x140072010]
mov eax, r8d
xor eax, dword [rcx + rdx*4]
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx + 0x14]
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x10]
shr eax, 0x18
mov r8d, eax
lea rdx, [0x140071410]
mov eax, dword [rsp + 0x14]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, [0x140071810]
mov eax, dword [rax + rcx*4]
mov r8d, dword [rdx + r8*4]
xor r8d, eax
mov eax, dword [rsp + 4]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, [0x140071c10]
xor r8d, dword [rax + rcx*4]
mov eax, dword [rsp]
and eax, 0xff
mov edx, eax
lea rcx, [0x140072010]
mov eax, r8d
xor eax, dword [rcx + rdx*4]
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx + 0x18]
mov dword [rsp + 8], eax
mov eax, dword [rsp]
shr eax, 0x18
mov r8d, eax
lea rdx, [0x140071410]
mov eax, dword [rsp + 0x10]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, [0x140071810]
mov eax, dword [rax + rcx*4]
mov r8d, dword [rdx + r8*4]
xor r8d, eax
mov eax, dword [rsp + 0x14]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, [0x140071c10]
xor r8d, dword [rax + rcx*4]
mov eax, dword [rsp + 4]
and eax, 0xff
mov edx, eax
lea rcx, [0x140072010]
mov eax, r8d
xor eax, dword [rcx + rdx*4]
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx + 0x1c]
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0x20]
add rax, 0x20
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x1c]
sub eax, 1
mov dword [rsp + 0x1c], eax
cmp dword [rsp + 0x1c], 0
jne 0x14003cf04
jmp 0x14003d0bb
mov eax, dword [rsp + 0x28]
shr eax, 0x18
mov r8d, eax
lea rdx, [0x140071410]
mov eax, dword [rsp + 0xc]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, [0x140071810]
mov eax, dword [rax + rcx*4]
mov r8d, dword [rdx + r8*4]
xor r8d, eax
mov eax, dword [rsp + 8]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, [0x140071c10]
xor r8d, dword [rax + rcx*4]
mov eax, dword [rsp + 0x18]
and eax, 0xff
mov edx, eax
lea rcx, [0x140072010]
mov eax, r8d
xor eax, dword [rcx + rdx*4]
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x18]
shr eax, 0x18
mov r8d, eax
lea rdx, [0x140071410]
mov eax, dword [rsp + 0x28]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, [0x140071810]
mov eax, dword [rax + rcx*4]
mov r8d, dword [rdx + r8*4]
xor r8d, eax
mov eax, dword [rsp + 0xc]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, [0x140071c10]
xor r8d, dword [rax + rcx*4]
mov eax, dword [rsp + 8]
and eax, 0xff
mov edx, eax
lea rcx, [0x140072010]
mov eax, r8d
xor eax, dword [rcx + rdx*4]
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx + 4]
mov dword [rsp + 0x14], eax
mov eax, dword [rsp + 8]
shr eax, 0x18
mov r8d, eax
lea rdx, [0x140071410]
mov eax, dword [rsp + 0x18]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, [0x140071810]
mov eax, dword [rax + rcx*4]
mov r8d, dword [rdx + r8*4]
xor r8d, eax
mov eax, dword [rsp + 0x28]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, [0x140071c10]
xor r8d, dword [rax + rcx*4]
mov eax, dword [rsp + 0xc]
and eax, 0xff
mov edx, eax
lea rcx, [0x140072010]
mov eax, r8d
xor eax, dword [rcx + rdx*4]
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx + 8]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0xc]
shr eax, 0x18
mov r8d, eax
lea rdx, [0x140071410]
mov eax, dword [rsp + 8]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, [0x140071810]
mov eax, dword [rax + rcx*4]
mov r8d, dword [rdx + r8*4]
xor r8d, eax
mov eax, dword [rsp + 0x18]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, [0x140071c10]
xor r8d, dword [rax + rcx*4]
mov eax, dword [rsp + 0x28]
and eax, 0xff
mov edx, eax
lea rcx, [0x140072010]
mov eax, r8d
xor eax, dword [rcx + rdx*4]
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx + 0xc]
mov dword [rsp], eax
jmp 0x14003cd2f
mov eax, dword [rsp + 0x28]
shr eax, 0x18
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov edx, dword [rax + rcx*4]
and edx, 0xff000000
mov eax, dword [rsp + 0xc]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov eax, dword [rax + rcx*4]
and eax, 0xff0000
xor edx, eax
mov eax, dword [rsp + 8]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov eax, dword [rax + rcx*4]
and eax, 0xff00
xor edx, eax
mov eax, dword [rsp + 0x18]
and eax, 0xff
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rax + rcx*4]
and ecx, 0xff
mov eax, edx
xor eax, ecx
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx]
mov dword [rsp + 4], eax
mov ecx, dword [rsp + 4]
shr ecx, 0x18
mov rax, qword [rsp + 0x48]
mov byte [rax], cl
mov ecx, dword [rsp + 4]
shr ecx, 0x10
mov rax, qword [rsp + 0x48]
mov byte [rax + 1], cl
mov ecx, dword [rsp + 4]
shr ecx, 8
mov rax, qword [rsp + 0x48]
mov byte [rax + 2], cl
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rsp + 4]
mov byte [rcx + 3], al
mov eax, dword [rsp + 0x18]
shr eax, 0x18
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov edx, dword [rax + rcx*4]
and edx, 0xff000000
mov eax, dword [rsp + 0x28]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov eax, dword [rax + rcx*4]
and eax, 0xff0000
xor edx, eax
mov eax, dword [rsp + 0xc]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov eax, dword [rax + rcx*4]
and eax, 0xff00
xor edx, eax
mov eax, dword [rsp + 8]
and eax, 0xff
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rax + rcx*4]
and ecx, 0xff
mov eax, edx
xor eax, ecx
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx + 4]
mov dword [rsp + 0x14], eax
mov ecx, dword [rsp + 0x14]
shr ecx, 0x18
mov rax, qword [rsp + 0x48]
mov byte [rax + 4], cl
mov ecx, dword [rsp + 0x14]
shr ecx, 0x10
mov rax, qword [rsp + 0x48]
mov byte [rax + 5], cl
mov ecx, dword [rsp + 0x14]
shr ecx, 8
mov rax, qword [rsp + 0x48]
mov byte [rax + 6], cl
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rsp + 0x14]
mov byte [rcx + 7], al
mov eax, dword [rsp + 8]
shr eax, 0x18
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov edx, dword [rax + rcx*4]
and edx, 0xff000000
mov eax, dword [rsp + 0x18]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov eax, dword [rax + rcx*4]
and eax, 0xff0000
xor edx, eax
mov eax, dword [rsp + 0x28]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov eax, dword [rax + rcx*4]
and eax, 0xff00
xor edx, eax
mov eax, dword [rsp + 0xc]
and eax, 0xff
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rax + rcx*4]
and ecx, 0xff
mov eax, edx
xor eax, ecx
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx + 8]
mov dword [rsp + 0x10], eax
mov ecx, dword [rsp + 0x10]
shr ecx, 0x18
mov rax, qword [rsp + 0x48]
mov byte [rax + 8], cl
mov ecx, dword [rsp + 0x10]
shr ecx, 0x10
mov rax, qword [rsp + 0x48]
mov byte [rax + 9], cl
mov ecx, dword [rsp + 0x10]
shr ecx, 8
mov rax, qword [rsp + 0x48]
mov byte [rax + 0xa], cl
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rsp + 0x10]
mov byte [rcx + 0xb], al
mov eax, dword [rsp + 0xc]
shr eax, 0x18
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov edx, dword [rax + rcx*4]
and edx, 0xff000000
mov eax, dword [rsp + 8]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov eax, dword [rax + rcx*4]
and eax, 0xff0000
xor edx, eax
mov eax, dword [rsp + 0x18]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov eax, dword [rax + rcx*4]
and eax, 0xff00
xor edx, eax
mov eax, dword [rsp + 0x28]
and eax, 0xff
mov ecx, eax
lea rax, str.RRRR_t_t_t_tjjjj
mov ecx, dword [rax + rcx*4]
and ecx, 0xff
mov eax, edx
xor eax, ecx
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx + 0xc]
mov dword [rsp], eax
mov ecx, dword [rsp]
shr ecx, 0x18
mov rax, qword [rsp + 0x48]
mov byte [rax + 0xc], cl
mov ecx, dword [rsp]
shr ecx, 0x10
mov rax, qword [rsp + 0x48]
mov byte [rax + 0xd], cl
mov ecx, dword [rsp]
shr ecx, 8
mov rax, qword [rsp + 0x48]
mov byte [rax + 0xe], cl
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rsp]
mov byte [rcx + 0xf], al
add rsp, 0x38
ret