Function at 0x67885830
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6793a25a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a8
mov eax, dword [0x67ad7034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xec], esi
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x2c], 0
push 0
push 0x6794f528
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.677d7ac0
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x124], 0x44d844c5
mov dword [ebp - 0x120], 0x44cd44de
mov dword [ebp - 0x11c], 0x44da44cd
mov dword [ebp - 0x118], 0x44d844ce
mov dword [ebp - 0x114], 0x44de44c2
mov dword [ebp - 0x110], 0x44c544ce
mov dword [ebp - 0x10c], 0x44cc44d0
mov dword [ebp - 0x108], 0x44c144cd
mov dword [ebp - 0x104], 0x44f44486
mov dword [ebp - 0x100], 0x44dc44dc
mov dword [ebp - 0xfc], 0x44c244ce
mov dword [ebp - 0xf8], 0x44c3
mov byte [ebp - 0xf4], 1
lea eax, [ecx + 0x4496]
xor word [ebp + ecx*2 - 0x124], ax
inc ecx
cmp ecx, 0x17
jb 0x67885940
mov edi, dword [sym.imp.advapi32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x30]
push eax
push 0x20119
push 0
lea eax, [ebp - 0x124]
mov byte [ebp - 0xf4], 0
push eax
push 0x80000002
call edi
mov dword [ebp - 0xec], eax
test eax, eax
jne 0x67885993
push 2
push 0x67abd4ac
lea ecx, [ebp - 0x2c]
call fcn.677d8270
push 0xb8
lea eax, [ebp - 0xe8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [0x67abd518]
mov eax, dword [0x67abd540]
xor edx, edx
add esp, 0xc
mov dword [ebp - 0xf8], eax
cmp dword [0x67b38af4], 2
movups xmmword [ebp - 0x120], xmm0
mov dword [ebp - 0xf0], edx
movups xmm0, xmmword [0x67abd528]
movups xmmword [ebp - 0x110], xmm0
movq xmm0, qword [0x67abd538]
movq qword [ebp - 0x100], xmm0
jl 0x67885b40
movaps xmm0, xmmword [0x67ac49d0]
mov eax, 4
movaps xmm4, xmmword [0x67ac4810]
movaps xmm3, xmmword [0x67ac54d0]
movaps xmm6, xmmword [0x67ac4840]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x190], xmm0
mov ecx, dword [ebp - 0x190]
movd xmm7, eax
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x67ac4970]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x120]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x120], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x67ac4970]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x11c]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x11c], xmm1
add edx, 8
cmp edx, 0x28
jl 0x67885a30
mov dword [ebp - 0xf0], edx
cmp edx, 0x2c
jge 0x67885b77
nop
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0xf0]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x120], cl
inc edx
mov dword [ebp - 0xf0], edx
cmp edx, 0x2c
jl 0x67885b40
sub esp, 8
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0xe8]
push 1
push eax
call fcn.6788e150
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0xdc], 0
jne 0x67885bb4
push 5
push 0x67abd4b0
lea ecx, [ebp - 0x2c]
call fcn.677d8270
mov dword [ebp - 0x170], 0x44d844c5
xor eax, eax
mov dword [ebp - 0x16c], 0x44cd44de
mov dword [ebp - 0x168], 0x44da44cd
mov dword [ebp - 0x164], 0x44d844ce
mov dword [ebp - 0x160], 0x44d244c2
mov dword [ebp - 0x15c], 0x44c244c9
mov dword [ebp - 0x158], 0x44cc44d0
mov dword [ebp - 0x154], 0x44ca44d7
mov dword [ebp - 0x150], 0x44d344c0
mov dword [ebp - 0x14c], 0x44ff44f4
mov dword [ebp - 0x148], 0x44d844c3
mov dword [ebp - 0x144], 0x44cc44d9
mov dword [ebp - 0x140], 0x44fc44c2
mov dword [ebp - 0x13c], 0x44c444c4
mov dword [ebp - 0x138], 0x44da44d6
mov dword [ebp - 0x134], 0x44db
mov byte [ebp - 0x130], 1
nop dword [eax]
lea ecx, [eax + 0x4496]
xor word [ebp + eax*2 - 0x170], cx
inc eax
cmp eax, 0x1f
jb 0x67885c60
lea eax, [ebp - 0x30]
mov byte [ebp - 0x130], 0
push eax
push 0x20119
push 0
lea eax, [ebp - 0x170]
push eax
push 0x80000002
call edi
cmp dword [ebp - 0xec], 0
jne 0x67885cac
push 3
push 0x67abd4b8
lea ecx, [ebp - 0x2c]
call fcn.677d8270
cmp dword [ebp - 0x1c], 0
jne 0x67885cfa
mov dword [ebp - 0x190], 0
push 4
push 0x679504c8
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
mov byte [ebp - 4], 2
call fcn.677d7ac0
lea ecx, [ebp - 0x190]
mov eax, 1
jmp 0x67885d10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.677d84b0
mov ecx, eax
mov eax, 2
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [esi + 0x10], xmm0
or eax, 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
test al, 2
je 0x67885db0
mov edx, dword [ebp - 0x198]
and eax, 0xfffffffd
mov dword [ebp - 0xec], eax
cmp edx, 0x10
jb 0x67885d95
mov ecx, dword [ebp - 0x1ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x67885d85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x67885e1b
push edx
push ecx
call fcn.67934867
mov eax, dword [ebp - 0xec]
add esp, 8
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0xf
mov byte [ebp - 0x1ac], 0
test al, 1
je 0x67885dea
mov edx, dword [ebp - 0x17c]
cmp edx, 0x10
jb 0x67885dea
mov ecx, dword [ebp - 0x190]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x67885de0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x67885e1b
push edx
push ecx
call fcn.67934867
add esp, 8
lea ecx, [ebp - 0xe8]
call fcn.6787f8c0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x67885e2b
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x67885e21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x67885e21
call dword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.67934867
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.679343f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret