Function at 0x415e80
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x458f90
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
lea edi, [esp + 0x6c]
mov ebx, ecx
call fcn.0041f860
mov eax, edi
xor ebp, ebp
push eax
mov dword [esp + 0x98], ebp
call fcn.0041bcd0
add esp, 4
test eax, eax
jne 0x415ef6
cmp dword [esp + 0x84], 8
jb 0x415eef
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0043ef40
add esp, 4
xor eax, eax
jmp 0x41632a
push 0xe
push str.EnvirConf.ini
lea ecx, [esp + 0x74]
call fcn.00406e50
cmp dword [esp + 0x84], 8
mov eax, dword [esp + 0x70]
jae 0x415f18
lea eax, [esp + 0x70]
push eax
push 0x462120
push 0x462124
push str.Option
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xffffffffffffffff
mov esi, 7
push ebp
mov eax, 0x46f63c
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.00406cc0
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.00406f20
mov byte [esp + 0x94], 2
mov eax, dword [esp + 0x40]
push str.Trial1
mov edi, 6
mov ecx, esi
call fcn.00411e60
test eax, eax
mov esi, 8
sete byte [esp + 0x17]
mov byte [esp + 0x94], 1
cmp dword [esp + 0x44], esi
jb 0x415fbe
mov edx, dword [esp + 0x30]
push edx
call fcn.0043ef40
add esp, 4
cmp byte [esp + 0x17], 0
je 0x415fd6
push 0xffffffffffffffff
push ebp
mov eax, 0x46f674
lea ecx, [esp + 0x58]
call fcn.00406cc0
cmp dword [esp + 0x68], esi
mov eax, dword [esp + 0x54]
jae 0x415fe4
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 0x41601e
cmp dword [esp + 0x68], esi
mov eax, dword [esp + 0x54]
jae 0x41600d
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.00406f20
mov byte [esp + 0x94], 3
mov eax, dword [esp + 0x40]
push str.Trial1
mov edi, 6
mov ecx, esi
call fcn.00411e60
test eax, eax
mov esi, 8
sete byte [esp + 0x17]
cmp dword [esp + 0x44], esi
jb 0x41610b
mov eax, dword [esp + 0x30]
push eax
call fcn.0043ef40
add esp, 4
cmp byte [esp + 0x17], 0
je 0x41614f
cmp dword [esp + 0x68], esi
jb 0x416125
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0043ef40
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 0x416325
mov edx, dword [esp + 0x70]
push edx
jmp 0x41631d
mov eax, dword [0x46f65c]
xor ecx, ecx
cmp dword [0x46f670], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
jae 0x41616b
mov eax, 0x46f65c
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 [0x46f638], 8
mov esi, eax
mov eax, dword [0x46f624]
jae 0x416199
mov eax, 0x46f624
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 0x4161d7
cmp dword [0x46f670], 8
mov eax, dword [0x46f65c]
jae 0x4161c6
mov eax, 0x46f65c
lea edx, [esp + 0x1c]
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test edi, edi
je 0x4161ff
cmp dword [0x46f638], 8
mov eax, dword [0x46f624]
jae 0x4161ee
mov eax, 0x46f624
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 0x4162fe
mov eax, dword [esp + 0x54]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x84], edi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
jb 0x416325
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0043ef40
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.0043ef12
add esp, 0x84
ret