Function at 0x399968e24
Capabilities:
Encode data using base64
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
push rdx
pmaddwd mm7, mm5
emms
push r14
mov r14d, 0xe
sbb r14, rdx
push r10
movaps xmm2, xmm15
nop
push r9
neg r14
xchg r14, r9
push r11
inc r10d
pandn mm7, mm4
pop r11
emms
emms
pop r9
not r10b
rcpss xmm13, xmm15
pop r10
nop
nop
pop r14
psllq mm2, 0x63
neg edx
pop rdx
mov esi, dword [0x399992a40]
test esi, esi
je 0x399968e9c
push r12
addps xmm1, xmm4
push rbx
emms
push r10
emms
pop r10
rcl ebx, 0xf
pop rbx
shl r12b, 0xf
pop r12
jmp 0x399969a9b
push r10
nop
push r8
nop
nop
push r13
neg r10w
andps xmm8, xmm14
rol r13d, 6
push rbx
test ebx, r10d
movhlps xmm15, xmm7
subps xmm14, xmm6
not r8b
push r11
shl bx, 4
dec rbx
not r10d
psubsb mm1, mm6
pcmpgtd mm5, mm6
pop r11
or r8, r10
emms
nop
emms
pop rbx
rcl r8w, 0x13
shl r10b, 8
addss xmm15, xmm12
pop r13
sub r10b, r8b
pcmpeqd mm6, mm3
pop r8
nop
pop r10
mov ecx, 0x60
call fcn.3999682a7
push r14
pcmpeqb mm5, mm1
push rcx
rol r14w, 0x16
paddb mm3, mm1
push r15
nop
dec r14
xor r14b, cl
push rdx
emms
sbb r15b, 3
punpcklbw mm2, mm0
paddd mm0, mm1
push r11
movaps xmm13, xmm8
psubusw mm4, mm5
xadd r15d, edx
pand mm4, mm0
nop
pop r11
emms
mov rdx, 2
psrlq mm5, 0x35
emms
pop rdx
psrlq mm2, 0x40
psllq mm0, 0x25
shr r14b, 8
pop r15
psrlq mm4, 0x66
ucomiss xmm7, xmm15
pop rcx
rol r14w, 5
pop r14
mov rax, qword [rax + 0x18]
push r15
neg r15
emms
psrlq mm7, 0x38
push r10
emms
emms
punpckhbw mm4, mm3
push r14
paddd mm4, mm2
sar r15b, 0xa
dec r14
pop r14
adc r10, r15
psrad mm5, 4
emms
pop r10
emms
packssdw mm0, mm3
emms
pop r15
push rbx
minps xmm9, xmm10
push rdx
emms
push r9
sub ebx, 4
push rcx
addps xmm6, xmm13
pop rcx
shl dx, 8
pop r9
packsswb mm1, mm3
pop rdx
psrld mm7, 0x37
pop rbx
push rdx
shr dl, 0xe
push r13
not r13
push rbx
sub bx, 0xb
push r14
ucomiss xmm13, xmm15
push r8
subss xmm6, xmm1
push r11
adc r11, r14
push r9
pslld mm3, 0x26
pop r9
pminsw mm0, mm2
pop r11
movss xmm15, xmm12
pop r8
nop
pop r14
nop
pop rbx
nop
pop r13
nop
pop rdx
push rbx
dec rbx
push r11
psraw mm6, 3
push r10
psrld mm6, 0x29
push r9
packssdw mm3, mm0
push r13
shr rbx, 0x14
pop r13
nop
pop r9
inc r10d
pop r10
emms
pop r11
psrlw mm1, 8
pop rbx
xor ebx, ebx
mov rdx, qword [rax + 0x10]
xor eax, eax
cmp qword [rdx + 0x30], 0
je 0x3999693aa
push rbx
emms
push r8
comiss xmm6, xmm15
sub bl, 0xf
pop r8
inc ebx
pop rbx
mov rbx, qword [rdx + 0x30]
push r14
emms
push r12
sub r12, 0x17
por mm3, mm6
push rax
rcl r12, 4
neg rax
dec rax
push rcx
nop
nop
nop
mulps xmm11, xmm15
pop rcx
rol r14b, 5
nop
psllq mm6, 0x1f
pop rax
orps xmm15, xmm10
rol r12d, 0x11
pop r12
paddusb mm3, mm5
pop r14
cmp bl, r14b
jne 0x3999690d4
push r8
rol r8, 6
push rbx
not r8b
pmulhuw mm4, mm6
push r13
nop
psrlw mm4, 0xc
minps xmm13, xmm9
pop r13
rcpss xmm15, xmm2
psraw mm5, 0x61
pop rbx
psrlw mm1, 0x3f
pop r8
jmp 0x399969109
push rbx
psrlq mm1, 0x11
addss xmm2, xmm1
shr bl, 6
push r13
emms
emms
movaps xmm15, xmm6
push r9
pand mm7, mm3
nop
not r9d
pop r9
shl r13b, 7
not ebx
paddb mm1, mm6
pop r13
nop
sub bl, 0xa
pslld mm1, 0x56
pop rbx
push rdx
emms
push r12
nop
push rax
psrlq mm7, 3
push r8
pcmpgtw mm1, mm5
pop r8
adc edx, eax
pop rax
adc r12, rdx
pop r12
pmulhuw mm6, mm1
pop rdx
movsxd rcx, dword [rbx + 0x3c]
add rcx, rbx
push rax
psrld mm7, 0x4c
push r8
psrlw mm3, 0x4d
pop r8
rcr ax, 0x11
pop rax
push r10
packuswb mm2, mm7
pop r10
mov ecx, dword [rcx + 0x88]
push r8
nop
push r12
addps xmm12, xmm14
push r14
pxor mm6, mm4
pop r14
mov r8d, r12d
pop r12
pslld mm1, 0x25
pop r8
test ecx, ecx
jne 0x399969176
push r8
nop
pop r8
jmp 0x3999693a2
push r15
nop
push rax
mov r15, rax
push rdx
nop
push rcx
pcmpeqb mm4, mm1
push r12
xadd r12w, r15w
pop r12
emms
pop rcx
nop
pop rdx
emms
pop rax
nop
pop r15
lea rax, [rcx + rbx]
cmp bx, 0x4f
jne 0x399969210
push r11
punpckhbw mm4, mm7
push rcx
xadd cl, r11b
push r8
not cx
push r14
inc ecx
push r13
shl cx, 3
pop r13
emms
pop r14
emms
pop r8
ror r11, 0xf
pop rcx
shr r11, 0x16
pop r11
jmp 0x39996925e
cmp bl, 0x2f
jne 0x399969239
push rbx
punpcklbw mm7, mm4
push r12
sbb r12, 0xa
nop
pop r12
emms
pop rbx
jmp 0x39996924b
push r14
psraw mm4, 5
push rax
not r14
psrld mm7, 0x69
pop rax
nop
pop r14
push r8
andnps xmm0, xmm13
push r10
subss xmm11, xmm4
nop
pop r10
nop
pop r8
push rbx
emms
push rax
orps xmm9, xmm13
shl bx, 8
push rcx
emms
psllq mm7, 0x16
nop
push r15
movlhps xmm1, xmm3
emms
psrlq mm3, 0x1a
mulps xmm4, xmm12
pop r15
sar eax, 0x12
psrld mm0, 0x46
pmulhuw mm1, mm3
pop rcx
inc ebx
paddusw mm0, mm1
pop rax
sar bl, 9
pop rbx
mov ecx, dword [rax + 0xc]
add rcx, rbx
push r15
neg r15d
push rcx
rcr cl, 0x10
push r10
paddw mm5, mm2
pop r10
dec r15d
pop rcx
dec r15
pop r15
mov r8d, dword [rcx]
or r8d, 0x20202020
cmp r8d, 0x6e72656b
je 0x3999692e7
push r10
mov r10, 3
push r11
push r12
pop r12
pop r11
dec r10
jne 0x3999692d3
pop r10
jmp 0x3999693a2
push rcx
mov rcx, 2
push r14
psraw mm6, 0x2d
neg r14
pmaxub mm0, mm1
paddusb mm3, mm4
push rax
psubsb mm7, mm0
dec rax
emms
push r8
andnps xmm11, xmm8
sar r14, 0xe
push r13
sub ax, 0x10
pop r13
adc r14, r8
dec r8d
pop r8
psadbw mm0, mm5
emms
paddsb mm4, mm7
pop rax
nop
paddsw mm2, mm3
punpckhbw mm5, mm2
psraw mm1, 0x1d
pop r14
dec rcx
jne 0x3999692ef
pop rcx
mov ecx, dword [rcx + 4]
or ecx, 0x20202020
cmp ecx, 0x32336c65
jne 0x39996936c
cmp rbx, r14
jne 0x39996935b
push rcx
psllq mm6, 0x35
pop rcx
jmp 0x399969362
push r8
pmaddwd mm2, mm6
pop r8
push r10
comiss xmm5, xmm12
pop r10
jmp 0x3999693aa
push rdx
minps xmm5, xmm6
push r15
psubw mm7, mm1
push r12
inc r15d
push r11
psrlw mm4, 0x32
push r8
ucomiss xmm0, xmm8
push rbx
emms
pop rbx
nop
pop r8
psllq mm6, 0x3f
pop r11
paddusb mm2, mm3
pop r12
pslld mm4, 0x6a
pop r15
pminsw mm5, mm4
pop rdx
mov rdx, qword [rdx]
jmp 0x399969036
push r8
dec r8d
nop
psrad mm6, 0x5c
mulss xmm2, xmm7
push rbx
nop
xorps xmm1, xmm9
emms
inc rbx
pop rbx
rcpss xmm2, xmm7
pcmpgtd mm6, mm2
nop
paddd mm5, mm7
pop r8
test rax, rax
jne 0x3999693f4
push rdx
punpckhbw mm5, mm6
push r10
emms
push r13
sar dx, 9
pop r13
sar dl, 0x10
pop r10
sar edx, 0xc
pop rdx
jmp 0x399969aa0
push r8
shl r8d, 0xc
push rbx
rcpss xmm2, xmm9
push r11
psrld mm3, 0x63
push rdx
paddw mm0, mm5
push r10
psrlw mm6, 0x28
pop r10
pmulhuw mm7, mm5
pop rdx
orps xmm14, xmm1
pop r11
cmp ebx, r8d
pop rbx
rcr r8, 3
pop r8
mov ecx, dword [rax + 0x18]
push r11
psrad mm6, 0x40
push r12
not r12w
test r12d, r11d
push r9
cmp r12w, r11w
emms
ucomiss xmm10, xmm2
pop r9
add r12, r11
movups xmm9, xmm14
pop r12
inc r11
pop r11
mov r12d, dword [rax + 0x1c]
add r12, rbx
push r13
pandn mm6, mm7
inc r13d
por mm6, mm0
emms
rol r13w, 0xe
nop
emms
pop r13
mov edx, dword [rax + 0x20]
add rdx, rbx
push rbx
not bl
push rax
not rbx
push r9
nop
push rcx
add ebx, eax
push r12
pslld mm3, 0x13
push r15
xor rax, rcx
push rdx
pmaxsw mm5, mm7
pop rdx
nop
pop r15
test r12d, r9d
pop r12
movss xmm2, xmm11
pop rcx
psraw mm2, 0x22
pop r9
or rax, rbx
pop rax
emms
pop rbx
mov edi, dword [rax + 0x24]
add rdi, rbx
push r13
nop
push r10
xor r13d, r10d
not r13w
push rax
mov al, 0xd
shr r13d, 0x15
ror r13w, 0x11
pop rax
dec r10d
psraw mm3, 0x5b
pop r10
emms
pop r13
push r9
psraw mm3, 0x16
pcmpeqd mm5, mm0
push r13
nop
pcmpgtd mm2, mm3
push rbx
nop
sbb rbx, 8
push r12
movlhps xmm12, xmm3
psllq mm0, 0xb
push rax
inc r12
mov r12w, ax
pop rax
nop
neg rbx
pop r12
packuswb mm4, mm3
emms
pop rbx
emms
xadd r13d, r9d
pop r13
inc r9d
pmaxub mm4, mm1
pop r9
push r13
rol r13, 9
pop r13
lea r10d, [rcx - 1]
lea r13, [0x399992a48]
lea rbp, [rdx + r10*4]
add r10, r10
add r10, rdi
cmp rbx, 0x5e
je 0x399969659
push rdx
comiss xmm6, xmm15
push rcx
emms
emms
push r8
pslld mm1, 0x3b
nop
pslld mm1, 0x1b
push r13
inc r8d
nop
inc r8
rcr cl, 0x16
push r14
pcmpeqb mm6, mm0
inc r14
paddusw mm5, mm4
addps xmm4, xmm8
emms
pop r14
emms
dec r8d
comiss xmm6, xmm4
not r8
pop r13
shr edx, 3
subps xmm11, xmm12
sub rcx, rdx
pop r8
maxss xmm10, xmm3
emms
pop rcx
emms
pop rdx
cmp r12w, 0x53
je 0x399969693
push r12
maxps xmm5, xmm13
push r15
psraw mm5, 0xf
paddusb mm4, mm6
push r14
rcr r15d, 0x16
packsswb mm7, mm0
paddb mm4, mm1
pop r14
pand mm0, mm6
pcmpeqd mm7, mm6
pop r15
nop
pop r12
cmp r14b, 7
je 0x399969712
push r8
emms
push r10
emms
paddusb mm2, mm4
push r11
test r8d, r10d
andnps xmm2, xmm11
neg r11d
pop r11
neg r10d
adc r10d, r8d
pop r10
not r8
pop r8
cmp r12d, r10d
je 0x399969734
cmp bx, 0x58
jne 0x39996961a
push r10
inc r10
pop r10
jmp 0x39996961f
push rbx
inc rbx
pop rbx
push r11
subss xmm7, xmm1
pop r11
cmp r14, 0x3d
je 0x399969746
push r14
pcmpeqd mm7, mm5
sar r14b, 0xe
push r10
xor r10w, r14w
pop r10
nop
rol r14, 0x11
pop r14
cmp rbx, 0x4e
je 0x39996975c
jne 0x3999697b8
push r15
emms
push r12
not r15w
push rax
xchg r15w, r12w
push r10
shl al, 0xa
push r9
adc r9d, r15d
push rdx
inc r9
pop rdx
movaps xmm3, xmm0
pop r9
emms
pop r10
psadbw mm0, mm2
pop rax
psllq mm1, 0x63
pop r12
emms
pop r15
jmp 0x3999697b8
push r9
psrlq mm3, 0x33
psraw mm2, 0x34
shl r9w, 0x12
movlhps xmm14, xmm3
por mm5, mm7
push r15
subss xmm11, xmm7
shl r9d, 8
rcr r9w, 0x13
psrlw mm3, 0x44
push r12
emms
shl r9b, 2
nop
push rcx
emms
emms
push r14
inc r9
pop r14
paddsw mm7, mm4
inc r9d
pop rcx
mov r15, 2
rol r9w, 2
xorps xmm8, xmm2
pop r12
emms
inc r15
mov r9w, r15w
nop
pop r15
mov r9b, 0xf
psrlq mm1, 0x4f
psrlw mm1, 0x63
sbb r9d, 0x14
subss xmm11, xmm6
pop r9
jmp 0x3999697b8
cmp bx, 0xe
jne 0x399969720
push rbx
psraw mm0, 0x54
pop rbx
jmp 0x399969727
push r9
inc r9d
pop r9
push r11
pslld mm3, 0x43
pop r11
jmp 0x3999697b8
push r15
nop
push r9
cmp r15, r9
pop r9
psllq mm5, 0x12
pop r15
jmp 0x3999697b8
push r15
mov r15, 3
push r8
pop r8
dec r15
jne 0x39996974f
pop r15
jmp 0x3999697b8
push r13
subps xmm0, xmm7
push rdx
emms
emms
push r10
nop
movlhps xmm3, xmm10
sbb dl, 4
push r15
nop
por mm1, mm6
sbb r13, 0xd
not r15w
push r12
nop
sub r13w, dx
dec rdx
rcr r15w, 0x13
psrlw mm5, 0x5f
pop r12
psrlq mm5, 0x48
xor r10b, r13b
xchg dl, r13b
sar r15, 1
pop r15
xchg dl, r10b
emms
ror edx, 2
pop r10
paddb mm6, mm4
nop
pop rdx
addss xmm4, xmm8
pop r13
push r8
movaps xmm6, xmm5
push rdx
pminsw mm2, mm1
push r10
nop
push r11
maxss xmm0, xmm1
push rbx
psubusw mm7, mm4
push r13
psrlq mm4, 0x22
pop r13
xor r11d, r8d
pop rbx
emms
pop r11
dec r10d
pop r10
test r8, rdx
pop rdx
not r8w
pop r8
mov ecx, dword [rbp]
add rcx, rbx
push r15
emms
push rax
psrad mm7, 0x42
paddd mm4, mm2
pop rax
maxps xmm1, xmm13
pop r15
cmp word [rcx], 0
je 0x399969a18
cmp bx, r13w
jne 0x39996985f
push r10
psrlw mm5, 0x10
push r12
subps xmm4, xmm9
push r15
pcmpgtd mm0, mm5
push r9
not r15w
pop r9
emms
pop r15
emms
pop r12
nop
pop r10
jmp 0x39996986f
push r11
psadbw mm4, mm3
push rax
paddb mm5, mm6
pop rax
ucomiss xmm14, xmm8
pop r11
push r11
paddb mm1, mm3
push rdx
psraw mm7, 0x24
punpckhbw mm0, mm1
pop rdx
emms
pop r11
call fcn.3999689bc
mov r11d, esi
shl r11, 4
add r11, r13
mov dword [r11], eax
push r14
psrlw mm7, 0x46
push r9
neg r9
psadbw mm1, mm0
push r15
test r15, r14
punpckhwd mm2, mm0
xadd r15, r9
push rcx
dec r15d
emms
pmulhuw mm1, mm5
emms
push rbx
emms
xorps xmm2, xmm11
subps xmm13, xmm15
punpckldq mm7, mm4
pcmpeqb mm1, mm7
pop rbx
nop
mulps xmm15, xmm12
rcpps xmm14, xmm3
paddw mm1, mm5
pop rcx
mov r14w, r15w
emms
paddsw mm3, mm1
pop r15
sar r14d, 0x17
nop
pop r9
orps xmm11, xmm3
pop r14
movzx eax, word [r10]
mov eax, dword [r12 + rax*4]
mov dword [r11 + 4], eax
push rax
rcpps xmm2, xmm1
neg eax
inc rax
push r9
shl eax, 0x17
psubusw mm4, mm0
dec rax
push r13
inc r13d
movlhps xmm15, xmm2
pslld mm5, 0x4f
pop r13
sbb ax, r9w
shl r9, 0xf
psrld mm4, 0x3d
pop r9
inc rax
pmaxsw mm2, mm1
sar eax, 6
pop rax
mov eax, dword [r11 + 4]
add rax, rbx
mov qword [r11 + 8], rax
push r14
emms
xorps xmm4, xmm1
push r8
movaps xmm7, xmm3
pop r8
emms
andps xmm5, xmm15
pop r14
inc esi
push r14
nop
sub r14, 0x15
emms
push r8
nop
pxor mm1, mm7
or r8d, r14d
push r11
rol r8, 0xd
orps xmm9, xmm3
push r12
sub r11b, 8
neg r11
pop r12
psubsb mm6, mm3
pcmpgtd mm1, mm7
addss xmm4, xmm5
pop r11
rol r8, 0x15
movups xmm7, xmm4
pop r8
emms
nop
pop r14
cmp esi, 0x7d0
jne 0x3999699e5
cmp rbx, 0x68
jne 0x3999699be
push rdx
psrld mm5, 0x46
push r14
pcmpeqb mm2, mm3
movhlps xmm6, xmm8
pop r14
paddsw mm4, mm6
pop rdx
jmp 0x3999699d3
push rbx
andnps xmm0, xmm8
push r12
sar r12w, 8
psrlw mm0, 0x19
pop r12
inc ebx
pop rbx
push rcx
emms
push r15
emms
dec r15
pop r15
rcr cl, 2
pop rcx
jmp 0x399969a5e
push r10
punpcklbw mm4, mm1
push r11
sbb r10, r11
push r14
nop
push r8
psrlw mm3, 0x65
push rax
mov al, r10b
push rcx
orps xmm15, xmm13
pop rcx
neg r11
pop rax
rcl r11d, 0xf
pop r8
psubsb mm2, mm0
pop r14
emms
pop r11
nop
pop r10
push r14
emms
push r15
rcpps xmm9, xmm4
push r8
psllq mm3, 0x48
push r10
emms
push r11
inc r10d
push rbx
nop
pop rbx
emms
pop r11
nop
pop r10
ror r8, 1
pop r8
rol r15b, 7
pop r15
nop
pop r14
sub rbp, 4
lea rax, [r10 - 2]
cmp rdi, r10
je 0x399969a5e
mov r10, rax
jmp 0x39996953d
push rcx
psubsb mm2, mm7
push r14
pmaddwd mm7, mm5
orps xmm9, xmm2
push rbx
paddsb mm5, mm3
xchg cx, bx
inc rcx
pop rbx
neg r14
not cx
pop r14
emms
pop rcx
mov dword [0x399992a40], esi
push rbx
emms
ror ebx, 8
push r12
pslld mm5, 6
pop r12
nop
movlhps xmm13, xmm11
pop rbx
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret