Function at 0x4762ef
Capabilities:
Create process on windows
Delete registry key
Delete registry value
Set registry value

Disassembly:
mov eax, 0x55f660
call fcn.004e6194
sub esp, 0x1c
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, ecx
mov dword [ebp - 0x10], ebx
je 0x476423
mov eax, dword [0x62f4f8]
mov dword [ebp - 0x20], eax
push dword [esi + 0x10]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], ebx
push str.SoftwareMicrosoftInternet_ExplorerMenuExt_s
push eax
call fcn.0053a4f9
mov eax, dword [0x62f4f8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
call fcn.004263f0
add esp, 0x10
push dword [esi + 4]
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x1c]
push str.res:___s_s_300
push eax
call fcn.0053a4f9
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.005416e7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
mov dword [ebp - 0x24], ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x476402
lea ecx, [ebp - 0x18]
call fcn.004762d8
mov ecx, dword [ebp - 0x24]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x476402
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x24]
push 1
push ebx
push ebx
push dword [ebp - 0x18]
call edi
cmp eax, ebx
jne 0x4763f1
lea eax, [ebp - 0x24]
push 4
push eax
push 4
push ebx
push str.Contexts
push dword [ebp - 0x18]
mov dword [ebp - 0x24], 1
call edi
cmp eax, ebx
jne 0x4763f1
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x18], ebx
je 0x476402
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
call fcn.004762d8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.005416e7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.005416e7
jmp 0x476487
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], ebx
push eax
push 0x20006
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMenuExt
push SysReAllocString
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x47647f
lea ecx, [ebp - 0x18]
call fcn.004762d8
mov ecx, dword [ebp - 0x24]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x47647f
push dword [esi + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
jne 0x47646e
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x18], ebx
je 0x47647f
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
call fcn.004762d8
cmp dword [ebp + 0xc], ebx
je 0x47659f
mov eax, dword [0x62f4f8]
mov dword [ebp - 0x1c], eax
push dword [esi + 0x14]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 3
push str.SoftwareMicrosoftInternet_ExplorerMenuExt_s
push eax
call fcn.0053a4f9
mov eax, dword [0x62f4f8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
call fcn.004263f0
add esp, 0x10
push dword [esi + 4]
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x20]
push str.res:___s_s_301
push eax
call fcn.0053a4f9
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.005416e7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x47657d
lea ecx, [ebp - 0x18]
call fcn.004762d8
mov ecx, dword [ebp - 0x24]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x47657d
mov eax, dword [ebp - 0x20]
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x24]
push 1
push ebx
push ebx
push dword [ebp - 0x18]
call edi
cmp eax, ebx
jne 0x47656c
lea eax, [ebp - 0x24]
push 4
push eax
push 4
push ebx
push str.Contexts
push dword [ebp - 0x18]
mov dword [ebp - 0x24], 0x20
call edi
cmp eax, ebx
jne 0x47656c
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x47657d
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
call fcn.004762d8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.005416e7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.005416e7
jmp 0x4765ff
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], ebx
push eax
push 0x20006
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMenuExt
push SysReAllocString
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4765f7
lea ecx, [ebp - 0x18]
call fcn.004762d8
mov ecx, dword [ebp - 0x24]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x4765f7
push dword [esi + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
jne 0x4765e6
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x4765f7
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
call fcn.004762d8
mov eax, dword [0x62f4f8]
mov dword [ebp - 0x14], eax
push dword [esi + 8]
cmp dword [ebp + 0x10], ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 6
push str.SOFTWAREMicrosoftInternet_ExplorerExtensions_s
push eax
je 0x4767a6
call fcn.0053a4f9
add esp, 0xc
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x476791
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x62f4f8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
call fcn.004263f0
pop ecx
push dword [esi + 4]
mov byte [ebp - 4], 0xa
push dword [eax]
lea eax, [ebp - 0x24]
push str._s_s_200
push eax
call fcn.0053a4f9
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.005416e7
lea eax, [ebp - 0x28]
push eax
call fcn.004263f0
pop ecx
push dword [esi + 4]
mov byte [ebp - 4], 0xb
push dword [eax]
lea eax, [ebp - 0x20]
push str._s_s_201
push eax
call fcn.0053a4f9
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.005416e7
push 0x61fd5c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push 0x61fd5c
push 1
push ebx
push str.Default_Visible
push dword [ebp - 0x18]
call edi
cmp eax, ebx
jne 0x476768
mov eax, dword [esi + 0xc]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x28]
push 1
push ebx
push str.ButtonText
push dword [ebp - 0x18]
call edi
cmp eax, ebx
jne 0x476768
mov eax, dword [ebp - 0x20]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x28]
push 1
push ebx
push str.HotIcon
push dword [ebp - 0x18]
call edi
cmp eax, ebx
jne 0x476768
mov eax, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x28]
push 1
push ebx
push str.Icon
push dword [ebp - 0x18]
call edi
cmp eax, ebx
jne 0x476768
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x476779
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.005416e7
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.005416e7
cmp dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 6
je 0x476834
push dword [ebp - 0x1c]
jmp 0x47682e
call fcn.0053a4f9
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push 0x20006
push dword [ebp - 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00475d44
test eax, eax
jne 0x476826
push str.Default_Visible
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x476815
push str.ButtonText
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x476815
push str.HotIcon
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x476815
push str.Icon
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x476815
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x476834
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
je 0x476834
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esi + 8]
cmp dword [ebp + 0x14], ebx
lea eax, [ebp - 0x14]
push str.SOFTWAREMicrosoftInternet_ExplorerExtensions_s
push eax
je 0x476909
call fcn.0053a4f9
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push 0x20006
push dword [ebp - 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00475d44
test eax, eax
jne 0x4768fb
push str.Tools
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push str.Tools
push 1
push ebx
push str.MenuCustomize
push dword [ebp - 0x18]
call edi
cmp eax, ebx
jne 0x4768e6
mov eax, dword [esi + 0x18]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x28]
push 1
push ebx
push str.MenuText
push dword [ebp - 0x18]
call edi
cmp eax, ebx
jne 0x4768e6
mov eax, dword [esi + 0x1c]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x28]
push 1
push ebx
push str.MenuStatusBar
push dword [ebp - 0x18]
call edi
cmp eax, ebx
jne 0x4768e6
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x476985
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
je 0x476985
push dword [ebp - 0x18]
jmp 0x47697f
call fcn.0053a4f9
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push 0x20006
push dword [ebp - 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00475d44
test eax, eax
jne 0x476977
push str.MenuCustomize
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x476966
push str.MenuText
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x476966
push str.MenuStatusBar
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x476966
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x476985
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
je 0x476985
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x10], ebx
jne 0x476a04
cmp dword [ebp + 0x14], ebx
jne 0x476a04
mov dword [ebp - 0x18], ebx
push 0x20006
push str.SOFTWAREMicrosoftInternet_ExplorerExtensions
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.00475d44
test eax, eax
jne 0x4769e9
push dword [esi + 8]
lea eax, [ebp - 0x14]
push 0x5a4998
push eax
call fcn.0053a4f9
add esp, 0xc
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
jne 0x4769d8
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x4769e9
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
mov byte [ebp - 4], 6
je 0x476b4e
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x476b4e
mov eax, dword [0x62f4f8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push eax
call fcn.004263f0
pop ecx
push dword [esi + 4]
mov byte [ebp - 4], 0xd
push dword [eax]
lea eax, [ebp - 0x1c]
push str.res:___s_s_300
push eax
call fcn.0053a4f9
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.005416e7
push dword [esi + 8]
lea eax, [ebp - 0x14]
push str.SOFTWAREMicrosoftInternet_ExplorerExtensions_s
push eax
call fcn.0053a4f9
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x476b42
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [0x62f4f8]
mov dword [ebp - 0x24], eax
push 0x5a3de8
lea eax, [ebp - 0x24]
push 0x5a4998
push eax
mov byte [ebp - 4], 0xf
call fcn.0053a4f9
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov dword [ebp - 0x28], eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x28]
push 1
push ebx
push ebx
push dword [ebp - 0x18]
call edi
cmp eax, ebx
jne 0x476b17
push str.1FBA04EE_3024_11d2_8F1F_0000F87ABD16
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push str.1FBA04EE_3024_11d2_8F1F_0000F87ABD16
push 1
push ebx
push str.CLSID
push dword [ebp - 0x18]
call edi
cmp eax, ebx
jne 0x476b17
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x28]
push 1
push ebx
push str.Script
push dword [ebp - 0x18]
call edi
cmp eax, ebx
jne 0x476b17
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x476b28
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.005416e7
cmp dword [ebp - 0x20], ebx
je 0x476b42
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.005416e7
cmp dword [ebp + 8], ebx
jne 0x476b62
cmp dword [ebp + 0xc], ebx
jne 0x476b62
cmp dword [ebp + 0x10], ebx
jne 0x476b62
cmp dword [ebp + 0x14], ebx
je 0x476bc9
push 0x6372dc
lea ecx, [ebp + 0x10]
call fcn.0054175b
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 0x11
push eax
call fcn.004263f0
pop ecx
push dword [esi + 4]
mov byte [ebp - 4], 0x12
push dword [eax]
lea eax, [ebp + 0x10]
push str._s__c___s_s_
push eax
call fcn.0053a4f9
add esp, 0x10
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x11
call fcn.005416e7
push ebx
push ebx
push dword [ebp + 0x10]
push str.regsvr32.exe
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x476bbd
inc dword [ebp - 0x10]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 6
call fcn.005416e7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005416e7
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10