Function at 0x46c5f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcd4b
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, edx
xor edx, edx
push 0x206
mov dword [ebp - 0x844], eax
push edx
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x848], ecx
mov word [ebp - 0x218], dx
call sub.MSVCR100.dll_memset
push ebx
push edi
push esi
mov esi, dword [sym.imp.MSVCR100.dll__snwprintf]
push str._s_s_shell_scommand
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call esi
xor edi, edi
add esp, 0x24
mov dword [ebp - 0x83c], edi
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x834], edi
push 0x2011f
lea edx, [ebp - 0x218]
push edx
push 0x80000002
lea ecx, [ebp - 0x83c]
mov dword [ebp - 4], edi
call fcn.00412570
cmp eax, edi
je 0x46c6dc
lea ecx, [ebp - 0x218]
push ecx
push eax
push str.Failed_Open_registy___d_:__s
push str._backupClickToRun
push 0x2e6
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckfileassokfileassoforalluser.cpp
push 5
call fcn.00487a00
add esp, 0x1c
mov eax, dword [ebp - 0x83c]
cmp eax, edi
je 0x46c879
push eax
jmp 0x46c873
push 0x206
lea eax, [ebp - 0x626]
xor edx, edx
push edi
push eax
mov word [ebp - 0x628], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x840]
push ecx
lea edx, [ebp - 0x628]
push edx
push 0x4c79ac
lea ecx, [ebp - 0x83c]
mov dword [ebp - 0x840], 0x104
call fcn.00434210
cmp eax, edi
je 0x46c760
lea ecx, [ebp - 0x218]
push ecx
push eax
push str.Failed_QueryStringValue_registy___d_:__s
push str._backupClickToRun
push 0x2ef
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckfileassokfileassoforalluser.cpp
push 5
call fcn.00487a00
mov eax, dword [ebp - 0x83c]
add esp, 0x1c
cmp eax, edi
je 0x46c879
push eax
jmp 0x46c873
push 0x206
lea eax, [ebp - 0x82e]
xor edx, edx
push edi
push eax
mov word [ebp - 0x830], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x830]
push ecx
push 1
push edi
push 2
call fcn.0043baf0
test eax, eax
js 0x46c6c8
push 0x206
lea eax, [ebp - 0x41e]
xor edx, edx
push edi
push eax
mov word [ebp - 0x420], dx
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x848]
mov edx, dword [ebp - 0x844]
push ecx
push edx
lea eax, [ebp - 0x830]
push eax
push str.__s_s__s
lea ecx, [ebp - 0x420]
push 0x104
push ecx
call esi
add esp, 0x24
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [ebp - 0x83c]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x420]
push ecx
push 1
push edi
push 0x4c79ac
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, edi
je 0x46c82d
lea edx, [ebp - 0x420]
push edx
push eax
push str.Failed_SetStringValue_registy___d_:__s
push str._backupClickToRun
push 0x2fd
jmp 0x46c85f
push 1
lea eax, [ebp - 0x628]
push eax
push str..ksobak
lea ecx, [ebp - 0x83c]
call fcn.004176b0
cmp eax, edi
je 0x46c86e
push str..ksobak
push eax
push str.Failed_SetStringValue_registy___d_:__s
push str._backupClickToRun
push 0x303
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckfileassokfileassoforalluser.cpp
push 5
call fcn.00487a00
add esp, 0x1c
cmp esi, edi
je 0x46c879
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.004b12f6
mov esp, ebp
pop ebp
ret