Function at 0x412b30
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x449fc1
call fcn.004336e9
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], eax
lea edi, [esi + 0x50]
mov ecx, dword [edi]
cmp dword [ecx - 0xc], eax
je 0x412dec
cmp dword [esi + 0x5c], eax
jne 0x412dec
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], 0x32
push 0xbbb
push esi
push 0x4b
pop ebx
call fcn.004130ef
push 0x454dbc
push edi
push esi
call fcn.00411c96
mov dword [ebp - 0x30], eax
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 3
push str.SOFTWARESlimWare_Utilities_Inc
push reloc.OLEAUT32.dll_SysReAllocString
lea edi, [ebp - 0x1c]
call fcn.00405276
cmp eax, ebx
jne 0x412c7b
mov eax, dword [0x4666f4]
push dword [eax + 4]
push str.tbInstallationSessionID
mov eax, edi
push eax
call fcn.00413282
lea eax, [ebp - 0x28]
push eax
push 0x466540
call fcn.00404742
mov byte [ebp - 4], 4
push dword [eax]
push dword [ebp - 0x1c]
lea edi, [ebp - 0x18]
call fcn.00405276
mov edi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040922c
cmp edi, ebx
jne 0x412c7b
mov eax, dword [0x4666f4]
push dword [eax + 4]
push str.InstallationSessionID
lea eax, [ebp - 0x18]
push eax
call fcn.00413282
lea ecx, [ebp - 0x20]
call fcn.00409202
mov byte [ebp - 4], 5
lea eax, [ebp - 0x20]
push eax
mov edi, str.PartnerId
push edi
mov ecx, 0x4666bc
call fcn.00422f84
test eax, eax
je 0x412c43
push dword [ebp - 0x20]
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.00413282
push str.Registration
push dword [ebp - 0x18]
lea edi, [ebp - 0x2c]
call fcn.00405276
cmp eax, ebx
jne 0x412c6f
push 0x10
push 0x46661c
push 3
push ebx
push str.InstallationID
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.0040922c
lea ecx, [ebp - 0x14]
call fcn.00409202
mov byte [ebp - 4], 6
lea eax, [ebp - 0x20]
push eax
push 0x466540
call fcn.00404742
mov byte [ebp - 4], 7
push dword [eax]
push str.SOFTWARESlimWare_Utilities_Inc_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402c37
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.0040922c
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 8
push dword [ebp - 0x14]
push SysReAllocString
lea edi, [ebp - 0x28]
call fcn.00405276
test eax, eax
jne 0x412ce8
mov eax, dword [0x4666f4]
push dword [eax + 4]
push str.InstallationSessionID
mov eax, edi
push eax
call fcn.00413282
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 9
push str.SOFTWARESlimWare_Utilities_Inc
push SysReAllocString
lea edi, [ebp - 0x20]
call fcn.00405276
test eax, eax
jne 0x412d1a
mov eax, dword [0x4666f4]
push dword [eax + 4]
push str.tbInstallationSessionID
mov eax, edi
push eax
call fcn.00413282
cmp dword [ebp - 0x14], ebx
je 0x412d2c
push dword [ebp - 0x14]
push 0x4666fc
call fcn.0040300f
lea ecx, [ebp - 0x24]
call fcn.00409202
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x30], ebx
je 0x412d8d
lea eax, [ebp - 0x24]
push eax
push 0x451274
mov ecx, 0x4666bc
call fcn.00422f84
test eax, eax
je 0x412d8d
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], 0x64
push 0xbbb
push esi
push 0x4b
pop ebx
call fcn.004130ef
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x24]
push eax
call fcn.00402def
mov byte [ebp - 4], 0xb
push esi
mov byte [ebp - 4], 0xa
call fcn.00412e10
xor ebx, ebx
jmp 0x412d99
push 0x64
push 0xbbb
call fcn.00413159
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.0040922c
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.00402c1b
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00402c1b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0040922c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402c1b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402c1b
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.00402c1b
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
call fcn.00433755
ret 4