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

Disassembly:
push 0xffffffffffffffff
push 0x5bfa40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x679a04]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1964]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov byte [esp + 0x34], 1
je 0x4d4385
cmp dword [esi + 0x1968], 3
jne 0x4d45ec
mov eax, dword [esi + 0x4f8]
test eax, eax
je 0x4d45ec
lea ebp, [esi + 0x4dc]
mov ecx, ebp
call fcn.004c74a0
test al, al
je 0x4d49fc
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x44f
call fcn.0059b233
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d43e1
inc eax
push eax
push ecx
mov ecx, dword [0x67e58c]
push 1
push 0
push str.HttpProxy
push ecx
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4d43f5
mov edx, dword [0x67e58c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.HttpProxy
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x450
call fcn.0059b233
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d4428
inc eax
push eax
push ecx
mov ecx, dword [0x67e58c]
push 1
push 0
push str.HttpPort
push ecx
call edi
jmp 0x4d4436
mov edx, dword [0x67e58c]
push str.HttpPort
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x451
call fcn.0059b233
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d4469
inc eax
push eax
push ecx
mov ecx, dword [0x67e58c]
push 1
push 0
push str.HttpUserName
push ecx
call edi
jmp 0x4d4477
mov edx, dword [0x67e58c]
push str.HttpUserName
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x452
call fcn.0059b233
lea ecx, [esp + 0x18]
push ecx
push 0x40b
mov ecx, ebp
call fcn.0059b233
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.005831c4
add esp, 8
test eax, eax
jne 0x4d44cf
mov ecx, dword [esp + 0x10]
mov edx, dword [0x67e58c]
push 1
push ecx
push str.HttpEncPassword
push str.HttpPasword
push edx
call fcn.00552af0
add esp, 0x14
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x455
call fcn.0059b233
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d4502
inc eax
push eax
push ecx
mov ecx, dword [0x67e58c]
push 1
push 0
push str.FtpProxy
push ecx
call edi
jmp 0x4d4510
mov edx, dword [0x67e58c]
push str.FtpProxy
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x456
call fcn.0059b233
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d4543
inc eax
push eax
push ecx
mov ecx, dword [0x67e58c]
push 1
push 0
push str.FtpPort
push ecx
call edi
jmp 0x4d4551
mov edx, dword [0x67e58c]
push str.FtpPort
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x457
call fcn.0059b233
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d4584
inc eax
push eax
push ecx
mov ecx, dword [0x67e58c]
push 1
push 0
push str.FtpUserName
push ecx
call edi
jmp 0x4d4592
mov edx, dword [0x67e58c]
push str.FtpUserName
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x458
call fcn.0059b233
lea ecx, [esp + 0x18]
push ecx
push 0x40f
mov ecx, ebp
call fcn.0059b233
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.005831c4
add esp, 8
test eax, eax
jne 0x4d45f2
mov ecx, dword [esp + 0x10]
mov edx, dword [0x67e58c]
push 1
push ecx
push str.FtpEncPassword
push str.FtpPasword
push edx
call fcn.00552af0
add esp, 0x14
jmp 0x4d45f2
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x1964]
test eax, eax
jne 0x4d49de
mov eax, dword [esi + 0x1828]
test eax, eax
je 0x4d4633
lea ecx, [esi + 0x180c]
call fcn.004c3100
mov ecx, dword [esi + 0x9c]
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x4d4633
mov al, byte [esi + 0x1958]
test al, al
je 0x4d4633
push 0
call fcn.00416bf0
mov eax, dword [esi + 0xc7c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4d471f
lea ebx, [esi + 0xc60]
push 0x47c
mov ecx, ebx
call fcn.0059d344
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0x147
push eax
call ebp
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x4d46bb
mov edx, dword [0x67e58c]
lea ecx, [esp + 0x24]
push 4
push ecx
push 4
push 0
push str.ConnectionType
push edx
call edi
push 1
push 0
push 0x47e
mov ecx, ebx
call fcn.0059d39c
test eax, eax
mov dword [esp + 0x28], eax
je 0x4d46bb
mov ecx, dword [0x67e58c]
lea eax, [esp + 0x28]
push 4
push eax
push 4
push 0
push str.ConnectionSpeed
push ecx
call edi
mov edx, dword [0x679a04]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x10ec]
push eax
mov byte [esp + 0x38], 2
call fcn.0059b1eb
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00581e93
add esp, 4
cmp eax, 1
je 0x4d4700
cmp eax, 2
je 0x4d4700
cmp eax, 4
je 0x4d4700
cmp eax, 8
je 0x4d4700
cmp eax, 0x10
jne 0x4d470b
push eax
mov ecx, 0x67e420
call fcn.004bb900
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.0059df40
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x1388]
test eax, eax
je 0x4d490d
mov edx, dword [esi + 0x15b8]
push 0
push 0
push 0x147
push edx
call ebp
mov ecx, dword [0x67e58c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push str.PrgrDlgVisiblity
push ecx
call edi
mov edx, dword [esi + 0x15f4]
push 0
push 0
push 0xf0
push edx
call ebp
lea edx, [esp + 0x14]
push 4
xor ecx, ecx
push edx
test eax, eax
mov eax, dword [0x67e58c]
push 4
push 0
push str.ComplDlgShowing
setne cl
push eax
mov dword [esp + 0x2c], ecx
call edi
mov ecx, dword [esi + 0x1450]
push 0
push 0
push 0xf0
push ecx
call ebp
mov ecx, dword [0x67e58c]
xor edx, edx
test eax, eax
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push str.bQueueSelPnlOnDlLt
setne dl
push ecx
mov dword [esp + 0x2c], edx
call edi
mov edx, dword [esi + 0x1414]
push 0
push 0
push 0xf0
push edx
call ebp
lea edx, [esp + 0x14]
push 4
xor ecx, ecx
push edx
test eax, eax
mov eax, dword [0x67e58c]
push 4
push 0
push str.bQueueSelPnlOnGAL
setne cl
push eax
mov dword [esp + 0x2c], ecx
call edi
mov ecx, dword [esi + 0x1504]
push 0
push 0
push 0xf0
push ecx
call ebp
xor edx, edx
test eax, eax
mov ecx, dword [0x67e58c]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
setne dl
push str.bIgnMTCh
push ecx
mov dword [esp + 0x2c], edx
call edi
mov edx, dword [esi + 0x157c]
push 0
push 0
push 0xf0
push edx
call ebp
lea edx, [esp + 0x14]
push 4
xor ecx, ecx
push edx
test eax, eax
mov eax, dword [0x67e58c]
push 4
push 0
push str.StartDlgShowing
setne cl
push eax
mov dword [esp + 0x2c], ecx
call edi
mov ecx, dword [0x679a04]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x1650]
push edx
mov byte [esp + 0x38], 3
call fcn.0059b1eb
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d48a7
inc eax
push eax
mov eax, dword [0x67e58c]
push ecx
push 1
push 0
push str.VScannerProgram
push eax
call edi
jmp 0x4d48b5
mov ecx, dword [0x67e58c]
push str.VScannerProgram
push ecx
call ebx
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x1614]
push edx
call fcn.0059b1eb
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d48e6
inc eax
push eax
mov eax, dword [0x67e58c]
push ecx
push 1
push 0
push str.VScannerParameters
push eax
call edi
jmp 0x4d48f4
mov ecx, dword [0x67e58c]
push str.VScannerParameters
push ecx
call ebx
lea ecx, [esi + 0x136c]
call fcn.004ca480
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.0059df40
mov eax, dword [esi + 0xc7c]
test eax, eax
je 0x4d4943
lea ecx, [esi + 0xc60]
call fcn.004c1130
test al, al
je 0x4d49fc
mov eax, dword [esi + 0x195c]
test eax, eax
je 0x4d4943
push 0
push 0x13c2
push 0x111
push eax
call ebp
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x4d4958
lea ecx, [esi + 0xa8]
call fcn.004ccc00
mov eax, dword [esi + 0x1970]
test eax, eax
je 0x4d496f
lea ecx, [esi + 0x6a0]
call fcn.004c3d60
jmp 0x4d497a
lea ecx, [esi + 0x964]
call int.00540200
lea edx, [esp + 0x20]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x67df58
push 0
push str.SoftwareDownloadManagerConfigTime
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4d49d4
lea eax, [esp + 0x1c]
push eax
call fcn.00583273
mov edx, dword [esp + 0x24]
add esp, 4
lea ecx, [esp + 0x1c]
push 4
push ecx
push 4
push 0
push 0x67df58
push edx
call edi
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0x1964]
test eax, eax
je 0x4d49e7
cmp dword [esi + 0x1968], 5
jne 0x4d49fc
mov eax, dword [esi + 0x248]
test eax, eax
je 0x4d49fc
lea ecx, [esi + 0x22c]
call fcn.004c2aa0
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 0
call fcn.0059df40
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.0059df40
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret