Function at 0x506f30
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6313c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.004024e0
mov dword [esp + 0x28], 0
cmp dword [esi + 0x135c], 0
je 0x506f7b
cmp dword [esi + 0x1360], 3
jne 0x506f97
cmp dword [esi + 0x474], 0
je 0x506f97
lea ecx, [esi + 0x454]
call fcn.004f9660
test al, al
je 0x5072b6
cmp dword [esi + 0x135c], 0
jne 0x507299
cmp dword [esi + 0x1224], 0
je 0x506fd4
lea ecx, [esi + 0x1204]
call fcn.004f4160
mov ecx, dword [esi + 0xc0]
cmp dword [ecx + 0x1c], 0
jne 0x506fd4
cmp byte [esi + 0x1350], 0
je 0x506fd4
push 0
call fcn.00415500
cmp dword [esi + 0xb14], 0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
je 0x50709d
mov eax, dword [esi + 0xe08]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push eax
call edi
cmp eax, 0xffffffff
je 0x507036
mov ecx, dword [esi + 0xe08]
push 0
push eax
push 0x150
push ecx
call edi
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x507036
mov eax, dword [0x70f604]
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.004024e0
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0xcd0]
call fcn.005d5929
mov edx, dword [esp + 0x10]
push edx
call fcn.005f9da1
add esp, 4
cmp eax, 1
je 0x507084
cmp eax, 2
je 0x507084
cmp eax, 4
je 0x507084
cmp eax, 8
je 0x507084
cmp eax, 0x10
je 0x507084
cmp eax, 0x18
je 0x507084
cmp eax, 0x20
jne 0x50708f
push eax
mov ecx, 0x70f76c
call fcn.004ea6e0
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x10]
call fcn.00402550
cmp dword [esi + 0xfac], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x5071c4
mov eax, dword [esi + 0x1120]
push 0
push 0
push 0xf0
push eax
call edi
mov edx, dword [0x70f604]
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 + 0x10d0]
push 0
push 0
push 0xf0
push eax
call edi
mov edx, dword [0x70f604]
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 + 0x10c0]
push 0
push 0
push 0xf0
push eax
call edi
mov edx, dword [0x70f604]
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 + 0x10f0]
push 0
push 0
push 0xf0
push eax
call edi
mov edx, dword [0x70f604]
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 + 0x1110]
push 0
push 0
push 0xf0
push eax
call edi
mov edx, dword [0x70f604]
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 + 0xf8c]
call fcn.004fcda0
cmp dword [esi + 0xb14], 0
je 0x5071f9
lea ecx, [esi + 0xaf4]
call fcn.004f1700
test al, al
je 0x5072b6
mov eax, dword [esi + 0x1354]
test eax, eax
je 0x5071f9
push 0
push 0x13c2
push 0x111
push eax
call edi
cmp dword [esi + 0xec], 0
je 0x50720d
lea ecx, [esi + 0xcc]
call fcn.004ff050
cmp dword [esi + 0x1368], 0
je 0x507223
lea ecx, [esi + 0x788]
call fcn.004f4b30
jmp 0x50722e
lea ecx, [esi + 0x970]
call fcn.004216b0
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0x64f8bc
push 0
push str.SoftwareDownloadManagerConfigTime
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x507290
lea ecx, [esp + 0x1c]
push ecx
call fcn.005fbc53
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 0x64f8bc
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 + 0x135c], 0
je 0x5072a2
cmp dword [esi + 0x1360], 5
jne 0x5072b6
cmp dword [esi + 0x200], 0
je 0x5072b6
lea ecx, [esi + 0x1e0]
call fcn.004f3ab0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402550
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret