Function at 0x4a59e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5fdf86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
call fcn.005dd6cf
mov dword [esi], vtable.CListCtrl.0
lea ecx, [esi + 0x40]
mov dword [esp + 0x240], 0
call fcn.004a8020
lea ecx, [esi + 0x84]
mov byte [esp + 0x240], 1
call fcn.005dba12
lea ecx, [esi + 0x9c]
mov byte [esp + 0x240], 2
call fcn.004df2d0
mov byte [esp + 0x240], 3
mov dword [esi], method.CListCtrl.virtual_0
mov byte [esi + 0x3c], 0
mov byte [esi + 0x164], 0
xor eax, eax
lea ecx, [esi + 0x138]
mov dword [ecx], eax
inc eax
add ecx, 4
cmp eax, 0xb
jl 0x4a5a6a
mov ecx, esi
call fcn.004a5920
mov ebx, 1
lea edi, [esi + 0x138]
cmp ebx, 0xb
jge 0x4a5ab9
mov ebp, 0xb
lea ecx, [edi + 4]
sub ebp, ebx
mov edx, dword [edi]
mov eax, dword [esi + edx*8 + 0xe4]
test eax, eax
jne 0x4a5ab3
mov eax, dword [ecx]
cmp dword [esi + eax*8 + 0xe4], 0
je 0x4a5ab3
mov dword [edi], eax
mov dword [ecx], edx
add ecx, 4
dec ebp
jne 0x4a5a96
inc ebx
add edi, 4
lea eax, [ebx - 1]
cmp eax, 0xa
jl 0x4a5a87
lea ecx, [esp + 0x24]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x6ce7c8
push 0
push str.SoftwareDownloadManagerListSettings
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4a5b2a
lea ecx, [esp + 0x28]
call fcn.0049e3c0
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x30]
mov byte [esp + 0x248], 4
call fcn.0049e4e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x240], 3
call fcn.0049e4d0
jmp 0x4a5e85
mov edx, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
mov ebx, 8
push str.FileName
push edx
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x4a5b6b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.DateAdded
push ecx
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x4a5ba1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi + 0xe8], edx
mov dword [esi + 0xec], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.Queue
push eax
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x4a5bd7
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0xf0], ecx
mov dword [esi + 0xf4], edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push str.Size
push edx
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x4a5c0d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xf8], eax
mov dword [esi + 0xfc], ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push 0x6a836c
push ecx
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x4a5c43
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x100], edx
mov dword [esi + 0x104], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.Timeleft
push eax
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x4a5c79
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push str.TransferRate
push edx
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x4a5caf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.LastTry
push ecx
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x4a5ce5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x118], edx
mov dword [esi + 0x11c], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push 0x6a7c48
push eax
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x4a5d1b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x120], ecx
mov dword [esi + 0x124], edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push str.SaveTo
push edx
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x4a5d51
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.Referer
push ecx
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x4a5d87
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x130], edx
mov dword [esi + 0x134], eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
lea eax, [esi + 0x138]
push ecx
push eax
push 0
push 0
push str.Order
push edx
mov dword [esp + 0x28], 0x2c
call edi
xor ecx, ecx
lea eax, [esi + 0xe0]
mov edx, 0xb
mov edi, dword [eax + 4]
test edi, edi
mov edi, dword [eax]
je 0x4a5dc5
add ecx, edi
jmp 0x4a5dcf
test edi, edi
jne 0x4a5dcf
mov dword [eax], 0xa
add eax, ebx
dec edx
jne 0x4a5db8
test ecx, ecx
jne 0x4a5ddf
mov ecx, esi
call fcn.004a5920
push 0
mov ebp, 0x60
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x4a5e0d
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push edi
call ebx
push 0x5a
push edi
mov ebp, eax
call ebx
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp ebp, 0x60
je 0x4a5e31
lea edi, [esi + 0xe0]
mov ebx, 0xb
mov eax, dword [edi]
push 0x60
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [edi], eax
add edi, 8
dec ebx
jne 0x4a5e1d
mov ebx, 1
lea edi, [esi + 0x138]
cmp ebx, 0xb
jge 0x4a5e6e
mov ebp, 0xb
lea ecx, [edi + 4]
sub ebp, ebx
mov edx, dword [edi]
mov eax, dword [esi + edx*8 + 0xe4]
test eax, eax
jne 0x4a5e68
mov eax, dword [ecx]
cmp dword [esi + eax*8 + 0xe4], 0
je 0x4a5e68
mov dword [edi], eax
mov dword [ecx], edx
add ecx, 4
dec ebp
jne 0x4a5e4b
inc ebx
add edi, 4
lea eax, [ebx - 1]
cmp eax, 0xa
jl 0x4a5e3c
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x238]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x234
ret