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

Disassembly:
mov eax, 0x546088
call fcn.004c7c10
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 0x4382f6
mov eax, dword [0x64b0c8]
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.005257c9
mov eax, dword [0x64b0c8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
call fcn.0042cae9
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.005257c9
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0052c97f
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 0x4382d5
lea ecx, [ebp - 0x18]
call fcn.004381ab
mov ecx, dword [ebp - 0x24]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x4382d5
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 0x4382c4
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 0x4382c4
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x18], ebx
je 0x4382d5
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
call fcn.004381ab
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0052c97f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0052c97f
jmp 0x43835a
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 0x438352
lea ecx, [ebp - 0x18]
call fcn.004381ab
mov ecx, dword [ebp - 0x24]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x438352
push dword [esi + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
jne 0x438341
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x18], ebx
je 0x438352
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
call fcn.004381ab
cmp dword [ebp + 0xc], ebx
je 0x438472
mov eax, dword [0x64b0c8]
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.005257c9
mov eax, dword [0x64b0c8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
call fcn.0042cae9
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.005257c9
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.0052c97f
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 0x438450
lea ecx, [ebp - 0x18]
call fcn.004381ab
mov ecx, dword [ebp - 0x24]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x438450
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 0x43843f
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 0x43843f
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x438450
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
call fcn.004381ab
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0052c97f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0052c97f
jmp 0x4384d2
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 0x4384ca
lea ecx, [ebp - 0x18]
call fcn.004381ab
mov ecx, dword [ebp - 0x24]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x4384ca
push dword [esi + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
jne 0x4384b9
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x4384ca
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
call fcn.004381ab
mov eax, dword [0x64b0c8]
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 0x438679
call fcn.005257c9
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 0x438664
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x64b0c8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
call fcn.0042cae9
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.005257c9
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.0052c97f
lea eax, [ebp - 0x28]
push eax
call fcn.0042cae9
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.005257c9
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.0052c97f
push 0x594894
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push 0x594894
push 1
push ebx
push str.Default_Visible
push dword [ebp - 0x18]
call edi
cmp eax, ebx
jne 0x43863b
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 0x43863b
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 0x43863b
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 0x43863b
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x43864c
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.0052c97f
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.0052c97f
cmp dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 6
je 0x438707
push dword [ebp - 0x1c]
jmp 0x438701
call fcn.005257c9
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.00437c17
test eax, eax
jne 0x4386f9
push str.Default_Visible
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x4386e8
push str.ButtonText
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x4386e8
push str.HotIcon
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x4386e8
push str.Icon
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x4386e8
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x438707
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
je 0x438707
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 0x4387dc
call fcn.005257c9
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.00437c17
test eax, eax
jne 0x4387ce
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 0x4387b9
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 0x4387b9
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 0x4387b9
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x438858
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
je 0x438858
push dword [ebp - 0x18]
jmp 0x438852
call fcn.005257c9
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.00437c17
test eax, eax
jne 0x43884a
push str.MenuCustomize
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x438839
push str.MenuText
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x438839
push str.MenuStatusBar
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x438839
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x438858
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
je 0x438858
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x10], ebx
jne 0x4388d7
cmp dword [ebp + 0x14], ebx
jne 0x4388d7
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.00437c17
test eax, eax
jne 0x4388bc
push dword [esi + 8]
lea eax, [ebp - 0x14]
push 0x590fbc
push eax
call fcn.005257c9
add esp, 0xc
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
jne 0x4388ab
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x4388bc
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 0x438a21
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x438a21
mov eax, dword [0x64b0c8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push eax
call fcn.0042cae9
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.005257c9
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.0052c97f
push dword [esi + 8]
lea eax, [ebp - 0x14]
push str.SOFTWAREMicrosoftInternet_ExplorerExtensions_s
push eax
call fcn.005257c9
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 0x438a15
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [0x64b0c8]
mov dword [ebp - 0x24], eax
push 0x593264
lea eax, [ebp - 0x24]
push 0x590fbc
push eax
mov byte [ebp - 4], 0xf
call fcn.005257c9
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 0x4389ea
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 0x4389ea
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 0x4389ea
inc dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
je 0x4389fb
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.0052c97f
cmp dword [ebp - 0x20], ebx
je 0x438a15
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0052c97f
cmp dword [ebp + 8], ebx
jne 0x438a35
cmp dword [ebp + 0xc], ebx
jne 0x438a35
cmp dword [ebp + 0x10], ebx
jne 0x438a35
cmp dword [ebp + 0x14], ebx
je 0x438a9c
push 0x6534f4
lea ecx, [ebp + 0x10]
call fcn.0052c9f3
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 0x11
push eax
call fcn.0042cae9
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.005257c9
add esp, 0x10
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x11
call fcn.0052c97f
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 0x438a90
inc dword [ebp - 0x10]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 6
call fcn.0052c97f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0052c97f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10