Function at 0x3940526f1
Capabilities:
Get process heap flags

Disassembly:
cmp r11w, r10w
jne 0x39405270e
push rbx
pslld mm6, 0x1e
push r10
neg r10w
shl bl, 5
pop r10
movaps xmm7, xmm10
pop rbx
jmp 0x394052720
push rcx
xorps xmm3, xmm6
push r14
inc ecx
psrld mm0, 0x36
pop r14
punpckhbw mm6, mm4
pop rcx
push rdx
rcr rdx, 0x17
push r15
pslld mm4, 0x15
emms
pop r15
rol dx, 0xd
pop rdx
push r10
pmullw mm2, mm3
push r9
sbb r10b, r9b
psubsb mm7, mm3
push rax
maxps xmm14, xmm1
emms
adc r9d, r10d
push r12
psllq mm6, 0xa
emms
sbb al, 0xe
emms
pop r12
psllq mm0, 0x14
pcmpgtb mm7, mm0
nop
pop rax
nop
mov r9, 8
pop r9
emms
pop r10
mov rax, qword gs:[0x60]
push r12
shr r12b, 2
push r14
pmulhuw mm5, mm6
nop
push rdx
pslld mm5, 0x30
psrld mm7, 0x5e
cmp edx, r14d
push rbx
xorps xmm0, xmm14
subps xmm8, xmm1
pcmpgtd mm2, mm4
shl bl, 0xf
pop rbx
paddd mm2, mm1
nop
mov dx, r14w
pop rdx
pmaxsw mm0, mm7
nop
pop r14
psrad mm2, 0x3c
pop r12
mov eax, dword [rax + 0xc0]
and eax, 0x70
mov dword [rcx], eax
cmp r11b, 0x4d
je 0x394052902
push r13
subps xmm14, xmm1
push r12
dec r13d
push rcx
psrlq mm4, 0x63
push r11
pslld mm5, 8
push r8
emms
push r15
psrlq mm5, 0x11
push rdx
pslld mm0, 0x39
pop rdx
neg r8d
pop r15
psrlw mm2, 0x21
pop r8
emms
pop r11
emms
pop rcx
adc r13, r12
pop r12
paddsb mm1, mm0
pop r13
cmp r11, 0x51
je 0x394052960
cmp r11d, 0x45
jne 0x394052841
push rcx
rol cx, 0x17
push r13
adc r13d, ecx
packssdw mm2, mm4
pop r13
emms
pop rcx
jmp 0x394052856
push r12
psubw mm2, mm5
push r15
subps xmm5, xmm6
sub r15b, 0x14
pop r15
por mm7, mm6
pop r12
push r14
pminsw mm2, mm6
push r8
subss xmm6, xmm8
maxps xmm2, xmm13
pop r8
neg r14w
pop r14
cmp dl, r13b
je 0x394052999
push r15
pcmpeqw mm3, mm1
emms
psllq mm4, 0x15
shl r15w, 7
psrad mm3, 0xa
addps xmm3, xmm8
inc r15
sbb r15d, 0xb
nop
psllq mm4, 0x35
orps xmm5, xmm2
nop
pop r15
cmp rdx, 0x51
je 0x3940529ae
push r11
nop
pop r11
cmp rdx, 0x2c
je 0x3940529d3
push r12
mov r12, 0xf
emms
nop
push rdx
addps xmm4, xmm2
emms
emms
push r8
emms
sub r8d, r12d
inc edx
pop r8
pslld mm7, 2
rcpss xmm14, xmm2
emms
pop rdx
neg r12b
psraw mm0, 0x37
dec r12d
pop r12
cmp r10w, 0x46
je 0x3940529e7
jne 0x3940529fd
push r9
psraw mm0, 0x4d
push rdx
emms
psubw mm4, mm5
push r8
punpcklbw mm7, mm6
pminsw mm7, mm6
nop
push r14
dec r8
emms
pcmpgtb mm2, mm6
inc r8d
push r13
nop
emms
rol r14d, 4
por mm4, mm0
movaps xmm12, xmm6
pop r13
not r9b
rcl r14d, 0xa
pcmpeqd mm6, mm2
pcmpgtb mm3, mm7
pop r14
paddsb mm7, mm3
pcmpeqd mm5, mm1
nop
pop r8
adc edx, r9d
paddusb mm2, mm7
pop rdx
psrlq mm4, 0xd
pop r9
jmp 0x3940529fd
push rbx
packuswb mm4, mm5
push r14
psrld mm5, 0x54
push r9
pcmpeqb mm5, mm3
push r8
paddsb mm2, mm4
push rdx
sub r14b, 0xb
push r13
psrld mm7, 0x19
pop r13
pmaxsw mm2, mm3
pop rdx
neg r9d
pop r8
psadbw mm1, mm4
pop r9
nop
pop r14
shl rbx, 6
pop rbx
jmp 0x3940529fd
push rdx
emms
psrlq mm1, 0x3b
push r15
emms
pop r15
emms
ror dl, 7
pop rdx
jmp 0x3940529fd
push r8
psrlq mm2, 0x2a
push rbx
maxps xmm6, xmm3
push r12
emms
push r14
emms
pop r14
dec r12
pop r12
psraw mm6, 0x33
pop rbx
movups xmm3, xmm0
pop r8
jmp 0x3940529fd
push r8
mov r8, 1
push rcx
pop rcx
dec r8
jne 0x3940529dc
pop r8
jmp 0x3940529fd
push rbx
mov rbx, 2
push r8
push r15
pop r15
pop r8
dec rbx
jne 0x3940529ef
pop rbx
push rcx
psrad mm6, 0x59
push rax
dec ecx
mov rax, 8
push r8
nop
cmp r8w, cx
mov ecx, 0xf
pop r8
emms
emms
pop rax
ror cl, 0xf
pop rcx
ret