Function at 0x4172e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551140
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5ba6c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0042e490
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x417324
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x417352
push 0x56
push str.SOFTWAREMicrosoftInternet_ExplorerExtensions5B8D60AB_BA12_3da1_BEF4_30DFE1AECF20
lea ecx, [ebp - 0x10]
call fcn.004017f0
jmp 0x4173a0
cmp eax, 1
jne 0x417368
push 0x56
push str.SOFTWAREMicrosoftInternet_ExplorerExtensions5B8D60AB_BA12_3da1_BEF4_30DFE1AECF21
lea ecx, [ebp - 0x10]
call fcn.004017f0
jmp 0x4173a0
cmp eax, 2
jne 0x41737e
push 0x56
push str.SOFTWAREMicrosoftInternet_ExplorerExtensions5B8D60AB_BA12_3da1_BEF4_30DFE1AECF22
lea ecx, [ebp - 0x10]
call fcn.004017f0
jmp 0x4173a0
cmp eax, 3
jne 0x41738a
push str.SOFTWAREMicrosoftInternet_ExplorerExtensions5B8D60AB_BA12_3da1_BEF4_30DFE1AECF23
jmp 0x417398
cmp eax, 4
jne 0x417579
push str.SOFTWAREMicrosoftInternet_ExplorerExtensions5B8D60AB_BA12_3da1_BEF4_30DFE1AECF24
lea ecx, [ebp - 0x10]
call fcn.00401f10
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push edi
push 0x2001f
push edi
push edi
push edi
push eax
push SysReAllocStringLen
mov dword [ebp + 8], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
jne 0x4173e2
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
mov ebx, dword [ebp + 0x10]
xor eax, eax
cmp ebx, edi
setne al
mov dword [ebp + 8], eax
cmp eax, edi
jne 0x4173fd
push 0x80004005
call fcn.00401000
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
call edi
inc eax
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push 0
push str.ButtonText
push esi
call ebx
push str.3603D0AC_D295_4abb_A4D9_1B307EDB66CA
call edi
inc eax
push eax
push str.3603D0AC_D295_4abb_A4D9_1B307EDB66CA
push 1
push 0
push str.CLSID
push esi
call ebx
push 0x5658dc
call edi
inc eax
push eax
push 0x5658dc
push 1
push 0
push str.Default_Visible
push esi
call ebx
mov ecx, dword [ebp + 0xc]
xor eax, eax
test ecx, ecx
setne al
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x41746a
push 0x80004005
call fcn.00401000
push ecx
call edi
mov ecx, dword [ebp + 0xc]
inc eax
push eax
push ecx
push 1
push 0
push str.HotIcon
push esi
call ebx
cmp dword [ebp - 0x14], 0
jne 0x41748f
push 0x80004005
call fcn.00401000
mov edx, dword [ebp + 0xc]
push edx
call edi
inc eax
push eax
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
push str.Icon
push esi
call ebx
cmp dword [ebp + 8], 0
jne 0x4174b7
push 0x80004005
call fcn.00401000
mov ecx, dword [ebp + 0x10]
push ecx
call edi
mov edx, dword [ebp + 0x10]
inc eax
push eax
push edx
push 1
push 0
push str.MenuStatusBar
push esi
call ebx
cmp dword [ebp + 8], 0
jne 0x4174df
push 0x80004005
call fcn.00401000
mov eax, dword [ebp + 0x10]
push eax
call edi
mov ecx, dword [ebp + 0x10]
inc eax
push eax
push ecx
push 1
push 0
push str.MenuText
push esi
call ebx
mov ecx, dword [ebp + 0x14]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x41750f
push 0x80004005
call fcn.00401000
push ecx
call edi
mov edx, dword [ebp + 0x14]
inc eax
push eax
push edx
push 1
xor edi, edi
push edi
push str.Exec
push esi
call ebx
mov byte [ebp - 4], 1
cmp esi, edi
je 0x417537
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417560
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401690
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10