Function at 0x399962398
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
push r11
movlhps xmm2, xmm9
emms
rcr r11d, 4
pmulhuw mm0, mm2
rol r11, 9
push rax
rcpps xmm9, xmm10
not ax
pslld mm7, 0x20
neg eax
sar ax, 1
pop rax
emms
psrld mm0, 0x47
emms
not r11b
emms
shl r11b, 0xf
pop r11
call fcn.399978042
cmp bl, 0x44
jne 0x39996240c
push rdx
rcl edx, 0xa
push r15
xadd r15w, dx
rcpss xmm14, xmm9
pop r15
addps xmm14, xmm8
pop rdx
jmp 0x399962421
push rax
addps xmm4, xmm10
push r14
pminsw mm0, mm5
movaps xmm6, xmm11
pop r14
shr ax, 0xe
pop rax
push r11
rcr r11b, 7
push r12
emms
pslld mm5, 1
pop r12
emms
pop r11
push rax
nop
push r9
dec r9d
nop
pop r9
addps xmm1, xmm11
pop rax
push r11
shl r11, 0x11
push r13
neg r13d
pop r13
psrld mm3, 0x30
pop r11
push r11
movlhps xmm10, xmm15
push r13
neg r13b
paddd mm7, mm4
push r15
dec r11
pmullw mm6, mm0
nop
pop r15
adc r13, r11
emms
pop r13
psrad mm0, 0x3e
pop r11
push r13
shr r13w, 0xc
push r15
psrld mm3, 0xd
push rcx
psubusw mm3, mm2
push r8
emms
push r12
nop
pop r12
comiss xmm5, xmm4
pop r8
test r13, rcx
pop rcx
test r13d, r15d
pop r15
packuswb mm6, mm3
pop r13
push r12
pslld mm4, 0x5d
push r9
shl r9, 0xe
pop r9
paddd mm6, mm0
pop r12
cmp bl, 0x44
jne 0x3999624ec
push rdx
rcl edx, 0xa
push r15
xadd r15w, dx
rcpss xmm14, xmm9
pop r15
addps xmm14, xmm8
pop rdx
jmp 0x399962501
push rax
addps xmm4, xmm10
push r14
pminsw mm0, mm5
movaps xmm6, xmm11
pop r14
shr ax, 0xe
pop rax
push r11
rcr r11b, 7
push r12
emms
pslld mm5, 1
pop r12
emms
pop r11
push rax
nop
push r9
dec r9d
nop
pop r9
addps xmm1, xmm11
pop rax
push r11
shl r11, 0x11
push r13
neg r13d
pop r13
psrld mm3, 0x30
pop r11
push rdx
comiss xmm13, xmm8
push r12
emms
shl r12, 8
push rbx
nop
rcl r12b, 0xd
punpcklbw mm5, mm3
pop rbx
add r12w, dx
movss xmm7, xmm3
pop r12
emms
pop rdx
movabs rax, 0x4c0030005a0029
mov word [rsp + 0x58], 0
mov qword [rsp + 0x50], rax
push r8
psadbw mm0, mm4
push rdx
dec edx
xadd r8d, edx
push rax
emms
andnps xmm6, xmm12
not r8
push r10
cmp r10b, r8b
pslld mm3, 0x21
sar r8, 2
dec r8d
push r11
xchg edx, r8d
nop
punpcklbw mm0, mm3
punpckldq mm4, mm5
rol r8d, 5
pop r11
mov r8d, 0x15
pcmpeqb mm0, mm1
maxss xmm7, xmm6
mov ax, 4
pop r10
sbb r8, rax
nop
emms
pop rax
emms
psraw mm5, 0x62
pop rdx
nop
pop r8
mov dword [rsp + 0x48], 0x30005d
mov word [rsp + 0x4c], 0
push r9
emms
nop
push r11
pcmpeqd mm0, mm5
pop r11
pxor mm1, mm4
emms
pop r9
lea rbx, [rsp + 0x48]
lea rdi, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x399962613
push r10
emms
pop r10
jmp 0x399962697
mov rax, rbx
lea rdx, [rsp + 0x4c]
push rax
not al
emms
nop
push r11
shr r11w, 0x14
inc r11
xor eax, r11d
push r15
movss xmm4, xmm8
mov rax, r15
push r14
psrld mm7, 9
pmaxsw mm0, mm2
pop r14
psrlw mm0, 0x55
nop
cmp r11, rax
pop r15
emms
shl r11, 2
pop r11
emms
emms
pop rax
xor word [rax], 0x84
push r8
nop
dec r8
inc r8d
push r9
psrad mm5, 0x32
rcr r9b, 0x17
push rcx
inc r8d
pop rcx
addps xmm7, xmm14
not r9b
pop r9
psrlq mm2, 0x69
psllq mm1, 0x3e
rcl r8b, 0xe
pop r8
add rax, 2
cmp rax, rdx
jne 0x39996261b
cmp bx, r9w
jne 0x3999626be
push r9
andnps xmm11, xmm0
push r14
emms
nop
pop r14
punpckhwd mm7, mm3
pop r9
jmp 0x3999626d0
push r12
pminsw mm3, mm0
push r11
nop
addss xmm8, xmm10
pop r11
nop
pop r12
push r15
ror r15d, 0x11
push r10
nop
sub r15b, r10b
pop r10
mulps xmm5, xmm1
pop r15
rdtsc
mov esi, edx
mov ebp, eax
cmp ebx, r15d
jne 0x399962714
push rcx
nop
push r14
adc rcx, r14
neg cl
pop r14
psrld mm7, 0x41
pop rcx
jmp 0x399962728
push r13
paddd mm7, mm2
push r11
orps xmm8, xmm2
psrld mm4, 0x2d
pop r11
nop
pop r13
push r8
pslld mm2, 0x30
push rdx
pslld mm1, 0x29
inc r8d
pop rdx
nop
pop r8
call fcn.399977bb6
shl rsi, 0x20
mov dword [rsp + 0x50], 0x65433951
mov word [rsp + 0x54], 0x63
or rsi, rbp
cmp ebx, r15d
jne 0x399962760
push rdx
emms
pop rdx
jmp 0x399962767
push r10
pcmpeqd mm1, mm3
pop r10
push r12
movaps xmm15, xmm12
pop r12
mov word [rsp + 0x48], 0x7874
mov byte [rsp + 0x4a], 0
push rdx
psubsb mm4, mm2
emms
rcr edx, 0xd
shl rdx, 0x17
push r11
pxor mm4, mm5
punpckhwd mm3, mm7
minps xmm4, xmm1
push r8
andnps xmm0, xmm5
orps xmm3, xmm10
push r9
sar r8d, 0x16
pop r9
nop
emms
pop r8
psubsb mm2, mm6
psrlq mm7, 0x5c
paddsw mm3, mm6
pop r11
mov rdx, 0xa
not dx
movhlps xmm8, xmm0
not dx
pop rdx
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x39996284b
mov rax, rdi
lea rdx, [rsp + 0x55]
push r10
mov r10, 2
push r9
mov r9, 1
push r12
pop r12
dec r9
jne 0x3999627f0
pop r9
dec r10
jne 0x3999627e7
pop r10
xor byte [rax], 0x85
push r9
neg r9w
shr r9d, 0x17
not r9w
push r14
por mm7, mm3
neg r9w
nop
push rcx
neg r14w
ror ecx, 9
xadd r9b, cl
pop rcx
punpckldq mm5, mm0
nop
emms
pop r14
nop
psrad mm5, 0x50
maxss xmm15, xmm1
pop r9
inc rax
cmp rax, rdx
jne 0x3999627de
jmp 0x3999628cb
mov rax, rbx
lea rdx, [rsp + 0x4a]
push rdx
pminsw mm7, mm5
emms
shl dl, 0x15
pcmpgtw mm6, mm1
push r8
minps xmm15, xmm13
paddusw mm0, mm1
nop
push r10
not edx
nop
push r14
nop
pop r14
movaps xmm10, xmm12
emms
pop r10
add r8w, dx
rcl r8b, 0x15
rol dx, 0x13
pop r8
nop
sub edx, 8
shl dx, 8
nop
pop rdx
xor byte [rax], 0x24
push rdx
emms
pmulhuw mm7, mm1
emms
not dx
emms
push r13
pmulhuw mm4, mm0
shl edx, 9
emms
nop
pcmpeqw mm3, mm0
pop r13
inc rdx
pmulhuw mm4, mm1
not dl
psllq mm3, 0x31
nop
emms
pop rdx
inc rax
cmp rax, rdx
jne 0x399962853
cmp bl, al
jne 0x3999628fa
push r10
inc r10
push rcx
movaps xmm12, xmm4
pcmpeqb mm2, mm1
pop rcx
psraw mm4, 0x2e
pop r10
jmp 0x39996290e
push r12
pslld mm4, 0x5a
push rax
dec r12d
rol eax, 3
pop rax
rcl r12, 0xb
pop r12
push r14
paddsb mm3, mm6
push r13
dec r13
packssdw mm5, mm0
pop r13
mulps xmm1, xmm6
pop r14
push r9
psrld mm5, 0x6b
psraw mm0, 0x1b
not r9
emms
push rcx
sbb ecx, r9d
nop
not cx
inc ecx
pop rcx
punpcklbw mm4, mm1
rol r9, 0x11
emms
nop
pop r9
mov edx, 1
mov ecx, 3
call sub.msvcrt.dll_calloc
mov rcx, rax
push r10
pmullw mm4, mm1
pop r10
mov edx, 0x12
call sub.msvcrt.dll_realloc
mov rcx, rax
xor eax, eax
push rdx
nop
push r10
inc r10d
push r11
psrad mm0, 0x12
pop r11
emms
pop r10
pmullw mm5, mm4
pop rdx
xor byte [rcx + rax], 0x98
push r11
sub r11, 0x13
nop
push rax
emms
subss xmm3, xmm0
push r14
sar r14, 0xd
nop
push rcx
pand mm3, mm2
xchg r11d, r14d
pop rcx
psllq mm4, 0x28
pcmpeqw mm2, mm6
pop r14
nop
inc r11d
pop rax
not r11w
xorps xmm7, xmm5
pop r11
inc rax
cmp rax, 3
jne 0x399962970
call sub.msvcrt.dll_free
cmp rbx, r11
jne 0x3999629e0
push r14
mov r14b, 0xb
pop r14
jmp 0x3999629e8
push r8
psraw mm6, 0x66
pop r8
push r12
rol r12d, 0xf
pop r12
mov qword [rsp + 0x50], 0xffffffffffffd8f0
push r10
emms
pop r10
mov ecx, 0x14
mov rax, rsi
xor edx, edx
div rcx
imul esi, edx, 0x3e8
push r10
emms
pcmpgtd mm0, mm5
push r12
or r12, r10
xadd r10w, r12w
push rcx
test cx, r10w
nop
push rdx
psrld mm7, 8
inc r10
push r8
pslld mm5, 0x26
xchg r8d, r10d
pop r8
inc r10
paddusw mm0, mm6
pop rdx
not r12
adc r10d, r12d
pop rcx
not r12w
sbb r12, 3
pop r12
nop
emms
pop r10
call sym.FillExecutable.dll_SleepEventSingle
lea eax, [rsi + 0x2710]
mov dword [rsp + 0x48], 0x6f6b6f74
imul rax, qword [rsp + 0x50]
mov word [rsp + 0x4c], 0x74
mov qword [rsp + 0x50], rax
cmp bl, 0x15
jne 0x399962ac1
push rcx
mov rcx, 3
push r12
push r15
pop r15
pop r12
dec rcx
jne 0x399962a8b
pop rcx
jmp 0x399962b07
push r12
maxss xmm9, xmm1
push r15
neg r15w
push rdx
not r12b
push r9
inc r9
push rbx
not r9w
push r13
pslld mm0, 0x1d
push r11
mov r11b, r15b
pop r11
psrld mm2, 0x5e
pop r13
psrad mm4, 0x6a
pop rbx
shl rdx, 0x17
pop r9
nop
pop rdx
neg r15
pop r15
not r12w
pop r12
push rcx
paddusb mm2, mm6
not rcx
emms
pcmpeqb mm2, mm0
push rax
psrlq mm2, 0x52
emms
psubw mm3, mm2
test rax, rcx
pop rax
emms
movaps xmm14, xmm9
shr rcx, 0x13
nop
pop rcx
mov rcx, rbx
call sub.msvcrt.dll_strlen
cmp rax, 4
jne 0x399962b79
push r12
orps xmm5, xmm13
mulps xmm8, xmm11
push r8
inc r12d
movss xmm5, xmm10
push r11
nop
emms
push r14
sub r12w, r14w
nop
pop r14
psubusw mm5, mm7
punpcklwd mm5, mm0
pop r11
emms
psraw mm7, 0x3a
pop r8
movhlps xmm0, xmm15
nop
pop r12
jmp 0x399962ce5
mov rax, rbx
lea rdx, [rsp + 0x4d]
push rbx
mulss xmm8, xmm2
nop
rcl bx, 0xd
shl rbx, 5
push rax
nop
inc rbx
movhlps xmm5, xmm6
push rcx
inc rax
psllq mm2, 0x52
push r14
emms
pop r14
pxor mm2, mm3
sar cx, 0xc
pop rcx
psrad mm4, 9
ror bl, 0xf
or rbx, rax
pop rax
emms
orps xmm13, xmm2
rcpss xmm9, xmm1
andnps xmm6, xmm9
pop rbx
xor byte [rax], 0x64
cmp bx, 0x38
jne 0x399962c46
cmp ebx, 0x5c
jne 0x399962be9
push r9
andnps xmm6, xmm10
push rbx
shl r9d, 0xf
nop
pop rbx
nop
pop r9
jmp 0x399962bfd
push r15
nop
push r8
sub r8b, r15b
sbb r8b, 1
pop r8
psraw mm4, 0x31
pop r15
push rax
nop
push r10
nop
nop
pop r10
sar eax, 0x12
pop rax
jmp 0x399962c7d
push rcx
nop
not cx
pcmpeqd mm4, mm2
push r11
pslld mm3, 0x2b
psrld mm6, 0x3e
ror r11d, 0x16
push rdx
psraw mm0, 0x54
psubsb mm6, mm2
sar cl, 0xb
pop rdx
xorps xmm1, xmm6
inc r11d
ror r11b, 0xc
pop r11
psllq mm1, 0x35
pcmpgtd mm3, mm2
nop
pop rcx
push rax
not eax
emms
punpckldq mm4, mm3
packuswb mm2, mm7
addss xmm0, xmm8
push r12
paddsw mm3, mm6
not ax
shl rax, 1
nop
push rbx
sbb ebx, r12d
nop
nop
push r8
inc r8d
pcmpeqd mm0, mm3
push rdx
cmp bl, al
pop rdx
emms
xor ebx, r8d
pop r8
neg ebx
orps xmm14, xmm2
subps xmm6, xmm14
pop rbx
inc rax
mulss xmm0, xmm6
nop
psrlw mm4, 0x66
pop r12
packuswb mm2, mm4
emms
dec eax
pmaxsw mm2, mm5
punpckldq mm6, mm7
pop rax
inc rax
cmp rax, rdx
jne 0x399962b81
push r9
emms
rcpss xmm2, xmm15
emms
emms
push r13
psllq mm0, 0x46
emms
nop
punpckldq mm6, mm1
pop r13
rcpss xmm14, xmm5
emms
psrlw mm4, 0x19
shl r9d, 0xc
pop r9
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.39996cbad
mov rdx, rdi
xor ecx, ecx
call fcn.399971396
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.39996cbad
push rax
nop
push rbx
nop
push r14
nop
pop r14
addps xmm11, xmm15
pop rbx
psrlq mm5, 0x50
pop rax
mov eax, 4
push r8
psrad mm7, 0x3d
psrld mm0, 9
shl r8b, 7
psrlq mm5, 0x55
push rdx
psllq mm3, 0x3e
inc edx
psrld mm5, 0x26
push rbx
nop
mov r8d, edx
push r9
nop
pop r9
inc ebx
psrlq mm1, 0xf
pop rbx
rcr r8, 0xd
nop
ror rdx, 0x12
pop rdx
mulps xmm10, xmm13
nop
inc r8
punpckhbw mm1, mm2
pop r8
push rbx
pcmpgtw mm4, mm3
push r14
emms
psrad mm3, 0x5e
pop r14
neg bx
pop rbx
dec eax
jne 0x399962d4f
push r10
rcl r10w, 0xd
neg r10
inc r10d
andnps xmm14, xmm7
maxss xmm2, xmm0
movups xmm2, xmm7
neg r10w
pop r10
imul rax, qword [rsp + 0x40], 0x3e8
cqo
idiv qword [rsp + 0x38]
mov rcx, rax
imul rax, qword [rsp + 0x30], 0x3e8
cqo
idiv qword [rsp + 0x48]
sub ecx, eax
push r11
pcmpgtb mm6, mm5
nop
push r15
emms
psrld mm0, 0x16
push r12
paddsb mm4, mm1
not r12
push r9
nop
emms
pop r9
psrlq mm0, 0x14
movlhps xmm7, xmm5
pop r12
pcmpgtd mm0, mm1
emms
pop r15
pslld mm6, 0x2a
psraw mm2, 0x32
pop r11
add esi, 0x2328
cmp esi, ecx
jae 0x399962fbf
mov dword [rsp + 0x2a], 0x5871396d
mov word [rsp + 0x2e], 0x47
cmp ebx, 0x32
jne 0x399962e72
push rbx
xorps xmm10, xmm1
push r10
pslld mm1, 0x19
mulps xmm0, xmm10
pop r10
nop
pop rbx
jmp 0x399962e85
push rdx
psrlw mm2, 0x17
push r13
emms
psrld mm5, 0x29
pop r13
psubsb mm3, mm4
pop rdx
push rax
psubw mm0, mm1
push r14
por mm0, mm7
pminsw mm7, mm1
pop r14
psrld mm5, 0x24
pop rax
mov dword [rsp + 0x25], 0x2a497835
mov byte [rsp + 0x29], 0
push rdx
nop
sbb rdx, 0xb
movlhps xmm7, xmm9
pmaddwd mm1, mm3
rcl rdx, 0x17
mov edx, 0x10
emms
psrlq mm0, 0x65
emms
pcmpgtd mm5, mm3
emms
psrlw mm4, 0x52
pop rdx
lea rdx, [rsp + 0x25]
lea rcx, [rsp + 0x2a]
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x399962f0e
push rcx
nop
neg cl
push rbx
pslld mm2, 0x16
nop
push r15
xor r15w, bx
orps xmm15, xmm3
push rdx
nop
orps xmm15, xmm5
pop rdx
emms
psllq mm1, 0xa
pop r15
emms
neg cl
pop rbx
nop
emms
pop rcx
jmp 0x399962f20
push rbx
mov rbx, 2
push r14
pop r14
dec rbx
jne 0x399962f16
pop rbx
cmp bx, 0x58
jne 0x399962f66
push r8
sbb r8b, 0xd
push rax
nop
pop rax
addps xmm13, xmm10
pop r8
jmp 0x399962f9f
push r15
emms
emms
push rdx
shl dl, 0x10
paddd mm5, mm4
push r14
neg r15w
xchg r14d, r15d
push r8
shl dx, 3
sbb r8, 0xb
pop r8
paddusw mm1, mm5
and rdx, r15
pop r14
psraw mm3, 0x1a
psrlq mm7, 0x53
pop rdx
emms
emms
pop r15
cmp bx, 0x1e
jne 0x399962fae
push r8
neg r8d
pop r8
jmp 0x399962fb7
push r9
movss xmm9, xmm13
pop r9
push rax
neg eax
pop rax
xor eax, eax
jmp 0x399963001
push r11
movlhps xmm2, xmm9
emms
rcr r11d, 4
pmulhuw mm0, mm2
rol r11, 9
push rax
rcpps xmm9, xmm10
not ax
pslld mm7, 0x20
neg eax
sar ax, 1
pop rax
emms
psrld mm0, 0x47
emms
not r11b
emms
shl r11b, 0xf
pop r11
call fcn.399978042
mov eax, 1
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
ret