Function at 0x46be10
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcc96
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
push 0x206
xor ebx, ebx
lea ecx, [ebp - 0x422]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x44c], esi
mov word [ebp - 0x424], ax
call sub.MSVCR100.dll_memset
push 0x206
lea eax, [ebp - 0x21a]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x21c], dx
call sub.MSVCR100.dll_memset
push ebx
mov dword [ebp - 4], ebx
call fcn.0043b220
add esp, 0x1c
mov dword [ebp - 0x444], eax
xor edi, edi
cmp edi, dword [ebp + 0xc]
jge 0x46c0d7
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
mov ecx, dword [esi + edi*4]
mov edx, dword [ebp - 0x444]
push 0x2001f
push ecx
push edx
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 1
call fcn.00412570
test eax, eax
je 0x46bf26
mov eax, dword [esi + edi*4]
push eax
push str.Failed_open_registy:__s
push str._resetMsoShellNewFiles
push 0x258
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckfileassokfileassoforalluser.cpp
push 5
call fcn.00487a00
mov eax, dword [ebp - 0x434]
add esp, 0x18
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x46c0c5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
inc edi
jmp 0x46be96
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x438], ebx
mov ecx, dword [esi + edi*4]
push ecx
push str.ksobak_s
lea edx, [ebp - 0x424]
push 0x104
push edx
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCR100.dll__snwprintf]
mov ecx, dword [ebp - 0x444]
add esp, 0x10
push 0x2001f
lea eax, [ebp - 0x424]
push eax
push ecx
lea ecx, [ebp - 0x440]
call fcn.00412570
test eax, eax
je 0x46bfac
lea edx, [ebp - 0x424]
push edx
push str.Failed_open_registy:__s
push str._resetMsoShellNewFiles
push 0x260
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckfileassokfileassoforalluser.cpp
push 5
call fcn.00487a00
mov esi, dword [ebp - 0x434]
add esp, 0x18
jmp 0x46c076
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push str.NullFile
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x428], 0x104
call fcn.00434210
test eax, eax
jne 0x46c012
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [ebp - 0x434]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 1
push ebx
push str.NullFile
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x448], 1
jmp 0x46c018
mov esi, dword [ebp - 0x434]
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x21c]
push eax
push str.FileName
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x428], 0x104
call fcn.00434210
test eax, eax
jne 0x46c06e
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x21c]
push eax
push 1
push ebx
push str.FileName
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x46c08e
cmp dword [ebp - 0x448], ebx
jne 0x46c08e
push str.NullFile
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.FileName
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x440]
cmp eax, ebx
je 0x46c0a5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x46c0bf
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x434], ebx
mov esi, dword [ebp - 0x44c]
mov dword [ebp - 0x430], ebx
inc edi
jmp 0x46be96
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret