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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8efe
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 0x691568
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 0x48991e
lea ecx, [ebp - 0x3ac]
call fcn.00486d60
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.00486e80
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 1
call fcn.00486e70
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 0x489952
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 0x48998a
mov dword [ebp - 0x88], 0
mov eax, dword [0x68d01c]
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 0x48a3b4
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x84]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp - 0x54]
push 0x66d3f8
push eax
mov dword [ebp - 0x18], 4
call ebx
test eax, eax
jne 0x489a0d
cmp dword [ebp - 0x84], esi
jne 0x489a0d
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.005adc4d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.005adc4d
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.005adc4d
jmp 0x48990a
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.004391e0
add esp, 4
test al, al
jne 0x489a55
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.005adc4d
mov byte [ebp - 4], 7
jmp 0x4899f4
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x64]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x691568
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 0x489adc
cmp dword [ebp - 0x84], esi
jbe 0x489adc
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 0x489ade
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 0x489af3
mov esi, eax
jmp 0x489af9
lea esi, [ebp - 0x5c]
lea eax, [ebp - 0x5c]
push eax
call fcn.00591712
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
je 0x489ba0
mov eax, 0x665ffc
test eax, eax
je 0x489ba0
push eax
call fcn.00591712
add esp, 4
test eax, eax
je 0x489ba0
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x489b3c
push eax
call fcn.00591712
add esp, 4
mov esi, eax
jmp 0x489b3e
xor esi, esi
push 0x665ffc
call fcn.00591712
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005a9fe9
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x489ba0
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x489b7b
push eax
push esi
call fcn.005918aa
push 0x665ffc
push esi
call fcn.00591880
add esp, 0x10
jmp 0x489b89
push 0x665ffc
push esi
call fcn.005918aa
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.00401070
push esi
mov dword [ebp - 0x60], esi
call fcn.00591712
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x20], bx
push 0x69267c
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
mov dword [ebp - 0x3c], 7
call fcn.005add86
push str.Compressed
lea ecx, [ebp - 0x34]
call fcn.005addd6
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.005addd6
mov al, byte [ebp - 0x11]
mov edi, 0x69156c
test al, al
jne 0x489bf1
mov edi, 0x66d280
mov esi, dword [ebp - 0x60]
cmp esi, ebx
jne 0x489bfb
lea esi, [ebp - 0x5c]
mov edx, 0x665ff4
test edx, edx
je 0x489cff
test esi, esi
je 0x489cff
test edi, edi
je 0x489cff
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.00591712
add esp, 4
lea ecx, [ebp - 0x74]
mov edi, eax
call fcn.00401ed0
push eax
call fcn.00591712
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a9fe9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x24], edx
je 0x489cdc
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.005916a2
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00591712
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 0x489d09
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 0x489d27
lea eax, [ebp - 0x20]
push eax
call fcn.00593682
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.0048b5e0
push 0x692978
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 5
call fcn.005add86
push str.Documents
lea ecx, [ebp - 0x34]
call fcn.005addd6
push str.doc_pdf_ppt_pps
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
call fcn.005addd6
mov al, byte [ebp - 0x11]
mov edi, 0x69156c
test al, al
jne 0x489d85
mov edi, 0x66d26c
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x489d8f
lea esi, [ebp - 0x5c]
mov edx, 0x665ff4
test edx, edx
je 0x489e8e
test esi, esi
je 0x489e8e
test edi, edi
je 0x489e8e
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 0x489de6
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
call fcn.00591712
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00591712
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a9fe9
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x489e68
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.005916a2
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00591712
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 0x489e98
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 0x489eb6
lea eax, [ebp - 0x20]
push eax
call fcn.00593682
mov eax, dword [ebx + 8]
add esp, 4
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, ebx
call fcn.0048b5e0
push 0x692984
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 2
call fcn.005add86
push str.Music
lea ecx, [ebp - 0x34]
call fcn.005addd6
push str.mp3_wav_wma_mpa_ram_ra_aac_aif_m4a
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
call fcn.005addd6
mov al, byte [ebp - 0x11]
mov edi, 0x69156c
test al, al
jne 0x489f11
mov edi, 0x66d260
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x489f1b
lea esi, [ebp - 0x5c]
mov edx, 0x665ff4
test edx, edx
je 0x48a017
test esi, esi
je 0x48a017
test edi, edi
je 0x48a017
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 0x489f72
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
call fcn.00591712
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00591712
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a9fe9
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x489ff4
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.005916a2
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00591712
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 0x48a021
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 0x48a03f
lea eax, [ebp - 0x20]
push eax
call fcn.00593682
mov ecx, dword [ebp - 0x68]
add esp, 4
lea edx, [ebp - 0x3c]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.0048b5e0
push 0x692988
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 1
call fcn.005add86
push str.Programs
lea ecx, [ebp - 0x34]
call fcn.005addd6
push str.exe_msi
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
call fcn.005addd6
mov al, byte [ebp - 0x11]
mov edi, 0x69156c
test al, al
jne 0x48a09b
mov edi, 0x66d24c
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x48a0a5
lea esi, [ebp - 0x5c]
mov eax, 0x665ff4
test eax, eax
je 0x48a1a1
test esi, esi
je 0x48a1a1
test edi, edi
je 0x48a1a1
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 0x48a0fc
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
call fcn.00591712
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00591712
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a9fe9
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x48a17e
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.005916a2
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00591712
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 0x48a1ab
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 0x48a1c9
lea eax, [ebp - 0x20]
push eax
call fcn.00593682
mov ecx, dword [ebp - 0x68]
add esp, 4
lea edx, [ebp - 0x3c]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.0048b5e0
push 0x692980
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 3
call fcn.005add86
push str.Video
lea ecx, [ebp - 0x34]
call fcn.005addd6
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.005addd6
mov al, byte [ebp - 0x11]
mov edi, 0x69156c
test al, al
jne 0x48a225
mov edi, 0x66d240
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x48a22f
lea esi, [ebp - 0x5c]
mov eax, 0x665ff4
test eax, eax
je 0x48a32b
test esi, esi
je 0x48a32b
test edi, edi
je 0x48a32b
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 0x48a286
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
call fcn.00591712
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00591712
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a9fe9
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x48a308
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.005916a2
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00591712
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 0x48a335
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 0x48a355
lea eax, [ebp - 0x20]
push eax
call fcn.00593682
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.0048b5e0
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
call fcn.0048a910
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.005adc4d
mov byte [ebp - 4], 0x19
jmp 0x4899f4
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x64], eax
test eax, eax
jne 0x48a75a
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 0x48a748
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x54]
push edx
push eax
push 0xf003f
push eax
push 0x691568
push eax
lea eax, [ebp - 0x19c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48a748
lea edx, [ebp - 0x19c]
lea ecx, [ebp - 0x38]
push edx
call fcn.005addd6
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x34]
push eax
call fcn.005addd6
mov eax, dword [0x691a8c]
test eax, eax
je 0x48a4e7
lea ecx, [ebp - 0x19c]
push str.Compressed
push ecx
call fcn.0059adb0
add esp, 8
test eax, eax
jne 0x48a465
push 0x69267c
jmp 0x48a4df
lea edx, [ebp - 0x19c]
push str.Documents
push edx
call fcn.0059adb0
add esp, 8
test eax, eax
jne 0x48a484
push 0x692978
jmp 0x48a4df
lea eax, [ebp - 0x19c]
push str.Music
push eax
call fcn.0059adb0
add esp, 8
test eax, eax
jne 0x48a4a3
push 0x692984
jmp 0x48a4df
lea ecx, [ebp - 0x19c]
push str.Programs
push ecx
call fcn.0059adb0
add esp, 8
test eax, eax
jne 0x48a4c2
push 0x692988
jmp 0x48a4df
lea edx, [ebp - 0x19c]
push str.Video
push edx
call fcn.0059adb0
add esp, 8
test eax, eax
jne 0x48a4e7
push 0x692980
lea ecx, [ebp - 0x38]
call fcn.005add86
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 0x48a748
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push edx
call fcn.005ae01a
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 0x48a748
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x69156c
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 0x48a5ac
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
add eax, eax
push eax
call fcn.005a9fe9
mov esi, eax
add esp, 4
test esi, esi
je 0x48a5ac
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 0x48a5a3
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.005aa012
add esp, 4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00591712
add esp, 4
test eax, eax
jne 0x48a62b
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 0x48a62d
mov ecx, dword [0x68d01c]
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.005ae01a
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 0x48a61f
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.0048a7e0
add esp, 8
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.005adc4d
xor esi, esi
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00591712
add esp, 4
test eax, eax
jne 0x48a684
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.004894a0
mov esi, dword [ebp - 0x4c]
test esi, esi
jne 0x48a664
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.00591712
add esp, 4
test eax, eax
je 0x48a748
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 0x66d2e0
push edx
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
jne 0x48a748
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 0x48a6f0
mov eax, dword [ebp - 0x90]
test eax, eax
setne al
mov byte [ebp - 0x28], al
jmp 0x48a6f4
mov byte [ebp - 0x28], 0
mov esi, dword [edi + 8]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.004353b0
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.005add86
lea eax, [ebp - 0x34]
lea ecx, [esi + 8]
push eax
call fcn.005add86
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [esi + 0xc]
call fcn.005add86
lea edx, [ebp - 0x2c]
lea ecx, [esi + 0x10]
push edx
call fcn.0042aba0
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 0x48a3ba
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x48a768
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.0048b170
test al, al
je 0x48a781
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.005adc4d
mov byte [ebp - 4], 0x1d
jmp 0x4899f4