Function at 0x45b430
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5501fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
push ebx
push esi
mov ebx, ecx
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x54], ebx
mov dword [ebx + 4], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x34]
push eax
push ecx
push esi
push 0xf003f
push esi
push 0x5ba440
push esi
push str.SoftwareDownloadManagerFoldersTree
mov dword [ebp - 4], esi
push 0x80000001
mov dword [ebx], method.CCommandLineInfo.virtual_0
mov byte [ebp - 4], 1
mov dword [ebx + 0x18], 1
mov byte [ebx + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x45b4eb
lea ecx, [ebp - 0x168]
call fcn.00459300
push 1
push str.Cannot_open__create__registry_subkey_during_CIDMFoldersTree_constructor._r_n
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 2
call fcn.004593e0
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 1
call fcn.004593d0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x34]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x40]
push edx
push eax
push esi
push esi
push str.Visiblity
push ecx
mov dword [ebp - 0x18], 4
call edi
test eax, eax
jne 0x45b517
mov edx, dword [ebp - 0x40]
mov dword [ebx + 0x18], edx
push esi
push esi
mov edx, dword [ebp - 0x34]
push esi
push esi
push esi
lea eax, [ebp - 0x60]
push esi
lea ecx, [ebp - 0x50]
push eax
push ecx
push esi
push esi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x45b539
mov dword [ebp - 0x50], esi
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 3
cmp eax, esi
jne 0x45b9d5
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x40]
push eax
push ecx
push esi
push esi
push 0x59e2e0
push edx
mov dword [ebp - 0x18], 4
call edi
test eax, eax
jne 0x45b5b3
cmp dword [ebp - 0x40], 1
jne 0x45b5b3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00537b04
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00537b04
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00537b04
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
push ecx
call fcn.00423780
add esp, 4
test al, al
jne 0x45b5ed
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00537b04
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00537b04
mov byte [ebp - 4], 7
jmp 0x45b58c
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x3c]
push edx
push eax
push esi
push 0xf003f
push esi
push 0x5ba440
push esi
push str.SoftwareDownloadManagermaxID
push 0x80000001
mov byte [ebp - 0x11], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x40]
push ecx
push edx
push esi
push esi
push str.maxID
push eax
mov dword [ebp - 0x18], 4
call edi
test eax, eax
jne 0x45b663
cmp dword [ebp - 0x40], 1
jbe 0x45b663
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x44]
push 4
push ecx
push 4
push esi
push str.QAUWA
push edx
mov byte [ebp - 0x11], 1
mov byte [ebx + 0x14], 1
mov dword [ebp - 0x44], 0xa
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x3c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax - 8]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x45b687
push 0x5c
lea ecx, [ebp - 0x30]
call fcn.00537f07
push 0x5bb0d8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
call fcn.00537c3d
push str.zip_rar_r0_r1_arj_gz_sit_sitx_sea_ace_bz2
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1c], 0
call fcn.00537c8d
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0x5ba440
jne 0x45b6bd
mov eax, str.Compressed
mov ecx, dword [ebp - 0x30]
push eax
push ecx
lea edx, [ebp - 0x24]
push 0x598a7c
push edx
call fcn.0053091a
mov eax, dword [ebp - 0x24]
add esp, 0x10
push eax
call fcn.0051e372
mov esi, dword [ebx + 8]
add esp, 4
lea ecx, [esi + 1]
push 0xffffffffffffffff
push ecx
mov ecx, ebx
call fcn.004213a0
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x2c]
lea edx, [esi + esi*4]
lea esi, [eax + edx*4]
lea edx, [ebp - 0x28]
push edx
mov dword [esi], ecx
lea ecx, [esi + 4]
call fcn.00537c3d
lea eax, [ebp - 0x24]
lea ecx, [esi + 8]
push eax
call fcn.00537c3d
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [esi + 0xc]
call fcn.00537c3d
mov dl, byte [ebp - 0x1c]
push 0x5bb3d4
mov byte [esi + 0x10], dl
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 5
call fcn.00537c3d
push str.doc_pdf_ppt_pps
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1c], 0
call fcn.00537c8d
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0x5ba440
jne 0x45b75d
mov eax, str.Documents
push eax
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
push 0x598a7c
push ecx
call fcn.0053091a
mov edx, dword [ebp - 0x24]
add esp, 0x10
push edx
call fcn.0051e372
mov esi, dword [ebx + 8]
add esp, 4
mov ecx, ebx
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
call fcn.004213a0
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 0x2c]
lea ecx, [esi + esi*4]
lea esi, [edx + ecx*4]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.00537c3d
lea edx, [ebp - 0x24]
lea ecx, [esi + 8]
push edx
call fcn.00537c3d
lea eax, [ebp - 0x20]
lea ecx, [esi + 0xc]
push eax
call fcn.00537c3d
mov cl, byte [ebp - 0x1c]
push 0x5bb3e0
mov byte [esi + 0x10], cl
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 2
call fcn.00537c3d
push str.mp3_wav_wma_mpa_ram_ra_aac_aif_m4a
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1c], 0
call fcn.00537c8d
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0x5ba440
jne 0x45b7fd
mov eax, str.Music
mov edx, dword [ebp - 0x30]
push eax
push edx
lea eax, [ebp - 0x24]
push 0x598a7c
push eax
call fcn.0053091a
mov ecx, dword [ebp - 0x24]
add esp, 0x10
push ecx
call fcn.0051e372
mov esi, dword [ebx + 8]
add esp, 4
mov ecx, ebx
lea edx, [esi + 1]
push 0xffffffffffffffff
push edx
call fcn.004213a0
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x2c]
lea eax, [esi + esi*4]
lea esi, [ecx + eax*4]
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 4]
mov dword [esi], edx
call fcn.00537c3d
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [esi + 8]
call fcn.00537c3d
lea edx, [ebp - 0x20]
lea ecx, [esi + 0xc]
push edx
call fcn.00537c3d
mov al, byte [ebp - 0x1c]
push 0x5bb3e4
mov byte [esi + 0x10], al
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 1
call fcn.00537c3d
push str.exe_msi
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1c], 0
call fcn.00537c8d
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0x5ba440
jne 0x45b89d
mov eax, str.Programs
mov ecx, dword [ebp - 0x30]
push eax
push ecx
lea edx, [ebp - 0x24]
push 0x598a7c
push edx
call fcn.0053091a
mov eax, dword [ebp - 0x24]
add esp, 0x10
push eax
call fcn.0051e372
mov esi, dword [ebx + 8]
add esp, 4
lea ecx, [esi + 1]
push 0xffffffffffffffff
push ecx
mov ecx, ebx
call fcn.004213a0
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x2c]
lea edx, [esi + esi*4]
lea esi, [eax + edx*4]
lea edx, [ebp - 0x28]
push edx
mov dword [esi], ecx
lea ecx, [esi + 4]
call fcn.00537c3d
lea eax, [ebp - 0x24]
lea ecx, [esi + 8]
push eax
call fcn.00537c3d
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [esi + 0xc]
call fcn.00537c3d
mov dl, byte [ebp - 0x1c]
push 0x5bb3dc
mov byte [esi + 0x10], dl
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 3
call fcn.00537c3d
push str.avi_mpg_mpe_mpeg_asf_wmv_mov_qt_rm_mp4_flv
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1c], 0
call fcn.00537c8d
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0x5ba440
jne 0x45b93d
mov eax, str.Video
push eax
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
push 0x598a7c
push ecx
call fcn.0053091a
mov edx, dword [ebp - 0x24]
add esp, 0x10
push edx
call fcn.0051e372
mov esi, dword [ebx + 8]
add esp, 4
mov ecx, ebx
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
call fcn.004213a0
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 0x2c]
lea ecx, [esi + esi*4]
lea esi, [edx + ecx*4]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.00537c3d
lea edx, [ebp - 0x24]
lea ecx, [esi + 8]
push edx
call fcn.00537c3d
lea eax, [ebp - 0x20]
lea ecx, [esi + 0xc]
push eax
call fcn.00537c3d
mov cl, byte [ebp - 0x1c]
mov byte [esi + 0x10], cl
mov edx, dword [ebp - 0x34]
push edx
call edi
mov ecx, ebx
call fcn.0045be00
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00537b04
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.00537b04
mov byte [ebp - 4], 9
jmp 0x45b58c
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
xor eax, eax
cmp eax, esi
jne 0x45bc9a
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x26c]
push 0x104
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, esi
mov dword [ebp - 0x58], eax
jne 0x45bc8b
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push ecx
push esi
push 0xf003f
push esi
push 0x5ba440
lea edx, [ebp - 0x26c]
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45bc8b
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00537c8d
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x18]
push edx
push esi
push esi
push esi
push str.mask
push eax
call edi
test eax, eax
jne 0x45bc8b
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00537fab
lea edx, [ebp - 0x18]
push edx
push eax
mov eax, dword [ebp - 0x38]
push esi
push esi
push str.mask
push eax
call edi
test eax, eax
jne 0x45bc8b
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x18]
push ecx
push esi
push esi
push esi
push str.path
push edx
call edi
test eax, eax
jne 0x45bc8b
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
push eax
call fcn.00537fab
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x18]
push ecx
push eax
push esi
push esi
push str.path
push edx
call edi
test eax, eax
jne 0x45bc8b
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x2c]
push eax
push ecx
push esi
push esi
push 0x59e1dc
push edx
mov dword [ebp - 0x18], 4
call edi
test eax, eax
jne 0x45bc8b
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x5c]
push eax
push ecx
push esi
push esi
push str.rememberLastPath
push edx
mov dword [ebp - 0x18], 4
call edi
test eax, eax
jne 0x45bb16
cmp dword [ebp - 0x5c], esi
setne al
mov byte [ebp - 0x1c], al
jmp 0x45bb1a
mov byte [ebp - 0x1c], 0
mov ecx, dword [ebx + 8]
mov esi, ecx
mov dword [ebp - 0x30], esi
inc esi
test esi, esi
jne 0x45bb6b
mov esi, dword [ebx + 4]
test esi, esi
je 0x45bb5e
mov edi, ecx
mov ecx, edi
dec edi
test ecx, ecx
je 0x45bb45
push 0
mov ecx, esi
call fcn.0045ca10
add esi, 0x14
jmp 0x45bb30
mov eax, dword [ebx + 4]
push eax
call fcn.005380ca
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 4
mov dword [ebx + 4], 0
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
jmp 0x45bc74
mov eax, dword [ebx + 4]
test eax, eax
jne 0x45bb96
lea edx, [esi + esi*4]
shl edx, 2
push edx
call fcn.005380a1
add esp, 4
mov dword [ebx + 4], eax
push esi
push eax
call fcn.00421570
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
jmp 0x45bc74
mov edi, dword [ebx + 0xc]
cmp esi, edi
jg 0x45bbd3
cmp ecx, esi
jge 0x45bbba
mov edx, esi
sub edx, ecx
lea ecx, [ecx + ecx*4]
push edx
lea edx, [eax + ecx*4]
push edx
call fcn.00421570
mov dword [ebx + 8], esi
jmp 0x45bc6e
jle 0x45bbcb
sub ecx, esi
push ecx
lea ecx, [esi + esi*4]
lea edx, [eax + ecx*4]
push edx
call fcn.0045c9e0
mov dword [ebx + 8], esi
jmp 0x45bc6e
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x45bbfd
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x45bbf1
mov eax, 4
jmp 0x45bbfd
cmp eax, 0x400
jle 0x45bbfd
mov eax, 0x400
add eax, edi
cmp esi, eax
jl 0x45bc05
mov eax, esi
mov dword [ebp - 0x44], eax
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.005380a1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov edi, edx
shl ecx, 2
mov eax, ecx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebx + 8]
inc ecx
sub ecx, eax
lea eax, [eax + eax*4]
push ecx
lea ecx, [edx + eax*4]
push ecx
call fcn.00421570
mov eax, dword [ebx + 4]
push eax
call fcn.005380ca
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
add esp, 4
inc eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebx + 4]
lea edx, [ebp - 0x2c]
lea eax, [eax + eax*4]
push edx
lea ecx, [ecx + eax*4]
call fcn.00421530
xor esi, esi
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x58]
jmp 0x45b9dd
mov eax, dword [ebp - 0x38]
cmp eax, esi
je 0x45bca8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call fcn.0045c580
test al, al
je 0x45bcc1
mov byte [ebx + 0x14], 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.00537b04
mov byte [ebp - 4], 0xb
jmp 0x45b58c