Function at 0x415430
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x45b700
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
lea edi, [esp + 0x6c]
mov ebx, ecx
call fcn.004210b0
mov eax, edi
xor ebp, ebp
push eax
mov dword [esp + 0x98], ebp
call fcn.0041de40
add esp, 4
test eax, eax
jne 0x4154a6
cmp dword [esp + 0x84], 8
jb 0x41549f
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004415cb
add esp, 4
xor eax, eax
jmp 0x4158da
push 0xe
push str.EnvirConf.ini
lea ecx, [esp + 0x74]
call fcn.00406eb0
cmp dword [esp + 0x84], 8
mov eax, dword [esp + 0x70]
jae 0x4154c8
lea eax, [esp + 0x70]
push eax
push 0x463ed8
push 0x463edc
push str.Option
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xffffffffffffffff
mov esi, 7
push ebp
mov eax, 0x472648
lea ecx, [esp + 0x58]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebp
mov word [esp + 0x5c], bp
call fcn.00406d10
mov byte [esp + 0x94], 1
push 6
mov dword [esp + 0x48], esi
push str.Trial0
lea esi, [esp + 0x34]
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], bp
call fcn.00406f80
mov byte [esp + 0x94], 2
mov eax, dword [esp + 0x40]
push str.Trial1
mov edi, 6
mov ecx, esi
call fcn.00411070
test eax, eax
mov esi, 8
sete byte [esp + 0x17]
mov byte [esp + 0x94], 1
cmp dword [esp + 0x44], esi
jb 0x41556e
mov edx, dword [esp + 0x30]
push edx
call fcn.004415cb
add esp, 4
cmp byte [esp + 0x17], 0
je 0x415586
push 0xffffffffffffffff
push ebp
mov eax, 0x472680
lea ecx, [esp + 0x58]
call fcn.00406d10
cmp dword [esp + 0x68], esi
mov eax, dword [esp + 0x54]
jae 0x415594
lea eax, [esp + 0x54]
lea ecx, [esp + 0x18]
push ecx
push 0x20006
push ebp
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
je 0x4155ce
cmp dword [esp + 0x68], esi
mov eax, dword [esp + 0x54]
jae 0x4155bd
lea eax, [esp + 0x54]
lea edx, [esp + 0x18]
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 4
lea eax, [ebx + 0x58]
push eax
push 4
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
push str.nShortcutDesktop
push eax
call ebp
mov ecx, dword [esp + 0x18]
push 4
lea eax, [ebx + 0x5c]
push eax
push 4
xor esi, esi
push esi
push str.nShortcutQuickLaunch
push ecx
mov dword [esp + 0x60], eax
call ebp
mov edx, dword [esp + 0x18]
push 4
lea eax, [ebx + 0x60]
push eax
push 4
push esi
push str.nRunExe
push edx
mov dword [esp + 0x40], eax
call ebp
push 4
lea eax, [ebx + 0x64]
push eax
push 4
push esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
push str.nShowNewFeature
push eax
call ebp
mov ecx, dword [esp + 0x18]
push 4
add ebx, 0x68
push ebx
push 4
push esi
push str.nStartRunExe
push ecx
call ebp
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 6
mov dword [esp + 0x1c], esi
mov dword [esp + 0x44], esi
mov word [esp + 0x34], si
push str.Trial0
lea esi, [esp + 0x34]
mov dword [esp + 0x4c], 7
call fcn.00406f80
mov byte [esp + 0x94], 3
mov eax, dword [esp + 0x40]
push str.Trial1
mov edi, 6
mov ecx, esi
call fcn.00411070
test eax, eax
mov esi, 8
sete byte [esp + 0x17]
cmp dword [esp + 0x44], esi
jb 0x4156bb
mov eax, dword [esp + 0x30]
push eax
call fcn.004415cb
add esp, 4
cmp byte [esp + 0x17], 0
je 0x4156ff
cmp dword [esp + 0x68], esi
jb 0x4156d5
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004415cb
add esp, 4
xor eax, eax
cmp dword [esp + 0x84], esi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
jb 0x4158d5
mov edx, dword [esp + 0x70]
push edx
jmp 0x4158cd
mov eax, dword [0x472668]
xor ecx, ecx
cmp dword [0x47267c], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
jae 0x41571b
mov eax, 0x472668
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x1c]
push edx
push 0x20006
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp dword [0x472644], 8
mov esi, eax
mov eax, dword [0x472630]
jae 0x415749
mov eax, 0x472630
lea ecx, [esp + 0x20]
push ecx
push 0x20006
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test esi, esi
mov edi, eax
je 0x415787
cmp dword [0x47267c], 8
mov eax, dword [0x472668]
jae 0x415776
mov eax, 0x472668
lea edx, [esp + 0x1c]
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test edi, edi
je 0x4157af
cmp dword [0x472644], 8
mov eax, dword [0x472630]
jae 0x41579e
mov eax, 0x472630
lea ecx, [esp + 0x20]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
push 4
push esi
push 4
push 0
push str.nShortcutDesktop
push edx
call ebp
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
push 4
push edi
push 4
push 0
push str.nShortcutQuickLaunch
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push 4
push ecx
push 4
push 0
push str.nRunExe
push edx
call ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push 4
push eax
push 4
push 0
push str.nShowNewFeature
push ecx
call ebp
mov edx, dword [esp + 0x1c]
push 4
push ebx
push 4
push 0
push str.nStartRunExe
push edx
call ebp
mov eax, dword [esp + 0x20]
push 4
push esi
push 4
xor esi, esi
push esi
push str.nShortcutDesktop
push eax
call ebp
mov ecx, dword [esp + 0x20]
push 4
push edi
push 4
push esi
push str.nShortcutQuickLaunch
push ecx
call ebp
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push 4
push edx
push 4
push esi
push str.nRunExe
push eax
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 4
push ecx
push 4
push esi
push str.nShowNewFeature
push edx
call ebp
push 4
push ebx
mov eax, dword [esp + 0x28]
push 4
push esi
push str.nStartRunExe
push eax
call ebp
mov ecx, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
mov edx, dword [esp + 0x20]
push edx
call edi
mov edi, 8
cmp dword [esp + 0x68], edi
jb 0x4158ae
mov eax, dword [esp + 0x54]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x84], edi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
jb 0x4158d5
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004415cb
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004414cc
add esp, 0x84
ret