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

Disassembly:
push 0xffffffffffffffff
push 0x5cffa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x68d01c]
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x1e4c]
mov dword [esp + 0x2c], 0
test eax, eax
je 0x4db5a1
cmp dword [esi + 0x1e50], 3
jne 0x4db5be
mov eax, dword [esi + 0x4f8]
test eax, eax
je 0x4db5be
lea ecx, [esi + 0x4dc]
call fcn.004cd7e0
test al, al
je 0x4db99f
mov eax, dword [esi + 0x1e4c]
test eax, eax
jne 0x4db981
mov eax, dword [esi + 0x1d10]
test eax, eax
je 0x4db5ff
lea ecx, [esi + 0x1cf4]
call fcn.004c8dc0
mov ecx, dword [esi + 0x9c]
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x4db5ff
mov al, byte [esi + 0x1e40]
test al, al
je 0x4db5ff
push 0
call fcn.00419670
mov eax, dword [esi + 0x11a0]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
test eax, eax
je 0x4db6ea
lea ebx, [esi + 0x1184]
push 0x47c
mov ecx, ebx
call fcn.005ad04c
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0x147
push ecx
call ebp
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x4db68d
mov eax, dword [0x691b84]
lea edx, [esp + 0x20]
push 4
push edx
push 4
push 0
push str.ConnectionType
push eax
call edi
push 1
push 0
push 0x47e
mov ecx, ebx
call fcn.005ad0a4
test eax, eax
mov dword [esp + 0x24], eax
je 0x4db68d
mov edx, dword [0x691b84]
lea ecx, [esp + 0x24]
push 4
push ecx
push 4
push 0
push str.ConnectionSpeed
push edx
call edi
mov eax, dword [0x68d01c]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
push ecx
lea ecx, [esi + 0x1610]
call fcn.005aaefb
mov edx, dword [esp + 0x14]
push edx
call fcn.00591a83
add esp, 4
cmp eax, 1
je 0x4db6d1
cmp eax, 2
je 0x4db6d1
cmp eax, 4
je 0x4db6d1
cmp eax, 8
je 0x4db6d1
cmp eax, 0x10
jne 0x4db6dc
push eax
mov ecx, 0x691a48
call fcn.004c0fe0
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.005adc4d
mov eax, dword [esi + 0x18ac]
test eax, eax
je 0x4db8af
mov eax, dword [esi + 0x1adc]
push 0
push 0
push 0xf0
push eax
call ebp
lea edx, [esp + 0x10]
push 4
xor ecx, ecx
push edx
test eax, eax
mov eax, dword [0x691b84]
push 4
push 0
push str.ComplDlgShowing
setne cl
push eax
mov dword [esp + 0x28], ecx
call edi
mov ecx, dword [esi + 0x1974]
push 0
push 0
push 0xf0
push ecx
call ebp
mov ecx, dword [0x691b84]
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 edi
mov edx, dword [esi + 0x1938]
push 0
push 0
push 0xf0
push edx
call ebp
lea edx, [esp + 0x10]
push 4
xor ecx, ecx
push edx
test eax, eax
mov eax, dword [0x691b84]
push 4
push 0
push str.bQueueSelPnlOnGAL
setne cl
push eax
mov dword [esp + 0x28], ecx
call edi
mov ecx, dword [esi + 0x1a28]
push 0
push 0
push 0xf0
push ecx
call ebp
mov ecx, dword [0x691b84]
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 edi
mov edx, dword [esi + 0x1aa0]
push 0
push 0
push 0xf0
push edx
call ebp
lea edx, [esp + 0x10]
push 4
xor ecx, ecx
push edx
test eax, eax
mov eax, dword [0x691b84]
push 4
push 0
push str.StartDlgShowing
setne cl
push eax
mov dword [esp + 0x28], ecx
call edi
mov ecx, dword [0x68d01c]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x14]
lea ecx, [esi + 0x1b38]
push edx
mov byte [esp + 0x34], 2
call fcn.005aaefb
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4db849
inc eax
push eax
mov eax, dword [0x691b84]
push ecx
push 1
push 0
push str.VScannerProgram
push eax
call edi
jmp 0x4db857
mov ecx, dword [0x691b84]
push str.VScannerProgram
push ecx
call ebx
lea edx, [esp + 0x14]
lea ecx, [esi + 0x1afc]
push edx
call fcn.005aaefb
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4db888
inc eax
push eax
mov eax, dword [0x691b84]
push ecx
push 1
push 0
push str.VScannerParameters
push eax
call edi
jmp 0x4db896
mov ecx, dword [0x691b84]
push str.VScannerParameters
push ecx
call ebx
lea ecx, [esi + 0x1890]
call fcn.004d0f70
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.005adc4d
mov eax, dword [esi + 0x11a0]
pop ebx
test eax, eax
je 0x4db8e6
lea ecx, [esi + 0x1184]
call fcn.004c6cb0
test al, al
je 0x4db99f
mov eax, dword [esi + 0x1e44]
test eax, eax
je 0x4db8e6
push 0
push 0x13c2
push 0x111
push eax
call ebp
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x4db8fb
lea ecx, [esi + 0xa8]
call fcn.004d37a0
mov eax, dword [esi + 0x1e58]
test eax, eax
je 0x4db912
lea ecx, [esi + 0xbc4]
call fcn.004c9a30
jmp 0x4db91d
lea ecx, [esi + 0xe88]
call fcn.004cb250
lea edx, [esp + 0x18]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x691568
push 0
push str.SoftwareDownloadManagerConfigTime
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4db977
lea eax, [esp + 0x10]
push eax
call fcn.00592e63
mov edx, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push 0
push 0x691568
push edx
call edi
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0x1e4c]
test eax, eax
je 0x4db98a
cmp dword [esi + 0x1e50], 5
jne 0x4db99f
mov eax, dword [esi + 0x248]
test eax, eax
je 0x4db99f
lea ecx, [esi + 0x22c]
call fcn.004c8690
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.005adc4d
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret