Function at 0x1394063
Capabilities:
Encrypt data using chaskey

Disassembly:
not eax
sbb dx, 0x5da3
call fcn.013a5c91
inc esp
movzx esi, ch
inc edi
mov dword [ebp + esi*8 - 0x5e0], ecx
call fcn.013a80b8
bswap eax
inc eax
ror dx, 0x8f
movzx ecx, dx
neg eax
inc dl
lea edx, [edx*8 + 0x5abc9d2f]
ror eax, 1
sar dx, 0xe1
sar word [esp + ecx*2 - 0xdfb8], 0x27
ror cx, 0x81
not eax
neg ecx
js 0x13b26e8
mov bh, 0x27
jae 0x126cfd8
dec esp
add esp, edx
call fcn.01781f0a
inc ecx
not dl
inc ecx
not ebx
and bp, cx
inc cx
cmovo ebx, esi
inc edi
lea ebx, [edx + ebx - 0x663e8024]
inc ecx
rol ebx, 1
push esi
inc ecx
movzx esi, si
neg ebp
inc esp
xor dword [esp + ebp - 0x10000000], ebx
inc ecx
dec eax
pop esi
push ebx
inc edx
sub byte [esp + edx - 0x5d2adbfa], 0x84
inc si
sub esi, dword [esp + edx - 0x5d2adbfa]
dec ebp
arpl bx, bx
neg word [esp + ebp - 0xffffffc]
call fcn.01365806
lea eax, [edx*8 + 0x7087b192]
lea ebp, [edx + ebp - 0x422be06]
jne 0x1328cb5
xor bl, 0x85
call fcn.01217b52
mov ecx, dword [ebp + edx - 0x422be02]
shl dword [esp + edx*8 - 0x2115f00c], 0x12
neg edx
xor ecx, ebx
rol ecx, 1
inc al
neg word [esp + 6]
bswap ecx
lea edx, [eax + edx*2 + 0xa8eb2b5]
neg byte [esp + 4]
sar dword [esp + 3], 0x36
lea ecx, [ecx + eax - 0xe153b1b]
rol ecx, 1
jmp 0x1348e87
lea eax, [edx + eax*2 - 0x70fdddf3]
lea edx, [edx*4 + 0x45be2e9a]
dec ecx
sub edx, 0xf83742b1
bswap ecx
call fcn.01356c34
push edi
pushfd
mov edi, 0x6a57603
bswap edi
push ebp
mov edi, dword [esp + edi*2 - 0x6ed4a04]
mov dword [esp + 8], 0xe3abed0d
push dword [esp + 4]
popfd
lea esp, [esp + 8]
call fcn.0135236e
mov eax, 0xfcb528a6
dec ecx
sub edi, 4
mov edx, eax
jmp 0x13a57a2
popfd
dec edi
lea esi, [eax - 0x62652b5c]
call fcn.012530e7
add byte [eax], al
push edi
push ebx
inc ecx
inc ebx
insb byte es:[edi], dx
popal
outsb dx, byte [esi]
jne 0x1372078
add bh, bh
ret 0xcbff
movsb byte es:[edi], byte [esi]
cli
jmp 0x30433a5
mov ecx, dword [ebp]
neg eax
shl eax, 0x6e
and eax, eax
xor ecx, ebx
movzx edx, byte [esp + 4]
neg ecx
push edx
sal word [esp + edx - 5], 0x24
ror ecx, 3
not ecx
shr edx, 0x1e
neg ecx
mov dword [esp + edx*2 + 4], eax
inc eax
xor ebx, ecx
lea eax, [edx*4 - 0x76d860e6]
sal dl, 3
sar dword [esp + edx + 3], 0xd4
adc esi, ecx
sar word [esp + edx*2 + 4], 0xad
rol dx, 0x85
je 0x13b3c32
or dword [ebp + 0x12ac0df1], ebp
wait
xor dword [ebx - 0x69eed216], 0x8548a89b
dec eax
test eax, eax
dec eax
lea esp, [esp + 0x28]
je 0x1788222
mov edi, 0xa83a5998
dec eax
neg edi
inc eax
setne bh
dec eax
lea ebx, [0xffea372f]
movzx edi, byte [ebp]
push 0xacb4f1bf
inc ecx
xor edi, ecx
push 0xea9e7c16
and edi, 0xff
inc byte [esp + 9]
mov edi, dword [ebx + edi*4]
call fcn.01788203
jae 0x125abb3
inc ebp
mov cl, byte [ebp + ecx - 0x8a]
dec eax
dec ecx
mov edi, ecx
call fcn.0135cd7c
popfd
rdtsc
nop
push ebx
mov ebx, 0x31a55f84
pushfd
push ecx
mov ecx, 0xedabf1bf
neg bx
mov ebx, dword [esp + ecx + 0x12540e49]
mov dword [esp + 8], 0xfb691c0e
mov ecx, dword [esp + ecx + 0x12540e41]
je 0x1394147
jns 0x1394127
call fcn.013ddc20
inc esp
xor esi, esi
inc ecx
mov edi, edx
inc ecx
ror esi, 3
inc ecx
mov ebx, 0x859435b8
inc ecx
mov eax, 0x6b8c7601
inc edi
lea esi, [edx + esi - 0x468677a9]
inc ecx
not esi
inc ecx
shl eax, 0xcc
call fcn.013c8d2b
mov edi, 0xc491e217
inc esp
movzx esp, bh
inc esp
movzx eax, di
dec ecx
mov esp, ebp
pop edx
dec edi
lea ebp, [eax - 0x19c87cf2]
pop eax
jmp 0x1371fee
inc ecx
mov edx, dword [edi]
xor edx, esi
inc esp
mov ebx, eax
inc edx
ror edx, 1
bswap eax
dec edi
lea edx, [ebx + ebx*2 - 0x4b6405de]
inc ecx
mov edi, ebx
neg edx
movsx ebp, al
inc ecx
movsx ecx, bx
inc edx
add di, ax
inc ebp
movzx eax, bl
inc esp
movsx esi, bp
push esi
adc cx, 0xc038
xor dword [esp + ecx - 0xe8de], edx
dec ecx
lea ebp, [edx + ebp*2 - 0x5669367]
ror ebp, 0xc2
inc ecx
sbb ch, al
pop esi
inc esp
mov ecx, ecx
dec ebp
dec eax
arpl dx, dx
jbe 0x124b676
shl word [esp + edx - 0x5ac00e12], 5
dec eax
neg dword [esp + edx - 0x5ac00e0f]
sal edx, 0xa1
ror eax, 1
inc cl
call fcn.013da64c
mov edx, dword [ecx + eax - 0x38]
inc eax
inc al
neg al
mov dword [edi + eax - 0xc4], edx
lea edi, [edi + eax*4 - 0x316]
jo 0x134727e
mov eax, dword [eax + ebp - 0xcb]
mov edx, 0x7f13d728
js 0x13cb9d3
mov ecx, 0xd6bf9d05
mov edx, ecx
mov dx, word [edi]
mov ax, word [edi + 2]
mov cl, byte [edi + 4]
push 0xeb372001
add edi, 4
call fcn.013b42ad
sub ecx, 0x4e135534
mov edx, eax
bswap eax
xor ebx, ecx
xor eax, 0xa13eb2ab
xchg edx, eax
adc esi, ecx
mov ecx, 0xfc041e8e
xor cx, ax
jmp esi
mov dword [esp + edx], esi
ret 8
lea ebp, [ebp + edx - 0x7f13d72d]
movzx ecx, dx
sbb dx, 0xb119
xadd cl, dh
xor eax, ebx
jmp 0x179b3e6
inc ecx
not ecx
mov ebp, 0x63a81bbc
jmp 0x123d652
and edx, ecx
dec eax
add edx, edx
rol cl, 0xc1
jl 0x122d140
mov bh, 0x8f
mov dword [0x5ea28e36], eax
mov ch, 0x22
xor esp, 0x2291467e
xor esp, 0x2299b2ea
xor esp, 0x22919eba
xor esp, 0x22d90ed2
xor esp, 0xaaeba61a
push ds
xchg edx, eax
out 0x59, al
mov ebx, 0x86a656e7
mov esp, 0xde9338b7
retf