Function at 0x10007eb0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100900cc
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x100bc0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x268], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x258], 0
movq qword [ebp - 0x260], xmm0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 4], 0
mov eax, SysReAllocString
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0x10
jb 0x100083be
cmp dword [ecx + 0x14], 8
mov eax, ecx
jb 0x10007f3a
mov eax, dword [ecx]
push 0x10
push str.OpenWithProgids
push edx
push eax
push ecx
push dword [ebp - 0x264]
lea ecx, [ebp - 0x254]
call fcn.10009cf0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x254]
cmp dword [ebp - 0x240], 8
lea ecx, [ebp - 0x260]
push 0x20019
cmovae eax, dword [ebp - 0x254]
push eax
push SysReAllocString
call fcn.10007910
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1000833d
xorps xmm0, xmm0
mov dword [ebp - 0x214], 0
movq qword [ebp - 0x21c], xmm0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
xor esi, esi
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x260]
lea eax, [ebp - 0x220]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x220], 0x200
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100080c5
nop dword [eax]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x238]
call fcn.10009ab0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x228], 0
je 0x10008050
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x238]
push ecx
cmp eax, dword [ebp - 0x214]
je 0x10008044
mov ecx, eax
call fcn.10009b90
add dword [ebp - 0x218], 0x18
jmp 0x10008050
push eax
lea ecx, [ebp - 0x21c]
call fcn.10009fa0
mov byte [ebp - 4], 2
inc esi
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x220], 0x200
cmp ecx, 8
jb 0x1000809f
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008095
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100083c3
push ecx
push edx
call fcn.10067e6b
add esp, 8
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10008000
test edi, edi
je 0x100080da
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x260], 0
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionApplicationAssociationToasts
push SysReAllocString
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x25c], 0
call fcn.10007910
mov edi, dword [ebp - 0x260]
test eax, eax
jne 0x100082a7
mov eax, dword [ebp - 0x218]
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x264], eax
cmp esi, eax
je 0x1000828f
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x100083be
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10008143
mov eax, dword [esi]
push 1
push 0x100ad938
push ecx
push eax
push ecx
push dword [ebp - 0x264]
lea ecx, [ebp - 0x280]
call fcn.10009cf0
mov ecx, dword [ebp - 0x268]
mov eax, ecx
mov byte [ebp - 4], 4
cmp dword [ecx + 0x14], 8
jb 0x10008172
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x280]
push eax
call fcn.10009e10
mov dword [ebp - 0x228], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x228], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x26c]
cmp ecx, 8
jb 0x1000820d
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008203
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100083c3
push ecx
push edx
call fcn.10067e6b
add esp, 8
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x23c]
push 4
push ecx
push 4
lea eax, [ebp - 0x238]
mov dword [ebp - 0x23c], 0
cmovae eax, dword [ebp - 0x238]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x224]
cmp ecx, 8
jb 0x10008280
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008276
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100083c3
push ecx
push edx
call fcn.10067e6b
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x264]
jne 0x10008126
push edi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x100082ad
push edi
call esi
xor edi, edi
jmp 0x100082ad
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x10008343
mov edx, dword [ebp - 0x218]
push ecx
call fcn.10009c80
mov ecx, dword [ebp - 0x214]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x21c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1000830d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100083c3
push ecx
push esi
call fcn.10067e6b
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
jmp 0x10008343
mov edi, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x240]
cmp ecx, 8
jb 0x1000837f
mov edx, dword [ebp - 0x254]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008375
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100083c3
push ecx
push edx
call fcn.10067e6b
add esp, 8
xor eax, eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
test edi, edi
je 0x100083a3
push edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067e5d
mov esp, ebp
pop ebp
ret
call fcn.100022a0
call fcn.1006f170
int3