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

Disassembly:
push 0xffffffffffffffff
push 0x5a8f10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x65ec1c]
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 0x4c53c5
cmp dword [esi + 0x1968], 3
jne 0x4c562c
mov eax, dword [esi + 0x4f8]
test eax, eax
je 0x4c562c
lea ebp, [esi + 0x4dc]
mov ecx, ebp
call fcn.004b9030
test al, al
je 0x4c5a3c
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x44f
call fcn.005859b6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c5421
inc eax
push eax
push ecx
mov ecx, dword [0x663680]
push 1
push 0
push str.HttpProxy
push ecx
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4c5435
mov edx, dword [0x663680]
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.005859b6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c5468
inc eax
push eax
push ecx
mov ecx, dword [0x663680]
push 1
push 0
push str.HttpPort
push ecx
call edi
jmp 0x4c5476
mov edx, dword [0x663680]
push str.HttpPort
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x451
call fcn.005859b6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c54a9
inc eax
push eax
push ecx
mov ecx, dword [0x663680]
push 1
push 0
push str.HttpUserName
push ecx
call edi
jmp 0x4c54b7
mov edx, dword [0x663680]
push str.HttpUserName
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x452
call fcn.005859b6
lea ecx, [esp + 0x18]
push ecx
push 0x40b
mov ecx, ebp
call fcn.005859b6
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.0056dad2
add esp, 8
test eax, eax
jne 0x4c550f
mov ecx, dword [esp + 0x10]
mov edx, dword [0x663680]
push 1
push ecx
push str.HttpEncPassword
push str.HttpPasword
push edx
call fcn.0053f850
add esp, 0x14
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x455
call fcn.005859b6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c5542
inc eax
push eax
push ecx
mov ecx, dword [0x663680]
push 1
push 0
push str.FtpProxy
push ecx
call edi
jmp 0x4c5550
mov edx, dword [0x663680]
push str.FtpProxy
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x456
call fcn.005859b6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c5583
inc eax
push eax
push ecx
mov ecx, dword [0x663680]
push 1
push 0
push str.FtpPort
push ecx
call edi
jmp 0x4c5591
mov edx, dword [0x663680]
push str.FtpPort
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x457
call fcn.005859b6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c55c4
inc eax
push eax
push ecx
mov ecx, dword [0x663680]
push 1
push 0
push str.FtpUserName
push ecx
call edi
jmp 0x4c55d2
mov edx, dword [0x663680]
push str.FtpUserName
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0x458
call fcn.005859b6
lea ecx, [esp + 0x18]
push ecx
push 0x40f
mov ecx, ebp
call fcn.005859b6
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.0056dad2
add esp, 8
test eax, eax
jne 0x4c5632
mov ecx, dword [esp + 0x10]
mov edx, dword [0x663680]
push 1
push ecx
push str.FtpEncPassword
push str.FtpPasword
push edx
call fcn.0053f850
add esp, 0x14
jmp 0x4c5632
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x1964]
test eax, eax
jne 0x4c5a1e
mov eax, dword [esi + 0x1828]
test eax, eax
je 0x4c5673
lea ecx, [esi + 0x180c]
call fcn.004b50b0
mov ecx, dword [esi + 0x9c]
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x4c5673
mov al, byte [esi + 0x1958]
test al, al
je 0x4c5673
push 0
call fcn.00413cc0
mov eax, dword [esi + 0xc7c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4c575f
lea ebx, [esi + 0xc60]
push 0x47c
mov ecx, ebx
call fcn.00587abb
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0x147
push eax
call ebp
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x4c56fb
mov edx, dword [0x663680]
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.00587b13
test eax, eax
mov dword [esp + 0x28], eax
je 0x4c56fb
mov ecx, dword [0x663680]
lea eax, [esp + 0x28]
push 4
push eax
push 4
push 0
push str.ConnectionSpeed
push ecx
call edi
mov edx, dword [0x65ec1c]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x10ec]
push eax
mov byte [esp + 0x38], 2
call fcn.0058596e
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0056c8e3
add esp, 4
cmp eax, 1
je 0x4c5740
cmp eax, 2
je 0x4c5740
cmp eax, 4
je 0x4c5740
cmp eax, 8
je 0x4c5740
cmp eax, 0x10
jne 0x4c574b
push eax
mov ecx, 0x663548
call fcn.004ad910
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.005886c0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x1388]
test eax, eax
je 0x4c594d
mov edx, dword [esi + 0x15b8]
push 0
push 0
push 0x147
push edx
call ebp
mov ecx, dword [0x663680]
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 [0x663680]
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 [0x663680]
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 [0x663680]
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 [0x663680]
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 [0x663680]
push 4
push 0
push str.StartDlgShowing
setne cl
push eax
mov dword [esp + 0x2c], ecx
call edi
mov ecx, dword [0x65ec1c]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x1650]
push edx
mov byte [esp + 0x38], 3
call fcn.0058596e
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c58e7
inc eax
push eax
mov eax, dword [0x663680]
push ecx
push 1
push 0
push str.VScannerProgram
push eax
call edi
jmp 0x4c58f5
mov ecx, dword [0x663680]
push str.VScannerProgram
push ecx
call ebx
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x1614]
push edx
call fcn.0058596e
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c5926
inc eax
push eax
mov eax, dword [0x663680]
push ecx
push 1
push 0
push str.VScannerParameters
push eax
call edi
jmp 0x4c5934
mov ecx, dword [0x663680]
push str.VScannerParameters
push ecx
call ebx
lea ecx, [esi + 0x136c]
call fcn.004bbfe0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.005886c0
mov eax, dword [esi + 0xc7c]
test eax, eax
je 0x4c5983
lea ecx, [esi + 0xc60]
call fcn.004b3120
test al, al
je 0x4c5a3c
mov eax, dword [esi + 0x195c]
test eax, eax
je 0x4c5983
push 0
push 0x13c2
push 0x111
push eax
call ebp
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x4c5998
lea ecx, [esi + 0xa8]
call fcn.004be150
mov eax, dword [esi + 0x1970]
test eax, eax
je 0x4c59af
lea ecx, [esi + 0x6a0]
call fcn.004b5c20
jmp 0x4c59ba
lea ecx, [esi + 0x964]
call fcn.004e23e0
lea edx, [esp + 0x20]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x663188
push 0
push str.SoftwareDownloadManagerConfigTime
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c5a14
lea eax, [esp + 0x1c]
push eax
call fcn.0056db81
mov edx, dword [esp + 0x24]
add esp, 4
lea ecx, [esp + 0x1c]
push 4
push ecx
push 4
push 0
push 0x663188
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 0x4c5a27
cmp dword [esi + 0x1968], 5
jne 0x4c5a3c
mov eax, dword [esi + 0x248]
test eax, eax
je 0x4c5a3c
lea ecx, [esi + 0x22c]
call fcn.004b4a50
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 0
call fcn.005886c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret