Function at 0x399977271
Capabilities:
Encode data using base64

Disassembly:
push rbx
sub rsp, 0x50
cmp bx, r8w
je 0x399977391
push r12
psrad mm7, 0x66
nop
nop
push r13
nop
rcpps xmm8, xmm0
nop
push r14
nop
rcr r13d, 0xa
emms
pop r14
nop
ror r13b, 0xf
psraw mm3, 0xc
pop r13
nop
mulss xmm6, xmm15
psrld mm5, 0x40
pop r12
cmp r10, 0x1e
je 0x3999773bb
push rbx
emms
push r10
emms
push r13
psrlq mm7, 0x48
pop r13
paddw mm3, mm5
pop r10
emms
pop rbx
cmp r12w, 0x13
je 0x399977406
push rdx
rcr dl, 0xe
push r9
test edx, r9d
push rbx
psrld mm4, 0xd
push r10
andnps xmm1, xmm4
pop r10
punpckldq mm6, mm1
pop rbx
shl dl, 5
pop r9
inc rdx
pop rdx
cmp ebx, r9d
je 0x39997743e
push r13
emms
emms
push r15
nop
mulps xmm14, xmm0
push r11
packuswb mm1, mm0
adc r15, r13
push r10
neg r10b
emms
push rdx
psrld mm3, 0x67
emms
pop rdx
psrld mm0, 0xd
inc r11d
pop r10
sar r11d, 0x16
rol r11d, 0xb
pop r11
mov r13d, r15d
packuswb mm2, mm4
pop r15
andps xmm14, xmm5
andnps xmm7, xmm3
pop r13
cmp r14d, ecx
je 0x399977476
push r8
andps xmm11, xmm14
push r12
emms
psrlq mm5, 0x13
push rcx
and r12w, r8w
not r8d
psubsb mm3, mm1
pop rcx
dec r8
emms
pop r12
dec r8
pop r8
cmp r13w, 0x53
je 0x3999774b8
jne 0x3999774ce
push rdx
pslld mm6, 0x69
push r13
psrad mm6, 0x32
push r14
minps xmm15, xmm2
push r9
emms
pop r9
pslld mm1, 0x28
pop r14
nop
pop r13
ucomiss xmm11, xmm3
pop rdx
jmp 0x3999774ce
push r12
pmaxub mm7, mm0
push r14
psrlw mm5, 0x51
movups xmm9, xmm12
push rdx
neg dl
emms
and r14w, dx
push r11
psrad mm5, 0x19
comiss xmm11, xmm6
cmp r12d, edx
xor r14w, r12w
pop r11
inc r14d
maxss xmm12, xmm9
paddsw mm6, mm7
pop rdx
dec r14
orps xmm8, xmm9
pop r14
sar r12, 0xa
pop r12
jmp 0x3999774ce
push r13
psrad mm6, 0xd
xorps xmm15, xmm8
movaps xmm6, xmm14
minps xmm11, xmm10
push r12
cmp r13d, r12d
mulss xmm10, xmm12
emms
rol r12, 0x10
pop r12
rol r13w, 0x14
nop
inc r13
sar r13d, 5
pop r13
jmp 0x3999774ce
push r8
inc r8
packssdw mm4, mm5
nop
push r13
psraw mm5, 0x36
psrlq mm1, 0x18
and r8d, r13d
push r12
nop
paddsb mm5, mm3
nop
pop r12
andps xmm1, xmm9
rcpps xmm15, xmm13
nop
pop r13
not r8d
comiss xmm4, xmm1
ucomiss xmm5, xmm14
pop r8
jmp 0x3999774ce
push rcx
shl ecx, 2
emms
paddb mm1, mm4
push r12
nop
rcl cx, 0x12
nop
push rdx
shl r12w, 0x12
sbb dx, r12w
push r15
emms
paddusb mm7, mm5
pop r15
emms
psrad mm2, 0x3c
psubw mm0, mm1
pop rdx
mulss xmm13, xmm15
pcmpgtd mm3, mm2
pop r12
sbb cl, 0x13
movlhps xmm14, xmm2
pop rcx
jmp 0x3999774ce
push r11
mov r11, 3
push r8
push rax
pop rax
pop r8
dec r11
jne 0x3999774c1
pop r11
push r12
inc r12
push r15
neg r15b
nop
pop r15
nop
pop r12
push r15
neg r15
push r11
orps xmm9, xmm0
xadd r11b, r15b
push r14
nop
and r15d, r11d
ucomiss xmm13, xmm5
pop r14
pcmpeqd mm2, mm7
nop
pop r11
pslld mm4, 0x18
pop r15
push r14
emms
emms
pcmpeqb mm7, mm1
not r14d
psllq mm0, 0x48
push rbx
nop
emms
psrad mm2, 0x29
add rbx, r14
nop
pop rbx
rol r14b, 5
emms
nop
sar r14, 7
shl r14b, 0x14
psrld mm4, 0x53
pop r14
cmp bx, r13w
jne 0x39997758f
push r9
dec r9d
punpcklwd mm7, mm3
push r13
emms
movaps xmm0, xmm10
push r14
punpckhwd mm1, mm0
not r13
push rax
nop
sar r14d, 0x14
pop rax
orps xmm8, xmm5
maxss xmm7, xmm12
pop r14
nop
emms
pop r13
nop
rcl r9w, 0x14
pop r9
jmp 0x3999775a5
push r11
mov r11, 3
push rbx
push r8
pop r8
pop rbx
dec r11
jne 0x399977598
pop r11
push r14
emms
dec r14d
pmullw mm2, mm6
push rax
psrlw mm2, 0x53
nop
sar ax, 9
push r13
pmaxub mm4, mm5
psrad mm0, 0x2f
push rdx
dec r14d
emms
pop rdx
mov r13d, r14d
psraw mm4, 0x17
psubw mm7, mm3
pop r13
inc rax
dec r14d
pop rax
emms
not r14b
pop r14
push rdx
paddusw mm4, mm3
xorps xmm0, xmm7
emms
psllq mm7, 0x3d
rcl rdx, 0x15
push r10
rcpps xmm15, xmm10
and r10w, dx
pmaddwd mm1, mm6
adc r10, rdx
emms
pop r10
xorps xmm8, xmm3
psrad mm1, 0x57
mov dl, 0x12
packsswb mm5, mm2
psrad mm7, 0x1a
psrlq mm0, 0x59
pop rdx
push rdx
pmullw mm4, mm1
pminsw mm4, mm5
push r10
pmaxub mm2, mm6
nop
push r9
punpcklwd mm0, mm5
not r10b
push rbx
test ebx, r10d
nop
push r11
andps xmm10, xmm2
subss xmm11, xmm8
pop r11
inc rdx
psllq mm0, 7
pop rbx
psraw mm0, 0x3a
movhlps xmm13, xmm7
pop r9
emms
rcpps xmm8, xmm13
pop r10
emms
emms
pop rdx
push r13
neg r13w
neg r13w
push r14
sbb r13d, 0x16
shr r14b, 7
push r15
dec r15
nop
push r8
emms
nop
pop r8
add r14w, r13w
psrlw mm4, 0x35
pop r15
nop
emms
pop r14
nop
not r13w
pop r13
push rcx
nop
punpckhbw mm6, mm5
psrlq mm6, 0x5f
push r15
comiss xmm1, xmm2
dec rcx
pxor mm7, mm0
push rax
emms
neg r15w
push r11
not al
emms
pop r11
nop
subps xmm15, xmm1
xorps xmm13, xmm12
pop rax
xadd r15b, cl
emms
pop r15
paddusw mm4, mm5
psraw mm5, 0x4f
pop rcx
rdtsc
push r12
xorps xmm9, xmm4
push rcx
neg rcx
pcmpgtd mm1, mm4
push rax
pxor mm6, mm1
emms
xadd rax, rcx
pop rax
nop
nop
pop rcx
nop
pop r12
push r15
emms
push r10
pcmpeqb mm4, mm5
push rax
cmp r10w, r15w
push rcx
nop
pop rcx
sub r10b, 0x17
pop rax
psrld mm2, 0x3d
pop r10
not r15b
pop r15
cmp ebx, ecx
jne 0x399977734
push r14
psrlw mm4, 0x36
push r10
comiss xmm14, xmm13
nop
pop r10
neg r14w
pop r14
jmp 0x399977746
push r11
sbb r11w, 0xd
push rcx
neg cx
inc rcx
pop rcx
nop
pop r11
push r15
nop
push rdx
psrlw mm3, 0x2c
xchg edx, r15d
pop rdx
pmullw mm5, mm4
pop r15
mov qword [rsp + 0x48], 0xffffffffffffd8f0
push rdx
emms
push r13
sar r13, 2
add dx, r13w
pop r13
ror edx, 0x12
pop rdx
shl rdx, 0x20
mov eax, eax
mov ecx, 0x14
or rax, rdx
xor edx, edx
div rcx
imul ebx, edx, 0x3e8
push rbx
mov rbx, 3
push r15
push r10
pop r10
pop r15
dec rbx
jne 0x399977794
pop rbx
lea eax, [rbx + 0x2710]
imul rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], rax
push r15
nop
emms
paddd mm7, mm6
nop
dec r15
push rax
emms
emms
neg r15d
psrlq mm2, 4
push r12
maxss xmm9, xmm1
not al
emms
push r14
psrlq mm2, 0x3f
not r15b
push r8
or al, r15b
pop r8
movaps xmm0, xmm8
psrlq mm0, 0x37
pop r14
inc r12d
psraw mm6, 0x6a
neg ax
pop r12
sub rax, r15
rcl r15, 0x12
neg r15d
orps xmm13, xmm7
pop rax
emms
neg r15w
pmullw mm7, mm4
psrad mm5, 0x54
nop
pop r15
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.39996cbad
lea rdx, [rsp + 0x48]
xor ecx, ecx
call fcn.399971396
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.39996cbad
push r15
mov r15, 3
push r9
mov r9, 2
push r11
pop r11
dec r9
jne 0x399977857
pop r9
dec r15
jne 0x39997784e
pop r15
imul rax, qword [rsp + 0x38], 0x3e8
cqo
idiv qword [rsp + 0x30]
mov rcx, rax
imul rax, qword [rsp + 0x28], 0x3e8
cqo
idiv qword [rsp + 0x40]
sub ecx, eax
push r8
nop
pop r8
add ebx, 0x2328
cmp ebx, ecx
jae 0x3999778ee
cmp ebx, 0x5e
jne 0x3999778c8
push r15
emms
push r10
emms
nop
pop r10
punpckhwd mm2, mm6
pop r15
jmp 0x3999778da
push r9
emms
push r11
orps xmm13, xmm0
nop
pop r11
pcmpgtd mm7, mm6
pop r9
push rdx
emms
push r8
pcmpgtd mm4, mm7
psrlq mm7, 0x2b
pop r8
rcpps xmm1, xmm0
pop rdx
jmp 0x399977938
cmp bx, r9w
jne 0x399977909
push r9
emms
push r10
nop
psrlw mm0, 0xa
pop r10
psraw mm5, 0x13
pop r9
jmp 0x39997791b
push r8
movlhps xmm11, xmm8
push r15
and r8d, r15d
emms
pop r15
nop
pop r8
push r13
emms
push r12
orps xmm3, xmm9
movaps xmm1, xmm10
pop r12
punpckhwd mm0, mm3
pop r13
xor ecx, ecx
call fcn.39996e7a4
nop
add rsp, 0x50
pop rbx
ret