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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0b1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a0
push ebx
push esi
push edi
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x68], edi
mov dword [edi + 4], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x54]
push ecx
push edx
push eax
push 0xf003f
push eax
push 0x6874e8
push eax
mov esi, 1
push str.SoftwareDownloadManagerFoldersTree
mov dword [ebp - 4], eax
push reloc.WSOCK32.dll_accept
mov dword [edi], method.CCommandLineInfo.virtual_0
mov byte [ebp - 4], 1
mov dword [edi + 0x18], esi
mov byte [edi + 0x14], al
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x48758e
lea ecx, [ebp - 0x3ac]
call fcn.004849d0
push esi
push str.Cannot_open__create__registry_subkey_during_CIDMFoldersTree_constructor._r_n
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 2
call fcn.00484af0
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 1
call fcn.00484ae0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x68]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x54]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x84]
push eax
push ecx
push 0
push 0
push str.Visiblity
push edx
mov dword [ebp - 0x18], 4
call ebx
test eax, eax
jne 0x4875c2
mov eax, dword [ebp - 0x84]
mov dword [edi + 0x18], eax
push 0
push 0
mov eax, dword [ebp - 0x54]
push 0
push 0
push 0
lea ecx, [ebp - 0x98]
push 0
lea edx, [ebp - 0x88]
push ecx
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x4875fa
mov dword [ebp - 0x88], 0
mov eax, dword [0x682f9c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x88]
mov byte [ebp - 4], 3
cmp ecx, eax
jne 0x488024
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x84]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp - 0x54]
push 0x6634e4
push eax
mov dword [ebp - 0x18], 4
call ebx
test eax, eax
jne 0x48767d
cmp dword [ebp - 0x84], esi
jne 0x48767d
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x30]
call fcn.005a584d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.005a584d
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.005a584d
jmp 0x48757a
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], eax
mov word [ebp - 0x5c], ax
lea edx, [ebp - 0x60]
mov byte [ebp - 4], 6
push edx
call fcn.00437940
add esp, 4
test al, al
jne 0x4876c5
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.00401070
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x30]
call fcn.005a584d
mov byte [ebp - 4], 7
jmp 0x487664
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x64]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x6874e8
push 0
push str.SoftwareDownloadManagermaxID
push reloc.WSOCK32.dll_accept
mov byte [ebp - 0x11], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x84]
push eax
push ecx
push 0
push 0
push str.maxID
push edx
mov dword [ebp - 0x18], 4
call ebx
test eax, eax
jne 0x48774c
cmp dword [ebp - 0x84], esi
jbe 0x48774c
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x40]
push 4
push eax
xor ebx, ebx
push 4
push ebx
push str.QAUWA
push ecx
mov byte [ebp - 0x11], 1
mov byte [edi + 0x14], 1
mov dword [ebp - 0x40], 0xa
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x48774e
xor ebx, ebx
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x487763
mov esi, eax
jmp 0x487769
lea esi, [ebp - 0x5c]
lea eax, [ebp - 0x5c]
push eax
call fcn.00589432
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
je 0x487810
mov eax, 0x65c000
test eax, eax
je 0x487810
push eax
call fcn.00589432
add esp, 4
test eax, eax
je 0x487810
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x4877ac
push eax
call fcn.00589432
add esp, 4
mov esi, eax
jmp 0x4877ae
xor esi, esi
push 0x65c000
call fcn.00589432
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005a1be9
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x487810
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x4877eb
push eax
push esi
call fcn.005895ca
push 0x65c000
push esi
call fcn.005895a0
add esp, 0x10
jmp 0x4877f9
push 0x65c000
push esi
call fcn.005895ca
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.00401070
push esi
mov dword [ebp - 0x60], esi
call fcn.00589432
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x20], bx
push 0x688618
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
mov dword [ebp - 0x3c], 7
call fcn.005a5986
push str.Compressed
lea ecx, [ebp - 0x34]
call fcn.005a59d6
push str.zip_rar_r0_r1_arj_gz_sit_sitx_sea_ace_bz2_7z
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
call fcn.005a59d6
mov al, byte [ebp - 0x11]
mov edi, 0x6874ec
test al, al
jne 0x487861
mov edi, 0x66336c
mov esi, dword [ebp - 0x60]
cmp esi, ebx
jne 0x48786b
lea esi, [ebp - 0x5c]
mov edx, 0x65bff8
test edx, edx
je 0x48796f
test esi, esi
je 0x48796f
test edi, edi
je 0x48796f
xor eax, eax
lea ecx, [ebp - 0x4c]
push eax
push edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], eax
mov word [ebp - 0x48], ax
call fcn.00402800
push esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xa
call fcn.00403af0
mov bl, 0xb
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.00403af0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.00401070
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x80]
call fcn.00401ed0
push eax
call fcn.00589432
add esp, 4
lea ecx, [ebp - 0x74]
mov edi, eax
call fcn.00401ed0
push eax
call fcn.00589432
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a1be9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x24], edx
je 0x48794c
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x80]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401ed0
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.005893c2
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00589432
add esp, 0x18
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xa
call fcn.00401070
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.00401070
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x487979
lea esi, [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x487997
lea eax, [ebp - 0x20]
push eax
call fcn.0058b3a2
mov ebx, dword [ebp - 0x68]
add esp, 4
lea ecx, [ebp - 0x3c]
mov eax, dword [ebx + 8]
push ecx
push eax
mov ecx, ebx
call fcn.00489250
push 0x688914
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 5
call fcn.005a5986
push str.Documents
lea ecx, [ebp - 0x34]
call fcn.005a59d6
push str.doc_pdf_ppt_pps
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
call fcn.005a59d6
mov al, byte [ebp - 0x11]
mov edi, 0x6874ec
test al, al
jne 0x4879f5
mov edi, 0x663358
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x4879ff
lea esi, [ebp - 0x5c]
mov edx, 0x65bff8
test edx, edx
je 0x487afe
test esi, esi
je 0x487afe
test edi, edi
je 0x487afe
push edx
lea ecx, [ebp - 0x80]
call fcn.00401e50
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call fcn.00403af0
mov bl, 0xe
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00403af0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xf
call fcn.00401070
mov edi, dword [ebp - 0x4c]
test edi, edi
jne 0x487a56
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
call fcn.00589432
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00589432
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a1be9
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x487ad8
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x80]
call fcn.00401ed0
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.005893c2
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00589432
add esp, 0x18
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call fcn.00401070
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
call fcn.00401070
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x487b08
lea esi, [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x487b26
lea eax, [ebp - 0x20]
push eax
call fcn.0058b3a2
mov eax, dword [ebx + 8]
add esp, 4
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, ebx
call fcn.00489250
push 0x688920
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 2
call fcn.005a5986
push str.Music
lea ecx, [ebp - 0x34]
call fcn.005a59d6
push str.mp3_wav_wma_mpa_ram_ra_aac_aif_m4a
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
call fcn.005a59d6
mov al, byte [ebp - 0x11]
mov edi, 0x6874ec
test al, al
jne 0x487b81
mov edi, 0x66334c
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x487b8b
lea esi, [ebp - 0x5c]
mov edx, 0x65bff8
test edx, edx
je 0x487c87
test esi, esi
je 0x487c87
test edi, edi
je 0x487c87
push edx
lea ecx, [ebp - 0x80]
call fcn.00401e50
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00403af0
mov bl, 0x11
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00403af0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x12
call fcn.00401070
mov edi, dword [ebp - 0x4c]
test edi, edi
jne 0x487be2
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
call fcn.00589432
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00589432
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a1be9
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x487c64
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x80]
call fcn.00401ed0
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.005893c2
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00589432
add esp, 0x18
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00401070
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
call fcn.00401070
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x487c91
lea esi, [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x487caf
lea eax, [ebp - 0x20]
push eax
call fcn.0058b3a2
mov ecx, dword [ebp - 0x68]
add esp, 4
lea edx, [ebp - 0x3c]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.00489250
push 0x688924
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 1
call fcn.005a5986
push str.Programs
lea ecx, [ebp - 0x34]
call fcn.005a59d6
push str.exe_msi
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
call fcn.005a59d6
mov al, byte [ebp - 0x11]
mov edi, 0x6874ec
test al, al
jne 0x487d0b
mov edi, 0x663338
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x487d15
lea esi, [ebp - 0x5c]
mov eax, 0x65bff8
test eax, eax
je 0x487e11
test esi, esi
je 0x487e11
test edi, edi
je 0x487e11
push eax
lea ecx, [ebp - 0x80]
call fcn.00401e50
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.00403af0
mov bl, 0x14
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00403af0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call fcn.00401070
mov edi, dword [ebp - 0x4c]
test edi, edi
jne 0x487d6c
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
call fcn.00589432
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00589432
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a1be9
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x487dee
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x80]
call fcn.00401ed0
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.005893c2
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00589432
add esp, 0x18
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.00401070
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
call fcn.00401070
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x487e1b
lea esi, [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x487e39
lea eax, [ebp - 0x20]
push eax
call fcn.0058b3a2
mov ecx, dword [ebp - 0x68]
add esp, 4
lea edx, [ebp - 0x3c]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.00489250
push 0x68891c
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 3
call fcn.005a5986
push str.Video
lea ecx, [ebp - 0x34]
call fcn.005a59d6
push str.avi_mpg_mpe_mpeg_asf_wmv_mov_qt_rm_mp4_flv_m4v_webm_ogv_ogg
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
call fcn.005a59d6
mov al, byte [ebp - 0x11]
mov edi, 0x6874ec
test al, al
jne 0x487e95
mov edi, 0x66332c
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x487e9f
lea esi, [ebp - 0x5c]
mov eax, 0x65bff8
test eax, eax
je 0x487f9b
test esi, esi
je 0x487f9b
test edi, edi
je 0x487f9b
push eax
lea ecx, [ebp - 0x80]
call fcn.00401e50
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
call fcn.00403af0
mov bl, 0x17
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00403af0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x18
call fcn.00401070
mov edi, dword [ebp - 0x4c]
test edi, edi
jne 0x487ef6
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
call fcn.00589432
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00589432
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a1be9
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x487f78
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x80]
call fcn.00401ed0
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.005893c2
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00589432
add esp, 0x18
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
call fcn.00401070
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
call fcn.00401070
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x487fa5
lea esi, [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call edi
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x487fc5
lea eax, [ebp - 0x20]
push eax
call fcn.0058b3a2
mov esi, dword [ebp - 0x68]
add esp, 4
lea ecx, [ebp - 0x3c]
mov eax, dword [esi + 8]
push ecx
push eax
mov ecx, esi
call fcn.00489250
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
call fcn.00488580
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.00401070
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
push eax
call edi
lea ecx, [ebp - 0x30]
call fcn.005a584d
mov byte [ebp - 4], 0x19
jmp 0x487664
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x64], eax
test eax, eax
jne 0x4883ca
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x19c]
push 0x104
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
mov dword [ebp - 0x94], eax
jne 0x4883b8
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x54]
push edx
push eax
push 0xf003f
push eax
push 0x6874e8
push eax
lea eax, [ebp - 0x19c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4883b8
lea edx, [ebp - 0x19c]
lea ecx, [ebp - 0x38]
push edx
call fcn.005a59d6
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x34]
push eax
call fcn.005a59d6
mov eax, dword [0x687a2c]
test eax, eax
je 0x488157
lea ecx, [ebp - 0x19c]
push str.Compressed
push ecx
call fcn.005929b0
add esp, 8
test eax, eax
jne 0x4880d5
push 0x688618
jmp 0x48814f
lea edx, [ebp - 0x19c]
push str.Documents
push edx
call fcn.005929b0
add esp, 8
test eax, eax
jne 0x4880f4
push 0x688914
jmp 0x48814f
lea eax, [ebp - 0x19c]
push str.Music
push eax
call fcn.005929b0
add esp, 8
test eax, eax
jne 0x488113
push 0x688920
jmp 0x48814f
lea ecx, [ebp - 0x19c]
push str.Programs
push ecx
call fcn.005929b0
add esp, 8
test eax, eax
jne 0x488132
push 0x688924
jmp 0x48814f
lea edx, [ebp - 0x19c]
push str.Video
push edx
call fcn.005929b0
add esp, 8
test eax, eax
jne 0x488157
push 0x68891c
lea ecx, [ebp - 0x38]
call fcn.005a5986
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push str.mask
push ecx
call ebx
test eax, eax
jne 0x4883b8
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push edx
call fcn.005a5c1a
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0
push 0
push str.mask
push edx
call ebx
test eax, eax
jne 0x4883b8
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x6874ec
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
push str.pathW
push edx
mov dword [ebp - 0x2c], eax
call ebx
test eax, eax
jne 0x48821c
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
add eax, eax
push eax
call fcn.005a1be9
mov esi, eax
add esp, 4
test esi, esi
je 0x48821c
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x18]
push ecx
push esi
push 0
push 0
push str.pathW
push edx
call ebx
test eax, eax
jne 0x488213
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x2c], eax
push esi
call fcn.005a1c12
add esp, 4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00589432
add esp, 4
test eax, eax
jne 0x48829b
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x18]
xor esi, esi
push edx
push esi
push esi
push esi
push str.path
push eax
call ebx
test eax, eax
jne 0x48829d
mov ecx, dword [0x682f9c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
inc edx
mov byte [ebp - 4], 0x1b
push edx
call fcn.005a5c1a
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x18]
push ecx
push eax
push esi
push esi
push str.path
push edx
call ebx
test eax, eax
jne 0x48828f
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
push esi
call fcn.00488450
add esp, 8
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.005a584d
xor esi, esi
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00589432
add esp, 4
test eax, eax
jne 0x4882f4
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], esi
mov word [ebp - 0x48], si
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x4c]
push edx
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1c
call fcn.00487110
mov esi, dword [ebp - 0x4c]
test esi, esi
jne 0x4882d4
lea esi, [ebp - 0x48]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
call fcn.00401070
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00589432
add esp, 4
test eax, eax
je 0x4883b8
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push eax
push ecx
push 0
push 0
mov esi, 4
push 0x6633cc
push edx
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
jne 0x4883b8
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x90]
push eax
push ecx
push 0
push 0
push str.rememberLastPath
push edx
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
jne 0x488360
mov eax, dword [ebp - 0x90]
test eax, eax
setne al
mov byte [ebp - 0x28], al
jmp 0x488364
mov byte [ebp - 0x28], 0
mov esi, dword [edi + 8]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.00433bc0
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x3c]
lea edx, [esi + esi*2]
lea esi, [eax + edx*8]
lea edx, [ebp - 0x38]
push edx
mov dword [esi], ecx
lea ecx, [esi + 4]
call fcn.005a5986
lea eax, [ebp - 0x34]
lea ecx, [esi + 8]
push eax
call fcn.005a5986
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [esi + 0xc]
call fcn.005a5986
lea edx, [ebp - 0x2c]
lea ecx, [esi + 0x10]
push edx
call fcn.004293a0
mov al, byte [ebp - 0x28]
mov byte [esi + 0x14], al
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x94]
jmp 0x48802a
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4883d8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, edi
call fcn.00488de0
test al, al
je 0x4883f1
mov byte [edi + 0x14], 1
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x1e
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x30]
call fcn.005a584d
mov byte [ebp - 4], 0x1d
jmp 0x487664