Function at 0x4c6980
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x64eb97
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x54], esi
call fcn.0040ce20
xor edi, edi
mov dword [esp + 0x278], edi
lea ecx, [esi + 0x58]
mov dword [esi], vtable.CIDMListCtrl.0
call fcn.004c91b0
mov byte [esp + 0x278], 1
lea ecx, [esi + 0xb4]
call fcn.005fdbf9
mov byte [esp + 0x278], 2
lea ecx, [esi + 0xd0]
call fcn.004fdf80
mov byte [esp + 0x278], 3
lea ecx, [esi + 0x1b4]
call fcn.005fdbf9
mov byte [esp + 0x278], 4
fld1
fstp qword [esi + 0x118]
mov byte [esi + 0x54], 0
mov byte [esi + 0x1b0], 0
mov dword [esi + 0xcc], edi
xor eax, eax
lea ecx, [esi + 0x180]
nop
mov dword [ecx], eax
inc eax
add ecx, 4
cmp eax, 0xc
jl 0x4c6a40
mov ecx, esi
call fcn.004c64b0
mov ebx, 1
lea edx, [esi + 0x180]
mov dword [esp + 0x24], 0xb
cmp ebx, 0xc
jge 0x4c6a98
mov ebp, 0xc
lea eax, [edx + 4]
sub ebp, ebx
mov edi, dword [edx]
cmp dword [esi + edi*8 + 0x124], 0
jne 0x4c6a90
mov ecx, dword [eax]
cmp dword [esi + ecx*8 + 0x124], 0
je 0x4c6a90
mov dword [edx], ecx
mov dword [eax], edi
add eax, 4
sub ebp, 1
jne 0x4c6a74
add edx, 4
inc ebx
sub dword [esp + 0x24], 1
jne 0x4c6a65
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
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 0x4c6b08
lea ecx, [esp + 0x5c]
call fcn.004c0490
mov byte [esp + 0x278], 5
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x64]
call fcn.004c0600
mov byte [esp + 0x278], 4
lea ecx, [esp + 0x5c]
call fcn.004c05f0
jmp 0x4c6f6a
mov ecx, dword [esp + 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push str.FileName
mov ebx, 8
push ecx
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4c6b49
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x120], edx
mov dword [esi + 0x124], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push str.DateAdded
push eax
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4c6b7f
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x128], ecx
mov dword [esi + 0x12c], edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push str.Queue
push edx
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4c6bb5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push str.Size
push ecx
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4c6beb
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x138], edx
mov dword [esi + 0x13c], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x688dd0
push eax
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4c6c21
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x140], ecx
mov dword [esi + 0x144], edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push str.Timeleft
push edx
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4c6c57
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push str.TransferRate
push ecx
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4c6c8d
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x150], edx
mov dword [esi + 0x154], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push str.LastTry
push eax
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4c6cc3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x158], ecx
mov dword [esi + 0x15c], edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0x687a84
push edx
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4c6cf9
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x160], eax
mov dword [esi + 0x164], ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push str.SaveTo
push ecx
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4c6d2f
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x168], edx
mov dword [esi + 0x16c], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push str.Referer
push eax
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4c6d65
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x170], ecx
mov dword [esi + 0x174], edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push str.Parent_wp
push edx
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4c6d9b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x178], eax
mov dword [esi + 0x17c], ecx
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
lea ebp, [esi + 0x180]
push ebp
push 0
push 0
push str.Order639
push eax
mov dword [esp + 0x2c], 0x30
call edi
test eax, eax
je 0x4c6e36
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push str.Order
push eax
mov dword [esp + 0x2c], 0x2c
call edi
test eax, eax
jne 0x4c6e36
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x34]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x38]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [ebp + 0x10], edx
mov edx, dword [esp + 0x44]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [ebp + 0x18], ecx
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 0x1c], edx
mov edx, dword [esp + 0x50]
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x28], edx
xor edx, edx
lea eax, [esi + 0x120]
lea ecx, [edx + 0xc]
cmp dword [eax + 4], 0
je 0x4c6e4b
add edx, dword [eax]
jmp 0x4c6e56
cmp dword [eax], 0
jne 0x4c6e56
mov dword [eax], 0xa
add eax, ebx
sub ecx, 1
jne 0x4c6e41
test edx, edx
jne 0x4c6e68
mov ecx, esi
call fcn.004c64b0
push 0
mov ebp, 0x60
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x4c6e9b
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]
mov ebx, 8
cmp ebp, 0x60
je 0x4c6ecb
lea edi, [esi + 0x120]
mov ebx, 0xc
jmp 0x4c6eb0
mov eax, dword [edi]
push 0x60
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [edi], eax
add edi, 8
sub ebx, 1
jne 0x4c6eb0
mov ebx, 8
cmp dword [0x75adbc], 0
je 0x4c6f06
fld qword [0x74fd60]
lea edi, [esi + 0x120]
fstp qword [esi + 0x118]
mov ebp, 0xc
jmp 0x4c6ef0
fild dword [edi]
fmul qword [0x74fd60]
call fcn.0061f560
mov dword [edi], eax
add edi, ebx
sub ebp, 1
jne 0x4c6ef0
mov ebx, 1
lea edx, [esi + 0x180]
mov dword [esp + 0x24], 0xb
lea esp, [esp]
cmp ebx, 0xc
jge 0x4c6f54
mov ebp, 0xc
lea eax, [edx + 4]
sub ebp, ebx
nop
mov edi, dword [edx]
cmp dword [esi + edi*8 + 0x124], 0
jne 0x4c6f4c
mov ecx, dword [eax]
cmp dword [esi + ecx*8 + 0x124], 0
je 0x4c6f4c
mov dword [edx], ecx
mov dword [eax], edi
add eax, 4
sub ebp, 1
jne 0x4c6f30
add edx, 4
inc ebx
sub dword [esp + 0x24], 1
jne 0x4c6f20
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x278], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.0061d2ff
add esp, 0x268
ret