Function at 0x50fcd0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x64ecb0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x74d890]
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 + 0x1454], 0
je 0x50fd1b
cmp dword [esi + 0x1458], 3
jne 0x50fd37
cmp dword [esi + 0x498], 0
je 0x50fd37
lea ecx, [esi + 0x478]
call fcn.005026e0
test al, al
je 0x510056
cmp dword [esi + 0x1454], 0
jne 0x510039
cmp dword [esi + 0x12f8], 0
je 0x50fd74
lea ecx, [esi + 0x12d8]
call fcn.004fd170
mov ecx, dword [esi + 0xc0]
cmp dword [ecx + 0x1c], 0
jne 0x50fd74
cmp byte [esi + 0x1424], 0
je 0x50fd74
push 0
call fcn.004150f0
cmp dword [esi + 0xb50], 0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
je 0x50fe3d
mov eax, dword [esi + 0xe44]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push eax
call edi
cmp eax, 0xffffffff
je 0x50fdd6
mov ecx, dword [esi + 0xe44]
push 0
push eax
push 0x150
push ecx
call edi
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x50fdd6
mov eax, dword [0x752bcc]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push 0
push str.NewConnType
push eax
call ebp
lea ecx, [esp + 0x10]
call fcn.00402500
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0xd0c]
call fcn.005efa6e
mov edx, dword [esp + 0x10]
push edx
call fcn.00617001
add esp, 4
cmp eax, 1
je 0x50fe24
cmp eax, 2
je 0x50fe24
cmp eax, 4
je 0x50fe24
cmp eax, 8
je 0x50fe24
cmp eax, 0x10
je 0x50fe24
cmp eax, 0x18
je 0x50fe24
cmp eax, 0x20
jne 0x50fe2f
push eax
mov ecx, 0x752d3c
call fcn.004f3450
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x10]
call fcn.00402570
cmp dword [esi + 0x1008], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x50ff64
mov eax, dword [esi + 0x117c]
push 0
push 0
push 0xf0
push eax
call edi
mov edx, dword [0x752bcc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
neg eax
push 0
sbb eax, eax
push str.ComplDlgShowing
neg eax
push edx
mov dword [esp + 0x28], eax
call ebp
mov eax, dword [esi + 0x112c]
push 0
push 0
push 0xf0
push eax
call edi
mov edx, dword [0x752bcc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
neg eax
push 0
sbb eax, eax
push str.bQueueSelPnlOnDlLt
neg eax
push edx
mov dword [esp + 0x28], eax
call ebp
mov eax, dword [esi + 0x111c]
push 0
push 0
push 0xf0
push eax
call edi
mov edx, dword [0x752bcc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
neg eax
push 0
sbb eax, eax
push str.bQueueSelPnlOnGAL
neg eax
push edx
mov dword [esp + 0x28], eax
call ebp
mov eax, dword [esi + 0x114c]
push 0
push 0
push 0xf0
push eax
call edi
mov edx, dword [0x752bcc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
neg eax
push 0
sbb eax, eax
push str.bIgnMTCh
neg eax
push edx
mov dword [esp + 0x28], eax
call ebp
mov eax, dword [esi + 0x116c]
push 0
push 0
push 0xf0
push eax
call edi
mov edx, dword [0x752bcc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
neg eax
push 0
sbb eax, eax
push str.StartDlgShowing
neg eax
push edx
mov dword [esp + 0x28], eax
call ebp
lea ecx, [esi + 0xfe8]
call fcn.005060a0
cmp dword [esi + 0xb50], 0
je 0x50ff99
lea ecx, [esi + 0xb30]
call fcn.004fa610
test al, al
je 0x510056
mov eax, dword [esi + 0x1438]
test eax, eax
je 0x50ff99
push 0
push 0x13c2
push 0x111
push eax
call edi
cmp dword [esi + 0xf0], 0
je 0x50ffad
lea ecx, [esi + 0xd0]
call fcn.00508420
cmp dword [esi + 0x1460], 0
je 0x50ffc3
lea ecx, [esi + 0x7c0]
call fcn.004fdb70
jmp 0x50ffce
lea ecx, [esi + 0x9a8]
call fcn.00567870
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0x66e97c
push 0
push str.SoftwareDownloadManagerConfigTime
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x510030
lea ecx, [esp + 0x1c]
push ecx
call fcn.00618f71
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add esp, 4
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push 0x66e97c
push ecx
mov dword [esp + 0x28], edx
call ebp
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x1454], 0
je 0x510042
cmp dword [esi + 0x1458], 5
jne 0x510056
cmp dword [esi + 0x210], 0
je 0x510056
lea ecx, [esi + 0x1f0]
call fcn.004fcab0
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