Function at 0x4c8d00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x65269b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push eax
mov esi, ecx
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerListSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4c8dad
lea ecx, [esp + 0x34]
call fcn.004c1c00
mov dword [esp + 0x258], 0
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x3c]
call fcn.004c1d70
mov dword [esp + 0x258], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.004c1d60
jmp 0x4c9047
mov ebx, 0x60
push 0
mov byte [esp + 0x1b], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x4c8df2
push 0x58
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x5a
mov ebx, eax
push edi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
push 0
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x20], 1
cmp ebx, 0x60
je 0x4c8e01
mov byte [esp + 0x17], 1
lea ebx, [esi + 0x120]
xor edi, edi
mov dword [esp + 0x1c], ebx
cmp dword [ebx + 4], 0
je 0x4c8e3b
cmp byte [esp + 0x17], 0
push 0
push edi
push 0x101d
je 0x4c8e2f
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
jmp 0x4c8e45
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4c8e4e
cmp byte [esp + 0x17], 0
je 0x4c8e50
mov ecx, dword [ebx]
push ecx
lea ecx, [esp + 0x24]
call fcn.004a6950
mov dword [ebx], eax
fldz
fcomp qword [esi + 0x118]
fnstsw ax
test ah, 0x44
jnp 0x4c8e6e
fild dword [ebx]
fdiv qword [esi + 0x118]
call fcn.00622df0
mov dword [ebx], eax
inc edi
add ebx, 8
cmp edi, 0xc
jl 0x4c8e0d
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 8
push edx
push 0
push 0
push str.FileName
push eax
call edi
mov edx, dword [esp + 0x18]
push 8
lea ecx, [esi + 0x128]
push ecx
push 0
push 0
push str.DateAdded
push edx
call edi
mov ecx, dword [esp + 0x18]
push 8
lea eax, [esi + 0x130]
push eax
push 0
push 0
push str.Queue
push ecx
call edi
mov eax, dword [esp + 0x18]
push 8
lea edx, [esi + 0x138]
push edx
push 0
push 0
push str.Size
push eax
call edi
mov edx, dword [esp + 0x18]
push 8
lea ecx, [esi + 0x140]
push ecx
push 0
push 0
push 0x68c258
push edx
call edi
mov ecx, dword [esp + 0x18]
push 8
lea eax, [esi + 0x148]
push eax
push 0
push 0
push str.Timeleft
push ecx
call edi
mov eax, dword [esp + 0x18]
push 8
lea edx, [esi + 0x150]
push edx
push 0
push 0
push str.TransferRate
push eax
call edi
mov edx, dword [esp + 0x18]
push 8
lea ecx, [esi + 0x158]
push ecx
push 0
push 0
push str.LastTry
push edx
call edi
mov ecx, dword [esp + 0x18]
push 8
lea eax, [esi + 0x160]
push eax
push 0
push 0
push 0x68af0c
push ecx
call edi
mov eax, dword [esp + 0x18]
push 8
lea edx, [esi + 0x168]
push edx
push 0
push 0
push str.SaveTo
push eax
call edi
mov edx, dword [esp + 0x18]
push 8
lea ecx, [esi + 0x170]
push ecx
push 0
push 0
push str.Referer
push edx
call edi
mov ecx, dword [esp + 0x18]
push 8
lea eax, [esi + 0x178]
push eax
push 0
push 0
push str.Parent_wp
push ecx
call edi
push 0xc
lea ebx, [esi + 0x180]
push ebx
mov ecx, esi
call fcn.00603ce6
test eax, eax
je 0x4c8fce
mov edx, dword [esp + 0x18]
push 0x30
push ebx
push 0
push 0
push str.Order639
push edx
call edi
cmp byte [esp + 0x17], 0
je 0x4c903c
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x1c], 0xc
cmp byte [esp + 0x20], 0
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
jne 0x4c9022
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x4c901d
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x5a
push esi
mov ebx, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x20], 1
mov ecx, dword [esp + 0x2c]
push 0x60
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [edi], eax
add edi, 8
sub dword [esp + 0x1c], 1
jne 0x4c8fe5
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00620b8d
mov esp, ebp
pop ebp
ret