Function at 0x140066722
Capabilities:
Encrypt data using chaskey

Disassembly:
push rax
pushf
mov eax, 0x5494173d
pushf
not eax
add eax, 0xe209643b
xor eax, 0x90f68ee0
rol eax, 0xa8
popf
pushf
not eax
add eax, 0xdd1c3171
xor eax, 0x871057f5
rol eax, 0xd
popf
pushf
not eax
add eax, 0xab432135
xor eax, 0xec272f93
rol eax, 0xe6
popf
pushf
not eax
add eax, 0x8c7db5c4
xor eax, 0xd222f7a0
rol eax, 0x83
popf
cmp eax, 4
jne 0x140066785
popf
pop rax
jmp 0x140066b53
cmp eax, 0
jne 0x140066794
popf
pop rax
jmp 0x1400668b1
cmp eax, 3
jne 0x1400667a3
popf
pop rax
jmp 0x140066aff
cmp eax, 1
jne 0x1400667b2
popf
pop rax
jmp 0x1400669de
cmp eax, 0xd
jne 0x1400667c1
popf
pop rax
jmp 0x14006706b
cmp eax, 7
jne 0x1400667d0
popf
pop rax
jmp 0x140066d6e
cmp eax, 0xe
jne 0x1400667df
popf
pop rax
jmp 0x1400670f9
cmp eax, 0xb
jne 0x1400667ee
popf
pop rax
jmp 0x140066edb
cmp eax, 0xc
jne 0x1400667fd
popf
pop rax
jmp 0x140066fa8
cmp eax, 8
jne 0x14006680c
popf
pop rax
jmp 0x140066db2
cmp eax, 0x10
jne 0x14006681b
popf
pop rax
jmp 0x140067163
cmp eax, 2
jne 0x14006682a
popf
pop rax
jmp 0x140066a88
cmp eax, 9
jne 0x140066839
popf
pop rax
jmp 0x140066e56
cmp eax, 0x12
jne 0x140066848
popf
pop rax
jmp 0x14006720a
cmp eax, 6
jne 0x140066857
popf
pop rax
jmp 0x140066cd1
cmp eax, 0x11
jne 0x140066866
popf
pop rax
jmp 0x14006719d
cmp eax, 5
jne 0x140066875
popf
pop rax
jmp 0x140066c12
cmp eax, 0x13
jne 0x140066884
popf
pop rax
jmp 0x140067284
cmp eax, 0xa
jne 0x140066893
popf
pop rax
jmp 0x140066ea6
cmp eax, 0x14
jne 0x1400668a2
popf
pop rax
jmp 0x1400672bd
cmp eax, 0xf
jne 0x1400668b1
popf
pop rax
jmp 0x140067155
push rbx
push rsi
push r12
push r13
push r14
sub rsp, 0x30
mov r14, qword [rcx + 0x10]
movabs rbx, 0x3485ca531797e77d
pushf
not rbx
add rbx, 0x739e4422
xor rbx, 0x64ed910a
rol rbx, 0xf5
popf
pushf
not rbx
add rbx, 0x5013631e
xor rbx, 0x65967684
rol rbx, 0xa0
popf
pushf
not rbx
add rbx, 0x564ad357
xor rbx, 0x59a4429d
rol rbx, 0x6d
popf
pushf
not rbx
add rbx, 0x46dba271
xor rbx, 0x72c0603f
rol rbx, 0x34
popf
mov r12, qword [rsp + 0x88]
mov rax, rbx
mov r13, qword [rsp + 0x80]
sub rax, r14
mov rsi, rcx
cmp rax, rdx
jb 0x140066985
push rax
pushf
mov eax, 0x4fc5914d
pushf
not eax
add eax, 0xbb9562b3
xor eax, 0xc4fdbdaa
rol eax, 0x4f
popf
pushf
not eax
add eax, 0xd1cf7089
xor eax, 0x936798ef
rol eax, 0xe5
popf
jmp 0x140066776
push rax
pushf
mov eax, 0x27b92cd7
pushf
not eax
add eax, 0x9041f75d
xor eax, 0xef7e0092
rol eax, 0x84
popf
pushf
not eax
add eax, 0xfc811859
xor eax, 0xfe89e06f
rol eax, 0x65
popf
pushf
not eax
add eax, 0xd723d3d3
xor eax, 0xa7e87ffb
rol eax, 0x8d
popf
pushf
not eax
add eax, 0xb94d2975
xor eax, 0x8389f0e1
rol eax, 0xe9
popf
jmp 0x140066776
mov qword [rsp + 0x70], rbp
mov rbp, qword [rcx + 0x18]
mov qword [rsp + 0x20], r15
lea r15, [rdx + r14]
mov rdx, r15
or rdx, 0xf
cmp rdx, rbx
ja 0x140066a42
push rax
pushf
mov eax, 0x32ae6d9d
pushf
not eax
add eax, 0xf556730c
xor eax, 0xd758004f
rol eax, 0xd8
popf
pushf
not eax
add eax, 0xb56227f3
xor eax, 0xc59cd1e3
rol eax, 0xd1
popf
pushf
not eax
add eax, 0x97d4fcff
xor eax, 0xcbb8495d
rol eax, 0x35
popf
jmp 0x140066776
push rax
pushf
mov eax, 0x29cac12c
pushf
not eax
add eax, 0xba1cedb4
xor eax, 0xb46af87a
rol eax, 0xcb
popf
pushf
not eax
add eax, 0xb9faddfe
xor eax, 0xc2053752
rol eax, 0xd6
popf
pushf
not eax
add eax, 0xdfbea21b
xor eax, 0xfc324d2a
rol eax, 0xda
popf
jmp 0x140066776
mov rcx, rbp
mov rax, rbx
shr rcx, 1
sub rax, rcx
cmp rbp, rax
ja 0x140066acc
push rax
pushf
mov eax, 0xcb84f428
pushf
not eax
add eax, 0xf990f9fd
xor eax, 0xd4ebf7a9
rol eax, 0xb9
popf
pushf
not eax
add eax, 0xc79adb18
xor eax, 0xcba50b3f
rol eax, 0xde
popf
jmp 0x140066776
push rax
pushf
mov eax, 0xd7d8ffff
pushf
not eax
add eax, 0x9c1e10c5
xor eax, 0x91066af6
rol eax, 0xbe
popf
pushf
not eax
add eax, 0x921f0a95
xor eax, 0xbccc2c08
rol eax, 0x31
popf
jmp 0x140066776
lea rax, [rcx + rbp]
mov rbx, rdx
cmp rdx, rax
cmovb rbx, rax
push rax
pushf
mov eax, 0x67504d90
pushf
not eax
add eax, 0xe91ed7a3
xor eax, 0xb90660fb
rol eax, 0xed
popf
pushf
not eax
add eax, 0xbb993cb1
xor eax, 0x9a41612a
rol eax, 0x6c
popf
pushf
not eax
add eax, 0x98306897
xor eax, 0xc0e49a4f
rol eax, 0xf9
popf
jmp 0x140066776
mov rcx, rbx
mov qword [rsp + 0x28], rdi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x140066bb9
push rax
pushf
mov eax, 0xeea8ac06
pushf
not eax
add eax, 0xadfdf217
xor eax, 0x88c3dbbc
rol eax, 0xdc
popf
pushf
not eax
add eax, 0xab0b78d1
xor eax, 0xfa244b61
rol eax, 0x9d
popf
pushf
not eax
add eax, 0xc47bad8d
xor eax, 0xe0c4e4d0
rol eax, 0x9f
popf
jmp 0x140066776
push rax
pushf
mov eax, 0x5cb15413
pushf
not eax
add eax, 0x84658860
xor eax, 0xf0f9a477
rol eax, 0x30
popf
pushf
not eax
add eax, 0xf17cc42f
xor eax, 0x8b7ad2c0
rol eax, 0x2b
popf
pushf
not eax
add eax, 0xa3bcc687
xor eax, 0x807c8aa6
rol eax, 0xfc
popf
pushf
not eax
add eax, 0xe76afa1e
xor eax, 0xb24f8e44
rol eax, 0xf8
popf
jmp 0x140066776
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140066c78
push rax
pushf
mov eax, 0x7d8af487
pushf
not eax
add eax, 0xfd8c5b2b
xor eax, 0xf4078798
rol eax, 0x55
popf
pushf
not eax
add eax, 0x9a31ec2e
xor eax, 0xdbf0ebc6
rol eax, 5
popf
pushf
not eax
add eax, 0xb9e5b692
xor eax, 0xdc22528a
rol eax, 0xb0
popf
pushf
not eax
add eax, 0xb395e88d
xor eax, 0xc27f9905
rol eax, 0xdd
popf
jmp 0x140066776
push rax
pushf
mov eax, 0x164a8f73
pushf
not eax
add eax, 0x9359e39c
xor eax, 0xa18384f5
rol eax, 0x62
popf
pushf
not eax
add eax, 0xd5c694d4
xor eax, 0xf9a90b21
rol eax, 0xa5
popf
pushf
not eax
add eax, 0xe3c931ae
xor eax, 0xd8c3d92f
rol eax, 0x8c
popf
pushf
not eax
add eax, 0xe32973b6
xor eax, 0xec9c1f6a
rol eax, 0x88
popf
jmp 0x140066776
mov rcx, rax
call fcn.140057363
test rax, rax
je 0x140066d15
push rax
pushf
mov eax, 0x9f4ca2c9
pushf
not eax
add eax, 0xb53f8b25
xor eax, 0x9e057c99
rol eax, 0xba
popf
pushf
not eax
add eax, 0xe3b9a750
xor eax, 0xd987c8fc
rol eax, 0x2f
popf
jmp 0x140066776
push rax
pushf
mov eax, 0x34e180e5
pushf
not eax
add eax, 0x8066a2c5
xor eax, 0xd4b828c8
rol eax, 0xa0
popf
pushf
not eax
add eax, 0xc4972440
xor eax, 0x9fe5b020
rol eax, 0xdc
popf
pushf
not eax
add eax, 0xedbdeac2
xor eax, 0xfdf33e8a
rol eax, 0x24
popf
pushf
not eax
add eax, 0xae6fafec
xor eax, 0xb142c632
rol eax, 0x2c
popf
jmp 0x140066776
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140066edb
test rcx, rcx
je 0x140066e10
push rax
pushf
mov eax, 0x28bd531f
pushf
not eax
add eax, 0xeda22a7d
xor eax, 0x94689934
rol eax, 0x59
popf
pushf
not eax
add eax, 0xa0ab0f46
xor eax, 0x81725b98
rol eax, 0x35
popf
pushf
not eax
add eax, 0xc4e17f1c
xor eax, 0xf9b78c32
rol eax, 0xe
popf
pushf
not eax
add eax, 0xebfd0794
xor eax, 0xeb17ccf3
rol eax, 0xdb
popf
jmp 0x140066776
push rax
pushf
mov eax, 0x677ace01
pushf
not eax
add eax, 0xe4812e2b
xor eax, 0x9248237d
rol eax, 0x96
popf
pushf
not eax
add eax, 0xe9272780
xor eax, 0xe04dfd5e
rol eax, 7
popf
pushf
not eax
add eax, 0xa8f78492
xor eax, 0xd0a02b98
rol eax, 0xe9
popf
jmp 0x140066776
call fcn.140057363
mov rdi, rax
jmp 0x140066edb
xor edi, edi
push rax
pushf
mov eax, 0xfa3297b9
pushf
not eax
add eax, 0x9ad3f974
xor eax, 0xbbe1a6af
rol eax, 0xe8
popf
pushf
not eax
add eax, 0xe20f01fd
xor eax, 0xb747ece1
rol eax, 7
popf
jmp 0x140066776
mov qword [rsi + 0x10], r15
lea r15, [r12 + rdi]
mov qword [rsi + 0x18], rbx
mov r8, r12
mov rdx, r13
mov rcx, rdi
cmp rbp, 0x10
jb 0x140066f4f
push rax
pushf
mov eax, 0xcb5d6d42
pushf
not eax
add eax, 0xc47fdec1
xor eax, 0x82405651
rol eax, 0xa0
popf
pushf
not eax
add eax, 0xb94133e4
xor eax, 0xa240afeb
rol eax, 0xbd
popf
pushf
not eax
add eax, 0x9ed76e48
xor eax, 0xfd4ce8a2
rol eax, 0x79
popf
pushf
not eax
add eax, 0xa19294a4
xor eax, 0xa4e33541
rol eax, 0xfc
popf
jmp 0x140066776
push rax
pushf
mov eax, 0x583b5025
pushf
not eax
add eax, 0xe042f8db
xor eax, 0x8c03696c
rol eax, 0xf2
popf
pushf
not eax
add eax, 0xf337390a
xor eax, 0xd239a7c0
rol eax, 0x27
popf
pushf
not eax
add eax, 0xb9422c8e
xor eax, 0xf145c2c7
rol eax, 0xe
popf
pushf
not eax
add eax, 0xc31fa76f
xor eax, 0xee325ebf
rol eax, 0x16
popf
jmp 0x140066776
mov rbx, qword [rsi]
call sub.VCRUNTIME140.dll_memcpy
lea r8, [r14 + 1]
mov rdx, rbx
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbp + 1]
cmp rdx, 0x1000
jb 0x140067025
push rax
pushf
mov eax, 0x9f7ae6bd
pushf
not eax
add eax, 0xc996cdec
xor eax, 0x858feb71
rol eax, 0x98
popf
pushf
not eax
add eax, 0xa0a1b72b
xor eax, 0xc8dd3a96
rol eax, 0x15
popf
pushf
not eax
add eax, 0x83331d43
xor eax, 0x913efada
rol eax, 0xd2
popf
pushf
not eax
add eax, 0xad35f50c
xor eax, 0xed1ee898
rol eax, 0xe7
popf
jmp 0x140066776
push rax
pushf
mov eax, 0xa4cb0f5a
pushf
not eax
add eax, 0xb94275a4
xor eax, 0xff06a9d9
rol eax, 0x5e
popf
pushf
not eax
add eax, 0xda9ba209
xor eax, 0x8b082ca8
rol eax, 0x56
popf
pushf
not eax
add eax, 0x990a35be
xor eax, 0xf605f7fd
rol eax, 0x14
popf
jmp 0x140066776
mov rcx, qword [rbx - 8]
add rdx, 0x27
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400670b3
push rax
pushf
mov eax, 0x914a4421
pushf
not eax
add eax, 0xcd625f24
xor eax, 0x9a4f7d17
rol eax, 0xf5
popf
pushf
not eax
add eax, 0xbdc555ea
xor eax, 0xfb108dfd
rol eax, 0x99
popf
jmp 0x140066776
push rax
pushf
mov eax, 0xbc4ebf2f
pushf
not eax
add eax, 0xd74de419
xor eax, 0xe2e5a354
rol eax, 0xf2
popf
pushf
not eax
add eax, 0xaa3c0c10
xor eax, 0xb87097a7
rol eax, 0xba
popf
pushf
not eax
add eax, 0x9e117bed
xor eax, 0x9544a8fe
rol eax, 0x43
popf
jmp 0x140066776
mov rbx, rcx
push rax
pushf
mov eax, 0xb2ab2f18
pushf
not eax
add eax, 0xb0d5ea22
xor eax, 0xf88584b0
rol eax, 0x5e
popf
pushf
not eax
add eax, 0xe4d95421
xor eax, 0x8301d28a
rol eax, 8
popf
pushf
not eax
add eax, 0xd8b9a145
xor eax, 0xf5357881
rol eax, 0x8a
popf
pushf
not eax
add eax, 0xedd38f20
xor eax, 0x8f8cfa7a
rol eax, 0x1a
popf
jmp 0x140066776
mov rcx, rbx
call fcn.14005ad98
jmp 0x14006720a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call sub.VCRUNTIME140.dll_memcpy
lea r8, [r14 + 1]
mov rdx, rsi
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
push rax
pushf
mov eax, 0x773080fc
pushf
not eax
add eax, 0xaeca6fe1
xor eax, 0xd459e42c
rol eax, 0xed
popf
pushf
not eax
add eax, 0xd186030c
xor eax, 0xc7e3366e
rol eax, 0x8d
popf
pushf
not eax
add eax, 0xd96276c3
xor eax, 0xd28aa0ce
rol eax, 0x1d
popf
pushf
not eax
add eax, 0xb0c5e911
xor eax, 0xcf0cd3b0
rol eax, 0xb9
popf
jmp 0x140066776
mov qword [rsi], rdi
mov rax, rsi
mov rdi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x70]
mov r15, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret
call fcn.1400577ae
int3
call fcn.140060a63
int3