Function at 0x1400f6900
Capabilities:
Encrypt data using chaskey

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1402c8b58]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, dword [rdx]
lea rax, [r8 + 2]
mov ebx, dword [rdx + 4]
xor r9d, r9d
mov r11d, dword [rdx + 8]
mov edi, ecx
mov r10d, dword [rdx + 0xc]
mov qword [rsp + 8], rdx
lea r8d, [r9 + 0x10]
mov dword [rsp], ecx
nop dword [rax]
movzx ecx, byte [rax]
movzx edx, byte [rax + 1]
lea rax, [rax + 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [rax - 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [rax - 6]
shl edx, 8
or edx, ecx
mov dword [rsp + r9*4 + 0x10], edx
lea r9d, [r9 + 1]
sub r8, 1
jne 0x1400f6950
mov eax, r11d
mov ecx, ebx
not ecx
and eax, ebx
and ecx, r10d
or ecx, eax
add ecx, dword [rsp + 0x10]
add edi, ecx
mov edx, edi
shr edx, 0x1d
lea eax, [rdi*8]
or edx, eax
mov eax, ebx
and eax, edx
mov ecx, edx
not ecx
and ecx, r11d
or ecx, eax
add ecx, dword [rsp + 0x14]
add r10d, ecx
mov r9d, r10d
shl r10d, 7
shr r9d, 0x19
or r9d, r10d
mov ecx, r9d
mov eax, r9d
not ecx
and eax, edx
and ecx, ebx
or ecx, eax
mov eax, r9d
add ecx, dword [rsp + 0x18]
add r11d, ecx
mov r10d, r11d
shl r11d, 0xb
shr r10d, 0x15
or r10d, r11d
and eax, r10d
mov ecx, r10d
not ecx
and ecx, edx
or ecx, eax
mov eax, r10d
add ecx, dword [rsp + 0x1c]
add ebx, ecx
mov r11d, ebx
shr ebx, 0xd
shl r11d, 0x13
or r11d, ebx
and eax, r11d
mov ecx, r11d
not ecx
and ecx, r9d
or ecx, eax
add ecx, dword [rsp + 0x20]
add edx, ecx
mov r8d, edx
shr r8d, 0x1d
lea eax, [rdx*8]
or r8d, eax
mov eax, r11d
and eax, r8d
mov ecx, r8d
not ecx
and ecx, r10d
or ecx, eax
add ecx, dword [rsp + 0x24]
add r9d, ecx
mov edx, r9d
shl r9d, 7
shr edx, 0x19
or edx, r9d
mov ecx, edx
mov eax, edx
not ecx
and eax, r8d
and ecx, r11d
or ecx, eax
add ecx, dword [rsp + 0x28]
add r10d, ecx
mov ebx, r10d
mov r15d, dword [rsp + 0x30]
mov eax, edx
mov r12d, dword [rsp + 0x38]
mov ebp, dword [rsp + 0x40]
shl r10d, 0xb
shr ebx, 0x15
or ebx, r10d
and eax, ebx
mov ecx, ebx
not ecx
and ecx, r8d
or ecx, eax
mov eax, ebx
add ecx, dword [rsp + 0x2c]
add r11d, ecx
mov r10d, r11d
shr r11d, 0xd
shl r10d, 0x13
or r10d, r11d
and eax, r10d
mov ecx, r10d
not ecx
and ecx, edx
or ecx, eax
add ecx, r15d
add r8d, ecx
mov r9d, r8d
shr r9d, 0x1d
lea eax, [r8*8]
or r9d, eax
mov eax, r10d
and eax, r9d
mov ecx, r9d
not ecx
and ecx, ebx
or ecx, eax
add ecx, dword [rsp + 0x34]
add edx, ecx
mov r8d, edx
shl edx, 7
shr r8d, 0x19
or r8d, edx
mov ecx, r8d
mov eax, r8d
not ecx
and eax, r9d
and ecx, r10d
or ecx, eax
mov eax, r8d
add ecx, r12d
add ebx, ecx
mov edi, ebx
shl ebx, 0xb
shr edi, 0x15
or edi, ebx
and eax, edi
mov ecx, edi
not ecx
and ecx, r9d
or ecx, eax
mov eax, edi
add ecx, dword [rsp + 0x3c]
add r10d, ecx
mov esi, r10d
shr r10d, 0xd
shl esi, 0x13
or esi, r10d
and eax, esi
mov ecx, esi
not ecx
and ecx, r8d
or ecx, eax
add ecx, ebp
add r9d, ecx
mov edx, r9d
shr edx, 0x1d
lea eax, [r9*8]
or edx, eax
mov ecx, edx
not ecx
and ecx, edi
mov r13d, dword [rsp + 0x44]
mov eax, esi
mov r14d, dword [rsp + 0x48]
and eax, edx
or ecx, eax
add ecx, r13d
add r8d, ecx
mov r11d, r8d
shl r8d, 7
shr r11d, 0x19
or r11d, r8d
mov ecx, r11d
mov eax, r11d
not ecx
and eax, edx
and ecx, esi
or ecx, eax
mov eax, r11d
add ecx, r14d
add edi, ecx
mov ebx, edi
shl edi, 0xb
shr ebx, 0x15
or ebx, edi
and eax, ebx
mov ecx, ebx
not ecx
and ecx, edx
add edx, 0x5a827999
or ecx, eax
mov eax, ebx
add ecx, dword [rsp + 0x4c]
add esi, ecx
mov ecx, ebx
mov r9d, esi
shr esi, 0xd
shl r9d, 0x13
or r9d, esi
and eax, r9d
or ecx, r9d
and ecx, r11d
mov r8d, r9d
or eax, ecx
add r11d, 0x5a827999
add eax, dword [rsp + 0x10]
add eax, edx
mov edx, r9d
mov r10d, eax
add r9d, 0x5a827999
shr r10d, 0x1d
lea eax, [rax*8]
or r10d, eax
or r8d, r10d
and edx, r10d
mov ecx, r8d
and ecx, ebx
add ebx, 0x5a827999
or ecx, edx
add ecx, dword [rsp + 0x20]
add ecx, r11d
mov r11d, ecx
shl ecx, 5
shr r11d, 0x1b
or r11d, ecx
and r8d, r11d
or r8d, edx
lea eax, [r15 + r8]
add eax, ebx
mov ebx, eax
shl eax, 9
shr ebx, 0x17
or ebx, eax
mov ecx, ebx
mov eax, ebx
and eax, r10d
or ecx, r10d
and ecx, r11d
or eax, ecx
add eax, ebp
add eax, r9d
mov r9d, eax
shl eax, 0xd
add r10d, 0x5a827999
shr r9d, 0x13
mov ecx, ebx
or r9d, eax
mov eax, ebx
or ecx, r9d
and eax, r9d
and ecx, r11d
mov r8d, r9d
or eax, ecx
add r11d, 0x5a827999
add eax, dword [rsp + 0x14]
mov edx, r9d
add eax, r10d
add r9d, 0x5a827999
mov r10d, eax
shr r10d, 0x1d
lea eax, [rax*8]
or r10d, eax
or r8d, r10d
and edx, r10d
mov ecx, r8d
and ecx, ebx
or ecx, edx
add ecx, dword [rsp + 0x24]
add ecx, r11d
mov r11d, ecx
shl ecx, 5
shr r11d, 0x1b
or r11d, ecx
and r8d, r11d
or r8d, edx
add r8d, dword [rsp + 0x34]
lea eax, [r8 + 0x5a827999]
add eax, ebx
mov ebx, eax
shl eax, 9
shr ebx, 0x17
or ebx, eax
mov ecx, ebx
mov eax, ebx
or ecx, r10d
and eax, r10d
and ecx, r11d
add r10d, 0x5a827999
or eax, ecx
mov ecx, ebx
add eax, r13d
add eax, r9d
mov r9d, eax
shl eax, 0xd
shr r9d, 0x13
or r9d, eax
mov eax, ebx
or ecx, r9d
and eax, r9d
and ecx, r11d
mov r8d, r9d
or eax, ecx
add r11d, 0x5a827999
add eax, dword [rsp + 0x18]
mov edx, r9d
add eax, r10d
mov r10d, eax
shr r10d, 0x1d
lea eax, [rax*8]
or r10d, eax
or r8d, r10d
and edx, r10d
mov ecx, r8d
and ecx, ebx
or ecx, edx
add ecx, dword [rsp + 0x28]
add ecx, r11d
mov r11d, ecx
shl ecx, 5
shr r11d, 0x1b
or r11d, ecx
and r8d, r11d
or r8d, edx
lea eax, [r12 + r8]
add ebx, 0x5a827999
add eax, ebx
add r9d, 0x5a827999
mov ebx, eax
shl eax, 9
shr ebx, 0x17
or ebx, eax
mov ecx, ebx
mov eax, ebx
and eax, r10d
or ecx, r10d
and ecx, r11d
add r10d, 0x5a827999
or eax, ecx
mov ecx, ebx
add eax, r14d
add eax, r9d
mov edi, eax
shl eax, 0xd
shr edi, 0x13
or edi, eax
mov eax, ebx
and eax, edi
or ecx, edi
and ecx, r11d
mov r8d, edi
or eax, ecx
add r11d, 0x5a827999
add eax, dword [rsp + 0x1c]
mov edx, edi
add eax, r10d
mov r10d, eax
shr r10d, 0x1d
lea eax, [rax*8]
or r10d, eax
or r8d, r10d
and edx, r10d
mov ecx, r8d
and ecx, ebx
or ecx, edx
add ecx, dword [rsp + 0x2c]
add ecx, r11d
mov r9d, ecx
shl ecx, 5
shr r9d, 0x1b
or r9d, ecx
and r8d, r9d
or r8d, edx
add r8d, dword [rsp + 0x3c]
lea eax, [r8 + 0x5a827999]
add eax, ebx
mov edx, eax
shl eax, 9
shr edx, 0x17
or edx, eax
mov ecx, edx
mov eax, edx
and eax, r10d
or ecx, r10d
and ecx, r9d
add r10d, 0x6ed9eba1
or eax, ecx
mov ecx, edx
add eax, 0x5a827999
add eax, dword [rsp + 0x4c]
add eax, edi
mov r11d, eax
shl eax, 0xd
shr r11d, 0x13
or r11d, eax
mov eax, r9d
xor eax, edx
xor eax, r11d
add eax, dword [rsp + 0x10]
add eax, r10d
mov r8d, eax
shr r8d, 0x1d
lea eax, [rax*8]
or r8d, eax
xor ecx, r11d
xor ecx, r8d
add edx, 0x6ed9eba1
add ecx, r15d
add r9d, 0x6ed9eba1
add ecx, r9d
mov r9d, ecx
shl ecx, 9
shr r9d, 0x17
or r9d, ecx
mov ecx, r9d
xor ecx, r11d
add r11d, 0x6ed9eba1
xor ecx, r8d
add ecx, dword [rsp + 0x20]
add ecx, edx
mov edx, r9d
mov r10d, ecx
add r9d, 0x6ed9eba1
shl ecx, 0xb
shr r10d, 0x15
or r10d, ecx
xor edx, r10d
mov ecx, edx
xor ecx, r8d
add ecx, ebp
add ecx, r11d
mov r11d, ecx
shl ecx, 0xf
shr r11d, 0x11
or r11d, ecx
mov ecx, r10d
xor ecx, r11d
xor edx, r11d
add edx, dword [rsp + 0x18]
add r10d, 0x6ed9eba1
lea eax, [rdx + 0x6ed9eba1]
add eax, r8d
mov r8d, eax
shr r8d, 0x1d
lea eax, [rax*8]
or r8d, eax
xor ecx, r8d
add ecx, r12d
add ecx, r9d
mov r9d, ecx
shl ecx, 9
shr r9d, 0x17
or r9d, ecx
mov ecx, r9d
mov edx, r9d
xor ecx, r11d
add r11d, 0x6ed9eba1
xor ecx, r8d
add ecx, dword [rsp + 0x28]
add ecx, r10d
mov r10d, ecx
shl ecx, 0xb
shr r10d, 0x15
or r10d, ecx
xor edx, r10d
mov ecx, edx
xor ecx, r8d
add ecx, r14d
add ecx, r11d
mov r11d, ecx
shl ecx, 0xf
shr r11d, 0x11
or r11d, ecx
mov ecx, r10d
xor ecx, r11d
xor edx, r11d
add edx, dword [rsp + 0x14]
lea eax, [rdx + 0x6ed9eba1]
add eax, r8d
mov r8d, eax
shr r8d, 0x1d
lea eax, [rax*8]
or r8d, eax
xor ecx, r8d
add ecx, dword [rsp + 0x34]
add r9d, 0x6ed9eba1
add ecx, r9d
add r10d, 0x6ed9eba1
mov ebx, ecx
shl ecx, 9
shr ebx, 0x17
or ebx, ecx
mov ecx, ebx
mov edx, ebx
xor ecx, r11d
add r11d, 0x6ed9eba1
xor ecx, r8d
add ecx, dword [rsp + 0x24]
add ecx, r10d
mov r10d, ecx
shl ecx, 0xb
shr r10d, 0x15
or r10d, ecx
xor edx, r10d
mov ecx, edx
xor ecx, r8d
add ecx, r13d
add ecx, r11d
mov r11d, ecx
shl ecx, 0xf
shr r11d, 0x11
or r11d, ecx
mov ecx, r10d
xor ecx, r11d
xor edx, r11d
add edx, dword [rsp + 0x1c]
lea eax, [rdx + 0x6ed9eba1]
add eax, r8d
mov r9d, eax
shr r9d, 0x1d
lea eax, [rax*8]
or r9d, eax
mov eax, dword [rsp]
xor ecx, r9d
add eax, r9d
add ecx, 0x6ed9eba1
add ecx, dword [rsp + 0x3c]
add ecx, ebx
mov r8d, ecx
shl ecx, 9
shr r8d, 0x17
or r8d, ecx
mov ecx, r8d
xor ecx, r11d
add r11d, 0x6ed9eba1
xor ecx, r9d
add ecx, 0x6ed9eba1
add ecx, dword [rsp + 0x2c]
add ecx, r10d
mov edx, ecx
shl ecx, 0xb
shr edx, 0x15
or edx, ecx
mov rcx, qword [rsp + 8]
add dword [rcx + 8], edx
mov dword [rcx], eax
mov eax, r8d
xor eax, edx
xor eax, r9d
add eax, dword [rsp + 0x4c]
add eax, r11d
ror eax, 0x11
add dword [rcx + 4], eax
add dword [rcx + 0xc], r8d
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401e12d0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret