Function at 0x4befa0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x644647
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x54], esi
call fcn.0040ced0
xor edi, edi
mov dword [esp + 0x278], edi
lea ecx, [esi + 0x58]
mov dword [esi], vtable.CIDMListCtrl.0
call fcn.004c1810
mov byte [esp + 0x278], 1
lea ecx, [esi + 0xb4]
call fcn.005f3d99
mov byte [esp + 0x278], 2
lea ecx, [esi + 0xd0]
call fcn.004f69e0
mov byte [esp + 0x278], 3
lea ecx, [esi + 0x1b4]
call fcn.005f3d99
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 0x4bf060
mov ecx, esi
call fcn.004bead0
mov ebx, 1
lea edx, [esi + 0x180]
mov dword [esp + 0x24], 0xb
cmp ebx, 0xc
jge 0x4bf0b8
mov ebp, 0xc
lea eax, [edx + 4]
sub ebp, ebx
mov edi, dword [edx]
cmp dword [esi + edi*8 + 0x124], 0
jne 0x4bf0b0
mov ecx, dword [eax]
cmp dword [esi + ecx*8 + 0x124], 0
je 0x4bf0b0
mov dword [edx], ecx
mov dword [eax], edi
add eax, 4
sub ebp, 1
jne 0x4bf094
add edx, 4
inc ebx
sub dword [esp + 0x24], 1
jne 0x4bf085
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
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 0x4bf128
lea ecx, [esp + 0x5c]
call fcn.004b8a90
mov byte [esp + 0x278], 5
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x64]
call fcn.004b8c00
mov byte [esp + 0x278], 4
lea ecx, [esp + 0x5c]
call fcn.004b8bf0
jmp 0x4bf58a
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 0x4bf169
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 0x4bf19f
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 0x4bf1d5
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 0x4bf20b
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 0x67dca8
push eax
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4bf241
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 0x4bf277
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 0x4bf2ad
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 0x4bf2e3
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 0x67c960
push edx
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x4bf319
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 0x4bf34f
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 0x4bf385
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 0x4bf3bb
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 0x4bf456
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 0x4bf456
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 0x4bf46b
add edx, dword [eax]
jmp 0x4bf476
cmp dword [eax], 0
jne 0x4bf476
mov dword [eax], 0xa
add eax, ebx
sub ecx, 1
jne 0x4bf461
test edx, edx
jne 0x4bf488
mov ecx, esi
call fcn.004bead0
push 0
mov ebp, 0x60
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x4bf4bb
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 0x4bf4eb
lea edi, [esi + 0x120]
mov ebx, 0xc
jmp 0x4bf4d0
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 0x4bf4d0
mov ebx, 8
cmp dword [0x74ebec], 0
je 0x4bf526
fld qword [0x743d50]
lea edi, [esi + 0x120]
fstp qword [esi + 0x118]
mov ebp, 0xc
jmp 0x4bf510
fild dword [edi]
fmul qword [0x743d50]
call fcn.006154a0
mov dword [edi], eax
add edi, ebx
sub ebp, 1
jne 0x4bf510
mov ebx, 1
lea edx, [esi + 0x180]
mov dword [esp + 0x24], 0xb
lea esp, [esp]
cmp ebx, 0xc
jge 0x4bf574
mov ebp, 0xc
lea eax, [edx + 4]
sub ebp, ebx
nop
mov edi, dword [edx]
cmp dword [esi + edi*8 + 0x124], 0
jne 0x4bf56c
mov ecx, dword [eax]
cmp dword [esi + ecx*8 + 0x124], 0
je 0x4bf56c
mov dword [edx], ecx
mov dword [eax], edi
add eax, 4
sub ebp, 1
jne 0x4bf550
add edx, 4
inc ebx
sub dword [esp + 0x24], 1
jne 0x4bf540
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.00613241
add esp, 0x268
ret