Function at 0x140028e40
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0xb8]
sub rsp, 0x1a8
mov rax, qword [0x140037040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [0x140037988]
mov rbx, rcx
test rax, rax
je 0x14002995e
mov qword [r11 + 0x10], rsi
mov esi, dword [reloc.d2d1.dll_Ordinal_1]
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x18], r14
xor r14d, r14d
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x58], xmm9
xorps xmm9, xmm9
movaps xmmword [r11 - 0x88], xmm12
movss xmm12, dword [0x140032908]
movaps xmmword [r11 - 0x98], xmm13
movss xmm13, dword [0x140032930]
movaps xmmword [r11 - 0xa8], xmm14
movss xmm14, dword [0x1400328d8]
movaps xmmword [r11 - 0xb8], xmm15
movss xmm15, dword [0x1400328d4]
movaps xmmword [r11 - 0x38], xmm7
movaps xmmword [r11 - 0x48], xmm8
movaps xmmword [r11 - 0x68], xmm10
movaps xmmword [r11 - 0x78], xmm11
nop
mov qword [rbp - 0x30], r14
test rax, rax
je 0x1400298ee
mov r8d, 8
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.140003e70
test al, al
je 0x1400298ee
cmp qword [rbp - 0x30], r14
je 0x1400298ee
mov rcx, qword [rbx]
mov rax, qword [rcx + 0x128]
cmp byte [rax + 2], r14b
jne 0x1400298ee
call fcn.1400024f0
mov ecx, dword [0x140037c24]
add rcx, qword [0x140037c38]
mov byte [rbp - 0x40], r14b
je 0x140029237
mov r8d, 1
lea rdx, [rbp - 0x40]
call fcn.140003e70
test al, al
je 0x140029237
cmp byte [rbp - 0x40], r14b
je 0x140029237
xorps xmm0, xmm0
lea rdx, [rbp - 0x20]
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
call fcn.140013030
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
sub rax, rcx
test rax, 0xfffffffffffffff8
jne 0x1400291f0
test rcx, rcx
je 0x140028fd9
mov rdx, qword [rbp - 0x10]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x140028fd4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029974
call fcn.14002fa30
cmp byte [0x14003278b], r14b
movups xmm0, xmmword [str.yYVPT_]
mov eax, dword [0x140032788]
mov dword [rbp - 0x10], eax
movups xmmword [rbp - 0x20], xmm0
je 0x14002917e
mov edi, r14d
cmp esi, 2
jl 0x140029142
movdqa xmm0, xmmword [str.5555555555555555]
lea rcx, [rbp - 0x1c]
movdqa xmm5, xmmword [0x140032a30]
movdqa xmm4, xmmword [0x140032bf0]
movdqa xmm6, xmmword [0x140032a50]
movdqa xmmword [rbp - 0x30], xmm0
mov edx, dword [rbp - 0x30]
nop dword [rax]
nop word [rax + rax]
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edi, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x10
jl 0x140029040
cmp edi, 0x14
jge 0x14002917e
movsxd rax, edi
lea r8, [rbp - 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, dil
inc edi
sub al, cl
add al, 0x35
xor byte [r8 - 1], al
cmp edi, 0x14
jl 0x140029150
mov rcx, qword [rbx]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x70]
movaps xmm0, xmm9
movss dword [rsp + 0x28], xmm12
unpcklps xmm0, xmm9
mov r9d, 1
movq r8, xmm0
movss dword [rsp + 0x20], xmm13
call fcn.1400029c0
movaps xmm0, xmmword [0x140032ae0]
lea r9, [rbp - 0x30]
movups xmm6, xmmword [rbp - 0x70]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm0, xmm9
unpcklps xmm0, xmm9
movq r8, xmm0
movdqa xmmword [rsp + 0x40], xmm6
call fcn.1400039b0
lea rax, [rbp - 0x20]
jmp 0x14002963b
test rcx, rcx
je 0x14002922a
mov rdx, qword [rbp - 0x10]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x140029225
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029974
call fcn.14002fa30
mov rcx, rbx
call fcn.140029980
jmp 0x140029679
call fcn.140006140
test rax, rax
je 0x140029432
cmp byte [0x140031add], r14b
mov eax, dword [0x140031ad8]
movsd xmm0, qword [0x140031ad0]
mov dword [rsp + 0x68], eax
movzx eax, word [0x140031adc]
mov word [rsp + 0x6c], ax
movsd qword [rsp + 0x60], xmm0
je 0x1400293be
mov edi, r14d
cmp esi, 2
jl 0x140029383
movdqa xmm2, xmmword [0x140032a30]
mov edi, 8
movdqa xmm4, xmmword [0x140032bf0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140032a40]
movdqa xmm0, xmm2
mov eax, dword [str.5555555555555555]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140032a50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140031ad0]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x60], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140032a50]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
movd xmm1, dword [rsp + 0x64]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x64], xmm2
movsxd rax, edi
lea r8, [rsp + 0x60]
add r8, rax
nop
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, dil
inc edi
sub al, cl
add al, 0x35
xor byte [r8 - 1], al
cmp edi, 0xe
jl 0x140029390
mov rcx, qword [rbx]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x60]
movaps xmm0, xmm9
movss dword [rsp + 0x28], xmm12
unpcklps xmm0, xmm9
mov r9d, 1
movq r8, xmm0
movss dword [rsp + 0x20], xmm13
call fcn.1400029c0
movaps xmm0, xmmword [0x140032ae0]
lea r9, [rsp + 0x40]
movups xmm6, xmmword [rbp - 0x60]
mov rcx, qword [rbx]
lea rdx, [rbp - 0x30]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmm9
unpcklps xmm0, xmm9
movq r8, xmm0
movdqa xmmword [rbp - 0x30], xmm6
call fcn.1400039b0
lea rax, [rsp + 0x60]
jmp 0x14002963b
movzx eax, word [0x140031e10]
mov edi, r14d
mov word [rbp - 0x10], ax
movzx eax, byte [0x140031e12]
mov byte [rbp - 0xe], al
movups xmm0, xmmword [0x140031e00]
movups xmmword [rbp - 0x20], xmm0
cmp esi, 2
jl 0x140029592
movdqa xmm0, xmmword [str.5555555555555555]
lea rcx, [rbp - 0x1c]
movdqa xmm5, xmmword [0x140032a30]
movdqa xmm4, xmmword [0x140032bf0]
movdqa xmm6, xmmword [0x140032a50]
movdqa xmmword [rbp - 0x30], xmm0
mov edx, dword [rbp - 0x30]
nop word [rax + rax]
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edi, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x10
jl 0x140029490
cmp edi, 0x13
jge 0x1400295ce
movsxd rax, edi
lea r8, [rbp - 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, dil
inc edi
sub al, cl
add al, 0x35
xor byte [r8 - 1], al
cmp edi, 0x13
jl 0x1400295a0
mov rcx, qword [rbx]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x50]
movaps xmm0, xmm9
movss dword [rsp + 0x28], xmm12
unpcklps xmm0, xmm9
mov r9d, 1
movq r8, xmm0
movss dword [rsp + 0x20], xmm13
call fcn.1400029c0
movaps xmm0, xmmword [0x140032ae0]
lea r9, [rsp + 0x40]
movups xmm6, xmmword [rbp - 0x50]
mov rcx, qword [rbx]
lea rdx, [rbp - 0x30]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmm9
unpcklps xmm0, xmm9
movq r8, xmm0
movdqa xmmword [rbp - 0x30], xmm6
call fcn.1400039b0
lea rax, [rbp - 0x20]
movaps xmm0, xmmword [0x140032be0]
lea rdx, [rbp - 0x30]
mov rcx, qword [rbx]
movaps xmm3, xmm12
mov qword [rsp + 0x28], rax
movaps xmm2, xmm13
lea rax, [rsp + 0x40]
movd r9d, xmm3
movd r8d, xmm2
mov qword [rsp + 0x20], rax
movaps xmmword [rsp + 0x40], xmm0
movdqa xmmword [rbp - 0x30], xmm6
call fcn.140003460
mov r8, qword [rbx]
mov rax, qword [r8 + 0x390]
cmp byte [rax + 1], r14b
je 0x140029717
mov rax, qword [0x140037c90]
test rax, rax
je 0x140029717
mov qword [rax], r14
lea rdi, [0x140037cb0]
mov dword [rax + 8], r14d
mov ecx, 0xff
movzx eax, r14w
rep stosw word [rdi], ax
movzx edx, byte [r8]
mov rcx, qword [0x140037ca0]
test dl, dl
sete al
test dl, dl
mov byte [r8], al
mov edx, 0xffffffec
jne 0x14002970b
mov r8d, 0x1a8
call qword [sym.imp.USER32.dll_SetWindowLongA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140037ca0]
cmp rax, rcx
je 0x140029717
call qword [sym.imp.USER32.dll_SetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140037ca0]
cmp rax, rcx
jne 0x1400296f1
jmp 0x140029717
mov r8d, 0x801a8
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rax, qword [rbx]
cmp byte [rax], r14b
je 0x140029733
mov rcx, qword [rbx + 0x20]
call fcn.14001ba80
test al, al
jne 0x140029733
mov qword [0x140037988], r14
mov rcx, qword [rbx]
movss xmm2, dword [0x1400379a8]
ucomiss xmm2, xmm2
movss xmm7, dword [rcx + 0x81c]
movss xmm6, dword [rcx + 0x818]
movaps xmm1, xmm7
movss xmm8, dword [rcx + 0x81c]
mulss xmm7, dword [0x1400370c8]
movss xmm0, dword [0x1400379ac]
mulss xmm1, xmm15
mulss xmm6, xmm15
mulss xmm1, dword [0x1400370c8]
mulss xmm8, xmm15
subss xmm6, xmm1
subss xmm8, xmm1
movss xmm1, dword [0x1400379b0]
movaps xmm10, xmm6
addss xmm10, xmm7
movaps xmm11, xmm8
addss xmm11, xmm7
jp 0x1400297b3
ucomiss xmm0, xmm0
jp 0x1400297b3
ucomiss xmm1, xmm1
jnp 0x14002981b
movss dword [rsp + 0x74], xmm0
lea r9, [rsp + 0x70]
movss xmm0, dword [0x1400379b4]
lea rdx, [rbp - 0x80]
movss dword [rsp + 0x7c], xmm0
movaps xmm0, xmm7
unpcklps xmm0, xmm7
movq r8, xmm0
movss dword [rsp + 0x70], xmm2
movss dword [rsp + 0x78], xmm1
movss dword [rbp - 0x80], xmm6
movss dword [rbp - 0x7c], xmm8
movss dword [rbp - 0x78], xmm10
movss dword [rbp - 0x74], xmm11
call fcn.1400039b0
movss xmm1, dword [0x1400379b0]
movss xmm0, dword [0x1400379ac]
movss xmm2, dword [0x1400379a8]
ucomiss xmm14, xmm2
jp 0x140029837
jne 0x140029837
ucomiss xmm14, xmm0
jp 0x140029837
jne 0x140029837
ucomiss xmm14, xmm1
jp 0x140029837
je 0x1400298c9
mov rcx, qword [0x140037c48]
lea r9, [rbp - 0x30]
movaps xmm0, xmmword [0x140032ab0]
lea rdx, [rsp + 0x40]
mov qword [rbp - 0x30], r14
xor r8d, r8d
movups xmmword [rsp + 0x40], xmm0
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r8, qword [rbp - 0x30]
test r8, r8
je 0x1400298c9
mov rcx, qword [0x140037c48]
lea rdx, [rsp + 0x40]
movss xmm3, dword [0x1400328e4]
movaps xmm0, xmm7
shufps xmm6, xmm6, 0xe1
movss xmm6, xmm8
unpcklps xmm0, xmm7
shufps xmm6, xmm6, 0xc6
movss xmm6, xmm10
movsd qword [rsp + 0x50], xmm0
shufps xmm6, xmm6, 0x27
movss xmm6, xmm11
mov qword [rsp + 0x20], r14
shufps xmm6, xmm6, 0x39
movups xmmword [rsp + 0x40], xmm6
mov rax, qword [rcx]
movups xmmword [rbp - 0x20], xmm6
call qword [rax + 0x90]
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140037c48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x188]
mov rax, qword [0x140037988]
test rax, rax
jne 0x140028ef0
movaps xmm8, xmmword [rsp + 0x170]
movaps xmm10, xmmword [rsp + 0x150]
movaps xmm11, xmmword [rsp + 0x140]
movaps xmm7, xmmword [rsp + 0x180]
movaps xmm12, xmmword [rsp + 0x130]
movaps xmm9, xmmword [rsp + 0x160]
movaps xmm13, xmmword [rsp + 0x120]
movaps xmm14, xmmword [rsp + 0x110]
movaps xmm6, xmmword [rsp + 0x190]
mov r14, qword [rsp + 0x1a0]
mov rdi, qword [rsp + 0x1d0]
mov rsi, qword [rsp + 0x1c8]
movaps xmm15, xmmword [rsp + 0x100]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14002fa10
add rsp, 0x1a8
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3