Function at 0x40ef83
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45c3c8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x477fc0]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [0x477fc0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
cmp byte [ebx + 0xcc], 0
jne 0x40f1c3
mov eax, dword [ebx + 0xb0]
test eax, eax
jne 0x40f1bc
lea ecx, [esp + 0x18]
call fcn.00401a99
and dword [esp + 0x80], 0
push dword [ebx + 0xc0]
lea eax, [esp + 0x1c]
push str.SOFTWARESlimWare_Utilities_Inc_sRegistration
push eax
call fcn.00402048
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.0040932e
test eax, eax
jne 0x40f0e8
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.00412614
test eax, eax
jne 0x40f04c
cmp dword [esp + 0x10], esi
je 0x40f059
mov esi, 0x4637f8
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 0x40f074
lea esi, [esp + 0x4c]
jmp 0x40f0ce
push 0x465480
mov ecx, 0x47e048
call fcn.00422d30
test eax, eax
je 0x40f09b
push 4
pop ecx
mov edi, 0x4637f8
lea esi, [ebx + 0xe0]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x40f0e8
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 0x40f0e8
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 [0x47e044]
test ecx, ecx
je 0x40f19a
push eax
call fcn.00415965
cmp dword [0x47e044], 0
je 0x40f19a
fld dword [0x469488]
sub esp, 0xc
fstp dword [esp + 8]
lea eax, [esp + 0x28]
fld dword [0x46948c]
fstp dword [esp + 4]
fld dword [0x469490]
fstp dword [esp]
call fcn.004110f0
mov byte [esp + 0x80], 2
mov eax, dword [0x47df8c]
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.00419b28
mov byte [esp + 0x80], 3
push dword [eax]
lea eax, [esp + 0x20]
push str.productVersion
push eax
call fcn.00402a83
mov byte [esp + 0x80], 2
lea ecx, [esp + 0x10]
call fcn.00401b86
lea eax, [esp + 0x1c]
push eax
push 1
push str.InstallerFinished
push dword [0x47e044]
call fcn.00415a01
mov byte [esp + 0x80], 1
lea eax, [esp + 0x1c]
push eax
call fcn.00411139
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x14]
call fcn.004092ce
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401b86
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.004390c2
mov esp, ebp
pop ebp
ret