Function at 0x4b8850
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x62966b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
mov esi, ecx
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0x64f8bc
push 0
push str.SoftwareDownloadManagerListSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4b88f8
lea ecx, [esp + 0x30]
call fcn.004b1950
mov dword [esp + 0x24c], 0
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x38]
call fcn.004b1ac0
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.004b1ab0
jmp 0x4b8b5a
mov ebp, 0x60
push 0
mov byte [esp + 0x1b], 0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x4b893b
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push edi
call ebx
push 0x5a
mov ebp, eax
push edi
mov dword [esp + 0x2c], ebp
call ebx
push edi
push 0
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x20], 1
cmp ebp, 0x60
je 0x4b894a
mov byte [esp + 0x17], 1
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
lea ebx, [esi + 0x114]
xor edi, edi
mov dword [esp + 0x1c], ebx
lea esp, [esp]
cmp dword [ebx + 4], 0
je 0x4b8986
cmp byte [esp + 0x17], 0
push 0
push edi
push 0x101d
je 0x4b897e
mov edx, dword [esi + 0x20]
push edx
call ebp
push eax
jmp 0x4b8990
mov eax, dword [esi + 0x20]
push eax
call ebp
jmp 0x4b8999
cmp byte [esp + 0x17], 0
je 0x4b899b
mov ecx, dword [ebx]
push ecx
lea ecx, [esp + 0x24]
call fcn.00496ef0
mov dword [ebx], eax
inc edi
add ebx, 8
cmp edi, 0xb
jl 0x4b8960
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 + 0x11c]
push ecx
push 0
push 0
push str.DateAdded
push edx
call edi
mov ecx, dword [esp + 0x18]
push 8
lea eax, [esi + 0x124]
push eax
push 0
push 0
push str.Queue
push ecx
call edi
mov eax, dword [esp + 0x18]
push 8
lea edx, [esi + 0x12c]
push edx
push 0
push 0
push str.Size
push eax
call edi
mov edx, dword [esp + 0x18]
push 8
lea ecx, [esi + 0x134]
push ecx
push 0
push 0
push 0x6617f0
push edx
call edi
mov ecx, dword [esp + 0x18]
push 8
lea eax, [esi + 0x13c]
push eax
push 0
push 0
push str.Timeleft
push ecx
call edi
mov eax, dword [esp + 0x18]
push 8
lea edx, [esi + 0x144]
push edx
push 0
push 0
push str.TransferRate
push eax
call edi
mov edx, dword [esp + 0x18]
push 8
lea ecx, [esi + 0x14c]
push ecx
push 0
push 0
push str.LastTry
push edx
call edi
mov ecx, dword [esp + 0x18]
push 8
lea eax, [esi + 0x154]
push eax
push 0
push 0
push 0x6604c0
push ecx
call edi
mov eax, dword [esp + 0x18]
push 8
lea edx, [esi + 0x15c]
push edx
push 0
push 0
push str.SaveTo
push eax
call edi
mov edx, dword [esp + 0x18]
push 8
lea ecx, [esi + 0x164]
push ecx
push 0
push 0
push str.Referer
push edx
call edi
push 0xb
lea ebp, [esi + 0x16c]
push ebp
mov ecx, esi
call fcn.005de7a6
test eax, eax
je 0x4b8ae2
mov eax, dword [esp + 0x18]
push 0x2c
push ebp
push 0
push 0
push str.Order
push eax
call edi
cmp byte [esp + 0x17], 0
je 0x4b8b4f
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x1c], 0xb
lea esp, [esp]
cmp byte [esp + 0x20], 0
mov ebx, dword [edi]
jne 0x4b8b39
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x4b8b34
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x5a
push esi
mov ebp, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x20], 1
push 0x60
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [edi], eax
add edi, 8
sub dword [esp + 0x1c], 1
jne 0x4b8b00
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.005f85e7
add esp, 0x23c
ret