Function at 0x1802d2ffe
Capabilities:
Encrypt data using speck

Disassembly:
push rax
pushf
mov eax, 0x6882d79
pushf
not eax
add eax, 0xa82e1fbc
xor eax, 0x947b4eed
rol eax, 0xed
popf
pushf
not eax
add eax, 0x8f616cc1
xor eax, 0xb7cb8605
rol eax, 0x80
popf
cmp eax, 4
jne 0x1802d303b
popf
pop rax
jmp 0x1802d3366
cmp eax, 0
jne 0x1802d304a
popf
pop rax
jmp 0x1802d311c
cmp eax, 3
jne 0x1802d3059
popf
pop rax
jmp 0x1802d32dd
cmp eax, 1
jne 0x1802d3068
popf
pop rax
jmp 0x1802d31c4
cmp eax, 0xd
jne 0x1802d3077
popf
pop rax
jmp 0x1802d37fa
cmp eax, 7
jne 0x1802d3086
popf
pop rax
jmp 0x1802d3495
cmp eax, 0xe
jne 0x1802d3095
popf
pop rax
jmp 0x1802d38b6
cmp eax, 0xb
jne 0x1802d30a4
popf
pop rax
jmp 0x1802d36ef
cmp eax, 0xc
jne 0x1802d30b3
popf
pop rax
jmp 0x1802d374f
cmp eax, 8
jne 0x1802d30c2
popf
pop rax
jmp 0x1802d3529
cmp eax, 5
jne 0x1802d30d1
popf
pop rax
jmp 0x1802d33ad
cmp eax, 2
jne 0x1802d30e0
popf
pop rax
jmp 0x1802d3291
cmp eax, 9
jne 0x1802d30ef
popf
pop rax
jmp 0x1802d35be
cmp eax, 0xa
jne 0x1802d30fe
popf
pop rax
jmp 0x1802d366c
cmp eax, 6
jne 0x1802d310d
popf
pop rax
jmp 0x1802d343d
cmp eax, 0xf
jne 0x1802d311c
popf
pop rax
jmp 0x1802d3912
mov r11, qword [0x180259f90]
xor r9d, r9d
mov r10, rdx
mov eax, dword [r11 + 0x3e80]
jmp 0x1802d3131
dec eax
test rcx, rcx
je 0x1802d317e
push rax
pushf
mov eax, 0xadb3ec54
pushf
not eax
add eax, 0xc6cb38e7
xor eax, 0xb4759a88
rol eax, 0x93
popf
pushf
not eax
add eax, 0x8bf9b70e
xor eax, 0xffc74747
rol eax, 0x1f
popf
pushf
not eax
add eax, 0xe6acdb11
xor eax, 0xd43b74b8
rol eax, 0xd3
popf
jmp 0x1802d302c
push rax
pushf
mov eax, 0xfbfea35d
pushf
not eax
add eax, 0x8603cca7
xor eax, 0xd8ccb6f3
rol eax, 0xe9
popf
pushf
not eax
add eax, 0xddb779d6
xor eax, 0xadf87f2a
rol eax, 0xd1
popf
pushf
not eax
add eax, 0x963c1b08
xor eax, 0xa206ec07
rol eax, 0xb3
popf
jmp 0x1802d302c
test dword [rcx + 0xc], 0x1000000
mov r8d, 0xabbe3824
pushf
not r8d
add r8d, 0x9bbdfb4e
xor r8d, 0xed1ea311
rol r8d, 0x46
popf
pushf
not r8d
add r8d, 0xe645dc7b
xor r8d, 0xd2123185
rol r8d, 0xc7
popf
je 0x1802d325e
push rax
pushf
mov eax, 0xc0ea30d4
pushf
not eax
add eax, 0xd86a4287
xor eax, 0xec9bc865
rol eax, 0x24
popf
pushf
not eax
add eax, 0xad895121
xor eax, 0xee9c1669
rol eax, 0x28
popf
pushf
not eax
add eax, 0xdbcfdcd5
xor eax, 0xc4e5aaad
rol eax, 0xda
popf
pushf
not eax
add eax, 0xf05ff036
xor eax, 0xa74cb13d
rol eax, 0xed
popf
jmp 0x1802d302c
push rax
pushf
mov eax, 0x51bfd73d
pushf
not eax
add eax, 0x92b9d0d7
xor eax, 0xe5b43719
rol eax, 0xc0
popf
pushf
not eax
add eax, 0x93f0ae3f
xor eax, 0xeea2dfbc
rol eax, 0x81
popf
jmp 0x1802d302c
mov r8d, r9d
nop dword [rax]
push rax
pushf
mov eax, 0x140bc91
pushf
not eax
add eax, 0xba1cc664
xor eax, 0xd4ce4bd1
rol eax, 0xec
popf
pushf
not eax
add eax, 0xa0d16be5
xor eax, 0xd9c478c2
rol eax, 0xe7
popf
pushf
not eax
add eax, 0xba65856a
xor eax, 0xff8e9497
rol eax, 0x2c
popf
jmp 0x1802d302c
mov rcx, qword [rcx + 0x360]
test dword [rcx + 0xc], 0x1000000
jne 0x1802d3333
push rax
pushf
mov eax, 0x85e8c2f2
pushf
not eax
add eax, 0xab4cb96e
xor eax, 0xbc810b5b
rol eax, 0xe4
popf
pushf
not eax
add eax, 0xa7c0c307
xor eax, 0xe16cd285
rol eax, 0x7a
popf
pushf
not eax
add eax, 0x82ea02c1
xor eax, 0x9f465237
rol eax, 0x94
popf
jmp 0x1802d302c
push rax
pushf
mov eax, 0x809ed7ed
pushf
not eax
add eax, 0xb12507ee
xor eax, 0xc10d59db
rol eax, 2
popf
pushf
not eax
add eax, 0xb90ce9ce
xor eax, 0xf2dec25e
rol eax, 0x91
popf
jmp 0x1802d302c
movsx eax, word [rcx + 0xc2]
push r8
not r8d
sub eax, r8d
pop r8
sub eax, 1
push rax
pushf
mov eax, 0xdc6647eb
pushf
not eax
add eax, 0xe6fa6fe7
xor eax, 0xdcf4dabc
rol eax, 0xde
popf
pushf
not eax
add eax, 0xf31bdf7b
xor eax, 0xfd83b429
rol eax, 0x16
popf
jmp 0x1802d302c
test eax, eax
js 0x1802d33e4
push rax
pushf
mov eax, 0xcb7cb962
pushf
not eax
add eax, 0xbb322def
xor eax, 0xe0c78f58
rol eax, 0x34
popf
pushf
not eax
add eax, 0x9784b8cf
xor eax, 0xda43a19f
rol eax, 0xd4
popf
jmp 0x1802d302c
push rax
pushf
mov eax, 0x7b47335f
pushf
not eax
add eax, 0xfdee6dd0
xor eax, 0x837cf603
rol eax, 0xb6
popf
pushf
not eax
add eax, 0xbe0a21a1
xor eax, 0xf71e4d1f
rol eax, 0x96
popf
pushf
not eax
add eax, 0xe32ee4c7
xor eax, 0x84c84704
rol eax, 0x23
popf
pushf
not eax
add eax, 0x83a94d63
xor eax, 0xf120ffe7
rol eax, 0xdc
popf
jmp 0x1802d302c
movsxd rdx, eax
mov rax, qword [r11 + 0x3e88]
lea r8, [rax + rdx*8]
nop dword [rax]
push rax
pushf
mov eax, 0x5b9158aa
pushf
not eax
add eax, 0x8e0befc6
xor eax, 0xf2e49987
rol eax, 0x34
popf
pushf
not eax
add eax, 0xc1aab8ce
xor eax, 0xfb711826
rol eax, 0x8a
popf
pushf
not eax
add eax, 0x92b135d4
xor eax, 0xd3d60aa1
rol eax, 0x19
popf
jmp 0x1802d302c
mov rcx, qword [r8]
cmp rcx, r10
je 0x1802d34e3
push rax
pushf
mov eax, 0x3ec52d59
pushf
not eax
add eax, 0xdbec9f8f
xor eax, 0xe38bf789
rol eax, 0xa9
popf
pushf
not eax
add eax, 0xfbea4d64
xor eax, 0xf4d9e0f6
rol eax, 0xc7
popf
pushf
not eax
add eax, 0xf032d035
xor eax, 0xec9a8809
rol eax, 0xf2
popf
jmp 0x1802d302c
push rax
pushf
mov eax, 0x41c6dbc5
pushf
not eax
add eax, 0xe5d0212c
xor eax, 0x93f16ec5
rol eax, 0x3f
popf
pushf
not eax
add eax, 0xcbb66b08
xor eax, 0x8c7c5cf4
rol eax, 0xfa
popf
pushf
not eax
add eax, 0xbc4888ab
xor eax, 0xb0f97083
rol eax, 0x4b
popf
jmp 0x1802d302c
cmp byte [rcx + 0xaf], r9b
je 0x1802d3578
push rax
pushf
mov eax, 0xba645e7d
pushf
not eax
add eax, 0xd7a976a4
xor eax, 0xde0e8dd6
rol eax, 0xb
popf
pushf
not eax
add eax, 0xe4a71813
xor eax, 0xc518f358
rol eax, 0xf7
popf
pushf
not eax
add eax, 0xf61bd31c
xor eax, 0xa5fa526a
rol eax, 0x38
popf
jmp 0x1802d302c
push rax
pushf
mov eax, 0x7315d647
pushf
not eax
add eax, 0xc5570445
xor eax, 0xbb1e3d4a
rol eax, 0x59
popf
pushf
not eax
add eax, 0xa5e0c418
xor eax, 0xb9b41a50
rol eax, 0x50
popf
pushf
not eax
add eax, 0xbf4448c0
xor eax, 0x9f9d1905
rol eax, 0x14
popf
jmp 0x1802d302c
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1802d3626
push rax
pushf
mov eax, 0xd15bd4b2
pushf
not eax
add eax, 0xc9888af1
xor eax, 0xcd5d4327
rol eax, 0x96
popf
pushf
not eax
add eax, 0xf1527764
xor eax, 0x9782fa36
rol eax, 0xc2
popf
pushf
not eax
add eax, 0xdb48ff1f
xor eax, 0x92fbf3ee
rol eax, 0x2c
popf
pushf
not eax
add eax, 0xe4b87a3b
xor eax, 0xa835727d
rol eax, 0x47
popf
jmp 0x1802d302c
push rax
pushf
mov eax, 0x27cf07e8
pushf
not eax
add eax, 0xd12e0e90
xor eax, 0xf7156023
rol eax, 0x87
popf
pushf
not eax
add eax, 0xa31d20a5
xor eax, 0xc10c94fc
rol eax, 0xf0
popf
pushf
not eax
add eax, 0xf997f839
xor eax, 0xaf0efb53
rol eax, 0x54
popf
jmp 0x1802d302c
sub r8, 8
sub rdx, 1
jns 0x1802d36bc
push rax
pushf
mov eax, 0x5adca478
pushf
not eax
add eax, 0xf230fa43
xor eax, 0xca2d8034
rol eax, 0x53
popf
pushf
not eax
add eax, 0x8ec11416
xor eax, 0x9afd9924
rol eax, 7
popf
pushf
not eax
add eax, 0xe7da0018
xor eax, 0xce014e63
rol eax, 0x5f
popf
jmp 0x1802d302c
push rax
pushf
mov eax, 0x3fb7f798
pushf
not eax
add eax, 0xc18012dd
xor eax, 0x91c054c6
rol eax, 0x8a
popf
pushf
not eax
add eax, 0xcf7e8745
xor eax, 0xae307f04
rol eax, 0xac
popf
jmp 0x1802d302c
mov rcx, r9
jmp fcn.1802cdf27
mov r9, qword [rcx + 0x390]
test r9, r9
je 0x1802d37a1
push rax
pushf
mov eax, 0xb5725495
pushf
not eax
add eax, 0xebc80c63
xor eax, 0xa6fca033
rol eax, 0xd6
popf
pushf
not eax
add eax, 0xa64b0d6f
xor eax, 0xf58ceccc
rol eax, 0xc5
popf
pushf
not eax
add eax, 0xe750384f
xor eax, 0x980e3ba4
rol eax, 0x67
popf
jmp 0x1802d302c
push rax
pushf
mov eax, 0x1130a6db
pushf
not eax
add eax, 0xfd51ed37
xor eax, 0xba4a0d73
rol eax, 0x7f
popf
pushf
not eax
add eax, 0xc233da8f
xor eax, 0xc0745d9a
rol eax, 0xe7
popf
pushf
not eax
add eax, 0xf7948102
xor eax, 0xea6b0f3b
rol eax, 0x23
popf
pushf
not eax
add eax, 0xa37c6020
xor eax, 0xe6d560b5
rol eax, 0xc9
popf
jmp 0x1802d302c
cmp byte [r9 + 0xaf], 0
jne 0x1802d385d
push rax
pushf
mov eax, 0xea0dafac
pushf
not eax
add eax, 0xf24ebc3f
xor eax, 0x807cc996
rol eax, 0x4f
popf
pushf
not eax
add eax, 0xa23f5bfc
xor eax, 0xe1606e56
rol eax, 0x4d
popf
pushf
not eax
add eax, 0xa8ff58ec
xor eax, 0xe28a51dc
rol eax, 0xca
popf
pushf
not eax
add eax, 0xd0ba683e
xor eax, 0xb12737d0
rol eax, 0x6c
popf
jmp 0x1802d302c
push rax
pushf
mov eax, 0x3b623601
pushf
not eax
add eax, 0xbd28b84c
xor eax, 0xd8332af1
rol eax, 0xbb
popf
pushf
not eax
add eax, 0xd3122aff
xor eax, 0xd690d86b
rol eax, 0xe2
popf
pushf
not eax
add eax, 0xecec98f8
xor eax, 0xc4039936
rol eax, 0xfb
popf
pushf
not eax
add eax, 0xa5f7ea17
xor eax, 0xd7aadd52
rol eax, 0xeb
popf
jmp 0x1802d302c
mov r9, rcx
push rax
pushf
mov eax, 0x919bdcfe
pushf
not eax
add eax, 0x84ad91b2
xor eax, 0xc4db9440
rol eax, 0xc9
popf
pushf
not eax
add eax, 0xab86f490
xor eax, 0xa5d04d0a
rol eax, 0xe0
popf
pushf
not eax
add eax, 0x87cecad4
xor eax, 0xae7e4d52
rol eax, 0xba
popf
pushf
not eax
add eax, 0x9e9ae6a2
xor eax, 0xb091c776
rol eax, 0xce
popf
jmp 0x1802d302c
mov rcx, r9
jmp fcn.1802cdf27