Function at 0x3940452e2
Capabilities:
Encode data using base64

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
push r12
shl r12w, 0xa
shr r12d, 0xc
comiss xmm3, xmm9
push r10
shl r10d, 0xc
neg r12b
push rbx
xchg r12w, bx
pop rbx
paddusb mm3, mm6
nop
pop r10
inc r12d
psrlw mm1, 0x66
ror r12d, 0x11
pop r12
push r9
psrld mm3, 0x30
pop r9
cmp r11w, 0x30
jne 0x394045370
push r14
pslld mm6, 0x5f
pcmpgtb mm1, mm4
emms
nop
pcmpeqw mm7, mm6
pminsw mm6, mm0
not r14b
nop
psrad mm3, 0x43
emms
pcmpgtd mm6, mm5
pmaddwd mm2, mm0
pop r14
jmp 0x3940453dc
push r10
nop
emms
psllq mm1, 0x1b
punpcklbw mm7, mm4
emms
push r14
nop
and r14b, r10b
nop
rol r10d, 0x14
push r9
emms
paddusw mm7, mm1
rol r14w, 0x15
push r15
pslld mm3, 0x4e
sar r10, 3
push rbx
addss xmm14, xmm1
pop rbx
sbb r15b, 0x10
psraw mm6, 0x2b
pop r15
shr r10, 0x15
mov r14b, 0xd
minps xmm10, xmm4
pop r9
emms
nop
nop
neg r10
pop r14
psrlq mm1, 0x47
inc r10d
comiss xmm1, xmm9
ror r10, 0xe
mulss xmm12, xmm5
pop r10
push r14
andps xmm13, xmm4
xorps xmm7, xmm5
nop
nop
push r9
emms
psrld mm5, 0x24
nop
sbb r9b, 0x13
pop r9
psrad mm6, 0x19
pandn mm6, mm0
emms
rcr r14, 0xe
pop r14
mov word [rsp + 0x2d], 0x50f
mov byte [rsp + 0x2f], 0xc3
cmp r11, 0x68
jne 0x394045428
push r14
not r14d
pop r14
jmp 0x39404542d
push rbx
pmullw mm0, mm4
pop rbx
push r13
maxps xmm15, xmm10
pop r13
push r15
comiss xmm6, xmm13
push r11
dec r11
pop r11
rcl r15, 4
pop r15
push rcx
mov rcx, 3
push r11
emms
push r15
orps xmm13, xmm7
psubusw mm1, mm5
push r12
psrlw mm6, 0xb
shl r11w, 0x11
and r11, r12
push rax
neg r15d
sub r15w, r11w
pslld mm3, 0x4f
mov eax, r12d
pop rax
pandn mm1, mm0
emms
andps xmm5, xmm2
pop r12
psrlw mm5, 0x13
pcmpgtd mm4, mm6
pop r15
nop
pop r11
dec rcx
jne 0x394045450
pop rcx
mov edx, edx
lea r11, [rcx + rdx]
mov rbx, r11
push r12
maxps xmm6, xmm2
push r8
shl r12d, 0x15
push r14
emms
push r10
por mm7, mm3
push rcx
xchg r8b, r12b
push rbx
inc r12d
pop rbx
emms
pop rcx
emms
pop r10
rcpps xmm12, xmm10
pop r14
pcmpgtb mm0, mm5
pop r8
psrlq mm6, 0x1b
pop r12
mov r8d, 3
lea rcx, [rsp + 0x2d]
mov rdx, r11
call fcn.394044600
test eax, eax
jne 0x39404584a
cmp r11, r8
jne 0x394045552
push r14
psllq mm5, 6
subss xmm5, xmm1
rcl r14, 0x13
pand mm5, mm2
subps xmm2, xmm15
emms
dec r14d
psraw mm0, 0x5a
pmullw mm4, mm1
mov r14b, 0x11
not r14w
ror r14, 9
pop r14
jmp 0x394045591
push r8
pcmpgtd mm7, mm4
addps xmm10, xmm0
ror r8d, 3
push rcx
dec rcx
psllq mm0, 0xc
neg r8b
push r12
nop
sbb r8b, 0xc
push rbx
nop
packsswb mm7, mm6
pop rbx
rcpps xmm4, xmm10
or r12w, r8w
nop
pop r12
sar r8w, 9
emms
pop rcx
movlhps xmm5, xmm3
emms
pop r8
push r15
rcl r15b, 0x11
emms
ror r15b, 0xd
push r11
sbb r15b, 0x12
not r11d
pmaxub mm6, mm1
push r8
nop
neg r8w
psrlw mm5, 0x1b
pop r8
nop
andnps xmm5, xmm13
adc r11, r15
pop r11
emms
maxss xmm3, xmm0
mov r15w, 0x12
pop r15
cmp r11d, 0x2a
je 0x3940456b9
push r11
nop
rol r11d, 0x17
psraw mm3, 0x11
paddsw mm4, mm3
pslld mm6, 0xa
inc r11
not r11d
pop r11
cmp r14d, 0x2b
je 0x3940456ea
cmp r11, r9
jne 0x39404560a
push r8
ror r8b, 2
pop r8
jmp 0x394045610
push r15
emms
pop r15
push r13
dec r13
pop r13
cmp r10b, r9b
je 0x39404571a
push r12
shl r12b, 4
punpckhwd mm4, mm7
punpckhwd mm6, mm2
shr r12w, 0x11
psraw mm2, 0x53
inc r12d
shl r12w, 4
pop r12
cmp r10b, r13b
je 0x394045738
push r10
dec r10d
push rax
nop
push rdx
psrlq mm0, 0x64
push r14
pand mm3, mm0
push r8
dec edx
push rbx
shr r14b, 0xe
pop rbx
paddusw mm6, mm1
pop r8
sar rax, 6
pop r14
psrld mm1, 0x27
pop rdx
add al, r10b
pop rax
maxss xmm6, xmm3
pop r10
cmp r9d, 0x4a
je 0x39404579c
push rcx
sbb cx, 0xf
nop
orps xmm10, xmm8
psrlw mm1, 0x3f
emms
emms
nop
pxor mm1, mm6
emms
nop
mov ecx, 0xd
mulps xmm5, xmm2
pop rcx
cmp r8b, 0x4a
je 0x3940457bb
jne 0x3940457fe
push r8
neg r8d
psrad mm2, 0x4f
nop
psraw mm5, 0x60
push r10
cmp r8d, r10d
rcpss xmm6, xmm15
psrld mm6, 0x61
rol r10b, 0x16
pop r10
nop
nop
movups xmm11, xmm6
emms
pop r8
jmp 0x3940457fe
push r13
emms
pcmpgtb mm1, mm2
mulps xmm5, xmm14
push r9
emms
nop
push r11
test r9d, r11d
pop r11
sub r9w, r13w
psubsb mm0, mm4
pop r9
pslld mm6, 0x65
nop
movups xmm3, xmm11
pop r13
jmp 0x3940457fe
cmp r11, 0x3d
jne 0x394045728
push rbx
psraw mm2, 0x5e
pop rbx
jmp 0x39404572d
push rcx
pxor mm2, mm5
pop rcx
push r10
emms
pop r10
jmp 0x3940457fe
push r15
shl r15w, 2
push r13
emms
inc r15d
push r8
psrlq mm5, 0x43
paddb mm7, mm1
mov r15b, r13b
push rdx
mov r8w, 0x13
psubsb mm1, mm7
paddb mm1, mm3
movlhps xmm14, xmm9
push r10
emms
not r8w
sbb r15b, dl
sub edx, 0x11
inc rdx
pop r10
or r13w, r8w
emms
cmp r15b, r13b
emms
pop rdx
emms
maxss xmm3, xmm0
ucomiss xmm6, xmm13
pop r8
paddusb mm4, mm7
shl r13b, 3
pop r13
emms
pop r15
jmp 0x3940457fe
push r14
emms
emms
ror r14w, 0x16
movss xmm2, xmm5
sar r14, 0x12
psrad mm3, 0x53
rol r14b, 0x11
pop r14
jmp 0x3940457fe
push rbx
subps xmm7, xmm13
push r10
pcmpeqw mm5, mm7
push r9
xorps xmm5, xmm13
push r15
inc r10
push rcx
sbb r15d, r10d
push r8
add r10b, r8b
push rdx
psllq mm1, 0xa
pop rdx
subss xmm10, xmm11
pop r8
movaps xmm5, xmm2
pop rcx
xadd r9w, r10w
pop r15
and bx, r9w
pop r9
nop
pop r10
pcmpeqb mm0, mm6
pop rbx
push r15
subss xmm11, xmm8
pandn mm4, mm2
push rbx
rcr ebx, 8
nop
push r12
punpcklwd mm6, mm3
packssdw mm0, mm6
push r10
paddusw mm2, mm0
subss xmm6, xmm2
push r11
movups xmm11, xmm13
addss xmm9, xmm14
pop r11
emms
emms
pop r10
psrlw mm0, 0x13
emms
pop r12
nop
psrlw mm7, 2
pop rbx
nop
neg r15
pop r15
jmp 0x3940459ba
lea rsi, [r11 + 0x20]
lea rdi, [r11 + 0x4000]
add r11, r11
cmp r11, r15
jne 0x394045884
push r11
rcl r11, 2
push rbx
sbb r11d, ebx
emms
pop rbx
ucomiss xmm4, xmm11
pop r11
jmp 0x394045896
push rax
packsswb mm2, mm3
push r15
rcl r15b, 0x10
emms
pop r15
sar al, 0xf
pop rax
push r8
pmaddwd mm3, mm6
push r14
paddusw mm0, mm5
and r8b, r14b
pop r14
emms
pop r8
mov r8d, 3
mov rdx, rsi
mov rbx, rsi
call fcn.394044600
test eax, eax
jne 0x394045905
push r13
dec r13d
psrad mm2, 0x24
push r11
dec r13
mov r11, r13
push r10
neg r10w
sub r10w, 0x10
push rax
pcmpeqd mm5, mm7
rcr rax, 0x14
pop rax
psrlq mm3, 0x5a
paddusb mm4, mm3
pop r10
emms
psrad mm7, 0x1e
pop r11
mov r13d, 8
sub r13b, 6
pop r13
jmp 0x3940459ba
cmp r11w, r13w
jne 0x394045918
push r8
sbb r8d, 0xa
pop r8
jmp 0x39404591e
push r15
emms
pop r15
push r12
minps xmm13, xmm0
pop r12
mov rax, r11
sub rax, rsi
mov rbx, rax
push r8
not r8
push r13
shl r13b, 0xc
nop
push r14
psrad mm7, 0x59
psraw mm1, 0x69
subps xmm1, xmm2
pop r14
psllq mm0, 0x10
pmaddwd mm5, mm1
pop r13
sub r8w, 0x16
pop r8
mov r8d, 3
mov rdx, rax
call fcn.394044600
test eax, eax
jne 0x394045976
push r13
movlhps xmm2, xmm13
pop r13
jmp 0x3940459ba
add rsi, 0x20
cmp rsi, rdi
jne 0x394045858
push r11
rol r11, 0x12
pcmpgtw mm7, mm0
nop
pminsw mm4, mm2
nop
push r8
dec r8d
punpcklwd mm6, mm2
psrad mm6, 0x50
neg r8w
inc r8d
pop r8
nop
emms
movhlps xmm11, xmm3
comiss xmm14, xmm10
nop
comiss xmm8, xmm6
pop r11
xor ebx, ebx
mov rax, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret