Function at 0x40f19f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45df68
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x47a030]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [0x47a030]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
cmp byte [ebx + 0xcc], 0
jne 0x40f3df
mov eax, dword [ebx + 0xac]
test eax, eax
jne 0x40f3d8
lea ecx, [esp + 0x18]
call fcn.004088aa
and dword [esp + 0x80], 0
push dword [ebx + 0xbc]
lea eax, [esp + 0x1c]
push str.SOFTWARESlimWare_Utilities_Inc_sRegistration
push eax
call fcn.00401fdb
and dword [esp + 0x20], 0
add esp, 0xc
mov byte [esp + 0x80], 1
push dword [esp + 0x18]
lea edi, [esp + 0x18]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004090c5
test eax, eax
jne 0x40f304
push 0x10
pop esi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x50]
push eax
push str.InstallationID
mov eax, edi
push eax
mov dword [esp + 0x20], esi
call fcn.0041274d
test eax, eax
jne 0x40f268
cmp dword [esp + 0x10], esi
je 0x40f275
mov esi, 0x4648a0
lea edi, [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0xe0]
push 4
pop ecx
lea edi, [esp + 0x4c]
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x40f290
lea esi, [esp + 0x4c]
jmp 0x40f2ea
push 0x466590
mov ecx, 0x480130
call fcn.00424300
test eax, eax
je 0x40f2b7
push 4
pop ecx
mov edi, 0x4648a0
lea esi, [ebx + 0xe0]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x40f304
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x10
lea eax, [esp + 0x64]
push eax
push 3
push 0
push str.InstallationID
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40f304
lea esi, [esp + 0x60]
lea eax, [ebx + 0xe0]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [0x48012c]
test ecx, ecx
je 0x40f3b6
push eax
call fcn.00416785
cmp dword [0x48012c], 0
je 0x40f3b6
fld dword [0x46ab18]
sub esp, 0xc
fstp dword [esp + 8]
lea eax, [esp + 0x28]
fld dword [0x46ab1c]
fstp dword [esp + 4]
fld dword [0x46ab20]
fstp dword [esp]
call fcn.00411262
mov byte [esp + 0x80], 2
mov eax, dword [0x480070]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push eax
call dword [ecx + 0x1c]
lea eax, [esp + 0x10]
push eax
lea esi, [esp + 0x50]
call fcn.0041ad6c
mov byte [esp + 0x80], 3
push dword [eax]
lea eax, [esp + 0x20]
push str.productVersion
push eax
call fcn.00402a20
mov byte [esp + 0x80], 2
lea ecx, [esp + 0x10]
call fcn.004088d4
lea eax, [esp + 0x1c]
push eax
push 1
push str.InstallerFinished
push dword [0x48012c]
call fcn.00416821
mov byte [esp + 0x80], 1
lea eax, [esp + 0x1c]
push eax
call fcn.004112ab
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x14]
call fcn.00409065
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004088d4
mov byte [ebx + 0xcc], 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0043aa05
mov esp, ebp
pop ebp
ret