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

Disassembly:
jmp 0x14001cc10
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x96
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
lea rcx, [0x1402ef029]
call fcn.14000236f
mov rax, qword [rbp + 0x250]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x14001cc64
jmp 0x14001d295
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x3d0], 0x10
jne 0x14001cc93
mov r8, qword [rbp + 0x260]
mov rdx, qword [rbp + 0x258]
mov rcx, qword [rbp + 0x250]
call fcn.140002e0f
jmp 0x14001d295
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3d0]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 4
jne 0x14001ccbe
mov dword [rbp + 0x214], 0
jmp 0x14001cce6
cmp dword [rbp + 4], 6
jne 0x14001ccd0
mov dword [rbp + 0x218], 1
jmp 0x14001ccda
mov dword [rbp + 0x218], 2
mov eax, dword [rbp + 0x218]
mov dword [rbp + 0x214], eax
mov eax, dword [rbp + 0x214]
mov dword [rbp + 0x24], eax
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x20
lea rcx, [0x140235140]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 1
add rax, rcx
mov ecx, 4
imul rcx, rcx, 0
mov eax, dword [rax + rcx]
mov dword [rbp + 0x44], eax
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x20
lea rcx, [0x140235140]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 2
add rax, rcx
mov ecx, 4
imul rcx, rcx, 0
mov eax, dword [rax + rcx]
mov dword [rbp + 0x64], eax
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x20
lea rcx, [0x140235140]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 3
add rax, rcx
mov ecx, 4
imul rcx, rcx, 0
mov eax, dword [rax + rcx]
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x250]
add rax, 0x458
mov qword [rbp + 0xe8], rax
mov dword [rbp + 0xa4], 0
jmp 0x14001cdb0
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0xa4], eax
jge 0x14001ced9
mov rax, qword [rbp + 0x258]
movzx eax, byte [rax]
shl eax, 0x18
mov rcx, qword [rbp + 0xe8]
mov dword [rcx], eax
mov rax, qword [rbp + 0x258]
inc rax
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0x258]
movzx eax, byte [rax]
shl eax, 0x10
mov rcx, qword [rbp + 0xe8]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0xe8]
mov dword [rcx], eax
mov rax, qword [rbp + 0x258]
inc rax
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0x258]
movzx eax, byte [rax]
shl eax, 8
mov rcx, qword [rbp + 0xe8]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0xe8]
mov dword [rcx], eax
mov rax, qword [rbp + 0x258]
inc rax
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x258]
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x208]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0x208]
mov dword [rcx], eax
mov rax, qword [rbp + 0x258]
inc rax
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0xe8]
add rax, 4
mov qword [rbp + 0xe8], rax
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0xc]
movsxd rcx, dword [rbp + 0xa4]
mov rdx, qword [rbp + 0x208]
mov eax, dword [rax + rcx*4]
mov ecx, dword [rdx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0x208]
mov dword [rcx], eax
jmp 0x14001cda2
mov dword [rbp + 0x104], 1
jmp 0x14001cef3
mov eax, dword [rbp + 0x104]
inc eax
mov dword [rbp + 0x104], eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3d4]
cmp dword [rbp + 0x104], eax
jge 0x14001d0ba
mov dword [rbp + 0xa4], 0
jmp 0x14001cf26
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0xa4], eax
jge 0x14001d075
movsxd rax, dword [rbp + 0xa4]
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x458]
sar eax, 0x18
and eax, 0xff
cdqe
mov qword [rbp + 0x218], rax
lea rcx, [0x140232120]
mov edx, dword [rbp + 0x44]
mov r8d, dword [rbp + 0xa4]
add r8d, edx
mov edx, r8d
mov eax, edx
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rdx, qword [rbp + 0x250]
mov eax, dword [rdx + rax*4 + 0x458]
sar eax, 0x10
and eax, 0xff
cdqe
lea rdx, [0x140232520]
mov eax, dword [rdx + rax*4]
mov rdx, qword [rbp + 0x218]
mov ecx, dword [rcx + rdx*4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 0x220], eax
mov ecx, dword [rbp + 0x64]
mov edx, dword [rbp + 0xa4]
add edx, ecx
mov ecx, edx
mov eax, ecx
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x458]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, [0x140232920]
mov edx, dword [rbp + 0x220]
xor edx, dword [rcx + rax*4]
mov eax, edx
mov dword [rbp + 0x224], eax
mov ecx, dword [rbp + 0x84]
mov edx, dword [rbp + 0xa4]
add edx, ecx
mov ecx, edx
mov eax, ecx
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x458]
and eax, 0xff
cdqe
lea rcx, [0x140232d20]
mov edx, dword [rbp + 0x224]
xor edx, dword [rcx + rax*4]
mov eax, edx
movsxd rcx, dword [rbp + 0x104]
imul rcx, rcx, 0x20
mov rdx, qword [rbp + 0x250]
lea rcx, [rdx + rcx + 0xc]
movsxd rdx, dword [rbp + 0xa4]
xor eax, dword [rcx + rdx*4]
movsxd rcx, dword [rbp + 0xa4]
mov rdx, qword [rbp + 0x250]
mov dword [rdx + rcx*4 + 0x438], eax
jmp 0x14001cf18
mov eax, dword [rbp + 4]
shl eax, 2
cdqe
mov rcx, qword [rbp + 0x250]
add rcx, 0x438
mov rdx, qword [rbp + 0x250]
add rdx, 0x458
mov qword [rbp + 0x218], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rbp + 0x218]
mov rcx, rax
call fcn.1400081fc
jmp 0x14001cee5
mov dword [rbp + 0xa4], 0
mov dword [rbp + 0x124], 0
jmp 0x14001d0de
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0xa4], eax
jge 0x14001d295
mov rax, qword [rbp + 0x250]
movsxd rax, dword [rax + 0x3d4]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0xc]
movsxd rcx, dword [rbp + 0xa4]
mov eax, dword [rax + rcx*4]
mov dword [rbp + 0xc4], eax
movsxd rax, dword [rbp + 0xa4]
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x458]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0xc4]
sar ecx, 0x18
xor eax, ecx
movsxd rcx, dword [rbp + 0x124]
mov rdx, qword [rbp + 0x260]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
mov eax, dword [rbp + 0x44]
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x458]
sar eax, 0x10
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0xc4]
sar ecx, 0x10
xor eax, ecx
movsxd rcx, dword [rbp + 0x124]
mov rdx, qword [rbp + 0x260]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
mov eax, dword [rbp + 0x64]
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x458]
sar eax, 8
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0xc4]
sar ecx, 8
xor eax, ecx
movsxd rcx, dword [rbp + 0x124]
mov rdx, qword [rbp + 0x260]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
mov eax, dword [rbp + 0x84]
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x458]
and eax, 0xff
cdqe
lea rcx, str.cw
movsx eax, byte [rcx + rax]
xor eax, dword [rbp + 0xc4]
movsxd rcx, dword [rbp + 0x124]
mov rdx, qword [rbp + 0x260]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
jmp 0x14001d0d0
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret