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

Disassembly:
push 0xffffffffffffffff
push 0x5c2ae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x67da2c]
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 + 0x1928]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov byte [esp + 0x34], 1
je 0x4d6685
cmp dword [esi + 0x192c], 3
jne 0x4d68ec
mov eax, dword [esi + 0x4f8]
test eax, eax
je 0x4d68ec
lea ebp, [esi + 0x4dc]
mov ecx, ebp
call fcn.004c97d0
test al, al
je 0x4d6ccd
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x44f
call fcn.0059df53
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d66e1
inc eax
push eax
push ecx
mov ecx, dword [0x6825d4]
push 1
push 0
push str.HttpProxy
push ecx
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4d66f5
mov edx, dword [0x6825d4]
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.0059df53
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d6728
inc eax
push eax
push ecx
mov ecx, dword [0x6825d4]
push 1
push 0
push str.HttpPort
push ecx
call edi
jmp 0x4d6736
mov edx, dword [0x6825d4]
push str.HttpPort
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x451
call fcn.0059df53
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d6769
inc eax
push eax
push ecx
mov ecx, dword [0x6825d4]
push 1
push 0
push str.HttpUserName
push ecx
call edi
jmp 0x4d6777
mov edx, dword [0x6825d4]
push str.HttpUserName
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x452
call fcn.0059df53
lea ecx, [esp + 0x18]
push ecx
push 0x40b
mov ecx, ebp
call fcn.0059df53
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00585ec4
add esp, 8
test eax, eax
jne 0x4d67cf
mov ecx, dword [esp + 0x10]
mov edx, dword [0x6825d4]
push 1
push ecx
push str.HttpEncPassword
push str.HttpPasword
push edx
call fcn.00555ac0
add esp, 0x14
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x455
call fcn.0059df53
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d6802
inc eax
push eax
push ecx
mov ecx, dword [0x6825d4]
push 1
push 0
push str.FtpProxy
push ecx
call edi
jmp 0x4d6810
mov edx, dword [0x6825d4]
push str.FtpProxy
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x456
call fcn.0059df53
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d6843
inc eax
push eax
push ecx
mov ecx, dword [0x6825d4]
push 1
push 0
push str.FtpPort
push ecx
call edi
jmp 0x4d6851
mov edx, dword [0x6825d4]
push str.FtpPort
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x457
call fcn.0059df53
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d6884
inc eax
push eax
push ecx
mov ecx, dword [0x6825d4]
push 1
push 0
push str.FtpUserName
push ecx
call edi
jmp 0x4d6892
mov edx, dword [0x6825d4]
push str.FtpUserName
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x458
call fcn.0059df53
lea ecx, [esp + 0x18]
push ecx
push 0x40f
mov ecx, ebp
call fcn.0059df53
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00585ec4
add esp, 8
test eax, eax
jne 0x4d68f2
mov ecx, dword [esp + 0x10]
mov edx, dword [0x6825d4]
push 1
push ecx
push str.FtpEncPassword
push str.FtpPasword
push edx
call fcn.00555ac0
add esp, 0x14
jmp 0x4d68f2
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x1928]
test eax, eax
jne 0x4d6caf
mov eax, dword [esi + 0x17ec]
test eax, eax
je 0x4d6933
lea ecx, [esi + 0x17d0]
call fcn.004c5420
mov ecx, dword [esi + 0x9c]
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x4d6933
mov al, byte [esi + 0x191c]
test al, al
je 0x4d6933
push 0
call fcn.00416ab0
mov eax, dword [esi + 0xc7c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4d6a1f
lea ebx, [esi + 0xc60]
push 0x47c
mov ecx, ebx
call fcn.005a0055
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0x147
push eax
call ebp
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x4d69bb
mov edx, dword [0x6825d4]
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.005a00ad
test eax, eax
mov dword [esp + 0x28], eax
je 0x4d69bb
mov ecx, dword [0x6825d4]
lea eax, [esp + 0x28]
push 4
push eax
push 4
push 0
push str.ConnectionSpeed
push ecx
call edi
mov edx, dword [0x67da2c]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x10ec]
push eax
mov byte [esp + 0x38], 2
call fcn.0059df0b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00584b93
add esp, 4
cmp eax, 1
je 0x4d6a00
cmp eax, 2
je 0x4d6a00
cmp eax, 4
je 0x4d6a00
cmp eax, 8
je 0x4d6a00
cmp eax, 0x10
jne 0x4d6a0b
push eax
mov ecx, 0x682468
call fcn.004bdbe0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.005a0c5d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x1388]
test eax, eax
je 0x4d6bde
mov edx, dword [esi + 0x15b8]
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 [0x6825d4]
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 [0x6825d4]
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 [0x6825d4]
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
mov ecx, dword [0x6825d4]
xor edx, edx
test eax, eax
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push str.bIgnMTCh
setne dl
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 [0x6825d4]
push 4
push 0
push str.StartDlgShowing
setne cl
push eax
mov dword [esp + 0x2c], ecx
call edi
mov ecx, dword [0x67da2c]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x1614]
push edx
mov byte [esp + 0x38], 3
call fcn.0059df0b
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d6b78
inc eax
push eax
mov eax, dword [0x6825d4]
push ecx
push 1
push 0
push str.VScannerProgram
push eax
call edi
jmp 0x4d6b86
mov ecx, dword [0x6825d4]
push str.VScannerProgram
push ecx
call ebx
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x15d8]
push edx
call fcn.0059df0b
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d6bb7
inc eax
push eax
mov eax, dword [0x6825d4]
push ecx
push 1
push 0
push str.VScannerParameters
push eax
call edi
jmp 0x4d6bc5
mov ecx, dword [0x6825d4]
push str.VScannerParameters
push ecx
call ebx
lea ecx, [esi + 0x136c]
call fcn.004cc690
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.005a0c5d
mov eax, dword [esi + 0xc7c]
test eax, eax
je 0x4d6c14
lea ecx, [esi + 0xc60]
call fcn.004c3450
test al, al
je 0x4d6ccd
mov eax, dword [esi + 0x1920]
test eax, eax
je 0x4d6c14
push 0
push 0x13c2
push 0x111
push eax
call ebp
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x4d6c29
lea ecx, [esi + 0xa8]
call fcn.004cef10
mov eax, dword [esi + 0x1934]
test eax, eax
je 0x4d6c40
lea ecx, [esi + 0x6a0]
call fcn.004c6080
jmp 0x4d6c4b
lea ecx, [esi + 0x964]
call fcn.004c78b0
lea edx, [esp + 0x20]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x681f78
push 0
push str.SoftwareDownloadManagerConfigTime
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4d6ca5
lea eax, [esp + 0x1c]
push eax
call fcn.00585f73
mov edx, dword [esp + 0x24]
add esp, 4
lea ecx, [esp + 0x1c]
push 4
push ecx
push 4
push 0
push 0x681f78
push edx
call edi
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0x1928]
test eax, eax
je 0x4d6cb8
cmp dword [esi + 0x192c], 5
jne 0x4d6ccd
mov eax, dword [esi + 0x248]
test eax, eax
je 0x4d6ccd
lea ecx, [esi + 0x22c]
call fcn.004c4dc0
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 0
call fcn.005a0c5d
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.005a0c5d
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret