Function at 0x412b17
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x449f81
call fcn.004336a9
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 0x412dd3
cmp dword [esi + 0x5c], eax
jne 0x412dd3
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], 0x32
push 0xbbb
push esi
push 0x4b
pop ebx
call fcn.004130d6
push 0x454d8c
push edi
push esi
call fcn.00411c8e
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.00405339
cmp eax, ebx
jne 0x412c62
mov eax, dword [0x4666f4]
push dword [eax + 4]
push str.tbInstallationSessionID
mov eax, edi
push eax
call fcn.00413269
lea eax, [ebp - 0x28]
push eax
push 0x466540
call fcn.00404805
mov byte [ebp - 4], 4
push dword [eax]
push dword [ebp - 0x1c]
lea edi, [ebp - 0x18]
call fcn.00405339
mov edi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00409282
cmp edi, ebx
jne 0x412c62
mov eax, dword [0x4666f4]
push dword [eax + 4]
push str.InstallationSessionID
lea eax, [ebp - 0x18]
push eax
call fcn.00413269
lea ecx, [ebp - 0x20]
call fcn.00409258
mov byte [ebp - 4], 5
lea eax, [ebp - 0x20]
push eax
mov edi, str.PartnerId
push edi
mov ecx, 0x4666bc
call fcn.00422ee7
test eax, eax
je 0x412c2a
push dword [ebp - 0x20]
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.00413269
push str.Registration
push dword [ebp - 0x18]
lea edi, [ebp - 0x2c]
call fcn.00405339
cmp eax, ebx
jne 0x412c56
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.00409282
lea ecx, [ebp - 0x14]
call fcn.00409258
mov byte [ebp - 4], 6
lea eax, [ebp - 0x20]
push eax
push 0x466540
call fcn.00404805
mov byte [ebp - 4], 7
push dword [eax]
push str.SOFTWARESlimWare_Utilities_Inc_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402d0f
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00409282
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 8
push dword [ebp - 0x14]
push SysReAllocString
lea edi, [ebp - 0x28]
call fcn.00405339
test eax, eax
jne 0x412ccf
mov eax, dword [0x4666f4]
push dword [eax + 4]
push str.InstallationSessionID
mov eax, edi
push eax
call fcn.00413269
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 9
push str.SOFTWARESlimWare_Utilities_Inc
push SysReAllocString
lea edi, [ebp - 0x20]
call fcn.00405339
test eax, eax
jne 0x412d01
mov eax, dword [0x4666f4]
push dword [eax + 4]
push str.tbInstallationSessionID
mov eax, edi
push eax
call fcn.00413269
cmp dword [ebp - 0x14], ebx
je 0x412d13
push dword [ebp - 0x14]
push 0x4666fc
call fcn.004030e7
lea ecx, [ebp - 0x24]
call fcn.00409258
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x30], ebx
je 0x412d74
lea eax, [ebp - 0x24]
push eax
push 0x451274
mov ecx, 0x4666bc
call fcn.00422ee7
test eax, eax
je 0x412d74
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], 0x64
push 0xbbb
push esi
push 0x4b
pop ebx
call fcn.004130d6
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x24]
push eax
call fcn.00402ec7
mov byte [ebp - 4], 0xb
push esi
mov byte [ebp - 4], 0xa
call fcn.00412df7
xor ebx, ebx
jmp 0x412d80
push 0x64
push 0xbbb
call fcn.00413140
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.00409282
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.00402cf3
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00402cf3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00409282
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402cf3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402cf3
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.00402cf3
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
call fcn.00433715
ret 4