Function at 0x14006a630
Capabilities:
Encrypt data using aes

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
mov rbp, rsp
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x1e0]
mov dword [rbp + 0x124], eax
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x108], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x240]
movzx eax, byte [rcx + rax]
and eax, 0xff
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x240]
movzx ecx, byte [rdx + rcx]
and ecx, 0xff
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x240]
movzx ecx, byte [rdx + rcx]
and ecx, 0xff
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x240]
movzx ecx, byte [rdx + rcx]
and ecx, 0xff
or eax, ecx
mov dword [rbp + 4], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 0x108]
mov eax, dword [rcx + rax]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x240]
movzx eax, byte [rcx + rax + 4]
and eax, 0xff
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x240]
movzx ecx, byte [rdx + rcx + 4]
and ecx, 0xff
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x240]
movzx ecx, byte [rdx + rcx + 4]
and ecx, 0xff
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x240]
movzx ecx, byte [rdx + rcx + 4]
and ecx, 0xff
or eax, ecx
mov dword [rbp + 0x24], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rbp + 0x108]
mov eax, dword [rcx + rax]
mov ecx, dword [rbp + 0x24]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 0x24], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x240]
movzx eax, byte [rcx + rax + 8]
and eax, 0xff
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x240]
movzx ecx, byte [rdx + rcx + 8]
and ecx, 0xff
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x240]
movzx ecx, byte [rdx + rcx + 8]
and ecx, 0xff
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x240]
movzx ecx, byte [rdx + rcx + 8]
and ecx, 0xff
or eax, ecx
mov dword [rbp + 0x44], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rbp + 0x108]
mov eax, dword [rcx + rax]
mov ecx, dword [rbp + 0x44]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 0x44], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x240]
movzx eax, byte [rcx + rax + 0xc]
and eax, 0xff
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x240]
movzx ecx, byte [rdx + rcx + 0xc]
and ecx, 0xff
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x240]
movzx ecx, byte [rdx + rcx + 0xc]
and ecx, 0xff
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x240]
movzx ecx, byte [rdx + rcx + 0xc]
and ecx, 0xff
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rbp + 0x108]
mov eax, dword [rcx + rax]
mov ecx, dword [rbp + 0x64]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x124]
sar eax, 1
mov dword [rbp + 0x144], eax
mov eax, dword [rbp + 4]
shr eax, 0x18
movzx eax, al
lea rcx, [0x140080f20]
mov edx, dword [rbp + 0x24]
shr edx, 0x10
movzx edx, dl
lea r8, [0x140081f20]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0x44]
shr ecx, 8
movzx ecx, cl
lea rdx, [0x140082320]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x64]
shr ecx, 0
movzx ecx, cl
lea rdx, [0x140082720]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 4
mov rdx, qword [rbp + 0x108]
xor eax, dword [rdx + rcx]
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0x24]
shr eax, 0x18
movzx eax, al
lea rcx, [0x140080f20]
mov edx, dword [rbp + 0x44]
shr edx, 0x10
movzx edx, dl
lea r8, [0x140081f20]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0x64]
shr ecx, 8
movzx ecx, cl
lea rdx, [0x140082320]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 4]
shr ecx, 0
movzx ecx, cl
lea rdx, [0x140082720]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 5
mov rdx, qword [rbp + 0x108]
xor eax, dword [rdx + rcx]
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0x44]
shr eax, 0x18
movzx eax, al
lea rcx, [0x140080f20]
mov edx, dword [rbp + 0x64]
shr edx, 0x10
movzx edx, dl
lea r8, [0x140081f20]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 4]
shr ecx, 8
movzx ecx, cl
lea rdx, [0x140082320]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x24]
shr ecx, 0
movzx ecx, cl
lea rdx, [0x140082720]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 6
mov rdx, qword [rbp + 0x108]
xor eax, dword [rdx + rcx]
mov dword [rbp + 0xc4], eax
mov eax, dword [rbp + 0x64]
shr eax, 0x18
movzx eax, al
lea rcx, [0x140080f20]
mov edx, dword [rbp + 4]
shr edx, 0x10
movzx edx, dl
lea r8, [0x140081f20]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0x24]
shr ecx, 8
movzx ecx, cl
lea rdx, [0x140082320]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x44]
shr ecx, 0
movzx ecx, cl
lea rdx, [0x140082720]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 7
mov rdx, qword [rbp + 0x108]
xor eax, dword [rdx + rcx]
mov dword [rbp + 0xe4], eax
mov rax, qword [rbp + 0x108]
add rax, 0x20
mov qword [rbp + 0x108], rax
mov eax, dword [rbp + 0x144]
dec eax
mov dword [rbp + 0x144], eax
cmp dword [rbp + 0x144], 0
jne 0x14006aaac
jmp 0x14006ac75
mov eax, dword [rbp + 0x84]
shr eax, 0x18
movzx eax, al
lea rcx, [0x140080f20]
mov edx, dword [rbp + 0xa4]
shr edx, 0x10
movzx edx, dl
lea r8, [0x140081f20]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0xc4]
shr ecx, 8
movzx ecx, cl
lea rdx, [0x140082320]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0xe4]
shr ecx, 0
movzx ecx, cl
lea rdx, [0x140082720]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x108]
xor eax, dword [rdx + rcx]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0xa4]
shr eax, 0x18
movzx eax, al
lea rcx, [0x140080f20]
mov edx, dword [rbp + 0xc4]
shr edx, 0x10
movzx edx, dl
lea r8, [0x140081f20]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0xe4]
shr ecx, 8
movzx ecx, cl
lea rdx, [0x140082320]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x84]
shr ecx, 0
movzx ecx, cl
lea rdx, [0x140082720]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x108]
xor eax, dword [rdx + rcx]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0xc4]
shr eax, 0x18
movzx eax, al
lea rcx, [0x140080f20]
mov edx, dword [rbp + 0xe4]
shr edx, 0x10
movzx edx, dl
lea r8, [0x140081f20]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0x84]
shr ecx, 8
movzx ecx, cl
lea rdx, [0x140082320]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0xa4]
shr ecx, 0
movzx ecx, cl
lea rdx, [0x140082720]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x108]
xor eax, dword [rdx + rcx]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0xe4]
shr eax, 0x18
movzx eax, al
lea rcx, [0x140080f20]
mov edx, dword [rbp + 0x84]
shr edx, 0x10
movzx edx, dl
lea r8, [0x140081f20]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0xa4]
shr ecx, 8
movzx ecx, cl
lea rdx, [0x140082320]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0xc4]
shr ecx, 0
movzx ecx, cl
lea rdx, [0x140082720]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x108]
xor eax, dword [rdx + rcx]
mov dword [rbp + 0x64], eax
jmp 0x14006a8de
mov eax, dword [rbp + 0x84]
shr eax, 0x18
movzx eax, al
lea rcx, [0x140083720]
mov edx, dword [rbp + 0xa4]
shr edx, 0x10
movzx edx, dl
lea r8, [0x140083320]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0xc4]
shr ecx, 8
movzx ecx, cl
lea rdx, [0x140082f20]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0xe4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cwko0
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x108]
xor eax, dword [rdx + rcx]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x18
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 4]
shr eax, 0x10
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 4]
shr eax, 8
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 4]
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0xa4]
shr eax, 0x18
movzx eax, al
lea rcx, [0x140083720]
mov edx, dword [rbp + 0xc4]
shr edx, 0x10
movzx edx, dl
lea r8, [0x140083320]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0xe4]
shr ecx, 8
movzx ecx, cl
lea rdx, [0x140082f20]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x84]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cwko0
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x108]
xor eax, dword [rdx + rcx]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
shr eax, 0x18
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx + 4], al
mov eax, dword [rbp + 0x24]
shr eax, 0x10
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx + 4], al
mov eax, dword [rbp + 0x24]
shr eax, 8
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx + 4], al
mov eax, dword [rbp + 0x24]
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx + 4], al
mov eax, dword [rbp + 0xc4]
shr eax, 0x18
movzx eax, al
lea rcx, [0x140083720]
mov edx, dword [rbp + 0xe4]
shr edx, 0x10
movzx edx, dl
lea r8, [0x140083320]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0x84]
shr ecx, 8
movzx ecx, cl
lea rdx, [0x140082f20]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0xa4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cwko0
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x108]
xor eax, dword [rdx + rcx]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
shr eax, 0x18
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx + 8], al
mov eax, dword [rbp + 0x44]
shr eax, 0x10
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx + 8], al
mov eax, dword [rbp + 0x44]
shr eax, 8
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx + 8], al
mov eax, dword [rbp + 0x44]
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx + 8], al
mov eax, dword [rbp + 0xe4]
shr eax, 0x18
movzx eax, al
lea rcx, [0x140083720]
mov edx, dword [rbp + 0x84]
shr edx, 0x10
movzx edx, dl
lea r8, [0x140083320]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0xa4]
shr ecx, 8
movzx ecx, cl
lea rdx, [0x140082f20]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0xc4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cwko0
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x108]
xor eax, dword [rdx + rcx]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
shr eax, 0x18
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx + 0xc], al
mov eax, dword [rbp + 0x64]
shr eax, 0x10
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx + 0xc], al
mov eax, dword [rbp + 0x64]
shr eax, 8
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx + 0xc], al
mov eax, dword [rbp + 0x64]
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x248]
mov byte [rdx + rcx + 0xc], al
xor eax, eax
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret