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

Disassembly:
push 0xffffffffffffffff
push 0x5a72b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x65ca8c]
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 0x4c3b95
cmp dword [esi + 0x1968], 3
jne 0x4c3dfc
mov eax, dword [esi + 0x4f8]
test eax, eax
je 0x4c3dfc
lea ebp, [esi + 0x4dc]
mov ecx, ebp
call fcn.004b8250
test al, al
je 0x4c420c
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x44f
call fcn.00583e26
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c3bf1
inc eax
push eax
push ecx
mov ecx, dword [0x6614e8]
push 1
push 0
push str.HttpProxy
push ecx
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4c3c05
mov edx, dword [0x6614e8]
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.00583e26
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c3c38
inc eax
push eax
push ecx
mov ecx, dword [0x6614e8]
push 1
push 0
push str.HttpPort
push ecx
call edi
jmp 0x4c3c46
mov edx, dword [0x6614e8]
push str.HttpPort
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x451
call fcn.00583e26
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c3c79
inc eax
push eax
push ecx
mov ecx, dword [0x6614e8]
push 1
push 0
push str.HttpUserName
push ecx
call edi
jmp 0x4c3c87
mov edx, dword [0x6614e8]
push str.HttpUserName
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x452
call fcn.00583e26
lea ecx, [esp + 0x18]
push ecx
push 0x40b
mov ecx, ebp
call fcn.00583e26
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.0056bf52
add esp, 8
test eax, eax
jne 0x4c3cdf
mov ecx, dword [esp + 0x10]
mov edx, dword [0x6614e8]
push 1
push ecx
push str.HttpEncPassword
push str.HttpPasword
push edx
call fcn.0053df80
add esp, 0x14
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x455
call fcn.00583e26
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c3d12
inc eax
push eax
push ecx
mov ecx, dword [0x6614e8]
push 1
push 0
push str.FtpProxy
push ecx
call edi
jmp 0x4c3d20
mov edx, dword [0x6614e8]
push str.FtpProxy
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x456
call fcn.00583e26
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c3d53
inc eax
push eax
push ecx
mov ecx, dword [0x6614e8]
push 1
push 0
push str.FtpPort
push ecx
call edi
jmp 0x4c3d61
mov edx, dword [0x6614e8]
push str.FtpPort
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x457
call fcn.00583e26
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c3d94
inc eax
push eax
push ecx
mov ecx, dword [0x6614e8]
push 1
push 0
push str.FtpUserName
push ecx
call edi
jmp 0x4c3da2
mov edx, dword [0x6614e8]
push str.FtpUserName
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x458
call fcn.00583e26
lea ecx, [esp + 0x18]
push ecx
push 0x40f
mov ecx, ebp
call fcn.00583e26
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.0056bf52
add esp, 8
test eax, eax
jne 0x4c3e02
mov ecx, dword [esp + 0x10]
mov edx, dword [0x6614e8]
push 1
push ecx
push str.FtpEncPassword
push str.FtpPasword
push edx
call fcn.0053df80
add esp, 0x14
jmp 0x4c3e02
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x1964]
test eax, eax
jne 0x4c41ee
mov eax, dword [esi + 0x1828]
test eax, eax
je 0x4c3e43
lea ecx, [esi + 0x180c]
call fcn.004b42d0
mov ecx, dword [esi + 0x9c]
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x4c3e43
mov al, byte [esi + 0x1958]
test al, al
je 0x4c3e43
push 0
call fcn.00413c70
mov eax, dword [esi + 0xc7c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4c3f2f
lea ebx, [esi + 0xc60]
push 0x47c
mov ecx, ebx
call fcn.00585f2e
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0x147
push eax
call ebp
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x4c3ecb
mov edx, dword [0x6614e8]
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.00585f86
test eax, eax
mov dword [esp + 0x28], eax
je 0x4c3ecb
mov ecx, dword [0x6614e8]
lea eax, [esp + 0x28]
push 4
push eax
push 4
push 0
push str.ConnectionSpeed
push ecx
call edi
mov edx, dword [0x65ca8c]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x10ec]
push eax
mov byte [esp + 0x38], 2
call fcn.00583dde
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0056ad63
add esp, 4
cmp eax, 1
je 0x4c3f10
cmp eax, 2
je 0x4c3f10
cmp eax, 4
je 0x4c3f10
cmp eax, 8
je 0x4c3f10
cmp eax, 0x10
jne 0x4c3f1b
push eax
mov ecx, 0x6613b8
call fcn.004acb90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.00586b33
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x1388]
test eax, eax
je 0x4c411d
mov edx, dword [esi + 0x15b8]
push 0
push 0
push 0x147
push edx
call ebp
mov ecx, dword [0x6614e8]
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 [0x6614e8]
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 [0x6614e8]
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 [0x6614e8]
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 [0x6614e8]
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 [0x6614e8]
push 4
push 0
push str.StartDlgShowing
setne cl
push eax
mov dword [esp + 0x2c], ecx
call edi
mov ecx, dword [0x65ca8c]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x1650]
push edx
mov byte [esp + 0x38], 3
call fcn.00583dde
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c40b7
inc eax
push eax
mov eax, dword [0x6614e8]
push ecx
push 1
push 0
push str.VScannerProgram
push eax
call edi
jmp 0x4c40c5
mov ecx, dword [0x6614e8]
push str.VScannerProgram
push ecx
call ebx
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x1614]
push edx
call fcn.00583dde
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c40f6
inc eax
push eax
mov eax, dword [0x6614e8]
push ecx
push 1
push 0
push str.VScannerParameters
push eax
call edi
jmp 0x4c4104
mov ecx, dword [0x6614e8]
push str.VScannerParameters
push ecx
call ebx
lea ecx, [esi + 0x136c]
call fcn.004bb160
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.00586b33
mov eax, dword [esi + 0xc7c]
test eax, eax
je 0x4c4153
lea ecx, [esi + 0xc60]
call fcn.004b2300
test al, al
je 0x4c420c
mov eax, dword [esi + 0x195c]
test eax, eax
je 0x4c4153
push 0
push 0x13c2
push 0x111
push eax
call ebp
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x4c4168
lea ecx, [esi + 0xa8]
call fcn.004bd1d0
mov eax, dword [esi + 0x1970]
test eax, eax
je 0x4c417f
lea ecx, [esi + 0x6a0]
call fcn.004b4e40
jmp 0x4c418a
lea ecx, [esi + 0x964]
call fcn.004d81c0
lea edx, [esp + 0x20]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x660ff8
push 0
push str.SoftwareDownloadManagerConfigTime
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c41e4
lea eax, [esp + 0x1c]
push eax
call fcn.0056c001
mov edx, dword [esp + 0x24]
add esp, 4
lea ecx, [esp + 0x1c]
push 4
push ecx
push 4
push 0
push 0x660ff8
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 0x4c41f7
cmp dword [esi + 0x1968], 5
jne 0x4c420c
mov eax, dword [esi + 0x248]
test eax, eax
je 0x4c420c
lea ecx, [esi + 0x22c]
call fcn.004b3c70
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 0
call fcn.00586b33
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.00586b33
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret