Function at 0x1000f9dc
Capabilities:
Encrypt data using chaskey

Disassembly:
jmp 0x1000721f
jmp 0x10007d4c
je 0x10006bfe
cmc
cmc
dec eax
add eax, edi
stc
clc
dec eax
cmp edx, ecx
dec eax
cmp eax, edx
jmp 0x1000725b
jmp 0x10011098
jbe 0x10006bfe
sbb esi, ecx
stc
or si, si
sub ecx, 1
bts edi, 2
dec eax
or esi, 0xac5c1079
mov dword [ebp - 4], ecx
adc esi, 0xf975dd08
mov ecx, dword [ebp - 8]
bts si, 2
btr edi, 0x13
sal di, 3
sbb si, ax
add ecx, dword [ebp - 4]
cmp bx, 0xb85b
dec eax
or edi, 0x946c5ba4
shr ecx, 1
sar di, 5
bsf di, di
neg esi
bt esp, 0x1f
mov edi, dword [ebx + ecx*4]
dec eax
add esi, 0xea550328
dec eax
bsr esi, eax
jmp 0x1001318c
jmp 0x10011682
cmc
jmp 0x10006ed0
je 0x10006bfe
clc
stc
jmp 0x1000fc4e
jmp 0x10011239
je 0x10006bfe
dec ch
xor cl, dh
sar cx, 0xb
ror ch, cl
dec eax
add edx, eax
bswap ecx
seta cl
mov ecx, dword [esi + 0x8c]
clc
bt dx, bp
dec eax
add ecx, edx
jmp 0x10010157
stc
stc
jmp 0x1004209b
bsf ebx, esp
mov edi, dword [edx + 0x24]
xchg cx, bx
dec eax
add edi, eax
xor bh, bh
mov ebx, dword [edx + 0x20]
dec eax
movzx ecx, al
dec eax
add ebx, eax
sal ch, 7
dec eax
btc ecx, 0x13
mov dword [ebp - 8], 0
mov cl, 0x76
dec eax
movzx ecx, al
mov ecx, dword [edx + 0x18]
bt esp, 3
stc
cmp ecx, dword [ebp - 8]
jmp 0x10011254
jmp 0x1001227d
jmp 0x1000efaa
ja 0x100083ad
jmp 0x10007933
jbe 0x10011490
add bl, dl
shrd di, dx, cl
shld di, bx, cl
mov edi, dword [edx + 0x24]
bsf bx, cx
dec eax
btr ebx, edi
xchg bx, cx
add cl, 2
dec eax
add edi, eax
sub bl, dh
mov ebx, dword [edx + 0x20]
sbb cl, 5
dec eax
add ebx, eax
ror cl, 3
bswap ecx
bts cx, 5
jmp 0x10042079
jmp 0x1000779c
jmp 0x10002407
jmp 0x100162fa
jb 0x10006c0a
stc
cmp bl, 0x97
bt si, 1
dec eax
cmp eax, dword [ebp - 0x10]
jmp 0x1000fef9
jmp 0x10010f89
jmp 0x100126d0
movzx ecx, word [edi + ecx*2]
sar di, cl
shl di, cl
or di, ax
mov edi, dword [edx + 0x1c]
jmp 0x1000fa68
jb 0x10006c0a
cmc
bt dx, 1
dec eax
cmp eax, dword [ebp - 0x10]
jmp 0x1000ed23
test edi, edi
jmp 0x1000fe05
rol al, 6
test cx, dx
clc
not al
clc
xor al, 0xa7
bt dx, si
neg al
cmp ah, cl
test cx, 0xaef5
xor al, 0xfc
stc
cmp al, byte [edi]
movsx ax, dl
jmp 0x10012971
jae 0x10006c0a
jmp 0x10041817
jb 0x1004208a
cmp edx, edi
stc
test ch, 0x2d
cmp byte [edi - 1], 0
jmp 0x100025e6
dec eax
cmp eax, dword [ebp - 0x10]
jmp 0x100126eb
jmp 0x10002f73
ja 0x100083ad
jmp 0x1000720d
pop eax
jmp 0x100125eb
test al, 0x70
clc
test edi, edi
jmp 0x10012795
test si, 0x3c13
stc
cmp al, byte [edi]
dec eax
lea eax, [edi - 0x638d2153]
mov ah, dh
mov al, 0x96
movsx ax, bl
dec eax
lea edi, [edi + 1]
bswap ax
movzx ax, dl
sets al
movsx ax, al
pop eax
jmp 0x10006da6
je 0x10006bfe
cmc
clc
test edx, 0xee769a84
dec eax
add eax, edi
test bl, 0x32
stc
bt esi, 0x1a
clc
dec eax
cmp eax, edx
jbe 0x10002247
jb 0x10006c0a
bt cx, ax
stc
stc
dec eax
cmp eax, dword [ebp - 0x10]
jmp 0x1000934b
jmp 0x1004213b
cmc
bt edx, edx
movzx ecx, word [edi + ecx*2]
and edi, edi
rol di, 5
sar di, cl
bswap di
mov edi, dword [edx + 0x1c]
stc
cmc
bt ax, bp
dec eax
add edi, eax
cmc
stc
test dl, ah
jmp 0x1000fcb7
jne 0x10013026
shrd di, si, cl
or edi, edx
mov edi, dword [edx + 0x24]
clc
stc
test bh, 0xa0
clc
dec eax
add edi, eax
jmp 0x10007421
jmp 0x1000e84a
ja 0x100083ad
jmp 0x100112cc
jae 0x10006c0a
jmp 0x10041817
jmp 0x100095d2
jmp 0x10012d82
jmp 0x100114a1
jmp 0x100100b5
jae 0x10006c0a
jmp 0x10041817
dec eax
add edi, eax
test dl, 4
mov edi, dword [edi + ecx*4]
bt edi, 5
test edi, edi
jmp 0x10009599
jmp 0x100129be
push eax
not al
setle al
setp al
not al
lodsb al, byte [esi]
jmp 0x10011cec
jmp 0x1000fb93
jb 0x10006c0a
stc
clc
cmp ebp, ebp
dec eax
cmp eax, dword [ebp - 0x10]
jmp 0x1000f7f4
jb 0x10006c0a
stc
dec eax
cmp eax, dword [ebp - 0x10]
jmp 0x100078cf
jmp 0x100418ea
jmp 0x10042184
je 0x10006bfe
sub cx, di
rol ch, cl
bts cx, 1
or cx, 0xc88a
dec eax
add edx, eax
test cl, ch
dec eax
bswap ecx
mov ecx, dword [esi + 0x8c]
clc
cmc
cmc
bt sp, dx
dec eax
add ecx, edx
stc
test ch, 0xb0
bt si, 0xe
bt ax, sp
dec eax
mov dword [ebp - 0x10], ecx
dec eax
lea ecx, [edi*4 - 0x70ff8a8d]
and cx, bx
ror ecx, 8
rol cx, cl
dec eax
mov ecx, dword [ebp + 0x18]
jmp 0x10011cd9
jmp 0x10006a58
jae 0x10006c0a
jmp 0x10041817
jae 0x10006c0a
jmp 0x10041817
je 0x10006bfe
clc
setbe dl
btc dx, ax
mov esi, dword [eax + 0x3c]
adc dl, 0xf
neg dh
dec eax
add esi, eax
stc
btr dx, 8
mov edx, dword [esi + 0x88]
jmp 0x10042166
bt sp, bx
xor al, 0xfc
bt bx, bp
jmp 0x100082e4
test ch, 0xa3
movsx ax, cl
not ah
dec eax
mov dword [esp + 8], ecx
bts eax, 2
dec eax
mov dword [esp + 0x10], edx
rcl ah, cl
push ebp
dec eax
xadd eax, ebp
dec eax
mov ebp, esp
rcr ax, 0xb
stc
dec eax
sub esp, 0x18
ror ax, cl
btr ax, si
setns al
push esi
neg ah
add ah, 0xa6
push edi
dec eax
sal eax, cl
cmp ebp, 0xf88c3f19
push ebx
bsr eax, ebx
btc ax, ax
sbb al, ah
bswap ax
push edx
cmp dl, ch
adc eax, 0xb05d3e38
dec eax
mov eax, dword [ebp + 0x10]
test ah, bl
dec eax
test eax, eax
jmp 0x1000fa4e
jae 0x10006bfe
jmp 0x10013cb2
jmp 0x1000f82d
jmp 0x100024eb
cmp dl, 0x57
dec eax
add edi, eax
stc
mov edi, dword [edi + ecx*4]
bt edx, edx
jmp 0x10008256
jne 0x10013026
mov di, 0x2069
shr di, cl
cmp esp, ecx
mov edi, dword [edx + 0x24]
jmp 0x1000fe14
dec eax
add eax, edi
dec eax
cmp esp, 0x4d55afa9
dec eax
cmp eax, edx
jle 0x10008bb4
jb 0x10006c0a
clc
stc
bt si, ax
bt esi, 5
dec eax
cmp eax, dword [ebp - 0x10]
jmp 0x10009305
mov edi, dword [edi + ecx*4]
jmp 0x100116eb
cmc
dec eax
add edi, eax
dec eax
bt ebx, 7
dec eax
test edx, 0x72a4c15e
clc
cmc
movzx ecx, word [edi + ecx*2]
movsx di, cl
dec eax
rol edi, 0x22
mov edi, dword [edx + 0x1c]
clc
clc
dec eax
add edi, eax
stc
clc
clc
mov edi, dword [edi + ecx*4]
cmp bp, sp
bt sp, di
cmc
test dl, 0x91
test edi, edi
jmp 0x100091c9
jmp 0x10008318
clc
cmp ch, 0xb9
test bl, 0xf1
dec eax
add edi, eax
cmp al, 0x1f
test al, 0x97
test cx, dx
stc
movzx ecx, word [edi + ecx*2]
xor edi, 0x9f7daa4a
or di, di
mov edi, dword [edx + 0x1c]
dec eax
cmp esi, esi
cmp cx, 0x5910
dec eax
add edi, eax
clc
stc
cmc
test cl, ch
mov edi, dword [edi + ecx*4]
jmp 0x1000eaaf
jmp 0x10008ec2
jae 0x10006c0a
jmp 0x10041817
jmp 0x10011574
dec eax
mov dword [ebp - 0x10], ecx
add ch, ch
dec eax
mov ecx, dword [ebp + 0x18]
bt dx, ax
jmp 0x10011e49
jbe 0x10011490
jg 0x10006bc1
mov edi, dword [edx + 0x24]
bts cx, bx
clc
neg ch
dec eax
add edi, eax
mov ecx, edx
dec ch
mov ebx, dword [edx + 0x20]
clc
dec eax
add ebx, eax
stc
mov dword [ebp - 8], 0
clc
xor ch, dh
mov ecx, dword [edx + 0x18]
test ah, 0xd9
cmp ebp, edx
cmp ecx, dword [ebp - 8]
jmp 0x1000fa5e
jmp 0x10012f64
jb 0x10006c0a
jmp 0x10007af0
jbe 0x10006bfe
bt dx, si
shrd di, bp, cl
shld di, sp, cl
btc edi, ebp
sub ecx, 1
sub si, ax
xchg si, di
dec eax
bswap esi
inc esi
mov dword [ebp - 4], ecx
stc
mov ecx, dword [ebp - 8]
test bh, 0xdf
add ecx, dword [ebp - 4]
or di, 0x6557
sbb si, 0xd710
shr ecx, 1
movsx si, cl
shl si, cl
mov edi, dword [ebx + ecx*4]
dec eax
lea esi, [esi - 0x7e69d05c]
sar esi, cl
add si, 0x3254
dec eax
add edi, eax
jmp 0x10042122
jbe 0x10011490
sub edi, 0x5ab618dc
bswap cx
mov edi, dword [edx + 0x24]
btc cx, si
btc bx, 1
dec eax
add edi, eax
cmp di, 0x563c
rol bl, 7
mov ebx, dword [edx + 0x20]
shld ecx, ebp, 0xa
dec eax
add ebx, eax
dec eax
lea ecx, [ebx - 0x5d5a9670]
mov dword [ebp - 8], 0
not cl
stc
mov ecx, dword [edx + 0x18]
cmc
cmp ecx, dword [ebp - 8]
jmp 0x10011011
jb 0x1004208a
cmc
cmp byte [edi - 1], 0
jg 0x100090ae
jne 0x10013026
movzx di, cl
shl edi, cl
mov edi, dword [edx + 0x24]
cmc
jmp 0x1000fcbf
jb 0x1004208a
bt cx, 1
dec eax
cmp esp, 0xb9e4ba83
cmp byte [edi - 1], 0
jmp 0x10010f59
jbe 0x10006bfe
shld si, cx, 0xd
dec eax
not esi
sub ecx, 1
cmp al, 0xf5
shrd esi, esi, cl
dec eax
shr esi, 0x37
cmp di, ax
mov dword [ebp - 4], ecx
mov cl, bh
mov ecx, dword [ebp - 8]
not di
add ecx, dword [ebp - 4]
movzx edi, bl
shr ecx, 1
stc
btr esi, esi
shl edi, cl
mov edi, dword [ebx + ecx*4]
bt di, 0xc
cmp di, di
dec eax
add edi, eax
mov esi, 0xb6cdcc1a
dec eax
movsx esi, cl
mov si, si
dec eax
lea esi, [ecx + 0x458bd14e]
dec eax
mov esi, dword [ebp + 0x18]
jmp 0x10011500
jmp 0x100110e5
je 0x10006bfe
stc
dec eax
add edx, eax
cmc
rcr cl, 5
mov ecx, dword [esi + 0x8c]
cmc
bt edx, 0x11
dec eax
add ecx, edx
cmc
jae 0x10011c16
bt sp, dx
stc
dec eax
mov dword [ebp - 0x10], ecx
setl ch
dec eax
mov ecx, dword [ebp + 0x18]
bt di, ax
dec eax
cmp ecx, 0xffff
jmp 0x10006edb
bt bp, 0xe
sub ecx, dword [edx + 0x10]
clc
cmp ecx, dword [edx + 0x14]
jmp 0x10011865
je 0x10006bfe
cmc
dec eax
add eax, edi
clc
bt ax, dx
clc
dec eax
cmp eax, edx
jmp 0x100116db
jmp 0x10041a03
jbe 0x10011490
bt bx, 5
mov edi, dword [edx + 0x24]
ror cx, 2
bts ebx, 0x15
and bl, 6
clc
dec eax
add edi, eax
movsx ebx, cl
clc
mov ebx, dword [edx + 0x20]
mov cl, dl
bts cx, ax
dec eax
movzx ecx, al
dec eax
bsf ecx, eax
dec eax
add ebx, eax
cmc
rcl cx, 6
sar cx, cl
mov dword [ebp - 8], 0
bts ecx, 0x1a
dec eax
cmp ebx, 0x9558cd26
shrd cx, ax, cl
mov ecx, dword [edx + 0x18]
jmp 0x10015da8
cmp bh, 0x52
stc
dec eax
add edi, eax
jmp 0x10008a02
jne 0x10013026
cmc
sar di, cl
mov edi, dword [edx + 0x24]
clc
dec eax
add edi, eax
bt di, 4
movzx ecx, word [edi + ecx*2]
dec eax
btc edi, 0x1a
bt edx, ebp
dec eax
neg edi
btr edi, edx
mov edi, dword [edx + 0x1c]
bt cx, 5
jmp 0x10012299
jmp 0x1000e919
test si, 0xf84a
clc
test edi, edi
jmp 0x10007cda
jmp 0x1000fa43
je 0x10006bfe
bt dx, 0xb
stc
test cl, 0x6f
cmp edx, esp
dec eax
add eax, edi
cmc
dec eax
cmp eax, edx
jmp 0x10006ff7
mov ah, bl
sets al
dec eax
lea edi, [edi + 1]
jmp 0x10012ee8
jmp 0x100112fb
clc
dec eax
mov dword [ebp - 0x10], ecx
ror ch, cl
btr cx, di
clc
dec eax
test ebp, 0x74eb568
dec eax
mov ecx, dword [ebp + 0x18]
clc
cmc
test cl, dl
dec eax
cmp ecx, 0xffff
jmp 0x1001150c
cmc
clc
not al
cmc
stc
stc
xor al, 0xa7
stc
stc
test bh, 0x7d
neg al
clc
jmp 0x1000f8b7
cmp edx, eax
dec eax
cmp ecx, 0xffff
jmp 0x1000246d
cmc
rol al, 6
dec eax
cmp ebp, edx
clc
not al
jmp 0x100417a2
clc
dec eax
cmp ecx, 0xffff
jmp 0x1001095d
neg al
cmc
xor al, 0xfc
cmp ebp, 0x757e8647
cmp al, byte [edi]
setle ah
jmp 0x10011a99
ja 0x100083ad
jmp 0x1000308f
cmp ax, cx
dec eax
add edi, eax
test dh, bl
mov edi, dword [edi + ecx*4]
bt ecx, ebp
jmp 0x10007801
jmp 0x10008eb7
jb 0x10006c0a
stc
dec eax
cmp eax, dword [ebp - 0x10]
jmp 0x100424e5
jmp 0x1000f465
jmp 0x100119d5
not ah
movzx ax, dl
dec eax
lea edi, [edi + 1]
movsx ax, bl
pop eax
jmp 0x10002edd
je 0x10006bfe
cmp bh, bl
dec eax
add eax, edi
stc
dec eax
cmp eax, edx
jmp 0x100073fe
jne 0x10013026
dec eax
bt edx, esi
dec eax
add edi, esp
dec di
test dh, bl
mov edi, dword [edx + 0x24]
bt si, 2
stc
cmp dl, ch
clc
dec eax
add edi, eax
clc
stc
movzx ecx, word [edi + ecx*2]
bsf di, di
cmc
bt bp, 8
mov edi, dword [edx + 0x1c]
jmp 0x10009470
mov al, dl
lodsb al, byte [esi]
stc
rol al, 6
jmp 0x10011c7c
movsx ax, al
mov ah, ch
pop eax
jmp 0x10002258
jne 0x10013026
dec eax
bt esi, 4
bts edi, 9
mov edi, dword [edx + 0x24]
jmp 0x100100f3
btc si, di
dec eax
add edi, eax
not esi
dec eax
mov esi, dword [ebp + 0x18]
jmp 0x10009039
lodsb al, byte [esi]
bt cx, 2
jmp 0x10007816
jmp 0x100026a3
jb 0x1004208a
test dh, ah
clc
jp 0x100421ca
cmp byte [edi - 1], 0
jmp 0x10008ab3
xor al, 0xa7
bt ax, 0xf
clc
bt bp, dx
jmp 0x10011f71
test edi, edi
jmp 0x1000714b
push eax
mov al, bl
jmp 0x1001319e
mov dword [ebp - 8], 0
shld cx, dx, cl
bts ecx, esp
mov ecx, dword [edx + 0x18]
xor al, 0xfc
cmc
cmp al, byte [edi]
bswap eax
bswap ax
bswap ax
dec eax
lea edi, [edi + 1]
bswap ax
movzx ax, al
setl al
jmp 0x1000821e
dec eax
not esi
bswap si
dec eax
mov esi, dword [ebp + 0x18]
jmp 0x100083dc
push eax
not al
jl 0x10012ed7
lodsb al, byte [esi]
cmc
stc
rol al, 6
stc
test dl, ah
stc
not al
stc
stc
xor al, 0xa7
clc
neg al
jmp 0x10006b6f
cmp esp, esp
stc
test edx, edx
jp 0x10006dd7
je 0x1000f186
jmp 0x10011b80
jae 0x10006c0a
jmp 0x10041817
stc
stc
stc
cmc
cmp byte [edi - 1], 0
jmp 0x1000e59d
jae 0x10006c0a
jmp 0x10041817