Function at 0x50eab0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x64c4d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
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 0x50eafb
cmp dword [esi + 0x1458], 3
jne 0x50eb17
cmp dword [esi + 0x498], 0
je 0x50eb17
lea ecx, [esi + 0x478]
call fcn.005015f0
test al, al
je 0x50ee36
cmp dword [esi + 0x1454], 0
jne 0x50ee19
cmp dword [esi + 0x12f8], 0
je 0x50eb54
lea ecx, [esi + 0x12d8]
call fcn.004fc090
mov ecx, dword [esi + 0xc0]
cmp dword [ecx + 0x1c], 0
jne 0x50eb54
cmp byte [esi + 0x1424], 0
je 0x50eb54
push 0
call fcn.00415410
cmp dword [esi + 0xb50], 0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
je 0x50ec1d
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 0x50ebb6
mov ecx, dword [esi + 0xe44]
push 0
push eax
push 0x150
push ecx
call edi
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x50ebb6
mov eax, dword [0x74ea0c]
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.005ed699
mov edx, dword [esp + 0x10]
push edx
call fcn.00614a71
add esp, 4
cmp eax, 1
je 0x50ec04
cmp eax, 2
je 0x50ec04
cmp eax, 4
je 0x50ec04
cmp eax, 8
je 0x50ec04
cmp eax, 0x10
je 0x50ec04
cmp eax, 0x18
je 0x50ec04
cmp eax, 0x20
jne 0x50ec0f
push eax
mov ecx, 0x74eb7c
call fcn.004f2430
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 0x50ed44
mov eax, dword [esi + 0x117c]
push 0
push 0
push 0xf0
push eax
call edi
mov edx, dword [0x74ea0c]
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 [0x74ea0c]
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 [0x74ea0c]
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 [0x74ea0c]
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 [0x74ea0c]
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.00504ea0
cmp dword [esi + 0xb50], 0
je 0x50ed79
lea ecx, [esi + 0xb30]
call fcn.004f9540
test al, al
je 0x50ee36
mov eax, dword [esi + 0x1438]
test eax, eax
je 0x50ed79
push 0
push 0x13c2
push 0x111
push eax
call edi
cmp dword [esi + 0xf0], 0
je 0x50ed8d
lea ecx, [esi + 0xd0]
call fcn.00507220
cmp dword [esi + 0x1460], 0
je 0x50eda3
lea ecx, [esi + 0x7c0]
call fcn.004fcaa0
jmp 0x50edae
lea ecx, [esi + 0x9a8]
call fcn.005acf00
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.SoftwareDownloadManagerConfigTime
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x50ee10
lea ecx, [esp + 0x1c]
push ecx
call fcn.006169e1
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 0x66b96c
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 0x50ee22
cmp dword [esi + 0x1458], 5
jne 0x50ee36
cmp dword [esi + 0x210], 0
je 0x50ee36
lea ecx, [esi + 0x1f0]
call fcn.004fb9d0
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