Function at 0x4c8170
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x6525b7
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x54], esi
call fcn.0040cfb0
xor edi, edi
mov dword [esp + 0x278], edi
lea ecx, [esi + 0x58]
mov dword [esi], vtable.CIDMListCtrl.0
call fcn.004ca9e0
mov byte [esp + 0x278], 1
lea ecx, [esi + 0xb4]
call fcn.00601538
mov byte [esp + 0x278], 2
lea ecx, [esi + 0xd0]
call fcn.004ff7f0
mov byte [esp + 0x278], 3
lea ecx, [esi + 0x1b4]
call fcn.00601538
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 0x4c8230
mov ecx, esi
call fcn.004c7ca0
mov ebx, 1
lea edx, [esi + 0x180]
mov dword [esp + 0x24], 0xb
cmp ebx, 0xc
jge 0x4c8288
mov ebp, 0xc
lea eax, [edx + 4]
sub ebp, ebx
mov edi, dword [edx]
cmp dword [esi + edi*8 + 0x124], 0
jne 0x4c8280
mov ecx, dword [eax]
cmp dword [esi + ecx*8 + 0x124], 0
je 0x4c8280
mov dword [edx], ecx
mov dword [eax], edi
add eax, 4
sub ebp, 1
jne 0x4c8264
add edx, 4
inc ebx
sub dword [esp + 0x24], 1
jne 0x4c8255
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerListSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4c82f8
lea ecx, [esp + 0x5c]
call fcn.004c1c00
mov byte [esp + 0x278], 5
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x64]
call fcn.004c1d70
mov byte [esp + 0x278], 4
lea ecx, [esp + 0x5c]
call fcn.004c1d60
jmp 0x4c875a
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 0x4c8339
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 0x4c836f
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 0x4c83a5
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 0x4c83db
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 0x68c258
push eax
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4c8411
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 0x4c8447
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 0x4c847d
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 0x4c84b3
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 0x68af0c
push edx
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4c84e9
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 0x4c851f
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 0x4c8555
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 0x4c858b
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 0x4c8626
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 0x4c8626
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 0x4c863b
add edx, dword [eax]
jmp 0x4c8646
cmp dword [eax], 0
jne 0x4c8646
mov dword [eax], 0xa
add eax, ebx
sub ecx, 1
jne 0x4c8631
test edx, edx
jne 0x4c8658
mov ecx, esi
call fcn.004c7ca0
push 0
mov ebp, 0x60
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x4c868b
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 0x4c86bb
lea edi, [esi + 0x120]
mov ebx, 0xc
jmp 0x4c86a0
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 0x4c86a0
mov ebx, 8
cmp dword [0x75ddc8], 0
je 0x4c86f6
fld qword [0x752d60]
lea edi, [esi + 0x120]
fstp qword [esi + 0x118]
mov ebp, 0xc
jmp 0x4c86e0
fild dword [edi]
fmul qword [0x752d60]
call fcn.00622df0
mov dword [edi], eax
add edi, ebx
sub ebp, 1
jne 0x4c86e0
mov ebx, 1
lea edx, [esi + 0x180]
mov dword [esp + 0x24], 0xb
lea esp, [esp]
cmp ebx, 0xc
jge 0x4c8744
mov ebp, 0xc
lea eax, [edx + 4]
sub ebp, ebx
nop
mov edi, dword [edx]
cmp dword [esi + edi*8 + 0x124], 0
jne 0x4c873c
mov ecx, dword [eax]
cmp dword [esi + ecx*8 + 0x124], 0
je 0x4c873c
mov dword [edx], ecx
mov dword [eax], edi
add eax, 4
sub ebp, 1
jne 0x4c8720
add edx, 4
inc ebx
sub dword [esp + 0x24], 1
jne 0x4c8710
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.00620b8d
add esp, 0x268
ret