Function at 0x18001b874
Capabilities:
Encrypt data using chaskey

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x57]
sub rsp, 0xe0
mov rdi, qword [rbp + 0x7f]
mov rsi, r9
mov qword [rsp + 0x20], rdi
call fcn.180012418
mov dword [rbp + 0x2b], 0x59c
mov eax, 0xf124
xor ebx, ebx
cmp eax, 0x2c05
je 0x18001bbc5
cmp eax, 0x563b
je 0x18001b971
cmp eax, 0x8586
je 0x18001b8e8
cmp eax, 0x9faf
je 0x18001be0c
cmp eax, 0xf124
jne 0x18001bdfc
mov eax, 0x563b
jmp 0x18001b8ae
mov dword [rbp + 0x17], 0x51ca
add dword [rbp + 0x17], 0xffff6c90
xor dword [rbp + 0x17], 0xfff54d4d
mov dword [rbp + 0x1b], 0xd8ba
imul eax, dword [rbp + 0x1b], 0x36
mov dword [rbp + 0x1b], eax
mov eax, 0xaaaaaaab
shr dword [rbp + 0x1b], 2
add dword [rbp + 0x1b], 0xffff3cfb
mov ecx, dword [rbp + 0x1b]
mul ecx
shr edx, 1
mov dword [rbp + 0x1b], edx
xor dword [rbp + 0x1b], 0xdd111
mov dword [rbp + 0x13], 0xe6f6
mov eax, dword [rbp + 0x13]
lea ecx, [rax + rax*8]
shl ecx, 3
mov dword [rbp + 0x13], ecx
shl dword [rbp + 0x13], 1
xor dword [rbp + 0x13], 0x890886
mov eax, dword [rbp + 0x13]
mov eax, dword [rbp + 0x1b]
mov eax, dword [rbp + 0x17]
mov ecx, dword [rbp + 0x47]
call fcn.18000c870
mov qword [rbp + 0x3f], rax
test rax, rax
je 0x18001bea5
mov eax, 0x2c05
jmp 0x18001b8ae
mov dword [rbp + 0x13], 0x3a66
add dword [rbp + 0x13], 0xffff649b
add dword [rbp + 0x13], 0xffff7d18
shl dword [rbp + 0x13], 0xa
xor dword [rbp + 0x13], 0xfc706400
mov dword [rbp + 0x17], 0xd406
shl dword [rbp + 0x17], 4
imul eax, dword [rbp + 0x17], 0x34
mov dword [rbp + 0x17], eax
xor dword [rbp + 0x17], 0x2b11380
mov dword [rbp + 0x3b], 0x99a6
shl dword [rbp + 0x3b], 5
add dword [rbp + 0x3b], 0x8b66
xor dword [rbp + 0x3b], 0xef1bda58
xor dword [rbp + 0x3b], 0xef081a7f
mov dword [rbp + 0xf], 0x9950
imul eax, dword [rbp + 0xf], 0x61
mov dword [rbp + 0xf], eax
imul eax, dword [rbp + 0xf], 0x13
mov dword [rbp + 0xf], eax
mov eax, 0x1cf06adb
shl dword [rbp + 0xf], 0x10
shr dword [rbp + 0xf], 0xb
xor dword [rbp + 0xf], 0x1fc3d1
mov dword [rbp + 0x2b], 0x2479
add dword [rbp + 0x2b], 0xffffb646
xor dword [rbp + 0x2b], 0xfffbf596
mov dword [rbp + 0x1f], 0xae2e
add dword [rbp + 0x1f], 0x697e
add dword [rbp + 0x1f], 0xffff9536
xor dword [rbp + 0x1f], 0x20fb51a4
shr dword [rbp + 0x1f], 0x10
xor dword [rbp + 0x1f], 0x7c427
mov dword [rbp + 0x27], 0x4b90
xor dword [rbp + 0x27], 0xe4d02992
shl dword [rbp + 0x27], 0xb
add dword [rbp + 0x27], 0xffffca86
xor dword [rbp + 0x27], 0x830547f2
mov dword [rbp + 0x33], 0x6157
mov ecx, dword [rbp + 0x33]
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [rbp + 0x33], ecx
add dword [rbp + 0x33], 0xffff6c82
shl dword [rbp + 0x33], 0xb
xor dword [rbp + 0x33], 0xfb6d4efd
mov dword [rbp + 0x2f], 0x86a4
imul eax, dword [rbp + 0x2f], 0x53
mov dword [rbp + 0x2f], eax
imul eax, dword [rbp + 0x2f], 0x26
mov dword [rbp + 0x2f], eax
mov eax, 0xba2e8ba3
add dword [rbp + 0x2f], 0xffffa705
xor dword [rbp + 0x2f], 0x679a8f9
mov dword [rbp + 0x37], 0x75d2
add dword [rbp + 0x37], 0xffffd543
add dword [rbp + 0x37], 0xffff10a4
mov ecx, dword [rbp + 0x37]
mul ecx
mov eax, 0x2fa0be83
shr edx, 3
mov dword [rbp + 0x37], edx
xor dword [rbp + 0x37], 0x174dc0a4
mov dword [rbp + 0x23], 0x97a8
shl dword [rbp + 0x23], 0xc
add dword [rbp + 0x23], 0xf11e
xor dword [rbp + 0x23], 0xae69683f
shl dword [rbp + 0x23], 9
xor dword [rbp + 0x23], 0x243dd1dd
mov dword [rbp + 0x1b], 0xc7ab
shr dword [rbp + 0x1b], 0xb
shl dword [rbp + 0x1b], 7
xor dword [rbp + 0x1b], 0x17e868e6
mov ecx, dword [rbp + 0x1b]
mul ecx
shr edx, 4
mov dword [rbp + 0x1b], edx
xor dword [rbp + 0x1b], 0x4f86e5
mov eax, dword [rbp + 0x1b]
mov dword [rsp + 0x90], eax
mov eax, dword [rbp + 0x3b]
mov dword [rsp + 0x88], eax
mov rax, qword [rsi]
mov qword [rsp + 0x80], rax
mov eax, dword [rsi + 8]
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 0x23]
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 0x37]
mov dword [rsp + 0x58], eax
mov rax, qword [0x180021028]
mov rcx, qword [rax + 0x60]
mov eax, dword [rbp + 0x2f]
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x17]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x33]
lea rcx, [rbp + 0x47]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x27]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x1f]
mov r9d, dword [rbp + 0x2b]
mov r8d, dword [rbp + 0x13]
mov edx, dword [rbp + 0xf]
mov dword [rsp + 0x20], eax
call fcn.180019db4
mov dword [rbp + 0x2b], 0xe8ec
or dword [rbp + 0x2b], 0x7a00a9b9
mov ecx, eax
xor dword [rbp + 0x2b], 0x7a00e9fd
mov eax, dword [rbp + 0x2b]
cmp ecx, eax
jne 0x18001bea5
mov eax, 0x8586
jmp 0x18001b8ae
mov dword [rbp + 0x1f], 0x2300
shr dword [rbp + 0x1f], 0xe
add dword [rbp + 0x1f], 0xffff0aad
add dword [rbp + 0x1f], 0x9f96
shl dword [rbp + 0x1f], 0xd
xor dword [rbp + 0x1f], 0xf5486000
mov dword [rbp + 0x2b], 0x693
shl dword [rbp + 0x2b], 2
xor dword [rbp + 0x2b], 0x1a4d
mov dword [rbp + 0x23], 0xe8fe
shl dword [rbp + 0x23], 8
imul eax, dword [rbp + 0x23], 0x15
mov dword [rbp + 0x23], eax
mov eax, 0x8421085
mov ecx, dword [rbp + 0x23]
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [rbp + 0x23], ecx
shl dword [rbp + 0x23], 8
xor dword [rbp + 0x23], 0x2773739c
mov dword [rbp + 0xf], 0x303d
add dword [rbp + 0xf], 0x60bc
or dword [rbp + 0xf], 0x18c76ac0
shl dword [rbp + 0xf], 0xb
shr dword [rbp + 0xf], 4
xor dword [rbp + 0xf], 0x3f6f59a
mov dword [rbp + 0x3b], 0x624d
xor dword [rbp + 0x3b], 0x69b04bb9
xor dword [rbp + 0x3b], 0x69baeb89
mov dword [rbp + 0x37], 0xb237
imul eax, dword [rbp + 0x37], 0x39
mov dword [rbp + 0x37], eax
mov eax, 0x5397829d
xor dword [rbp + 0x37], 0x25db69
mov dword [rbp + 0x2f], 0x7b25
or dword [rbp + 0x2f], 0x2d047e5f
xor dword [rbp + 0x2f], 0x2d07d73d
mov dword [rbp + 0x27], 0xaaad
mov ecx, dword [rbp + 0x27]
mul ecx
mov eax, 0xc0e07039
shr edx, 5
mov dword [rbp + 0x27], edx
or dword [rbp + 0x27], 0x4d2eff05
mov ecx, dword [rbp + 0x27]
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [rbp + 0x27], ecx
xor dword [rbp + 0x27], 0x10eedcd
mov dword [rbp + 0x17], 0xad55
imul eax, dword [rbp + 0x17], 0x43
mov dword [rbp + 0x17], eax
mov eax, 0xaaaaaaab
mov ecx, dword [rbp + 0x17]
mul ecx
mov eax, 0xd41d41d5
shr edx, 1
mov dword [rbp + 0x17], edx
xor dword [rbp + 0x17], 0x20e7
mov dword [rbp + 0x33], 0x66e
mov ecx, dword [rbp + 0x33]
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [rbp + 0x33], ecx
xor dword [rbp + 0x33], 0xb5893
mov dword [rbp + 0x13], 0x6193
shl dword [rbp + 0x13], 9
mov eax, dword [rbp + 0x13]
mov dword [rbp + 0x13], eax
mov eax, 0x8d3dcb09
mov ecx, dword [rbp + 0x13]
mul ecx
shr edx, 4
mov dword [rbp + 0x13], edx
xor dword [rbp + 0x13], 0xad53a
mov eax, dword [rbp + 0x13]
mov dword [rsp + 0x90], eax
mov eax, dword [rbp + 0x2b]
mov dword [rsp + 0x88], eax
mov rax, qword [rsi]
mov qword [rsp + 0x80], rax
mov eax, dword [rsi + 8]
mov dword [rsp + 0x78], eax
mov rax, qword [rbp + 0x3f]
mov qword [rsp + 0x70], rax
mov eax, dword [rbp + 0x33]
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 0x17]
mov dword [rsp + 0x58], eax
mov rax, qword [0x180021028]
mov rcx, qword [rax + 0x60]
mov eax, dword [rbp + 0x27]
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x47]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x2f]
lea rcx, [rbp + 0x47]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x37]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x3b]
mov r9d, dword [rbp + 0xf]
mov r8d, dword [rbp + 0x1f]
mov edx, dword [rbp + 0x23]
mov dword [rsp + 0x20], eax
call fcn.180019db4
mov dword [rbp + 0xf], 0x1b2f
xor dword [rbp + 0xf], 0x8f8a02ee
mov ecx, eax
imul eax, dword [rbp + 0xf], 0x3e
mov dword [rbp + 0xf], eax
xor dword [rbp + 0xf], 0xe0390a41
xor dword [rbp + 0xf], 0x80efde67
xor dword [rbp + 0xf], 0xa3a4e898
mov eax, dword [rbp + 0xf]
cmp ecx, eax
je 0x18001be93
mov eax, 0x9faf
cmp eax, 0xfd7f
je 0x18001bea5
jmp 0x18001b8ae
mov dword [rbp + 0x13], 0xcacb
mov eax, 0xf0f0f0f1
add dword [rbp + 0x13], 0xffff1af9
xor dword [rbp + 0x13], 0xfe771e82
add dword [rbp + 0x13], 0xffff01eb
xor dword [rbp + 0x13], 0x18e2161
mov dword [rbp + 0x17], 0x8925
xor dword [rbp + 0x17], 0x59b56ec
shl dword [rbp + 0x17], 9
xor dword [rbp + 0x17], 0x37b33d96
mov dword [rbp + 0xf], 0xed4f
xor dword [rbp + 0xf], 0x15a5783e
add dword [rbp + 0xf], 0xffff4b3b
mov ecx, dword [rbp + 0xf]
mul ecx
shr edx, 5
mov dword [rbp + 0xf], edx
mov eax, dword [rbp + 0xf]
shl eax, 4
mov dword [rbp + 0xf], eax
xor dword [rbp + 0xf], 0xa226cd1
mov r9d, dword [rbp + 0xf]
mov r8d, dword [rbp + 0x17]
mov rdx, qword [rbp + 0x3f]
mov ecx, dword [rbp + 0x13]
call fcn.1800015ec
jmp 0x18001bea5
mov rax, qword [rbp + 0x3f]
mov ebx, 1
mov qword [rdi], rax
mov eax, dword [rbp + 0x47]
mov dword [rdi + 8], eax
lea r11, [rsp + 0xe0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret