Function at 0x4bfb30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64472b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
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 0x66b96c
push 0
push str.SoftwareDownloadManagerListSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4bfbdd
lea ecx, [esp + 0x34]
call fcn.004b8a90
mov dword [esp + 0x258], 0
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x3c]
call fcn.004b8c00
mov dword [esp + 0x258], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.004b8bf0
jmp 0x4bfe77
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 0x4bfc22
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 0x4bfc31
mov byte [esp + 0x17], 1
lea ebx, [esi + 0x120]
xor edi, edi
mov dword [esp + 0x1c], ebx
cmp dword [ebx + 4], 0
je 0x4bfc6b
cmp byte [esp + 0x17], 0
push 0
push edi
push 0x101d
je 0x4bfc5f
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
jmp 0x4bfc75
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4bfc7e
cmp byte [esp + 0x17], 0
je 0x4bfc80
mov ecx, dword [ebx]
push ecx
lea ecx, [esp + 0x24]
call fcn.0049da30
mov dword [ebx], eax
fldz
fcomp qword [esi + 0x118]
fnstsw ax
test ah, 0x44
jnp 0x4bfc9e
fild dword [ebx]
fdiv qword [esi + 0x118]
call fcn.006154a0
mov dword [ebx], eax
inc edi
add ebx, 8
cmp edi, 0xc
jl 0x4bfc3d
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 0x67dca8
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 0x67c960
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.005f6537
test eax, eax
je 0x4bfdfe
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 0x4bfe6c
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 0x4bfe52
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x4bfe4d
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 0x4bfe15
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.00613241
mov esp, ebp
pop ebp
ret