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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b0fe
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 0x5c6ff0
push esi
push str.SoftwareDownloadManagerFoldersTree
mov dword [ebp - 4], esi
push reloc.WSOCK32.dll_accept
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 0x460c8b
lea ecx, [ebp - 0x168]
call fcn.0045eaa0
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.0045eb80
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 1
call fcn.0045eb70
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 0x460cb7
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 0x460cd9
mov dword [ebp - 0x50], esi
mov eax, dword [0x5c2a74]
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 0x461175
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x40]
push eax
push ecx
push esi
push esi
push 0x5aa5f8
push edx
mov dword [ebp - 0x18], 4
call edi
test eax, eax
jne 0x460d53
cmp dword [ebp - 0x40], 1
jne 0x460d53
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.005421be
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.005421be
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.005421be
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 [0x5c2a74]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
push ecx
call fcn.004261d0
add esp, 4
test al, al
jne 0x460d8d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.005421be
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.005421be
mov byte [ebp - 4], 7
jmp 0x460d2c
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x3c]
push edx
push eax
push esi
push 0xf003f
push esi
push 0x5c6ff0
push esi
push str.SoftwareDownloadManagermaxID
push reloc.WSOCK32.dll_accept
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 0x460e03
cmp dword [ebp - 0x40], 1
jbe 0x460e03
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 0x460e27
push 0x5c
lea ecx, [ebp - 0x30]
call fcn.005425c1
push 0x5c7d30
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
call fcn.005422f7
push str.zip_rar_r0_r1_arj_gz_sit_sitx_sea_ace_bz2
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1c], 0
call fcn.00542347
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0x5c6ff0
jne 0x460e5d
mov eax, str.Compressed
mov ecx, dword [ebp - 0x30]
push eax
push ecx
lea edx, [ebp - 0x24]
push 0x5a4b44
push edx
call fcn.0053afda
mov eax, dword [ebp - 0x24]
add esp, 0x10
push eax
call fcn.005289a2
mov esi, dword [ebx + 8]
add esp, 4
lea ecx, [esi + 1]
push 0xffffffffffffffff
push ecx
mov ecx, ebx
call fcn.00423db0
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.005422f7
lea eax, [ebp - 0x24]
lea ecx, [esi + 8]
push eax
call fcn.005422f7
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [esi + 0xc]
call fcn.005422f7
mov dl, byte [ebp - 0x1c]
push 0x5c802c
mov byte [esi + 0x10], dl
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 5
call fcn.005422f7
push str.doc_pdf_ppt_pps
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1c], 0
call fcn.00542347
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0x5c6ff0
jne 0x460efd
mov eax, str.Documents
push eax
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
push 0x5a4b44
push ecx
call fcn.0053afda
mov edx, dword [ebp - 0x24]
add esp, 0x10
push edx
call fcn.005289a2
mov esi, dword [ebx + 8]
add esp, 4
mov ecx, ebx
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
call fcn.00423db0
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.005422f7
lea edx, [ebp - 0x24]
lea ecx, [esi + 8]
push edx
call fcn.005422f7
lea eax, [ebp - 0x20]
lea ecx, [esi + 0xc]
push eax
call fcn.005422f7
mov cl, byte [ebp - 0x1c]
push 0x5c8038
mov byte [esi + 0x10], cl
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 2
call fcn.005422f7
push str.mp3_wav_wma_mpa_ram_ra_aac_aif_m4a
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1c], 0
call fcn.00542347
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0x5c6ff0
jne 0x460f9d
mov eax, str.Music
mov edx, dword [ebp - 0x30]
push eax
push edx
lea eax, [ebp - 0x24]
push 0x5a4b44
push eax
call fcn.0053afda
mov ecx, dword [ebp - 0x24]
add esp, 0x10
push ecx
call fcn.005289a2
mov esi, dword [ebx + 8]
add esp, 4
mov ecx, ebx
lea edx, [esi + 1]
push 0xffffffffffffffff
push edx
call fcn.00423db0
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.005422f7
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [esi + 8]
call fcn.005422f7
lea edx, [ebp - 0x20]
lea ecx, [esi + 0xc]
push edx
call fcn.005422f7
mov al, byte [ebp - 0x1c]
push 0x5c803c
mov byte [esi + 0x10], al
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 1
call fcn.005422f7
push str.exe_msi
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1c], 0
call fcn.00542347
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0x5c6ff0
jne 0x46103d
mov eax, str.Programs
mov ecx, dword [ebp - 0x30]
push eax
push ecx
lea edx, [ebp - 0x24]
push 0x5a4b44
push edx
call fcn.0053afda
mov eax, dword [ebp - 0x24]
add esp, 0x10
push eax
call fcn.005289a2
mov esi, dword [ebx + 8]
add esp, 4
lea ecx, [esi + 1]
push 0xffffffffffffffff
push ecx
mov ecx, ebx
call fcn.00423db0
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.005422f7
lea eax, [ebp - 0x24]
lea ecx, [esi + 8]
push eax
call fcn.005422f7
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [esi + 0xc]
call fcn.005422f7
mov dl, byte [ebp - 0x1c]
push 0x5c8034
mov byte [esi + 0x10], dl
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 3
call fcn.005422f7
push str.avi_mpg_mpe_mpeg_asf_wmv_mov_qt_rm_mp4_flv
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1c], 0
call fcn.00542347
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0x5c6ff0
jne 0x4610dd
mov eax, str.Video
push eax
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
push 0x5a4b44
push ecx
call fcn.0053afda
mov edx, dword [ebp - 0x24]
add esp, 0x10
push edx
call fcn.005289a2
mov esi, dword [ebx + 8]
add esp, 4
mov ecx, ebx
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
call fcn.00423db0
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.005422f7
lea edx, [ebp - 0x24]
lea ecx, [esi + 8]
push edx
call fcn.005422f7
lea eax, [ebp - 0x20]
lea ecx, [esi + 0xc]
push eax
call fcn.005422f7
mov cl, byte [ebp - 0x1c]
mov byte [esi + 0x10], cl
mov edx, dword [ebp - 0x34]
push edx
call edi
mov ecx, ebx
call fcn.004615a0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.005421be
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.005421be
mov byte [ebp - 4], 9
jmp 0x460d2c
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
xor eax, eax
cmp eax, esi
jne 0x46143a
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 0x46142b
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push ecx
push esi
push 0xf003f
push esi
push 0x5c6ff0
lea edx, [ebp - 0x26c]
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x46142b
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00542347
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 0x46142b
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00542665
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 0x46142b
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 0x46142b
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
push eax
call fcn.00542665
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 0x46142b
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x2c]
push eax
push ecx
push esi
push esi
push 0x5aa4f4
push edx
mov dword [ebp - 0x18], 4
call edi
test eax, eax
jne 0x46142b
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 0x4612b6
cmp dword [ebp - 0x5c], esi
setne al
mov byte [ebp - 0x1c], al
jmp 0x4612ba
mov byte [ebp - 0x1c], 0
mov ecx, dword [ebx + 8]
mov esi, ecx
mov dword [ebp - 0x30], esi
inc esi
test esi, esi
jne 0x46130b
mov esi, dword [ebx + 4]
test esi, esi
je 0x4612fe
mov edi, ecx
mov ecx, edi
dec edi
test ecx, ecx
je 0x4612e5
push 0
mov ecx, esi
call fcn.004621b0
add esi, 0x14
jmp 0x4612d0
mov eax, dword [ebx + 4]
push eax
call fcn.00542796
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 0x461414
mov eax, dword [ebx + 4]
test eax, eax
jne 0x461336
lea edx, [esi + esi*4]
shl edx, 2
push edx
call fcn.0054276d
add esp, 4
mov dword [ebx + 4], eax
push esi
push eax
call fcn.00423f70
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
jmp 0x461414
mov edi, dword [ebx + 0xc]
cmp esi, edi
jg 0x461373
cmp ecx, esi
jge 0x46135a
mov edx, esi
sub edx, ecx
lea ecx, [ecx + ecx*4]
push edx
lea edx, [eax + ecx*4]
push edx
call fcn.00423f70
mov dword [ebx + 8], esi
jmp 0x46140e
jle 0x46136b
sub ecx, esi
push ecx
lea ecx, [esi + esi*4]
lea edx, [eax + ecx*4]
push edx
call fcn.00462180
mov dword [ebx + 8], esi
jmp 0x46140e
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x46139d
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x461391
mov eax, 4
jmp 0x46139d
cmp eax, 0x400
jle 0x46139d
mov eax, 0x400
add eax, edi
cmp esi, eax
jl 0x4613a5
mov eax, esi
mov dword [ebp - 0x44], eax
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.0054276d
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.00423f70
mov eax, dword [ebx + 4]
push eax
call fcn.00542796
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.00423f30
xor esi, esi
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x58]
jmp 0x46117d
mov eax, dword [ebp - 0x38]
cmp eax, esi
je 0x461448
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.00461d20
test al, al
je 0x461461
mov byte [ebx + 0x14], 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.005421be
mov byte [ebp - 4], 0xb
jmp 0x460d2c