Function at 0x394057a8c
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x478
mov r12, rcx
push r10
dec r10d
rol r10, 0x10
emms
push r14
nop
paddw mm0, mm5
rcr r14, 2
push r9
psrld mm7, 9
nop
rcr r14b, 1
pop r9
xadd r10w, r14w
xchg r10b, r14b
psrlw mm7, 0x30
pop r14
movss xmm9, xmm5
psrlq mm2, 9
inc r10d
pop r10
mov word [rsp + 0x60], 0x2858
mov byte [rsp + 0x62], 0
cmp r11w, ax
jne 0x394057b23
push rdx
pxor mm6, mm3
psrld mm1, 0x56
push r10
emms
pop r10
psrlw mm0, 2
addss xmm12, xmm5
pop rdx
jmp 0x394057b64
cmp r11b, 0x6a
jne 0x394057b3a
push rbx
nop
push r12
sbb r12b, bl
paddd mm6, mm3
pop r12
emms
pop rbx
jmp 0x394057b4d
push r13
psubw mm5, mm2
push rcx
sbb cl, 0x10
or r13d, ecx
pop rcx
rcpps xmm10, xmm7
pop r13
push r9
psrld mm5, 0x15
push r10
and r10, r9
pxor mm2, mm3
pop r10
mulss xmm10, xmm5
pop r9
push r12
psllq mm2, 7
push r14
nop
addps xmm3, xmm11
pop r14
shl r12w, 0x11
pop r12
mov dword [rsp + 0x268], 0x6a627b
cmp r11b, 3
jne 0x394057b91
push rbx
dec ebx
pop rbx
jmp 0x394057b99
push r14
neg r14w
pop r14
push r12
pand mm0, mm3
pop r12
lea rbx, [rsp + 0x268]
lea rdi, [rsp + 0x60]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x394057c0b
mov rax, rdi
lea rdx, [rsp + 0x62]
cmp r11, 8
jne 0x394057bd7
push r13
psrlq mm5, 0x33
pop r13
jmp 0x394057bde
push r14
inc r14d
pop r14
push r10
paddw mm2, mm7
pop r10
xor byte [rax], 0x84
push rcx
psrld mm0, 0x2c
neg cx
rcr ecx, 2
psrlw mm6, 5
nop
movss xmm13, xmm2
punpckldq mm4, mm5
pop rcx
inc rax
cmp rax, rdx
jne 0x394057bc4
jmp 0x394057c5c
mov rax, rbx
lea rdx, [rsp + 0x26b]
push r9
not r9
push r15
not r15b
packsswb mm4, mm7
push r13
neg r9b
nop
dec r13
pop r13
nop
ucomiss xmm4, xmm13
pop r15
not r9
pop r9
xor byte [rax], 0x18
push rbx
not rbx
push rax
emms
push rdx
ucomiss xmm4, xmm10
pop rdx
psrlq mm5, 0x3e
pop rax
shr bx, 0x12
pop rbx
inc rax
cmp rax, rdx
jne 0x394057c16
push r10
neg r10b
psrld mm3, 0x31
emms
paddsw mm1, mm7
nop
nop
andnps xmm4, xmm10
dec r10
subps xmm2, xmm1
emms
addps xmm2, xmm12
paddusb mm0, mm5
pop r10
mov word [rsp + 0x60], 0x5c
push r14
emms
comiss xmm1, xmm12
not r14w
nop
emms
push r12
inc r12d
paddb mm6, mm5
not r14b
movss xmm3, xmm11
push r8
nop
subss xmm3, xmm15
emms
push r10
pand mm0, mm2
maxss xmm11, xmm14
push rbx
nop
pop rbx
psrad mm4, 0x64
shr r14d, 0xf
pop r10
nop
mov r12, 1
inc r12d
pop r8
psrlw mm5, 0xd
sub r12b, r14b
emms
neg r12
pop r12
pcmpeqb mm1, mm6
inc r14d
neg r14w
nop
neg r14b
pop r14
call fcn.3940550b1
mov word [rsp + 0x62], 0x3f
push r15
emms
rcpss xmm8, xmm7
psrld mm3, 0x5c
push r8
psrlw mm3, 0x3a
sub r15d, 1
paddusw mm2, mm3
push r10
nop
nop
push rax
xchg r8b, r15b
add eax, r10d
pop rax
dec r10d
sar r8d, 0x13
por mm0, mm2
pop r10
not r8b
not r15b
pop r8
addss xmm2, xmm14
emms
pop r15
mov word [rsp + 0x64], 0x3f
push r15
emms
paddsw mm7, mm1
maxss xmm6, xmm12
maxss xmm5, xmm0
psrad mm5, 0x4b
maxss xmm6, xmm12
pmaxub mm4, mm3
pop r15
mov word [rsp + 0x66], 0x5c
mov word [rsp + 0x50], 0x2740
mov byte [rsp + 0x52], 0
push rdx
paddb mm6, mm5
push r10
test dl, r10b
push r13
emms
push rax
sub dl, 2
push r12
not r13b
pop r12
nop
pop rax
neg r13w
pop r13
psllq mm3, 0x42
pop r10
psrlw mm0, 0x68
pop rdx
mov dword [rsp + 0x268], 0x33327274
mov word [rsp + 0x26c], 0x3f
push rcx
psubusw mm6, mm2
push rdx
psraw mm7, 0x48
push r14
paddw mm5, mm0
push r9
nop
push r8
shl edx, 7
push r11
emms
pop r11
rcl rcx, 9
pop r8
addss xmm4, xmm15
pop r9
emms
pop r14
rol cl, 8
pop rdx
psubw mm2, mm5
pop rcx
lea rsi, [rsp + 0x50]
mov rdx, rbx
mov rcx, rsi
call sub.msvcrt.dll__mbscmp
test eax, eax
jne 0x394057e3f
push rbx
subps xmm1, xmm15
inc ebx
psraw mm4, 0x57
push r12
not ebx
ror bl, 0x11
comiss xmm10, xmm9
push rax
andps xmm2, xmm4
not rbx
push rdx
addps xmm13, xmm5
neg r12d
pop rdx
xorps xmm10, xmm0
pmaddwd mm4, mm3
nop
pop rax
emms
maxps xmm4, xmm12
pop r12
nop
nop
pop rbx
jmp 0x394057eb0
mov rax, rbx
lea rdx, [rsp + 0x26d]
push rax
nop
emms
emms
psubw mm0, mm4
push r8
psraw mm4, 0x1a
shl r8, 0xf
emms
push rbx
por mm6, mm5
andnps xmm7, xmm12
push r13
nop
pop r13
shl r8w, 5
not r8
pop rbx
mov r8, rax
maxps xmm2, xmm15
sub rax, r8
pop r8
nop
emms
nop
nop
pop rax
xor byte [rax], 0x45
cmp r11w, r15w
jne 0x394057e9d
push rcx
emms
pop rcx
jmp 0x394057ea5
push r12
psraw mm6, 8
pop r12
push rbx
nop
pop rbx
inc rax
cmp rax, rdx
jne 0x394057e4a
push r10
subps xmm6, xmm5
push r12
mov r10b, 0x16
push r11
add r11b, r12b
pop r11
xadd r10, r12
pop r12
psrlq mm4, 0x33
pop r10
push r15
rcr r15d, 2
pcmpgtd mm3, mm5
push r9
xor r9w, r15w
pop r9
psraw mm0, 0x65
rcl r15d, 5
pop r15
push r15
emms
paddsw mm7, mm1
maxss xmm6, xmm12
maxss xmm5, xmm0
psrad mm5, 0x4b
maxss xmm6, xmm12
pmaxub mm4, mm3
pop r15
xor r8d, r8d
mov qword [rsp + 0x30], r8
push r12
nop
push rbx
minps xmm2, xmm10
inc ebx
push r15
pslld mm5, 0x36
emms
not bl
pop r15
emms
emms
pop rbx
emms
pop r12
push r13
nop
sub r13w, 5
nop
inc r13d
psllq mm1, 0x60
dec r13d
pminsw mm7, mm6
pop r13
push r8
mov r8, 2
push rbx
push rdx
pop rdx
pop rbx
dec r8
jne 0x394057f4e
pop r8
lea rdx, [fcn.394057a8c]
lea r8, [rsp + 0x30]
mov ecx, 6
call fcn.39404b0e4
mov dword [rsp + 0x268], 0x29737677
mov word [rsp + 0x26c], 0x6d
mov ebp, eax
push r9
sar r9, 0xe
nop
rcpps xmm12, xmm8
psrad mm7, 0x53
emms
push r15
nop
andnps xmm15, xmm3
neg r9b
rcpss xmm8, xmm14
xchg r15w, r9w
pop r15
pslld mm7, 0x41
maxss xmm1, xmm2
pcmpgtw mm5, mm1
orps xmm10, xmm9
andnps xmm9, xmm5
pslld mm6, 0x52
pop r9
mov word [rsp + 0x50], 0x364f
mov byte [rsp + 0x52], 0
cmp r11b, r8b
jne 0x394057fed
push r14
maxss xmm10, xmm4
push rbx
not bl
rcl r14w, 0xd
pop rbx
psubusw mm6, mm1
pop r14
jmp 0x394057ffd
push rcx
emms
push r11
shl rcx, 8
ucomiss xmm2, xmm7
pop r11
nop
pop rcx
push r13
rol r13b, 0xb
push r15
emms
rcl r13, 7
pop r15
psrlw mm0, 0x42
pop r13
mov rdx, rsi
mov rcx, rbx
call sub.msvcrt.dll__mbscmp
test eax, eax
jne 0x39405804f
push r12
psraw mm2, 0x36
mov r12b, 3
nop
not r12b
push r9
paddw mm4, mm0
movlhps xmm10, xmm3
nop
xor r12d, r9d
pop r9
nop
psrad mm5, 0x29
psrlw mm7, 0x59
psllq mm7, 0x50
pop r12
jmp 0x394058061
push r13
nop
push r10
ror r13b, 0x11
emms
pop r10
pmulhuw mm2, mm0
pop r13
push r13
emms
psraw mm1, 0x30
movups xmm12, xmm5
sbb r13d, 0x12
nop
psrlw mm5, 0x4a
rol r13w, 0xc
inc r13d
rcpss xmm12, xmm14
emms
paddd mm7, mm4
punpckldq mm6, mm7
pop r13
test ebp, ebp
je 0x3940584ce
push rax
paddsb mm5, mm1
nop
psrlq mm7, 0x54
push r12
nop
pandn mm1, mm4
psubusw mm5, mm6
push r9
emms
punpckldq mm5, mm4
push rdx
emms
neg edx
pop rdx
psrlw mm0, 0x62
nop
emms
pop r9
rcr r12b, 2
psubw mm1, mm7
pop r12
andnps xmm1, xmm11
psllq mm2, 0x46
pop rax
push r8
inc r8
nop
rcpps xmm4, xmm13
push rax
psrlq mm0, 0x4b
emms
push r11
psrad mm6, 0x65
pop r11
psraw mm1, 0x31
emms
pop rax
psubsb mm3, mm2
sar r8d, 0x13
nop
pop r8
call fcn.3940559ae
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
mov r8d, 0x104
call fcn.394049201
mov edx, eax
push rbx
psllq mm0, 0x2c
nop
push r10
pandn mm2, mm4
pop r10
punpckhbw mm4, mm6
emms
pop rbx
mov rcx, rbx
call fcn.3940578ba
movsxd rbp, eax
push r14
nop
push r15
nop
push r13
emms
pop r13
inc r14d
pop r15
shr r14b, 0x16
pop r14
lea r13, [rbp + rbp]
lea rcx, [rsp + 0x68]
mov r8, rbx
mov edx, 0x200
mov r9, r13
call fcn.39404bb56
push r13
sub r13b, 0xf
push r15
psrad mm5, 0x30
push r9
mov r9w, 0xa
push r8
nop
pop r8
sar r13b, 0xd
pop r9
sbb r13b, r15b
pop r15
shl r13b, 5
pop r13
mov edx, 0x100
lea rcx, [rdi + r13 + 8]
mov r9d, 0x10
mov r8, r12
sub rdx, rbp
add rdx, rdx
call fcn.39404bb56
push rdx
paddsb mm5, mm1
nop
shl dl, 4
inc rdx
push rax
nop
adc rdx, rax
pslld mm4, 0x4e
emms
pop rax
ror dl, 0x10
mulps xmm3, xmm8
nop
dec rdx
pop rdx
mov edx, 4
mov ecx, 2
call sub.msvcrt.dll_calloc
mov rcx, rax
cmp r11b, 0x57
je 0x394058353
push rdx
psrlq mm6, 0x19
subss xmm7, xmm13
addss xmm15, xmm5
emms
pmaxsw mm7, mm0
push r10
orps xmm7, xmm13
inc r10d
inc r10d
mulps xmm9, xmm12
push r14
xor r10w, dx
ror rdx, 0xe
psrld mm6, 0x12
push r11
emms
dec r11d
push r9
psrad mm1, 0x1d
pop r9
psrlq mm7, 0x3b
psllq mm2, 0x50
pop r11
nop
mov r10b, r14b
paddb mm7, mm1
pop r14
emms
punpckhbw mm3, mm4
psrlq mm2, 0x68
xadd r10d, edx
pop r10
emms
paddusb mm6, mm0
nop
punpckldq mm6, mm2
rcpss xmm14, xmm1
pop rdx
cmp edx, 0x3e
je 0x39405836f
push rax
mov rax, 1
push r8
push r13
pop r13
pop r8
dec rax
jne 0x39405826b
pop rax
cmp r8, 0x64
je 0x394058390
push r12
paddsb mm4, mm6
emms
movaps xmm4, xmm5
andps xmm4, xmm12
dec r12d
push r13
nop
dec r12
nop
nop
push r9
emms
cmp r12b, r13b
sbb r13w, r12w
push rdx
pslld mm1, 0x54
not r12
push r14
movss xmm15, xmm4
pop r14
inc r12d
comiss xmm5, xmm14
pop rdx
emms
pmullw mm3, mm4
sar r13b, 0x12
pop r9
andps xmm6, xmm12
emms
not r13w
rol r12d, 3
pop r13
shl r12w, 0xe
emms
emms
maxps xmm3, xmm8
rcr r12w, 0x15
pop r12
cmp r13d, ecx
je 0x3940583a2
push r8
mov r8, 2
push r9
pop r9
dec r8
jne 0x394058301
pop r8
cmp r13d, r8d
je 0x3940583c0
push r12
not r12
emms
pcmpgtw mm5, mm4
push r15
psllq mm6, 0x66
pcmpgtd mm7, mm0
push r9
rcpss xmm0, xmm1
pop r9
pcmpgtw mm1, mm2
neg r15d
pop r15
punpckhwd mm6, mm4
packsswb mm7, mm5
inc r12
pop r12
cmp r11b, 0x1d
je 0x3940583d5
jne 0x3940583e7
push r9
psrad mm7, 0x56
nop
orps xmm6, xmm15
rcr r9, 0xe
psrlw mm4, 0x34
emms
paddusw mm0, mm5
pop r9
jmp 0x3940583e7
cmp r11b, 0x16
jne 0x394058384
push r15
punpcklwd mm1, mm3
pop r15
jmp 0x39405838a
push rdx
sar dx, 0xb
pop rdx
push rax
emms
pop rax
jmp 0x3940583e7
push rbx
emms
push r12
rcl rbx, 3
pop r12
xorps xmm8, xmm14
pop rbx
jmp 0x3940583e7
cmp r11b, bl
jne 0x3940583b2
push rbx
psadbw mm3, mm4
pop rbx
jmp 0x3940583b8
push rdx
psrld mm4, 0x14
pop rdx
push r14
emms
pop r14
jmp 0x3940583e7
push r9
psrlq mm2, 0x42
push r14
movups xmm4, xmm12
pop r14
neg r9
pop r9
jmp 0x3940583e7
push r9
mov r9, 3
push rax
pop rax
dec r9
jne 0x3940583de
pop r9
push rcx
addss xmm11, xmm4
pslld mm0, 0x2a
nop
push rbx
nop
orps xmm15, xmm2
movss xmm10, xmm11
push r15
pxor mm1, mm2
shr rbx, 2
push r12
rcpps xmm13, xmm12
mov r15, 3
pop r12
por mm5, mm1
sub cl, 7
sub ecx, 0x17
pop r15
shl ecx, 1
emms
pop rbx
nop
pand mm6, mm4
pop rcx
mov edx, 0x38
call sub.msvcrt.dll_realloc
mov rcx, rax
xor eax, eax
push rdx
nop
push rcx
paddsb mm3, mm6
psrlq mm1, 1
push rbx
dec rdx
nop
maxps xmm0, xmm7
pop rbx
subps xmm13, xmm6
rcpps xmm4, xmm8
pop rcx
psrld mm1, 0x17
pop rdx
xor dword [rcx + rax*4], 0x17
push r12
movups xmm0, xmm9
shl r12d, 3
nop
maxss xmm2, xmm13
pand mm1, mm5
nop
movups xmm11, xmm14
pop r12
test rax, rax
jne 0x394058484
mov eax, 1
jmp 0x394058439
call sub.msvcrt.dll_free
push r11
shl r11d, 0x13
push rax
emms
not r11b
push r9
nop
movups xmm15, xmm0
movups xmm8, xmm6
push rdx
mov r11d, 3
test edx, r11d
inc rdx
paddd mm3, mm2
pop rdx
andnps xmm6, xmm12
inc rax
psrlq mm4, 0x68
pop r9
sbb eax, 0x15
psubsb mm2, mm0
pop rax
rcpss xmm1, xmm12
pop r11
jmp 0x3940584d5
xor ecx, ecx
call fcn.39404adc7
mov dword [rsp + 0x268], 0x29737677
mov word [rsp + 0x26c], 0x6d
push r9
sar r9, 0xe
nop
rcpps xmm12, xmm8
psrad mm7, 0x53
emms
push r15
nop
andnps xmm15, xmm3
neg r9b
rcpss xmm8, xmm14
xchg r15w, r9w
pop r15
pslld mm7, 0x41
maxss xmm1, xmm2
pcmpgtw mm5, mm1
orps xmm10, xmm9
andnps xmm9, xmm5
pslld mm6, 0x52
pop r9
mov word [rsp + 0x50], 0x364f
mov byte [rsp + 0x52], 0
cmp r11b, r8b
jne 0x394058551
push r14
maxss xmm10, xmm4
push rbx
not bl
rcl r14w, 0xd
pop rbx
psubusw mm6, mm1
pop r14
jmp 0x394058561
push rcx
emms
push r11
shl rcx, 8
ucomiss xmm2, xmm7
pop r11
nop
pop rcx
push r13
rol r13b, 0xb
push r15
emms
rcl r13, 7
pop r15
psrlw mm0, 0x42
pop r13
mov rdx, rsi
mov rcx, rbx
call sub.msvcrt.dll__mbscmp
test eax, eax
jne 0x3940585b3
push r12
psraw mm2, 0x36
mov r12b, 3
nop
not r12b
push r9
paddw mm4, mm0
movlhps xmm10, xmm3
nop
xor r12d, r9d
pop r9
nop
psrad mm5, 0x29
psrlw mm7, 0x59
psllq mm7, 0x50
pop r12
jmp 0x3940585c5
push r13
nop
push r10
ror r13b, 0x11
emms
pop r10
pmulhuw mm2, mm0
pop r13
push r13
emms
psraw mm1, 0x30
movups xmm12, xmm5
sbb r13d, 0x12
nop
psrlw mm5, 0x4a
rol r13w, 0xc
inc r13d
rcpss xmm12, xmm14
emms
paddd mm7, mm4
punpckldq mm6, mm7
pop r13
push r14
psrld mm7, 5
push r15
xor r14, r15
push rax
movss xmm5, xmm8
push rdx
mov eax, 8
push r13
inc edx
push r12
pslld mm5, 0x60
push r9
rcpss xmm9, xmm12
pop r9
nop
pop r12
and r15, rax
pop r13
pmaddwd mm6, mm3
pop rdx
shr r14w, 7
pop rax
nop
pop r15
nop
pop r14
xor eax, eax
mov qword [rsp + 0x38], rax
push r11
psraw mm1, 2
push r12
inc r11d
push rax
psrld mm2, 6
push rbx
rcr al, 0x15
push rcx
emms
push r13
paddsb mm3, mm0
pop r13
rcpps xmm5, xmm13
pop rcx
psrad mm1, 0x26
pop rbx
pmullw mm2, mm6
pop rax
sbb r11b, r12b
pop r12
psraw mm5, 0x60
pop r11
push r8
pcmpgtd mm6, mm7
push rax
nop
push rcx
rcr cx, 0xf
pop rcx
emms
pop rax
subps xmm10, xmm14
pop r8
cmp r11d, 1
je 0x3940587bf
cmp r11w, 0x10
jne 0x3940586af
push r12
shr r12w, 0xa
push r10
pcmpeqb mm2, mm7
emms
pop r10
psubusw mm5, mm7
pop r12
jmp 0x3940586c1
push r11
neg r11b
push rbx
mulss xmm2, xmm5
nop
pop rbx
sbb r11d, 0x17
pop r11
push rax
nop
push r13
psrlw mm7, 0x30
emms
pop r13
nop
pop rax
cmp rdx, 0x21
je 0x394058807
push rcx
pcmpgtw mm5, mm6
pop rcx
cmp r10, 0x22
je 0x394058826
push rax
pmaxub mm7, mm3
shl rax, 0x16
not rax
push r8
rcr r8w, 9
emms
push r11
psrlq mm5, 0x3e
pop r11
cmp ax, r8w
subss xmm6, xmm3
pop r8
pslld mm7, 0x44
emms
psrad mm0, 0x17
pop rax
cmp r14w, ax
je 0x39405888d
push r10
emms
push rdx
psraw mm4, 0x54
ror edx, 5
push rax
maxss xmm0, xmm11
inc rax
andps xmm7, xmm6
pop rax
pmaddwd mm2, mm1
nop
pop rdx
maxss xmm4, xmm11
pop r10
cmp r12d, eax
je 0x3940588b3
push r8
ror r8d, 0x15
push rdx
rcl r8, 0x15
test r8b, dl
push r11
packsswb mm2, mm5
nop
nop
push rcx
maxss xmm15, xmm8
psraw mm6, 0x1f
psraw mm2, 0x4c
psrlq mm2, 0x34
push rax
psraw mm1, 0x41
psrlq mm1, 0x30
neg al
rcl cl, 7
emms
pop rax
nop
nop
inc r8
adc ecx, r8d
pop rcx
mov r11, 9
adc r8d, r11d
emms
pop r11
psrlq mm0, 6
psrlq mm1, 0x13
pop rdx
psrad mm5, 0x2d
pop r8
cmp r10w, r15w
je 0x394058904
jne 0x394058966
push r14
psrad mm7, 0x6b
movaps xmm13, xmm8
neg r14w
push rcx
psubusw mm0, mm5
inc r14
test r14, rcx
push rbx
sub ecx, 1
test rcx, rbx
push r11
adc rbx, r14
psubusw mm7, mm5
pop r11
paddb mm0, mm6
pslld mm6, 0x1b
xadd cl, r14b
pop rbx
shl r14, 0xc
emms
pop rcx
psllq mm3, 0x21
nop
pop r14
jmp 0x394058966
push r11
dec r11d
movhlps xmm6, xmm12
push r9
add r9w, r11w
pop r9
pminsw mm1, mm6
movlhps xmm7, xmm11
pop r11
jmp 0x394058966
push rcx
ucomiss xmm12, xmm2
push r15
paddb mm2, mm3
inc ecx
push r12
sub cx, 5
pandn mm0, mm5
punpckldq mm5, mm0
push rdx
or r15d, r12d
psrad mm3, 0x29
sub r15w, 0xc
sbb r15, 1
push rbx
xchg r15w, cx
and r12w, dx
mov rdx, 0x15
nop
or r15w, r12w
pop rbx
and edx, r15d
psrad mm4, 0x40
dec edx
emms
pop rdx
emms
sbb r12d, r15d
sbb r12b, 6
pop r12
shl cx, 0x15
punpckldq mm6, mm1
pop r15
emms
pop rcx
jmp 0x394058966
push r13
orps xmm9, xmm0
push rcx
not cl
psrlw mm6, 0x21
push r10
inc r13
pmaxub mm7, mm5
emms
pop r10
nop
mov ecx, r13d
pop rcx
nop
pop r13
jmp 0x394058966
cmp r11w, 6
jne 0x3940588de
push r9
pxor mm6, mm0
push rdx
neg edx
nop
pop rdx
shl r9w, 7
pop r9
jmp 0x3940588ee
push rcx
psubusw mm5, mm6
push rax
nop
psllq mm0, 0x5a
pop rax
rcr rcx, 0x10
pop rcx
push r10
nop
push r13
movaps xmm12, xmm9
not r10d
pop r13
psraw mm2, 0x3b
pop r10
jmp 0x394058966
push rcx
subps xmm5, xmm1
push r15
mulps xmm15, xmm11
nop
push rax
pmaddwd mm4, mm5
movaps xmm2, xmm14
sbb ax, 0x12
push r9
emms
rcl r15w, 0xf
andnps xmm7, xmm1
emms
push r8
mov r9b, r15b
rol r9b, 0xa
dec r8
addss xmm3, xmm12
pslld mm5, 0x5f
pop r8
pminsw mm3, mm4
sbb cx, 6
sbb cl, 0xc
rol r15, 0x17
pop r9
test al, cl
psrlw mm3, 2
psraw mm0, 0x10
pop rax
paddusw mm4, mm5
emms
pop r15
not cx
pop rcx
push rdx
mov rdx, 3
push r11
push r10
pop r10
pop r11
dec rdx
jne 0x39405896e
pop rdx
call fcn.394055dd9
lea rbp, [rsp + 0x40]
mov rdx, rdi
mov rcx, rbp
call fcn.394057760
push rax
psrad mm7, 0x62
push rdx
not al
shr edx, 7
push r8
psubsb mm6, mm0
ror al, 9
maxss xmm1, xmm15
push r13
nop
xorps xmm10, xmm0
inc eax
nop
pop r13
movups xmm0, xmm4
rcr eax, 7
test dl, al
pop r8
emms
psubw mm4, mm5
pop rdx
pand mm5, mm2
pop rax
xor ecx, ecx
xor edx, edx
mov dword [rsp + 0x268], 0x30
mov qword [rsp + 0x270], rdx
mov dword [rsp + 0x280], 0x40
mov qword [rsp + 0x278], rbp
mov qword [rsp + 0x288], rcx
mov qword [rsp + 0x290], rcx
push rbx
punpckhwd mm6, mm0
push r11
test bx, r11w
push rcx
emms
push r14
neg r14d
push r9
pmaddwd mm0, mm4
push r15
psrlw mm6, 0x4f
pop r15
packsswb mm2, mm0
pop r9
mov r14b, 1
pop r14
movhlps xmm4, xmm15
pop rcx
psrlw mm2, 0x13
pop r11
ror ebx, 0xd
pop rbx
call fcn.394055a61
lea rcx, [rsp + 0x38]
mov r9, rsi
mov r8, rbx
mov dword [rsp + 0x28], 0x20
mov edx, 0x120089
mov dword [rsp + 0x20], 1
call fcn.39404d4e5
push r11
nop
pop r11
mov rax, qword [rsp + 0x38]
add rsp, 0x478
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret