Function at 0x5176d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x65a3e0
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.004024f0
mov dword [esp + 0x28], 0
cmp dword [esi + 0x13e4], 0
je 0x51771b
cmp dword [esi + 0x13e8], 3
jne 0x517737
cmp dword [esi + 0x498], 0
je 0x517737
lea ecx, [esi + 0x478]
call fcn.0050a060
test al, al
je 0x517a03
cmp dword [esi + 0x13e4], 0
jne 0x5179e6
cmp dword [esi + 0x1288], 0
je 0x517774
lea ecx, [esi + 0x1268]
call fcn.00504a40
mov ecx, dword [esi + 0xc0]
cmp dword [ecx + 0x1c], 0
jne 0x517774
cmp byte [esi + 0x13b4], 0
je 0x517774
push 0
call fcn.00415430
cmp dword [esi + 0xb50], 0
je 0x5177e4
lea ecx, [esp + 0x10]
call fcn.004024f0
mov byte [esp + 0x28], 1
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0xcb8]
call fcn.005fae1b
mov ecx, dword [esp + 0x10]
push ecx
call fcn.006223c1
add esp, 4
cmp eax, 1
je 0x5177cb
cmp eax, 2
je 0x5177cb
cmp eax, 4
je 0x5177cb
cmp eax, 8
je 0x5177cb
cmp eax, 0x10
je 0x5177cb
cmp eax, 0x18
je 0x5177cb
cmp eax, 0x20
jne 0x5177d6
push eax
mov ecx, 0x75dd64
call fcn.004fb260
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x10]
call fcn.00402560
cmp dword [esi + 0xf98], 0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x517911
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.0050d900
cmp dword [esi + 0xb50], 0
je 0x517946
lea ecx, [esi + 0xb30]
call fcn.005021f0
test al, al
je 0x517a03
mov eax, dword [esi + 0x13c8]
test eax, eax
je 0x517946
push 0
push 0x13c2
push 0x111
push eax
call edi
cmp dword [esi + 0xf0], 0
je 0x51795a
lea ecx, [esi + 0xd0]
call fcn.0050fc80
cmp dword [esi + 0x13f0], 0
je 0x517970
lea ecx, [esi + 0x7c0]
call fcn.00505470
jmp 0x51797b
lea ecx, [esi + 0x9a8]
call fcn.00538fa0
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 0x5179dd
lea eax, [esp + 0x10]
push eax
call fcn.00624331
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 0x5179ef
cmp dword [esi + 0x13e8], 5
jne 0x517a03
cmp dword [esi + 0x210], 0
je 0x517a03
lea ecx, [esi + 0x1f0]
call fcn.00504380
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402560
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret