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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bbe9e
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 0x681f78
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 0x486bbe
lea ecx, [ebp - 0x3ac]
call fcn.00483e70
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.00483f90
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 1
call fcn.00483f80
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 0x486bf2
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 0x486c2a
mov dword [ebp - 0x88], 0
mov eax, dword [0x67da2c]
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 0x487654
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x84]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp - 0x54]
push 0x65e608
push eax
mov dword [ebp - 0x18], 4
call ebx
test eax, eax
jne 0x486cad
cmp dword [ebp - 0x84], esi
jne 0x486cad
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.005a0c5d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.005a0c5d
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.005a0c5d
jmp 0x486baa
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.00437440
add esp, 4
test al, al
jne 0x486cf5
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.005a0c5d
mov byte [ebp - 4], 7
jmp 0x486c94
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x64]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x681f78
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 0x486d7c
cmp dword [ebp - 0x84], esi
jbe 0x486d7c
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 0x486d7e
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 0x486d93
mov esi, eax
jmp 0x486d99
lea esi, [ebp - 0x5c]
lea eax, [ebp - 0x5c]
push eax
call fcn.00584816
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
je 0x486e40
mov eax, 0x656fe4
test eax, eax
je 0x486e40
push eax
call fcn.00584816
add esp, 4
test eax, eax
je 0x486e40
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x486ddc
push eax
call fcn.00584816
add esp, 4
mov esi, eax
jmp 0x486dde
xor esi, esi
push 0x656fe4
call fcn.00584816
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.0059cff9
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x486e40
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x486e1b
push eax
push esi
call fcn.005849ba
push 0x656fe4
push esi
call fcn.00584990
add esp, 0x10
jmp 0x486e29
push 0x656fe4
push esi
call fcn.005849ba
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.00401070
push esi
mov dword [ebp - 0x60], esi
call fcn.00584816
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x20], bx
push 0x683090
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
mov dword [ebp - 0x3c], 7
call fcn.005a0d96
push str.Compressed
lea ecx, [ebp - 0x34]
call fcn.005a0de6
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.005a0de6
mov al, byte [ebp - 0x11]
mov edi, 0x681f7c
test al, al
jne 0x486e91
mov edi, 0x65e490
mov esi, dword [ebp - 0x60]
cmp esi, ebx
jne 0x486e9b
lea esi, [ebp - 0x5c]
mov edx, 0x656fdc
test edx, edx
je 0x486f9f
test esi, esi
je 0x486f9f
test edi, edi
je 0x486f9f
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.00403ad0
mov bl, 0xb
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.00403ad0
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.00584816
add esp, 4
lea ecx, [ebp - 0x74]
mov edi, eax
call fcn.00401ed0
push eax
call fcn.00584816
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059cff9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x24], edx
je 0x486f7c
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.005847a6
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00584816
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 0x486fa9
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 0x486fc7
lea eax, [ebp - 0x20]
push eax
call fcn.00586792
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.00488880
push 0x68338c
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 5
call fcn.005a0d96
push str.Documents
lea ecx, [ebp - 0x34]
call fcn.005a0de6
push str.doc_pdf_ppt_pps
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
call fcn.005a0de6
mov al, byte [ebp - 0x11]
mov edi, 0x681f7c
test al, al
jne 0x487025
mov edi, 0x65e47c
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x48702f
lea esi, [ebp - 0x5c]
mov edx, 0x656fdc
test edx, edx
je 0x48712e
test esi, esi
je 0x48712e
test edi, edi
je 0x48712e
push edx
lea ecx, [ebp - 0x80]
call fcn.00401e50
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call fcn.00403ad0
mov bl, 0xe
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00403ad0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xf
call fcn.00401070
mov edi, dword [ebp - 0x4c]
test edi, edi
jne 0x487086
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
call fcn.00584816
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00584816
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059cff9
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x487108
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.005847a6
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00584816
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 0x487138
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 0x487156
lea eax, [ebp - 0x20]
push eax
call fcn.00586792
mov eax, dword [ebx + 8]
add esp, 4
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, ebx
call fcn.00488880
push 0x683398
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 2
call fcn.005a0d96
push str.Music
lea ecx, [ebp - 0x34]
call fcn.005a0de6
push str.mp3_wav_wma_mpa_ram_ra_aac_aif_m4a
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
call fcn.005a0de6
mov al, byte [ebp - 0x11]
mov edi, 0x681f7c
test al, al
jne 0x4871b1
mov edi, 0x65e470
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x4871bb
lea esi, [ebp - 0x5c]
mov edx, 0x656fdc
test edx, edx
je 0x4872b7
test esi, esi
je 0x4872b7
test edi, edi
je 0x4872b7
push edx
lea ecx, [ebp - 0x80]
call fcn.00401e50
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00403ad0
mov bl, 0x11
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00403ad0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x12
call fcn.00401070
mov edi, dword [ebp - 0x4c]
test edi, edi
jne 0x487212
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
call fcn.00584816
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00584816
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059cff9
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x487294
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.005847a6
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00584816
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 0x4872c1
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 0x4872df
lea eax, [ebp - 0x20]
push eax
call fcn.00586792
mov ecx, dword [ebp - 0x68]
add esp, 4
lea edx, [ebp - 0x3c]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.00488880
push 0x68339c
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 1
call fcn.005a0d96
push str.Programs
lea ecx, [ebp - 0x34]
call fcn.005a0de6
push str.exe_msi
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
call fcn.005a0de6
mov al, byte [ebp - 0x11]
mov edi, 0x681f7c
test al, al
jne 0x48733b
mov edi, 0x65e45c
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x487345
lea esi, [ebp - 0x5c]
mov eax, 0x656fdc
test eax, eax
je 0x487441
test esi, esi
je 0x487441
test edi, edi
je 0x487441
push eax
lea ecx, [ebp - 0x80]
call fcn.00401e50
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.00403ad0
mov bl, 0x14
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00403ad0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call fcn.00401070
mov edi, dword [ebp - 0x4c]
test edi, edi
jne 0x48739c
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
call fcn.00584816
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00584816
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059cff9
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x48741e
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.005847a6
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00584816
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 0x48744b
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 0x487469
lea eax, [ebp - 0x20]
push eax
call fcn.00586792
mov ecx, dword [ebp - 0x68]
add esp, 4
lea edx, [ebp - 0x3c]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.00488880
push 0x683394
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 3
call fcn.005a0d96
push str.Video
lea ecx, [ebp - 0x34]
call fcn.005a0de6
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.005a0de6
mov al, byte [ebp - 0x11]
mov edi, 0x681f7c
test al, al
jne 0x4874c5
mov edi, 0x65e450
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x4874cf
lea esi, [ebp - 0x5c]
mov eax, 0x656fdc
test eax, eax
je 0x4875cb
test esi, esi
je 0x4875cb
test edi, edi
je 0x4875cb
push eax
lea ecx, [ebp - 0x80]
call fcn.00401e50
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
call fcn.00403ad0
mov bl, 0x17
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00403ad0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x18
call fcn.00401070
mov edi, dword [ebp - 0x4c]
test edi, edi
jne 0x487526
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
call fcn.00584816
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00584816
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059cff9
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x4875a8
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.005847a6
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00584816
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 0x4875d5
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 0x4875f5
lea eax, [ebp - 0x20]
push eax
call fcn.00586792
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.00488880
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
call fcn.00487bb0
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.005a0c5d
mov byte [ebp - 4], 0x19
jmp 0x486c94
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x64], eax
test eax, eax
jne 0x4879fa
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 0x4879e8
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x54]
push edx
push eax
push 0xf003f
push eax
push 0x681f78
push eax
lea eax, [ebp - 0x19c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4879e8
lea edx, [ebp - 0x19c]
lea ecx, [ebp - 0x38]
push edx
call fcn.005a0de6
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x34]
push eax
call fcn.005a0de6
mov eax, dword [0x6824ac]
test eax, eax
je 0x487787
lea ecx, [ebp - 0x19c]
push str.Compressed
push ecx
call fcn.0058dd90
add esp, 8
test eax, eax
jne 0x487705
push 0x683090
jmp 0x48777f
lea edx, [ebp - 0x19c]
push str.Documents
push edx
call fcn.0058dd90
add esp, 8
test eax, eax
jne 0x487724
push 0x68338c
jmp 0x48777f
lea eax, [ebp - 0x19c]
push str.Music
push eax
call fcn.0058dd90
add esp, 8
test eax, eax
jne 0x487743
push 0x683398
jmp 0x48777f
lea ecx, [ebp - 0x19c]
push str.Programs
push ecx
call fcn.0058dd90
add esp, 8
test eax, eax
jne 0x487762
push 0x68339c
jmp 0x48777f
lea edx, [ebp - 0x19c]
push str.Video
push edx
call fcn.0058dd90
add esp, 8
test eax, eax
jne 0x487787
push 0x683394
lea ecx, [ebp - 0x38]
call fcn.005a0d96
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 0x4879e8
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push edx
call fcn.005a102a
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 0x4879e8
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x681f7c
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 0x48784c
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
add eax, eax
push eax
call fcn.0059cff9
mov esi, eax
add esp, 4
test esi, esi
je 0x48784c
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 0x487843
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.0059d022
add esp, 4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00584816
add esp, 4
test eax, eax
jne 0x4878cb
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 0x4878cd
mov ecx, dword [0x67da2c]
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.005a102a
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 0x4878bf
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.00487a80
add esp, 8
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.005a0c5d
xor esi, esi
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00584816
add esp, 4
test eax, eax
jne 0x487924
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.00486740
mov esi, dword [ebp - 0x4c]
test esi, esi
jne 0x487904
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.00584816
add esp, 4
test eax, eax
je 0x4879e8
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 0x65e4f0
push edx
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
jne 0x4879e8
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 0x487990
mov eax, dword [ebp - 0x90]
test eax, eax
setne al
mov byte [ebp - 0x28], al
jmp 0x487994
mov byte [ebp - 0x28], 0
mov esi, dword [edi + 8]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.004336c0
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.005a0d96
lea eax, [ebp - 0x34]
lea ecx, [esi + 8]
push eax
call fcn.005a0d96
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [esi + 0xc]
call fcn.005a0d96
lea edx, [ebp - 0x2c]
lea ecx, [esi + 0x10]
push edx
call fcn.004290e0
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 0x48765a
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x487a08
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.00488410
test al, al
je 0x487a21
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.005a0c5d
mov byte [ebp - 4], 0x1d
jmp 0x486c94