Function at 0x1400802a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0xa0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
xor ebx, ebx
mov rdi, qword [0x1401765d0]
test rdi, rdi
je 0x1400802d2
mov rsi, qword [rdi + 0xa0]
jmp 0x1400802d5
mov rsi, rbx
call fcn.1400306b0
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1400802e9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400802f7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140080306
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x90], rbx
mov qword [rdi + 0xa0], rbx
and dword [rdi + 0xc], 0xfffffff7
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [0x1401765d0]
test rdi, rdi
je 0x140080336
mov rsi, qword [rdi + 0x98]
jmp 0x140080339
mov rsi, rbx
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140080348
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rdi + 0x88], rbx
mov qword [rdi + 0x98], rbx
and dword [rdi + 0xc], 0xfffffff8
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [0x1401765d0]
mov qword [0x1401765d0], rdi
call fcn.14000b3d0
mov qword [0x1401765d0], rbx
test rdi, rdi
je 0x140080393
mov rcx, rdi
call fcn.140022330
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140176780]
test rcx, rcx
je 0x1400803a5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140176718]
test rcx, rcx
je 0x1400803b7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140176798]
test rcx, rcx
je 0x1400803c9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140176720]
test rcx, rcx
je 0x1400803db
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140176710]
call qword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
jne 0x140080572
lea rdx, [rsp + 0x40]
call fcn.1400807a0
mov r9, rax
cmp byte [rax + 0x18], bl
je 0x14008072d
cmp dword [0x140138098], 2
jl 0x140080538
movdqa xmm5, xmmword [0x140121360]
movdqa xmm4, xmmword [0x1401217e0]
movdqa xmm6, xmmword [0x140121390]
movdqa xmm0, xmmword [0x140121490]
movdqa xmmword [rsp + 0x20], xmm0
mov rcx, rax
movdqa xmm7, xmmword [0x140121430]
mov edx, dword [rsp + 0x20]
nop dword [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm3, xmm0
movd dword [rcx + 4], xmm3
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x140080450
cmp eax, 0x19
jge 0x14008072d
movsxd r8, ebx
add r8, r9
nop
mov eax, 0x51eb851f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
sub al, cl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x19
jge 0x14008072d
jmp 0x140080540
mov rdx, qword [0x140176748]
mov rcx, qword [0x140176770]
call qword [sym.imp.USER32.dll_UnregisterClassW]
test eax, eax
jne 0x14008070e
lea rdx, [rsp + 0x40]
call fcn.1400807a0
mov r9, rax
cmp byte [rax + 0x18], bl
je 0x140080762
cmp dword [0x140138098], 2
jl 0x1400806d8
movdqa xmm5, xmmword [0x140121360]
movdqa xmm4, xmmword [0x1401217e0]
movdqa xmm6, xmmword [0x140121390]
movdqa xmm0, xmmword [0x140121490]
movdqa xmmword [rsp + 0x20], xmm0
mov rcx, rax
movdqa xmm7, xmmword [0x140121430]
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm3, xmm0
movd dword [rcx + 4], xmm3
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x1400805f0
cmp eax, 0x19
jge 0x140080762
movsxd r8, ebx
add r8, r9
nop
mov eax, 0x51eb851f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
sub al, cl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x19
jge 0x140080762
jmp 0x1400806e0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
ret
mov rdx, r9
lea rcx, [rsp + 0x60]
call fcn.1400013f0
nop
mov rcx, rax
call fcn.140002340
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140001250
lea rdx, [0x140134c28]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rdx, r9
lea rcx, [rsp + 0x60]
call fcn.1400013f0
nop
mov rcx, rax
call fcn.140002340
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140001250
lea rdx, [0x140134c28]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3