Function at 0x4c8920
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x644f2b
push eax
mov dword fs:[0], esp
sub esp, 0x220
lea eax, [esp + 0xc]
push esi
mov esi, ecx
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6fc418
push 0
push str.SoftwareDownloadManagerListSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4c89ba
lea ecx, [esp + 0x14]
call fcn.004be6a0
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x1c]
mov dword [esp + 0x234], 0
call fcn.004be7c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x22c], 0xffffffff
call fcn.004be7b0
pop esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
add esp, 0x22c
ret
push ebx
push ebp
push edi
push 0
mov byte [esp + 0x17], 0
mov ebp, 0x60
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x4c89f0
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push edi
call ebx
push 0x5a
push edi
mov ebp, eax
call ebx
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp ebp, 0x60
je 0x4c89fa
mov byte [esp + 0x13], 1
lea ebx, [esi + 0xe0]
xor edi, edi
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 4]
test eax, eax
mov al, byte [esp + 0x13]
je 0x4c8a35
push 0
push edi
test al, al
push 0x101d
je 0x4c8a29
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4c8a3b
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4c8a45
test al, al
je 0x4c8a47
mov eax, dword [ebx]
push ebp
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebx], eax
inc edi
add ebx, 8
cmp edi, 0xb
jl 0x4c8a06
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 8
push ecx
push 0
push 0
push str.FileName
push edx
call edi
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0xe8]
push 8
push eax
push 0
push 0
push str.DateAdded
push ecx
call edi
mov eax, dword [esp + 0x14]
lea edx, [esi + 0xf0]
push 8
push edx
push 0
push 0
push str.Queue
push eax
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esi + 0xf8]
push 8
push ecx
push 0
push 0
push str.Size
push edx
call edi
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x100]
push 8
push eax
push 0
push 0
push 0x6d24e4
push ecx
call edi
mov eax, dword [esp + 0x14]
lea edx, [esi + 0x108]
push 8
push edx
push 0
push 0
push str.Timeleft
push eax
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esi + 0x110]
push 8
push ecx
push 0
push 0
push str.TransferRate
push edx
call edi
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x118]
push 8
push eax
push 0
push 0
push str.LastTry
push ecx
call edi
mov eax, dword [esp + 0x14]
lea edx, [esi + 0x120]
push 8
push edx
push 0
push 0
push 0x6d1db0
push eax
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esi + 0x128]
push 8
push ecx
push 0
push 0
push str.SaveTo
push edx
call edi
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x130]
push 8
push eax
push 0
push 0
push str.Referer
push ecx
call edi
lea ebx, [esi + 0x138]
push 0xb
push ebx
mov ecx, esi
call fcn.00621084
test eax, eax
je 0x4c8b8e
mov edx, dword [esp + 0x14]
push 0x2c
push ebx
push 0
push 0
push str.Order
push edx
call edi
mov al, byte [esp + 0x13]
test al, al
je 0x4c8bb3
mov esi, dword [esp + 0x18]
mov edi, 0xb
mov eax, dword [esi]
push 0x60
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi], eax
add esi, 8
dec edi
jne 0x4c8b9f
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x230]
pop edi
pop ebp
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x22c
ret