Function at 0x508cd0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6266b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6f175c]
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x1dc0]
mov dword [esp + 0x24], 0
test eax, eax
je 0x508d11
cmp dword [esi + 0x1dc4], 3
jne 0x508d2e
mov eax, dword [esi + 0x4f8]
test eax, eax
je 0x508d2e
lea ecx, [esi + 0x4dc]
call fcn.004f93d0
test al, al
je 0x5090f1
mov eax, dword [esi + 0x1dc0]
test eax, eax
jne 0x5090d3
mov eax, dword [esi + 0x1c84]
test eax, eax
je 0x508d6f
lea ecx, [esi + 0x1c68]
call fcn.004f43f0
mov ecx, dword [esi + 0x9c]
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x508d6f
mov al, byte [esi + 0x1db4]
test al, al
je 0x508d6f
push 0
call fcn.0041f440
mov eax, dword [esi + 0x108c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x508e3b
mov ecx, dword [esi + 0x111c]
push 0
push 0
push 0x147
push ecx
call edi
cmp eax, 0xffffffff
je 0x508dd3
mov edx, dword [esi + 0x111c]
push 0
push eax
push 0x150
push edx
call edi
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
je 0x508dd3
mov ecx, dword [0x6f6360]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push str.NewConnType
push ecx
call ebp
mov edx, dword [0x6f175c]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x10]
lea ecx, [esi + 0x14fc]
push eax
mov byte [esp + 0x28], 1
call fcn.005febde
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005e5453
add esp, 4
cmp eax, 1
je 0x508e22
cmp eax, 2
je 0x508e22
cmp eax, 4
je 0x508e22
cmp eax, 8
je 0x508e22
cmp eax, 0x10
je 0x508e22
cmp eax, 0x18
je 0x508e22
cmp eax, 0x20
jne 0x508e2d
push eax
mov ecx, 0x6f6200
call fcn.004eb660
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call fcn.006018cc
mov eax, dword [esi + 0x1820]
test eax, eax
je 0x509002
mov edx, dword [esi + 0x1a50]
push ebx
push 0
push 0
push 0xf0
push edx
call edi
lea edx, [esp + 0x10]
push 4
xor ecx, ecx
push edx
test eax, eax
mov eax, dword [0x6f6360]
push 4
push 0
push str.ComplDlgShowing
setne cl
push eax
mov dword [esp + 0x28], ecx
call ebp
mov ecx, dword [esi + 0x18e8]
push 0
push 0
push 0xf0
push ecx
call edi
mov ecx, dword [0x6f6360]
xor edx, edx
test eax, eax
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push str.bQueueSelPnlOnDlLt
setne dl
push ecx
mov dword [esp + 0x28], edx
call ebp
mov edx, dword [esi + 0x18ac]
push 0
push 0
push 0xf0
push edx
call edi
lea edx, [esp + 0x10]
push 4
xor ecx, ecx
push edx
test eax, eax
mov eax, dword [0x6f6360]
push 4
push 0
push str.bQueueSelPnlOnGAL
setne cl
push eax
mov dword [esp + 0x28], ecx
call ebp
mov ecx, dword [esi + 0x199c]
push 0
push 0
push 0xf0
push ecx
call edi
mov ecx, dword [0x6f6360]
xor edx, edx
test eax, eax
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push str.bIgnMTCh
setne dl
push ecx
mov dword [esp + 0x28], edx
call ebp
mov edx, dword [esi + 0x1a14]
push 0
push 0
push 0xf0
push edx
call edi
lea edx, [esp + 0x10]
push 4
xor ecx, ecx
push edx
test eax, eax
mov eax, dword [0x6f6360]
push 4
push 0
push str.StartDlgShowing
setne cl
push eax
mov dword [esp + 0x28], ecx
call ebp
mov ecx, dword [0x6f175c]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x14]
lea ecx, [esi + 0x1aac]
push edx
mov byte [esp + 0x2c], 2
call fcn.005febde
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ecx - 8]
test eax, eax
je 0x508f9b
inc eax
push eax
mov eax, dword [0x6f6360]
push ecx
push 1
push 0
push str.VScannerProgram
push eax
call ebp
jmp 0x508fa9
mov ecx, dword [0x6f6360]
push str.VScannerProgram
push ecx
call ebx
lea edx, [esp + 0x14]
lea ecx, [esi + 0x1a70]
push edx
call fcn.005febde
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x508fda
inc eax
push eax
mov eax, dword [0x6f6360]
push ecx
push 1
push 0
push str.VScannerParameters
push eax
call ebp
jmp 0x508fe8
mov ecx, dword [0x6f6360]
push str.VScannerParameters
push ecx
call ebx
lea ecx, [esi + 0x1804]
call fcn.004fd760
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call fcn.006018cc
pop ebx
mov eax, dword [esi + 0x108c]
test eax, eax
je 0x509038
lea ecx, [esi + 0x1070]
call fcn.004f2020
test al, al
je 0x5090f1
mov eax, dword [esi + 0x1db8]
test eax, eax
je 0x509038
push 0
push 0x13c2
push 0x111
push eax
call edi
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x50904d
lea ecx, [esi + 0xa8]
call fcn.004ffff0
mov eax, dword [esi + 0x1dcc]
test eax, eax
je 0x509064
lea ecx, [esi + 0xab0]
call fcn.004f5080
jmp 0x50906f
lea ecx, [esi + 0xd74]
call fcn.005a4260
lea edx, [esp + 0x18]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x6f5cb8
push 0
push str.SoftwareDownloadManagerConfigTime
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5090c9
lea eax, [esp + 0x10]
push eax
call fcn.005e6a09
mov edx, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push 0
push 0x6f5cb8
push edx
call ebp
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0x1dc0]
test eax, eax
je 0x5090dc
cmp dword [esi + 0x1dc4], 5
jne 0x5090f1
mov eax, dword [esi + 0x248]
test eax, eax
je 0x5090f1
lea ecx, [esi + 0x22c]
call fcn.004f3ca0
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call fcn.006018cc
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret