Function at 0x417540
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe9c
push esi
mov dword [ebp - 0x44], ecx
mov ecx, 0x5175eb
call fcn.004bd4ad
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
add ecx, 4
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406780
mov dword [ebp - 4], 0
push 0x4e8c78
lea ecx, [ebp - 0x60]
call fcn.004031d0
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x4e8cb0
call fcn.00406860
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 2
push ecx
mov esi, esp
mov dword [ebp - 0x78], esp
lea ecx, [ebp - 0x60]
call fcn.00404280
push eax
mov ecx, esi
call fcn.004067e0
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 1
call fcn.0040bab0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push 0x4e8cc4
call fcn.00406860
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 3
push ecx
mov esi, esp
mov dword [ebp - 0x84], esp
lea ecx, [ebp - 0x60]
call fcn.00404280
push eax
mov ecx, esi
call fcn.004067e0
push SysReAllocString
mov byte [ebp - 4], 1
call fcn.0040bab0
add esp, 0xc
push 0x400
push 0
lea edx, [ebp - 0x6a8]
push edx
call fcn.004c0800
add esp, 0xc
push 0x400
push 0
lea eax, [ebp - 0xaa8]
push eax
call fcn.004c0800
add esp, 0xc
push 0x400
push 0
lea ecx, [ebp - 0xea8]
push ecx
call fcn.004c0800
add esp, 0xc
push 0x4e8cd8
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.00407620
add esp, 0xc
mov byte [ebp - 4], 4
push 0x4e8cdc
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00407620
add esp, 0xc
mov byte [ebp - 4], 5
push str.uninstall.exe
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00407620
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00407560
push eax
push 0x4e8d18
lea edx, [ebp - 0x6a8]
push edx
call fcn.00418560
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00407560
push eax
push 0x4e8d20
lea eax, [ebp - 0xaa8]
push eax
call fcn.00418560
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00407560
push eax
push str.__s___uninsgpt
lea ecx, [ebp - 0xea8]
push ecx
call fcn.00418560
add esp, 0xc
push 0x4e8d48
lea ecx, [ebp - 0x20]
call fcn.00406860
mov byte [ebp - 4], 7
push 0x4e8db4
lea ecx, [ebp - 0x20]
call fcn.004078c0
push 0x208
push 0
lea edx, [ebp - 0x2a8]
push edx
call fcn.004c0800
add esp, 0xc
push 0x104
lea eax, [ebp - 0x2a8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406860
mov byte [ebp - 4], 8
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0040ad20
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x10]
call fcn.00409530
sub eax, dword [ebp - 0x64]
sub eax, 1
push eax
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040ad80
mov byte [ebp - 4], 9
mov dword [ebp - 0x48], SysStringLen
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x417798
mov dword [ebp - 0x48], reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.004148f0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x6c]
call fcn.00404280
push eax
lea ecx, [ebp - 0x18]
call fcn.004067e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa0]
call fcn.00403480
push 0x4e8dc8
lea ecx, [ebp - 0x14]
call fcn.004067e0
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x34]
push eax
push 0
push 0x20106
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
call fcn.00407560
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x417e54
lea edx, [ebp - 0x6a8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x6a8]
push ecx
push 1
push 0
push str.DisplayIcon
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4178cb
mov byte [ebp - 0x3e], 0
lea ecx, [ebp - 0x14]
call fcn.00407110
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00407110
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.00407110
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.00407110
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00407110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00407110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00407110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00403480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407110
mov al, byte [ebp - 0x3e]
jmp 0x417f4b
push 0x4e8df0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push 0x4e8e08
push 1
push 0
push str.DisplayName
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41797e
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x14]
call fcn.00407110
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00407110
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.00407110
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.00407110
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00407110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00407110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00407110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00403480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407110
mov al, byte [ebp - 0x35]
jmp 0x417f4b
lea edx, [ebp - 0xaa8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0xaa8]
push ecx
push 1
push 0
push 0x4e8e38
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x417a35
mov byte [ebp - 0x36], 0
lea ecx, [ebp - 0x14]
call fcn.00407110
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00407110
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.00407110
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.00407110
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00407110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00407110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00407110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00403480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407110
mov al, byte [ebp - 0x36]
jmp 0x417f4b
push 0x4e8e58
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push 0x4e8ec0
push 1
push 0
push str.Publisher
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x417ae8
mov byte [ebp - 0x37], 0
lea ecx, [ebp - 0x14]
call fcn.00407110
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00407110
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.00407110
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.00407110
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00407110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00407110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00407110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00403480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407110
mov al, byte [ebp - 0x37]
jmp 0x417f4b
lea edx, [ebp - 0xea8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0xea8]
push ecx
push 1
push 0
push str.UninstallString
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x417b9f
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x14]
call fcn.00407110
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00407110
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.00407110
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.00407110
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00407110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00407110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00407110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00403480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407110
mov al, byte [ebp - 0x38]
jmp 0x417f4b
lea ecx, [ebp - 0x1c]
call fcn.00409530
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00407560
push eax
push 1
push 0
push str.PackageName
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x417c53
mov byte [ebp - 0x39], 0
lea ecx, [ebp - 0x14]
call fcn.00407110
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00407110
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.00407110
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.00407110
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00407110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00407110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00407110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00403480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407110
mov al, byte [ebp - 0x39]
jmp 0x417f4b
lea ecx, [ebp - 0x14]
call fcn.00407560
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
lea ecx, [ebp - 0x14]
call fcn.00407560
push eax
push 1
push 0
push str.DisplayVersion
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x417d0e
mov byte [ebp - 0x3a], 0
lea ecx, [ebp - 0x14]
call fcn.00407110
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00407110
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.00407110
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.00407110
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00407110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00407110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00407110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00403480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407110
mov al, byte [ebp - 0x3a]
jmp 0x417f4b
lea ecx, [ebp - 0x18]
call fcn.00409530
lea ecx, [eax + eax + 2]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00407560
push eax
push 1
push 0
push str.InstallDate
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x417dc2
mov byte [ebp - 0x3b], 0
lea ecx, [ebp - 0x14]
call fcn.00407110
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00407110
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.00407110
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.00407110
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00407110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00407110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00407110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00403480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407110
mov al, byte [ebp - 0x3b]
jmp 0x417f4b
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x3c], 1
lea ecx, [ebp - 0x14]
call fcn.00407110
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00407110
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.00407110
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.00407110
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00407110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00407110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00407110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00403480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407110
mov al, byte [ebp - 0x3c]
jmp 0x417f4b
mov byte [ebp - 0x3d], 0
lea ecx, [ebp - 0x14]
call fcn.00407110
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00407110
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.00407110
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.00407110
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00407110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00407110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00407110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00403480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407110
mov al, byte [ebp - 0x3d]
jmp 0x417f4b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret