Function at 0x25df8ad9a
Capabilities:
Encrypt data using chaskey
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp r13b, 0x2c
jne 0x25df8addd
push r11
inc r11d
rol r11, 0x14
nop
pslld mm7, 0x65
push r14
xchg r11d, r14d
movlhps xmm3, xmm12
psllq mm2, 0x55
paddusw mm5, mm0
pop r14
nop
emms
nop
pcmpgtd mm1, mm7
pop r11
jmp 0x25df8adf3
push rcx
mov rcx, 3
push r8
push r9
pop r9
pop r8
dec rcx
jne 0x25df8ade5
pop rcx
push r11
movss xmm4, xmm11
push r12
shr r11, 0x12
push rcx
ror r11, 6
push rax
nop
push rdx
nop
pop rdx
inc eax
pop rax
shl r11, 0x12
pop rcx
inc r12
pop r12
psrad mm7, 0x27
pop r11
mov esi, dword [0x25dfbf760]
test esi, esi
je 0x25df8ae30
push rdx
neg edx
pop rdx
jmp 0x25df8ba42
cmp r13b, 0x34
jne 0x25df8ae3d
push rcx
punpckldq mm0, mm7
pop rcx
jmp 0x25df8ae44
push r11
inc r11
pop r11
push r13
pmaxub mm2, mm3
pop r13
mov ecx, 0x60
call fcn.25df89e1a
push r8
mov r8, 3
push rdx
pop rdx
dec r8
jne 0x25df8ae5e
pop r8
mov rax, qword [rax + 0x18]
push r8
emms
push r13
sbb r8, r13
push r14
nop
push rax
psrad mm3, 0x2c
push rdx
nop
pop rdx
por mm3, mm1
pop rax
psubusw mm6, mm0
pop r14
rcpss xmm1, xmm4
pop r13
dec r8
pop r8
cmp r13d, 0x2b
je 0x25df8b01d
push r12
not r12b
push rdx
psrlw mm7, 0x3b
emms
push rcx
rol cx, 0xc
rcl rcx, 0xd
psraw mm2, 0x21
push r14
xadd r12d, r14d
movlhps xmm7, xmm14
emms
mov rcx, rdx
push r15
nop
xorps xmm12, xmm13
psrad mm0, 0x33
maxss xmm6, xmm2
inc r12
pop r15
shl r12, 5
shl dl, 2
rol r14b, 1
add r12, rdx
pop r14
nop
punpckldq mm5, mm4
movhlps xmm7, xmm13
pop rcx
psrlq mm6, 0x68
nop
pop rdx
emms
pop r12
cmp r12w, r8w
je 0x25df8b03a
cmp r13w, bx
jne 0x25df8af37
push rdx
rcr rdx, 0x12
push r15
rol r15w, 9
minps xmm10, xmm0
pop r15
nop
pop rdx
jmp 0x25df8af46
push r9
nop
push rbx
emms
nop
pop rbx
sub r9w, 0xa
pop r9
push r8
subss xmm15, xmm14
push rcx
nop
pminsw mm1, mm4
pop rcx
mulps xmm9, xmm12
pop r8
cmp r11b, r15b
je 0x25df8b055
push rbx
psraw mm5, 0x10
push r15
maxss xmm3, xmm10
rol r15w, 0x16
push r10
or r10, r15
or r10d, r15d
subss xmm12, xmm6
push r9
psrlw mm6, 0x1c
nop
psraw mm0, 0x49
emms
pop r9
xchg bl, r10b
paddusw mm6, mm4
nop
pop r10
nop
nop
pop r15
nop
pop rbx
cmp r9b, cl
je 0x25df8b093
push r9
neg r9b
push r15
emms
push r13
rcpps xmm7, xmm2
push r14
or r13d, r9d
push r12
psubusw mm7, mm6
push rcx
nop
pop rcx
neg r12
pop r12
pcmpgtw mm7, mm4
pop r14
nop
pop r13
nop
pop r15
shl r9, 7
pop r9
cmp r13w, r15w
je 0x25df8b0b8
push r13
rol r13d, 0xf
psraw mm4, 0x17
paddusb mm4, mm7
psrlw mm3, 0x4e
push r15
paddsb mm1, mm5
punpckhwd mm5, mm6
paddsb mm3, mm1
pxor mm3, mm4
pop r15
emms
movaps xmm15, xmm10
nop
nop
pop r13
cmp r9w, r15w
je 0x25df8b0f9
jne 0x25df8b121
push r8
shl r8w, 0x15
push r10
add r10d, r8d
orps xmm4, xmm1
pop r10
sbb r8w, 0x10
pop r8
jmp 0x25df8b121
push r9
pmulhuw mm6, mm7
psrld mm1, 0x52
push r10
and r9, r10
pop r10
neg r9b
nop
pop r9
jmp 0x25df8b121
push r12
psraw mm6, 0x40
push r14
emms
push r11
nop
push r13
packuswb mm4, mm2
push rbx
rol r14d, 0x17
push r15
psrlw mm2, 0xc
pop r15
psraw mm2, 0x12
pop rbx
rcr r11w, 3
pop r13
mulps xmm11, xmm1
pop r11
cmp r14, r12
pop r14
nop
pop r12
jmp 0x25df8b121
cmp r13w, r11w
jne 0x25df8b0a9
push rax
ucomiss xmm13, xmm0
pop rax
jmp 0x25df8b0b0
push r12
inc r12d
pop r12
push r14
emms
pop r14
jmp 0x25df8b121
push r11
nop
rcpps xmm8, xmm9
emms
push rbx
dec ebx
nop
pmaxub mm6, mm4
push rdx
punpckhbw mm0, mm2
psrlq mm5, 0x69
push r13
psrld mm3, 0x6a
rcpss xmm0, xmm2
pop r13
emms
emms
psrlq mm3, 0x1b
pop rdx
shl r11d, 0xe
sbb ebx, 7
pop rbx
psrad mm2, 0x2f
psrad mm4, 0x4e
pop r11
jmp 0x25df8b121
push r14
rcl r14, 3
paddusw mm2, mm3
inc r14
nop
push rax
inc r14d
xadd eax, r14d
nop
rcr r14d, 3
pop rax
pmulhuw mm4, mm6
nop
not r14d
psraw mm7, 0x63
pop r14
cmp r13b, r10b
jne 0x25df8b12d
push r14
nop
pop r14
jmp 0x25df8b132
push r8
nop
pop r8
push rbx
psraw mm7, 0x61
pop rbx
push r14
andnps xmm4, xmm6
push rdx
sar r14b, 0xa
psraw mm3, 0x24
push rcx
sub rcx, 0x10
emms
emms
pop rcx
emms
ror r14, 8
pop rdx
emms
pop r14
push rbx
mulps xmm6, xmm3
emms
sar bx, 0xf
nop
paddb mm6, mm0
neg ebx
nop
packssdw mm0, mm4
nop
psrlq mm7, 0x2b
nop
packssdw mm5, mm4
pop rbx
xor ebx, ebx
mov rdx, qword [rax + 0x10]
xor eax, eax
cmp qword [rdx + 0x30], 0
je 0x25df8b538
push r12
inc r12
push r15
psrld mm5, 0xf
sbb r15, 0x10
push r10
por mm2, mm5
orps xmm12, xmm2
test r15b, r10b
pop r10
rol r12b, 4
nop
pop r15
movhlps xmm11, xmm4
pop r12
mov rbx, qword [rdx + 0x30]
push r13
movss xmm15, xmm12
psllq mm0, 0xb
push r9
neg r9d
nop
push r11
dec r9
pcmpgtb mm1, mm4
push r8
psadbw mm7, mm4
minps xmm4, xmm14
pop r8
nop
or r9b, r11b
pop r11
neg r9
emms
pop r9
pcmpeqb mm4, mm7
subps xmm6, xmm3
pop r13
push rcx
psraw mm1, 0x55
push r11
rcl rcx, 0xe
push r14
ucomiss xmm9, xmm13
push r12
pmaxub mm5, mm1
push r8
pcmpeqw mm7, mm3
push rbx
shr ecx, 0x16
push rdx
paddsw mm3, mm7
pop rdx
sbb r12b, 0x17
pop rbx
nop
pop r8
cmp r14b, r11b
pop r12
nop
pop r14
emms
pop r11
emms
pop rcx
movsxd rcx, dword [rbx + 0x3c]
add rcx, rbx
push r11
emms
pandn mm7, mm2
inc r11
push r14
nop
xor r11b, r14b
pcmpeqb mm4, mm6
push rdx
addss xmm8, xmm5
pmaxsw mm3, mm7
push rax
paddsb mm1, mm0
pmaddwd mm7, mm5
pop rax
paddusb mm3, mm6
punpckhwd mm2, mm0
packuswb mm4, mm6
pop rdx
sar r14b, 2
orps xmm1, xmm5
pop r14
pslld mm3, 0xe
psraw mm4, 0xe
pop r11
push r11
dec r11d
emms
neg r11
pxor mm0, mm6
push r10
psubw mm0, mm5
nop
movlhps xmm2, xmm3
push r9
psrad mm6, 0x38
nop
push r15
xorps xmm12, xmm7
pop r15
nop
nop
pop r9
not r10
or r10d, r11d
pand mm6, mm7
pop r10
shl r11w, 0x10
nop
subps xmm1, xmm4
neg r11
pop r11
mov ecx, dword [rcx + 0x88]
push r8
psadbw mm2, mm6
sar r8, 0x17
pmulhuw mm7, mm5
push r13
rcl r8b, 6
mov r8b, 4
xchg r13d, r8d
push rdx
nop
sbb dl, 8
pslld mm5, 0x62
pop rdx
movaps xmm4, xmm14
nop
emms
pop r13
nop
nop
dec r8d
pop r8
test ecx, ecx
jne 0x25df8b329
push rdx
addss xmm14, xmm10
mulps xmm12, xmm14
comiss xmm9, xmm14
inc rdx
push r14
psrad mm5, 0x56
rcpss xmm1, xmm6
maxps xmm4, xmm11
movaps xmm5, xmm11
pop r14
emms
nop
minps xmm6, xmm2
sbb dx, 1
pop rdx
jmp 0x25df8b530
push r15
mov r15, 3
push r8
pop r8
dec r15
jne 0x25df8b332
pop r15
lea rax, [rcx + rbx]
push rcx
nop
shl cl, 0xf
pxor mm6, mm7
nop
dec rcx
push rbx
nop
rcr rbx, 0x15
nop
sub ebx, ecx
push r12
psllq mm0, 0x5d
add bx, r12w
shl r12b, 8
push r10
shl r12b, 0x15
psrad mm0, 2
push r14
neg r14b
pop r14
or r10, rbx
test r12, r10
pop r10
psraw mm6, 0x67
movlhps xmm15, xmm5
packuswb mm3, mm2
pop r12
nop
mov bl, 0x12
nop
por mm3, mm6
pop rbx
paddsw mm7, mm6
dec rcx
paddsw mm5, mm0
rcl rcx, 7
neg rcx
pop rcx
mov ecx, dword [rax + 0xc]
add rcx, rbx
cmp r13d, 0x47
jne 0x25df8b3d5
push r9
nop
push r14
inc r14
shr r14, 0x14
pop r14
nop
pop r9
jmp 0x25df8b3e5
push rax
ror eax, 0x13
push r13
andnps xmm0, xmm4
nop
pop r13
pmullw mm0, mm2
pop rax
push rcx
neg ecx
push r11
emms
sbb ecx, r11d
pop r11
emms
pop rcx
mov r8d, dword [rcx]
or r8d, 0x20202020
cmp r8d, 0x6e72656b
je 0x25df8b446
push r12
nop
dec r12
emms
push rax
rcl rax, 0xc
paddb mm0, mm4
packsswb mm0, mm6
push rbx
test rbx, r12
subps xmm14, xmm0
push r11
emms
emms
pop r11
emms
inc rax
nop
pop rbx
pminsw mm7, mm6
psllq mm6, 0x34
pop rax
emms
sbb r12, 5
pop r12
jmp 0x25df8b530
push r8
subps xmm10, xmm13
psllq mm7, 0x41
mulps xmm6, xmm1
emms
inc r8
push r10
emms
emms
mulss xmm9, xmm11
psrad mm2, 0x45
push rdx
sbb dl, 4
emms
emms
push r14
emms
shr r8w, 1
push r15
psrlw mm2, 0x31
pop r15
emms
sub r8b, r10b
pop r14
sar r10d, 2
inc r8d
shr r8b, 0x15
pop rdx
mov r10d, r8d
emms
sbb r8b, r10b
emms
pop r10
rcpss xmm3, xmm1
rol r8d, 9
pandn mm0, mm5
dec r8d
addss xmm5, xmm4
pop r8
mov ecx, dword [rcx + 4]
or ecx, 0x20202020
cmp ecx, 0x61626c65
jne 0x25df8b4ee
push r14
punpckldq mm3, mm1
push r15
mulps xmm9, xmm3
push rbx
emms
push r8
emms
push rdx
shr r15b, 0x11
pop rdx
nop
pop r8
psubusw mm1, mm2
pop rbx
pcmpgtb mm4, mm0
pop r15
not r14b
pop r14
jmp 0x25df8b538
push rbx
inc rbx
pminsw mm7, mm5
push rcx
sub rcx, 0xb
nop
push r14
mulss xmm1, xmm14
rcr cx, 0xe
push r8
nop
nop
push r10
nop
psubsb mm4, mm1
pop r10
pmulhuw mm6, mm1
emms
pop r8
maxss xmm1, xmm5
mulps xmm12, xmm4
pop r14
ror ecx, 0x16
sbb ecx, 0x17
pop rcx
sbb ebx, 0x14
emms
pop rbx
mov rdx, qword [rdx]
jmp 0x25df8b181
push r12
emms
neg r12w
psraw mm6, 0x3f
comiss xmm11, xmm1
neg r12b
not r12w
psrlq mm2, 0x49
pop r12
test rax, rax
jne 0x25df8b599
push r12
neg r12
nop
neg r12b
push r15
shl r15d, 0xa
psrlq mm4, 0xc
paddusw mm2, mm6
push rbx
ror r12b, 2
not bx
emms
pop rbx
psrld mm5, 0x30
sbb r15b, r12b
psrad mm4, 0x34
pop r15
psrlq mm4, 0x16
emms
andps xmm15, xmm11
pop r12
jmp 0x25df8ba47
push r9
neg r9d
nop
psrld mm7, 0x44
nop
push rcx
emms
rol r9w, 0xf
psrlq mm5, 0x45
sub rcx, 6
pop rcx
emms
psllq mm3, 0x19
rol r9b, 5
dec r9d
pop r9
mov ecx, dword [rax + 0x18]
push r9
shl r9, 0x16
maxps xmm2, xmm7
push r8
psrad mm2, 0x34
xor r9w, r8w
push r13
sub r8b, r9b
nop
push r11
neg r8d
not r8d
pop r11
rcr r8w, 1
paddb mm4, mm1
pop r13
nop
emms
pop r8
pcmpgtd mm5, mm4
psubusw mm7, mm6
pop r9
mov r12d, dword [rax + 0x1c]
add r12, rbx
push r11
neg r11d
push r15
psrad mm7, 0x62
push rbx
pcmpgtd mm7, mm3
push r8
rcl r8w, 4
push rdx
emms
push rcx
nop
push r9
andnps xmm4, xmm11
pop r9
psubw mm5, mm7
pop rcx
dec r11
pop rdx
neg r8b
pop r8
emms
pop rbx
emms
pop r15
subss xmm7, xmm8
pop r11
mov edx, dword [rax + 0x20]
add rdx, rbx
push r12
mov r12, 1
push r8
push rdx
pop rdx
pop r8
dec r12
jne 0x25df8b654
pop r12
mov edi, dword [rax + 0x24]
add rdi, rbx
push r12
nop
nop
pxor mm5, mm7
emms
punpckhwd mm6, mm2
emms
emms
paddd mm6, mm0
punpcklbw mm5, mm4
emms
nop
maxps xmm9, xmm13
pop r12
push r15
dec r15
push r9
nop
dec r9d
push r11
emms
shl r9d, 0xd
inc r11
pop r11
psllq mm0, 0x28
subss xmm15, xmm13
pop r9
mulps xmm8, xmm9
pop r15
push r12
subps xmm14, xmm7
nop
not r12b
push r10
cmp r12w, r10w
emms
dec r12
push r11
psrld mm5, 0x51
addps xmm3, xmm11
push r8
andps xmm13, xmm8
rol r8, 0x14
pop r8
emms
psrld mm6, 0x50
nop
pop r11
emms
psrad mm4, 0x1f
pop r10
shl r12, 0xf
neg r12w
pop r12
lea r10d, [rcx - 1]
lea r13, [0x25dfbf768]
lea rbp, [rdx + r10*4]
add r10, r10
add r10, rdi
cmp r13b, r11b
jne 0x25df8b71c
push rdx
ror dx, 0x14
pop rdx
jmp 0x25df8b724
push r9
sub r9b, 0xe
pop r9
push rbx
nop
pop rbx
mov ecx, dword [rbp]
add rcx, rbx
push r10
rcl r10b, 0x13
push r15
emms
push r13
not r13d
push r12
emms
push rbx
nop
push r11
shl r12d, 0xf
push r9
nop
pop r9
or r10d, r11d
pop r11
sbb bl, 0xd
pop rbx
orps xmm10, xmm6
pop r12
movss xmm6, xmm0
pop r13
pmullw mm4, mm7
pop r15
andps xmm14, xmm6
pop r10
cmp word [rcx], 0
je 0x25df8b974
push r12
psrld mm3, 0x44
pop r12
call fcn.25df8a57f
mov r11d, esi
shl r11, 4
add r11, r13
mov dword [r11], eax
push rcx
psraw mm3, 0x2d
push r10
emms
push rbx
pcmpgtd mm3, mm6
push r14
not r14b
push r11
pmaxub mm6, mm2
pop r11
test bl, r14b
pop r14
emms
pop rbx
movss xmm15, xmm8
pop r10
pslld mm5, 6
pop rcx
movzx eax, word [r10]
mov eax, dword [r12 + rax*4]
mov dword [r11 + 4], eax
push r10
psraw mm3, 0x41
push rdx
emms
psrld mm2, 5
push r9
neg r10w
punpckhbw mm6, mm0
emms
pop r9
psraw mm3, 0x60
neg dl
pop rdx
nop
pop r10
mov eax, dword [r11 + 4]
add rax, rbx
mov qword [r11 + 8], rax
cmp r13w, r10w
jne 0x25df8b813
push r15
packuswb mm3, mm1
push r9
emms
psrld mm6, 0x10
pop r9
nop
pop r15
jmp 0x25df8b824
push r13
punpckhbw mm6, mm4
push rbx
nop
not r13b
pop rbx
rcpss xmm2, xmm4
pop r13
push r10
paddusb mm3, mm4
push rcx
pmaxub mm5, mm1
psrld mm2, 0x1e
pop rcx
nop
pop r10
inc esi
push r10
psraw mm3, 0x39
nop
subps xmm4, xmm5
psrlq mm1, 0x52
push r14
nop
punpckhwd mm5, mm6
psrlw mm2, 0x43
nop
pop r14
nop
subps xmm8, xmm14
rcpss xmm1, xmm7
nop
pop r10
cmp esi, 0x7d0
jne 0x25df8b93e
cmp r13w, cx
jne 0x25df8b90b
push r15
shl r15w, 3
pslld mm0, 0x43
shl r15w, 0xe
pcmpgtd mm7, mm5
nop
push r11
psrld mm0, 0x49
rol r11b, 0x11
psubsb mm4, mm3
psllq mm5, 0x61
push r9
emms
nop
inc r11
push r10
dec r9
emms
push r12
emms
pop r12
psadbw mm7, mm4
nop
pop r10
sbb r15w, 0xb
paddw mm7, mm6
pminsw mm2, mm5
pop r9
nop
pslld mm7, 0x4c
sbb r15d, 7
xadd r11w, r15w
pop r11
psllq mm3, 0x68
rol r15w, 5
packsswb mm6, mm7
dec r15
emms
pop r15
jmp 0x25df8b933
push r8
emms
punpckhwd mm5, mm7
emms
rcpss xmm11, xmm12
emms
mov r8, 4
pmaddwd mm6, mm7
ror r8w, 0x10
nop
nop
paddw mm3, mm7
emms
pop r8
push rcx
shr rcx, 2
pop rcx
jmp 0x25df8b9bf
push r13
psraw mm7, 0x59
psrlw mm6, 0x63
neg r13b
pslld mm7, 0x5d
push r11
not r13
movaps xmm11, xmm3
paddb mm2, mm0
emms
pop r11
addss xmm7, xmm12
neg r13b
psrlw mm0, 0x62
mov r13, 6
pop r13
cmp r13d, r9d
jne 0x25df8b98a
push rbx
dec ebx
push r12
emms
nop
pop r12
psraw mm4, 0x14
pop rbx
jmp 0x25df8b999
push r13
nop
push r15
nop
emms
pop r15
punpckhbw mm1, mm2
pop r13
push r14
pcmpgtb mm5, mm3
push r10
nop
emms
pop r10
mov r14b, 0x13
pop r14
sub rbp, 4
lea rax, [r10 - 2]
cmp rdi, r10
je 0x25df8b9bf
mov r10, rax
jmp 0x25df8b70a
push r13
shl r13w, 0x10
pand mm0, mm2
push r11
nop
and r11d, r13d
push r10
not r11
nop
push rdx
mov r10b, r13b
neg r13b
push r12
emms
movss xmm5, xmm14
pop r12
pxor mm7, mm2
ror r11d, 0xe
pop rdx
punpckhwd mm6, mm5
inc r10
pop r10
psllq mm3, 0x24
paddsw mm5, mm7
pop r11
nop
paddb mm6, mm4
pop r13
mov dword [0x25dfbf760], esi
push r13
psrld mm1, 0x32
emms
nop
sar r13b, 6
emms
push rax
emms
neg r13w
mulps xmm4, xmm0
psubw mm5, mm6
sar rax, 8
pop rax
emms
packuswb mm3, mm1
neg r13b
ror r13d, 0xb
pmaxsw mm2, mm4
psrlq mm4, 0x1a
pop r13
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret