Function at 0x4c2a90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x649a0b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
mov eax, dword [0x74f8a0]
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 0x670984
push 0
push str.SoftwareDownloadManagerListSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4c2b3d
lea ecx, [esp + 0x34]
call fcn.004bb9b0
mov dword [esp + 0x258], 0
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x3c]
call fcn.004bbb20
mov dword [esp + 0x258], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.004bbb10
jmp 0x4c2dd7
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 0x4c2b82
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 0x4c2b91
mov byte [esp + 0x17], 1
lea ebx, [esi + 0x120]
xor edi, edi
mov dword [esp + 0x1c], ebx
cmp dword [ebx + 4], 0
je 0x4c2bcb
cmp byte [esp + 0x17], 0
push 0
push edi
push 0x101d
je 0x4c2bbf
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
jmp 0x4c2bd5
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4c2bde
cmp byte [esp + 0x17], 0
je 0x4c2be0
mov ecx, dword [ebx]
push ecx
lea ecx, [esp + 0x24]
call fcn.004a0ad0
mov dword [ebx], eax
fldz
fcomp qword [esi + 0x118]
fnstsw ax
test ah, 0x44
jnp 0x4c2bfe
fild dword [ebx]
fdiv qword [esi + 0x118]
call fcn.0061a2e0
mov dword [ebx], eax
inc edi
add ebx, 8
cmp edi, 0xc
jl 0x4c2b9d
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 0x682d38
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 0x6819f0
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.005fb1c0
test eax, eax
je 0x4c2d5e
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 0x4c2dcc
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 0x4c2db2
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x4c2dad
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 0x4c2d75
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.0061807e
mov esp, ebp
pop ebp
ret