Function at 0x4c85f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x651c9b
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 0x4c869d
lea ecx, [esp + 0x34]
call fcn.004c15d0
mov dword [esp + 0x258], 0
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x3c]
call fcn.004c1740
mov dword [esp + 0x258], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.004c1730
jmp 0x4c8937
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 0x4c86e2
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 0x4c86f1
mov byte [esp + 0x17], 1
lea ebx, [esi + 0x120]
xor edi, edi
mov dword [esp + 0x1c], ebx
cmp dword [ebx + 4], 0
je 0x4c872b
cmp byte [esp + 0x17], 0
push 0
push edi
push 0x101d
je 0x4c871f
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
jmp 0x4c8735
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4c873e
cmp byte [esp + 0x17], 0
je 0x4c8740
mov ecx, dword [ebx]
push ecx
lea ecx, [esp + 0x24]
call fcn.004a6560
mov dword [ebx], eax
fldz
fcomp qword [esi + 0x118]
fnstsw ax
test ah, 0x44
jnp 0x4c875e
fild dword [ebx]
fdiv qword [esi + 0x118]
call fcn.006223d0
mov dword [ebx], eax
inc edi
add ebx, 8
cmp edi, 0xc
jl 0x4c86fd
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 0x68c1d8
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 0x68ae8c
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.00603290
test eax, eax
je 0x4c88be
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 0x4c892c
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 0x4c8912
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x4c890d
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 0x4c88d5
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.0062016f
mov esp, ebp
pop ebp
ret