Function at 0x5171a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x659a40
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00402500
mov dword [esp + 0x28], 0
cmp dword [esi + 0x13e4], 0
je 0x5171eb
cmp dword [esi + 0x13e8], 3
jne 0x517207
cmp dword [esi + 0x498], 0
je 0x517207
lea ecx, [esi + 0x478]
call fcn.00509b20
test al, al
je 0x5174d3
cmp dword [esi + 0x13e4], 0
jne 0x5174b6
cmp dword [esi + 0x1288], 0
je 0x517244
lea ecx, [esi + 0x1268]
call fcn.00504500
mov ecx, dword [esi + 0xc0]
cmp dword [ecx + 0x1c], 0
jne 0x517244
cmp byte [esi + 0x13b4], 0
je 0x517244
push 0
call fcn.004152f0
cmp dword [esi + 0xb50], 0
je 0x5172b4
lea ecx, [esp + 0x10]
call fcn.00402500
mov byte [esp + 0x28], 1
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0xcb8]
call fcn.005fa414
mov ecx, dword [esp + 0x10]
push ecx
call fcn.006219a1
add esp, 4
cmp eax, 1
je 0x51729b
cmp eax, 2
je 0x51729b
cmp eax, 4
je 0x51729b
cmp eax, 8
je 0x51729b
cmp eax, 0x10
je 0x51729b
cmp eax, 0x18
je 0x51729b
cmp eax, 0x20
jne 0x5172a6
push eax
mov ecx, 0x75dd64
call fcn.004fad10
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x10]
call fcn.00402570
cmp dword [esi + 0xf98], 0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x5173e1
mov edx, dword [esi + 0x110c]
push 0
push 0
push pe_nt_image_headers32
push edx
call edi
mov ecx, dword [0x75dbe4]
neg eax
sbb eax, eax
neg eax
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.ComplDlgShowing
push ecx
call ebp
mov edx, dword [esi + 0x10bc]
push 0
push 0
push pe_nt_image_headers32
push edx
call edi
mov ecx, dword [0x75dbe4]
neg eax
sbb eax, eax
neg eax
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.bQueueSelPnlOnDlLt
push ecx
call ebp
mov edx, dword [esi + 0x10ac]
push 0
push 0
push pe_nt_image_headers32
push edx
call edi
mov ecx, dword [0x75dbe4]
neg eax
sbb eax, eax
neg eax
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.bQueueSelPnlOnGAL
push ecx
call ebp
mov edx, dword [esi + 0x10dc]
push 0
push 0
push pe_nt_image_headers32
push edx
call edi
mov ecx, dword [0x75dbe4]
neg eax
sbb eax, eax
neg eax
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.bIgnMTCh
push ecx
call ebp
mov edx, dword [esi + 0x10fc]
push 0
push 0
push pe_nt_image_headers32
push edx
call edi
mov ecx, dword [0x75dbe4]
neg eax
sbb eax, eax
neg eax
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.StartDlgShowing
push ecx
call ebp
lea ecx, [esi + 0xf78]
call fcn.0050d4e0
cmp dword [esi + 0xb50], 0
je 0x517416
lea ecx, [esi + 0xb30]
call fcn.00501cc0
test al, al
je 0x5174d3
mov eax, dword [esi + 0x13c8]
test eax, eax
je 0x517416
push 0
push 0x13c2
push 0x111
push eax
call edi
cmp dword [esi + 0xf0], 0
je 0x51742a
lea ecx, [esi + 0xd0]
call fcn.0050f860
cmp dword [esi + 0x13f0], 0
je 0x517440
lea ecx, [esi + 0x7c0]
call fcn.00504f30
jmp 0x51744b
lea ecx, [esi + 0x9a8]
call fcn.00501610
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerConfigTime
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5174ad
lea eax, [esp + 0x10]
push eax
call fcn.00623911
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add esp, 4
push 4
lea edx, [esp + 0x20]
push edx
push 4
push 0
push 0x67997c
push eax
mov dword [esp + 0x34], ecx
call ebp
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x13e4], 0
je 0x5174bf
cmp dword [esi + 0x13e8], 5
jne 0x5174d3
cmp dword [esi + 0x210], 0
je 0x5174d3
lea ecx, [esi + 0x1f0]
call fcn.00503e40
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret