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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8e3e
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 0x67df58
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 0x4849be
lea ecx, [ebp - 0x3ac]
call fcn.00481cc0
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.00481de0
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 1
call fcn.00481dd0
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 0x4849f2
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 0x484a2a
mov dword [ebp - 0x88], 0
mov eax, dword [0x679a04]
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 0x485454
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x84]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp - 0x54]
push 0x65a5f8
push eax
mov dword [ebp - 0x18], 4
call ebx
test eax, eax
jne 0x484aad
cmp dword [ebp - 0x84], esi
jne 0x484aad
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.0059df40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0059df40
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0059df40
jmp 0x4849aa
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.00436230
add esp, 4
test al, al
jne 0x484af5
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.0059df40
mov byte [ebp - 4], 7
jmp 0x484a94
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x64]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x67df58
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 0x484b7c
cmp dword [ebp - 0x84], esi
jbe 0x484b7c
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 0x484b7e
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 0x484b93
mov esi, eax
jmp 0x484b99
lea esi, [ebp - 0x5c]
lea eax, [ebp - 0x5c]
push eax
call fcn.00581b1a
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
je 0x484c40
mov eax, 0x653058
test eax, eax
je 0x484c40
push eax
call fcn.00581b1a
add esp, 4
test eax, eax
je 0x484c40
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x484bdc
push eax
call fcn.00581b1a
add esp, 4
mov esi, eax
jmp 0x484bde
xor esi, esi
push 0x653058
call fcn.00581b1a
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.0059a2da
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x484c40
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x484c1b
push eax
push esi
call fcn.00581cba
push 0x653058
push esi
call fcn.00581c90
add esp, 0x10
jmp 0x484c29
push 0x653058
push esi
call fcn.00581cba
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.00401070
push esi
mov dword [ebp - 0x60], esi
call fcn.00581b1a
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x20], bx
push 0x67f050
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
mov dword [ebp - 0x3c], 7
call fcn.0059e079
push str.Compressed
lea ecx, [ebp - 0x34]
call fcn.0059e0c9
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.0059e0c9
mov al, byte [ebp - 0x11]
mov edi, 0x67df5c
test al, al
jne 0x484c91
mov edi, 0x65a480
mov esi, dword [ebp - 0x60]
cmp esi, ebx
jne 0x484c9b
lea esi, [ebp - 0x5c]
mov edx, 0x653050
test edx, edx
je 0x484d9f
test esi, esi
je 0x484d9f
test edi, edi
je 0x484d9f
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.004028e0
push esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xa
call fcn.00403bb0
mov bl, 0xb
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.00403bb0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.00401070
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x80]
call fcn.00401fb0
push eax
call fcn.00581b1a
add esp, 4
lea ecx, [ebp - 0x74]
mov edi, eax
call fcn.00401fb0
push eax
call fcn.00581b1a
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059a2da
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x24], edx
je 0x484d7c
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.00401fb0
push eax
lea ecx, [ebp - 0x74]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.00581aaa
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00581b1a
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 0x484da9
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 0x484dc7
lea eax, [ebp - 0x20]
push eax
call fcn.00583a92
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.00486680
push 0x67f34c
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 5
call fcn.0059e079
push str.Documents
lea ecx, [ebp - 0x34]
call fcn.0059e0c9
push str.doc_pdf_ppt_pps
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
call fcn.0059e0c9
mov al, byte [ebp - 0x11]
mov edi, 0x67df5c
test al, al
jne 0x484e25
mov edi, 0x65a46c
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x484e2f
lea esi, [ebp - 0x5c]
mov edx, 0x653050
test edx, edx
je 0x484f2e
test esi, esi
je 0x484f2e
test edi, edi
je 0x484f2e
push edx
lea ecx, [ebp - 0x80]
call fcn.00401f30
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call fcn.00403bb0
mov bl, 0xe
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00403bb0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xf
call fcn.00401070
mov edi, dword [ebp - 0x4c]
test edi, edi
jne 0x484e86
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401fb0
push eax
call fcn.00581b1a
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00581b1a
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059a2da
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x484f08
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.00401fb0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x80]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.00581aaa
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00581b1a
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 0x484f38
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 0x484f56
lea eax, [ebp - 0x20]
push eax
call fcn.00583a92
mov eax, dword [ebx + 8]
add esp, 4
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, ebx
call fcn.00486680
push 0x67f358
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 2
call fcn.0059e079
push str.Music
lea ecx, [ebp - 0x34]
call fcn.0059e0c9
push str.mp3_wav_wma_mpa_ram_ra_aac_aif_m4a
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
call fcn.0059e0c9
mov al, byte [ebp - 0x11]
mov edi, 0x67df5c
test al, al
jne 0x484fb1
mov edi, 0x65a460
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x484fbb
lea esi, [ebp - 0x5c]
mov edx, 0x653050
test edx, edx
je 0x4850b7
test esi, esi
je 0x4850b7
test edi, edi
je 0x4850b7
push edx
lea ecx, [ebp - 0x80]
call fcn.00401f30
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00403bb0
mov bl, 0x11
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00403bb0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x12
call fcn.00401070
mov edi, dword [ebp - 0x4c]
test edi, edi
jne 0x485012
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401fb0
push eax
call fcn.00581b1a
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00581b1a
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059a2da
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x485094
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.00401fb0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x80]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.00581aaa
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00581b1a
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 0x4850c1
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 0x4850df
lea eax, [ebp - 0x20]
push eax
call fcn.00583a92
mov ecx, dword [ebp - 0x68]
add esp, 4
lea edx, [ebp - 0x3c]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.00486680
push 0x67f35c
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 1
call fcn.0059e079
push str.Programs
lea ecx, [ebp - 0x34]
call fcn.0059e0c9
push str.exe_msi
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
call fcn.0059e0c9
mov al, byte [ebp - 0x11]
mov edi, 0x67df5c
test al, al
jne 0x48513b
mov edi, 0x65a44c
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x485145
lea esi, [ebp - 0x5c]
mov eax, 0x653050
test eax, eax
je 0x485241
test esi, esi
je 0x485241
test edi, edi
je 0x485241
push eax
lea ecx, [ebp - 0x80]
call fcn.00401f30
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.00403bb0
mov bl, 0x14
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00403bb0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call fcn.00401070
mov edi, dword [ebp - 0x4c]
test edi, edi
jne 0x48519c
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401fb0
push eax
call fcn.00581b1a
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00581b1a
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059a2da
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x48521e
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.00401fb0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x80]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.00581aaa
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00581b1a
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 0x48524b
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 0x485269
lea eax, [ebp - 0x20]
push eax
call fcn.00583a92
mov ecx, dword [ebp - 0x68]
add esp, 4
lea edx, [ebp - 0x3c]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.00486680
push 0x67f354
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 3
call fcn.0059e079
push str.Video
lea ecx, [ebp - 0x34]
call fcn.0059e0c9
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.0059e0c9
mov al, byte [ebp - 0x11]
mov edi, 0x67df5c
test al, al
jne 0x4852c5
mov edi, 0x65a440
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x4852cf
lea esi, [ebp - 0x5c]
mov eax, 0x653050
test eax, eax
je 0x4853cb
test esi, esi
je 0x4853cb
test edi, edi
je 0x4853cb
push eax
lea ecx, [ebp - 0x80]
call fcn.00401f30
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
call fcn.00403bb0
mov bl, 0x17
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00403bb0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x18
call fcn.00401070
mov edi, dword [ebp - 0x4c]
test edi, edi
jne 0x485326
lea edi, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.00401fb0
push eax
call fcn.00581b1a
mov edx, eax
push edi
mov dword [ebp - 0x40], edx
call fcn.00581b1a
mov ecx, dword [ebp - 0x40]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059a2da
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x4853a8
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.00401fb0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x80]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.00581aaa
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00581b1a
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 0x4853d5
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 0x4853f5
lea eax, [ebp - 0x20]
push eax
call fcn.00583a92
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.00486680
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
call fcn.004859b0
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.0059df40
mov byte [ebp - 4], 0x19
jmp 0x484a94
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x64], eax
test eax, eax
jne 0x4857fa
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 0x4857e8
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x54]
push edx
push eax
push 0xf003f
push eax
push 0x67df58
push eax
lea eax, [ebp - 0x19c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4857e8
lea edx, [ebp - 0x19c]
lea ecx, [ebp - 0x38]
push edx
call fcn.0059e0c9
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x34]
push eax
call fcn.0059e0c9
mov eax, dword [0x67e460]
test eax, eax
je 0x485587
lea ecx, [ebp - 0x19c]
push str.Compressed
push ecx
call fcn.0058b0a0
add esp, 8
test eax, eax
jne 0x485505
push 0x67f050
jmp 0x48557f
lea edx, [ebp - 0x19c]
push str.Documents
push edx
call fcn.0058b0a0
add esp, 8
test eax, eax
jne 0x485524
push 0x67f34c
jmp 0x48557f
lea eax, [ebp - 0x19c]
push str.Music
push eax
call fcn.0058b0a0
add esp, 8
test eax, eax
jne 0x485543
push 0x67f358
jmp 0x48557f
lea ecx, [ebp - 0x19c]
push str.Programs
push ecx
call fcn.0058b0a0
add esp, 8
test eax, eax
jne 0x485562
push 0x67f35c
jmp 0x48557f
lea edx, [ebp - 0x19c]
push str.Video
push edx
call fcn.0058b0a0
add esp, 8
test eax, eax
jne 0x485587
push 0x67f354
lea ecx, [ebp - 0x38]
call fcn.0059e079
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 0x4857e8
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push edx
call fcn.0059e30d
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 0x4857e8
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x67df5c
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 0x48564c
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
add eax, eax
push eax
call fcn.0059a2da
mov esi, eax
add esp, 4
test esi, esi
je 0x48564c
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 0x485643
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.0059a303
add esp, 4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00581b1a
add esp, 4
test eax, eax
jne 0x4856cb
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 0x4856cd
mov ecx, dword [0x679a04]
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.0059e30d
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 0x4856bf
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.00485880
add esp, 8
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0059df40
xor esi, esi
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00581b1a
add esp, 4
test eax, eax
jne 0x485724
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.00484540
mov esi, dword [ebp - 0x4c]
test esi, esi
jne 0x485704
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.00581b1a
add esp, 4
test eax, eax
je 0x4857e8
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 0x65a4e0
push edx
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
jne 0x4857e8
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 0x485790
mov eax, dword [ebp - 0x90]
test eax, eax
setne al
mov byte [ebp - 0x28], al
jmp 0x485794
mov byte [ebp - 0x28], 0
mov esi, dword [edi + 8]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.004324b0
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.0059e079
lea eax, [ebp - 0x34]
lea ecx, [esi + 8]
push eax
call fcn.0059e079
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [esi + 0xc]
call fcn.0059e079
lea edx, [ebp - 0x2c]
lea ecx, [esi + 0x10]
push edx
call fcn.00428a20
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 0x48545a
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x485808
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.00486210
test al, al
je 0x485821
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.0059df40
mov byte [ebp - 4], 0x1d
jmp 0x484a94