Function at 0x517360
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x659aa0
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.00402510
mov dword [esp + 0x28], 0
cmp dword [esi + 0x13e4], 0
je 0x5173ab
cmp dword [esi + 0x13e8], 3
jne 0x5173c7
cmp dword [esi + 0x498], 0
je 0x5173c7
lea ecx, [esi + 0x478]
call fcn.00509ba0
test al, al
je 0x517693
cmp dword [esi + 0x13e4], 0
jne 0x517676
cmp dword [esi + 0x1288], 0
je 0x517404
lea ecx, [esi + 0x1268]
call fcn.00504570
mov ecx, dword [esi + 0xc0]
cmp dword [ecx + 0x1c], 0
jne 0x517404
cmp byte [esi + 0x13b4], 0
je 0x517404
push 0
call fcn.00414e20
cmp dword [esi + 0xb50], 0
je 0x517474
lea ecx, [esp + 0x10]
call fcn.00402510
mov byte [esp + 0x28], 1
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0xcb8]
call fcn.005fa470
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00621a71
add esp, 4
cmp eax, 1
je 0x51745b
cmp eax, 2
je 0x51745b
cmp eax, 4
je 0x51745b
cmp eax, 8
je 0x51745b
cmp eax, 0x10
je 0x51745b
cmp eax, 0x18
je 0x51745b
cmp eax, 0x20
jne 0x517466
push eax
mov ecx, 0x75dd64
call fcn.004faca0
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x10]
call fcn.00402580
cmp dword [esi + 0xf98], 0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x5175a1
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.0050d560
cmp dword [esi + 0xb50], 0
je 0x5175d6
lea ecx, [esi + 0xb30]
call fcn.00501d30
test al, al
je 0x517693
mov eax, dword [esi + 0x13c8]
test eax, eax
je 0x5175d6
push 0
push 0x13c2
push 0x111
push eax
call edi
cmp dword [esi + 0xf0], 0
je 0x5175ea
lea ecx, [esi + 0xd0]
call fcn.0050f8e0
cmp dword [esi + 0x13f0], 0
je 0x517600
lea ecx, [esi + 0x7c0]
call fcn.00504fb0
jmp 0x51760b
lea ecx, [esi + 0x9a8]
call fcn.005b9190
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 0x51766d
lea eax, [esp + 0x10]
push eax
call fcn.006239e1
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 0x51767f
cmp dword [esi + 0x13e8], 5
jne 0x517693
cmp dword [esi + 0x210], 0
je 0x517693
lea ecx, [esi + 0x1f0]
call fcn.00503eb0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402580
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret