Function at 0x574d91
Capabilities:
Set registry value

Disassembly:
push 0x64
mov eax, 0x58ba40
call fcn.00531c83
mov ebx, ecx
mov dword [ebp - 0x40], ebx
call fcn.00570ae4
sub esp, 0x18
xor edi, edi
mov ecx, esp
mov esi, 0x5c2d2c
inc edi
mov dword [0x5fb5bc], edi
push esi
call fcn.004035c2
mov ecx, 0x4b0
call fcn.0057247e
mov ecx, esp
push str.AREA_EVALUATEINSTALL
call fcn.004036c4
call fcn.0057183d
add esp, 0x18
call fcn.0057612d
mov ecx, eax
test ecx, ecx
je 0x574df8
mov dword [0x5fb5bc], 2
jmp 0x575155
sub esp, 0x18
mov dword [0x5fb5bc], 3
mov ecx, esp
push str.AREA_GETSETTINGS
call fcn.004036c4
call fcn.0057183d
add esp, 0x18
mov ecx, ebx
call fcn.00575deb
mov ecx, eax
test ecx, ecx
je 0x574e35
mov dword [0x5fb5bc], 4
jmp 0x575155
sub esp, 0x18
mov dword [0x5fb5bc], 0x15
mov ecx, esp
push str.AREA_WAITFORUSER
call fcn.004036c4
call fcn.0057183d
add esp, 0x18
call fcn.00575a88
mov ecx, eax
test ecx, ecx
je 0x574e70
mov dword [0x5fb5bc], 0x16
jmp 0x575155
sub esp, 0x18
mov dword [0x5fb5bc], 5
mov ecx, esp
push str.AREA_PREINSTALL
call fcn.004036c4
call fcn.0057183d
add esp, 0x18
call fcn.00575714
mov ecx, eax
test ecx, ecx
je 0x574eab
mov dword [0x5fb5bc], 6
jmp 0x575155
sub esp, 0x18
mov dword [0x5fb5bc], 9
mov ecx, esp
push esi
call fcn.004035c2
mov ecx, 0x4bb
call fcn.0057247e
mov ecx, esp
push str.AREA_DOWNLOAD
call fcn.004036c4
call fcn.0057183d
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.askoffer
call fcn.004036c4
and dword [ebp - 4], 0
xor ecx, ecx
call fcn.005786e9
or dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.00578578
cmp eax, edi
jne 0x574f9d
mov edx, 0x56fa4e
lea ecx, [ebp - 0x3c]
call fcn.00409652
mov esi, eax
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x34]
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040ad7e
mov eax, dword [esi]
and dword [esi], 0
mov dword [ebp - 0x34], 0x5c49f4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x34]
call fcn.0040af1d
cmp dword [ebp - 0x24], 0
je 0x574f5d
push 4
push dword [ebp - 0x24]
call fcn.005312ad
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.0040ae7d
cmp dword [ebp - 0x3c], 0
je 0x574f77
push 4
push dword [ebp - 0x3c]
call fcn.005312ad
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 3
call fcn.0041086d
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
setne al
test al, al
je 0x574f9a
call fcn.005554db
xor edi, edi
inc edi
mov ecx, ebx
call fcn.00575bd9
mov ecx, eax
test ecx, ecx
je 0x574fb9
mov dword [0x5fb5bc], 0xa
jmp 0x575155
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.askoffer
call fcn.004036c4
xor ecx, ecx
mov dword [ebp - 4], 4
call fcn.005786e9
or dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.00578578
cmp eax, edi
jne 0x5750cb
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
push 0x20006
sub esp, 0x18
mov dword [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.package
call fcn.004036c4
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
xor ecx, ecx
call fcn.005786e9
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.005785fa
mov esi, eax
push 0x5c2f88
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.004035c2
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38]
call fcn.004051d9
pop ecx
cmp dword [eax + 0x14], 8
jb 0x575062
mov eax, dword [eax]
push eax
push SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.00403182
test eax, eax
lea ecx, [ebp - 0x38]
push edi
sete bl
xor esi, esi
inc esi
push esi
call fcn.00403a16
push edi
push esi
lea ecx, [ebp - 0x58]
call fcn.00403a16
push edi
push esi
lea ecx, [ebp - 0x70]
call fcn.00403a16
test bl, bl
je 0x5750bc
push 4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
push 4
push edi
push str.DoneDwl
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x1c]
call fcn.004031fc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004031fc
mov ebx, dword [ebp - 0x40]
sub esp, 0x18
mov dword [0x5fb5bc], 0xb
mov ecx, esp
push 0x5c2d2c
call fcn.004035c2
mov ecx, 0x4bc
call fcn.0057247e
mov ecx, esp
push str.AREA_INSTALL
call fcn.004036c4
call fcn.0057183d
add esp, 0x18
mov ecx, ebx
call fcn.005758ed
mov ecx, eax
test ecx, ecx
je 0x57511b
mov dword [0x5fb5bc], 0xc
jmp 0x575155
sub esp, 0x18
mov dword [0x5fb5bc], 0xf
mov ecx, esp
push str.AREA_POSTINSTALL
call fcn.004036c4
call fcn.0057183d
add esp, 0x18
call fcn.0057548d
mov ecx, eax
mov eax, dword [0x5fb5bc]
push 0x10
test ecx, ecx
pop edx
cmovne eax, edx
mov dword [0x5fb5bc], eax
mov eax, ecx
call fcn.00531c2d
ret