Function at 0x140025a92
Capabilities:
Encrypt data using chaskey

Disassembly:
push rax
pushf
mov eax, 0xddd1d9
pushf
not eax
add eax, 0xb91aa5f6
xor eax, 0xdb6bb952
rol eax, 0xf0
popf
pushf
not eax
add eax, 0xaf14beab
xor eax, 0x802886e5
rol eax, 0xc2
popf
pushf
not eax
add eax, 0xe0665e42
xor eax, 0xe1504bae
rol eax, 0x5d
popf
pushf
not eax
add eax, 0xad19cd28
xor eax, 0xa5da778e
rol eax, 0xa1
popf
cmp eax, 4
jne 0x140025af5
popf
pop rax
jmp 0x140025ee9
cmp eax, 0
jne 0x140025b04
popf
pop rax
jmp 0x140025c03
cmp eax, 3
jne 0x140025b13
popf
pop rax
jmp 0x140025e51
cmp eax, 1
jne 0x140025b22
popf
pop rax
jmp 0x140025cdf
cmp eax, 0xd
jne 0x140025b31
popf
pop rax
jmp 0x14002628c
cmp eax, 7
jne 0x140025b40
popf
pop rax
jmp 0x140026008
cmp eax, 0xe
jne 0x140025b4f
popf
pop rax
jmp 0x1400262d5
cmp eax, 0xb
jne 0x140025b5e
popf
pop rax
jmp 0x1400261b5
cmp eax, 0xc
jne 0x140025b6d
popf
pop rax
jmp 0x1400261f6
cmp eax, 8
jne 0x140025b7c
popf
pop rax
jmp 0x1400260a9
cmp eax, 0x10
jne 0x140025b8b
popf
pop rax
jmp 0x1400263a8
cmp eax, 2
jne 0x140025b9a
popf
pop rax
jmp 0x140025d78
cmp eax, 9
jne 0x140025ba9
popf
pop rax
jmp 0x140026142
cmp eax, 0x12
jne 0x140025bb8
popf
pop rax
jmp 0x140026444
cmp eax, 6
jne 0x140025bc7
popf
pop rax
jmp 0x140025fb5
cmp eax, 0x11
jne 0x140025bd6
popf
pop rax
jmp 0x14002640b
cmp eax, 5
jne 0x140025be5
popf
pop rax
jmp 0x140025f6c
cmp eax, 0xf
jne 0x140025bf4
popf
pop rax
jmp 0x140026358
cmp eax, 0xa
jne 0x140025c03
popf
pop rax
jmp 0x14002619e
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r12d, edx
mov rdi, rcx
xor eax, eax
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 0xf
mov byte [rcx], al
mov dword [rsp + 0x30], 1
mov r14, qword [r8 + 8]
test r14, r14
je 0x140025cac
push rax
pushf
mov eax, 0x3f69bc36
pushf
not eax
add eax, 0xb7993785
xor eax, 0xd225259e
rol eax, 0xbc
popf
pushf
not eax
add eax, 0xa29ad34e
xor eax, 0xadf995f2
rol eax, 0xc
popf
pushf
not eax
add eax, 0xe1ba763e
xor eax, 0xc311e336
rol eax, 0x4c
popf
pushf
not eax
add eax, 0xd874036a
xor eax, 0xcf594d17
rol eax, 0xa7
popf
jmp 0x140025ae6
push rax
pushf
mov eax, 0x36e7068c
pushf
not eax
add eax, 0x9b86015d
xor eax, 0xd8ee8416
rol eax, 0x7b
popf
pushf
not eax
add eax, 0xdcc8f298
xor eax, 0xa6ea6ea1
rol eax, 0x10
popf
jmp 0x140025ae6
cmp r14, 0x7fffffff
ja 0x140025d32
push rax
pushf
mov eax, 0x33d1e5bf
pushf
not eax
add eax, 0x99f9feb1
xor eax, 0x954d3090
rol eax, 0xcd
popf
pushf
not eax
add eax, 0xa9108634
xor eax, 0xfc7a7162
rol eax, 0x3d
popf
pushf
not eax
add eax, 0x8ad7cb55
xor eax, 0xcbc84480
rol eax, 0x73
popf
jmp 0x140025ae6
push rax
pushf
mov eax, 0x4b705a4f
pushf
not eax
add eax, 0xeb85638a
xor eax, 0xf5061669
rol eax, 0x25
popf
pushf
not eax
add eax, 0xdf3639af
xor eax, 0x827987f0
rol eax, 0xee
popf
pushf
not eax
add eax, 0xce0256df
xor eax, 0xdac52734
rol eax, 0xc
popf
jmp 0x140025ae6
mov r15, qword [r8]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov ecx, r12d
call fcn.14001c7b2
mov rsi, rax
shr rax, 0x20
test eax, eax
jne 0x140025df8
push rax
pushf
mov eax, 0x9a91af87
pushf
not eax
add eax, 0xc8cd1ae0
xor eax, 0xbc57a1be
rol eax, 0xa7
popf
pushf
not eax
add eax, 0xcc52d016
xor eax, 0xdd579584
rol eax, 0xc9
popf
pushf
not eax
add eax, 0xc8541791
xor eax, 0xbd262085
rol eax, 0xa1
popf
pushf
not eax
add eax, 0x94c5d1c2
xor eax, 0xb4f584cc
rol eax, 0x70
popf
jmp 0x140025ae6
push rax
pushf
mov eax, 0xe0d25b90
pushf
not eax
add eax, 0xe31f7e59
xor eax, 0xa567975e
rol eax, 0x4b
popf
pushf
not eax
add eax, 0x8b8a28de
xor eax, 0x94c27466
rol eax, 0x96
popf
pushf
not eax
add eax, 0xd27ddd0a
xor eax, 0xfaa3752a
rol eax, 0xc
popf
pushf
not eax
add eax, 0xb506f922
xor eax, 0xc700d76e
rol eax, 0x22
popf
jmp 0x140025ae6
movsxd rcx, esi
mov rdx, qword [rdi + 0x10]
cmp rcx, rdx
ja 0x140025e90
push rax
pushf
mov eax, 0x8786546c
pushf
not eax
add eax, 0xcb572091
xor eax, 0x82c9d82b
rol eax, 8
popf
pushf
not eax
add eax, 0xb10c633a
xor eax, 0x97f05378
rol eax, 0x4f
popf
jmp 0x140025ae6
push rax
pushf
mov eax, 0xa372447a
pushf
not eax
add eax, 0xaff3bbca
xor eax, 0xb663c817
rol eax, 0x35
popf
pushf
not eax
add eax, 0xe16af804
xor eax, 0xce545764
rol eax, 0xae
popf
pushf
not eax
add eax, 0xb8355f47
xor eax, 0xa0c1baf2
rol eax, 0x17
popf
pushf
not eax
add eax, 0xbed9d5e2
xor eax, 0xe326f454
rol eax, 0xfd
popf
jmp 0x140025ae6
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140025f39
push rax
pushf
mov eax, 0x3022afad
pushf
not eax
add eax, 0x8dfbe061
xor eax, 0xe671451c
rol eax, 0xe8
popf
pushf
not eax
add eax, 0xd950680a
xor eax, 0xc4bfdd44
rol eax, 0xc9
popf
pushf
not eax
add eax, 0xb24c0b3a
xor eax, 0xe281f551
rol eax, 0x68
popf
jmp 0x140025ae6
push rax
pushf
mov eax, 0xc54cb27a
pushf
not eax
add eax, 0x81a43f41
xor eax, 0x83f2ea51
rol eax, 0xc9
popf
pushf
not eax
add eax, 0xef2f102b
xor eax, 0xa461e16b
rol eax, 0xbb
popf
jmp 0x140025ae6
mov rax, qword [rdi]
push rax
pushf
mov eax, 0xe675df02
pushf
not eax
add eax, 0xd21124dc
xor eax, 0x8e5fc3ce
rol eax, 0xcc
popf
pushf
not eax
add eax, 0xb72d4011
xor eax, 0xcc07347a
rol eax, 0x57
popf
pushf
not eax
add eax, 0xce4116e8
xor eax, 0xe68fb069
rol eax, 0x4c
popf
jmp 0x140025ae6
mov qword [rdi + 0x10], rcx
mov byte [rax + rcx], 0
jmp 0x1400261f6
mov rbp, rcx
sub rbp, rdx
mov r8, qword [rdi + 0x18]
mov rax, r8
sub rax, rdx
cmp rbp, rax
ja 0x140026076
push rax
pushf
mov eax, 0x12597c4b
pushf
not eax
add eax, 0xd5d9bb69
xor eax, 0xdadb1108
rol eax, 0x25
popf
pushf
not eax
add eax, 0xdb950332
xor eax, 0xed8e6da8
rol eax, 0x6e
popf
pushf
not eax
add eax, 0xcc4d0627
xor eax, 0xa180d461
rol eax, 0x84
popf
pushf
not eax
add eax, 0xee61bdff
xor eax, 0xe626108c
rol eax, 0x7c
popf
jmp 0x140025ae6
push rax
pushf
mov eax, 0x5a2ce1fe
pushf
not eax
add eax, 0xd79239ae
xor eax, 0xfe6bc951
rol eax, 0x86
popf
pushf
not eax
add eax, 0x91dd8f47
xor eax, 0xce34afa6
rol eax, 0xb3
popf
jmp 0x140025ae6
mov qword [rdi + 0x10], rcx
mov rax, rdi
cmp r8, 0xf
jbe 0x1400260fc
push rax
pushf
mov eax, 0xa7d41e1
pushf
not eax
add eax, 0x8ef61575
xor eax, 0xbecbfea3
rol eax, 0xa
popf
pushf
not eax
add eax, 0xad353979
xor eax, 0x9746e514
rol eax, 0xf5
popf
pushf
not eax
add eax, 0xbba60571
xor eax, 0x98570c9d
rol eax, 0xc4
popf
jmp 0x140025ae6
push rax
pushf
mov eax, 0x3def7e89
pushf
not eax
add eax, 0xc83ae8a8
xor eax, 0xc64091bb
rol eax, 0x6d
popf
pushf
not eax
add eax, 0xd486e37a
xor eax, 0xfdf04530
rol eax, 0x58
popf
pushf
not eax
add eax, 0xa646a3e2
xor eax, 0xdf1dc165
rol eax, 0x8a
popf
jmp 0x140025ae6
mov rax, qword [rdi]
push rax
pushf
mov eax, 0x9f1f6db3
pushf
not eax
add eax, 0xfd8a1dd6
xor eax, 0xbd40989b
rol eax, 0x92
popf
pushf
not eax
add eax, 0x9588fb43
xor eax, 0xc589ae23
rol eax, 0x59
popf
pushf
not eax
add eax, 0xdefec8a3
xor eax, 0x98340a51
rol eax, 0x67
popf
pushf
not eax
add eax, 0xe8dd2255
xor eax, 0x969e69d0
rol eax, 0x80
popf
jmp 0x140025ae6
lea rbx, [rax + rdx]
mov r8, rbp
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rbp], 0
jmp 0x1400261f6
mov r9, rbp
mov rdx, rbp
mov rcx, rdi
call fcn.14002ff19
push rax
pushf
mov eax, 0x1f19e33e
pushf
not eax
add eax, 0xbfc27489
xor eax, 0xbe7dc405
rol eax, 0x7d
popf
pushf
not eax
add eax, 0xcc02aded
xor eax, 0xe8280323
rol eax, 0x5d
popf
jmp 0x140025ae6
mov r9, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140026259
push rax
pushf
mov eax, 0x77564ebd
pushf
not eax
add eax, 0xc15b0e62
xor eax, 0x9fd4462c
rol eax, 0x38
popf
pushf
not eax
add eax, 0xe38e3e4d
xor eax, 0xe289340d
rol eax, 0x8a
popf
pushf
not eax
add eax, 0xcf1be5df
xor eax, 0xcca3fdd8
rol eax, 0xed
popf
pushf
not eax
add eax, 0x9aefabc6
xor eax, 0xe80a0323
rol eax, 0x54
popf
jmp 0x140025ae6
push rax
pushf
mov eax, 0x4a004b13
pushf
not eax
add eax, 0xbed3ca84
xor eax, 0xcb725c95
rol eax, 0xa3
popf
pushf
not eax
add eax, 0xa2999a59
xor eax, 0xa5977b2b
rol eax, 0x31
popf
jmp 0x140025ae6
mov r9, qword [rdi]
push rax
pushf
mov eax, 0x3a841829
pushf
not eax
add eax, 0xc7105125
xor eax, 0x8cd47f71
rol eax, 7
popf
pushf
not eax
add eax, 0xedeb0c48
xor eax, 0xc65c27de
rol eax, 0x26
popf
pushf
not eax
add eax, 0x95952659
xor eax, 0xdebd0017
rol eax, 5
popf
jmp 0x140025ae6
mov dword [rsp + 0x20], esi
mov r8d, r14d
mov rdx, r15
mov ecx, r12d
call fcn.14001c7b2
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x140026325
push rax
pushf
mov eax, 0xde199066
pushf
not eax
add eax, 0x8a57f138
xor eax, 0xcd306267
rol eax, 0x4f
popf
pushf
not eax
add eax, 0x9f676dab
xor eax, 0x9e743d23
rol eax, 0xd
popf
jmp 0x140025ae6
push rax
pushf
mov eax, 0xbf9441c8
pushf
not eax
add eax, 0xeea5ba4c
xor eax, 0xcd53f543
rol eax, 0x2c
popf
pushf
not eax
add eax, 0xb54d4818
xor eax, 0x8c713bf3
rol eax, 0xfb
popf
jmp 0x140025ae6
mov rax, rdi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
shr rcx, 0x20
call fcn.1400310a0
int3
call fcn.140029010
int3
shr rsi, 0x20
mov ecx, esi
call fcn.1400310a0
int3