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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.14003db60
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jge 0x14003e609
mov eax, dword [rsp + 0x28]
jmp 0x14003eab6
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0xf0]
shl eax, 2
mov dword [rsp + 0x38], eax
jmp 0x14003e645
mov eax, dword [rsp + 0x20]
add eax, 4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x38]
sub eax, 4
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x20], eax
jge 0x14003e788
movsxd rcx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x24], eax
movsxd r8, dword [rsp + 0x38]
movsxd rdx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + r8*4]
mov dword [rcx + rdx*4], eax
movsxd rdx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x24]
mov dword [rcx + rdx*4], eax
mov eax, dword [rsp + 0x20]
add eax, 1
movsxd rcx, eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x38]
add eax, 1
movsxd r8, eax
mov eax, dword [rsp + 0x20]
add eax, 1
movsxd rdx, eax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + r8*4]
mov dword [rcx + rdx*4], eax
mov eax, dword [rsp + 0x38]
add eax, 1
movsxd rdx, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x24]
mov dword [rcx + rdx*4], eax
mov eax, dword [rsp + 0x20]
add eax, 2
movsxd rcx, eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x38]
add eax, 2
movsxd r8, eax
mov eax, dword [rsp + 0x20]
add eax, 2
movsxd rdx, eax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + r8*4]
mov dword [rcx + rdx*4], eax
mov eax, dword [rsp + 0x38]
add eax, 2
movsxd rdx, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x24]
mov dword [rcx + rdx*4], eax
mov eax, dword [rsp + 0x20]
add eax, 3
movsxd rcx, eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x38]
add eax, 3
movsxd r8, eax
mov eax, dword [rsp + 0x20]
add eax, 3
movsxd rdx, eax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + r8*4]
mov dword [rcx + rdx*4], eax
mov eax, dword [rsp + 0x38]
add eax, 3
movsxd rdx, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x24]
mov dword [rcx + rdx*4], eax
jmp 0x14003e62f
mov dword [rsp + 0x20], 1
jmp 0x14003e79d
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0xf0]
cmp dword [rsp + 0x20], eax
jge 0x14003eab4
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 0x18
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
and eax, 0xff
mov r8d, eax
lea rdx, [0x140071410]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
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 rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
and eax, 0xff
mov ecx, eax
lea rax, [0x140071c10]
xor r8d, dword [rax + rcx*4]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
and eax, 0xff
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
and eax, 0xff
mov edx, eax
lea rax, [0x140072010]
mov ecx, r8d
xor ecx, dword [rax + rdx*4]
mov rax, qword [rsp + 0x30]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
shr eax, 0x18
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
and eax, 0xff
mov r8d, eax
lea rdx, [0x140071410]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
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 rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
and eax, 0xff
mov ecx, eax
lea rax, [0x140071c10]
xor r8d, dword [rax + rcx*4]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
and eax, 0xff
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
and eax, 0xff
mov edx, eax
lea rax, [0x140072010]
mov ecx, r8d
xor ecx, dword [rax + rdx*4]
mov rax, qword [rsp + 0x30]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
shr eax, 0x18
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
and eax, 0xff
mov r8d, eax
lea rdx, [0x140071410]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
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 rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
and eax, 0xff
mov ecx, eax
lea rax, [0x140071c10]
xor r8d, dword [rax + rcx*4]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
and eax, 0xff
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
and eax, 0xff
mov edx, eax
lea rax, [0x140072010]
mov ecx, r8d
xor ecx, dword [rax + rdx*4]
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
shr eax, 0x18
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
and eax, 0xff
mov r8d, eax
lea rdx, [0x140071410]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
shr eax, 0x10
and eax, 0xff
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
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 rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
shr eax, 8
and eax, 0xff
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
and eax, 0xff
mov ecx, eax
lea rax, [0x140071c10]
xor r8d, dword [rax + rcx*4]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
and eax, 0xff
mov ecx, eax
lea rax, str.ccccwwww
mov eax, dword [rax + rcx*4]
and eax, 0xff
mov edx, eax
lea rax, [0x140072010]
mov ecx, r8d
xor ecx, dword [rax + rdx*4]
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], ecx
jmp 0x14003e792
xor eax, eax
add rsp, 0x48
ret