Function at 0x4c7510
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64ec7b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
mov eax, dword [0x755898]
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 0x676974
push 0
push str.SoftwareDownloadManagerListSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4c75bd
lea ecx, [esp + 0x34]
call fcn.004c0490
mov dword [esp + 0x258], 0
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x3c]
call fcn.004c0600
mov dword [esp + 0x258], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.004c05f0
jmp 0x4c7857
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 0x4c7602
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 0x4c7611
mov byte [esp + 0x17], 1
lea ebx, [esi + 0x120]
xor edi, edi
mov dword [esp + 0x1c], ebx
cmp dword [ebx + 4], 0
je 0x4c764b
cmp byte [esp + 0x17], 0
push 0
push edi
push 0x101d
je 0x4c763f
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
jmp 0x4c7655
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4c765e
cmp byte [esp + 0x17], 0
je 0x4c7660
mov ecx, dword [ebx]
push ecx
lea ecx, [esp + 0x24]
call fcn.004a5360
mov dword [ebx], eax
fldz
fcomp qword [esi + 0x118]
fnstsw ax
test ah, 0x44
jnp 0x4c767e
fild dword [ebx]
fdiv qword [esi + 0x118]
call fcn.0061f560
mov dword [ebx], eax
inc edi
add ebx, 8
cmp edi, 0xc
jl 0x4c761d
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 0x688dd0
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 0x687a84
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.00600398
test eax, eax
je 0x4c77de
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 0x4c784c
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 0x4c7832
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x4c782d
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 0x4c77f5
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.0061d2ff
mov esp, ebp
pop ebp
ret