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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x48], ecx
mov dword [ecx + 4], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 8], ebx
mov esi, 1
mov dword [ecx], method.CCommandLineInfo.virtual_0
mov dword [ecx + 0x18], esi
mov byte [ecx + 0x14], bl
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x5c]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push 0x6ce7c8
push ebx
push str.SoftwareDownloadManagerFoldersTree
mov dword [ebp - 4], ebx
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4a189c
lea ecx, [ebp - 0x3b0]
call fcn.0049e3c0
push esi
push str.Cannot_open__create__registry_subkey_during_CIDMFoldersTree_constructor._r_n
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 2
call fcn.0049e4e0
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 1
call fcn.0049e4d0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x48]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x5c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x88]
push edx
push eax
push ebx
push ebx
push str.Visiblity
push ecx
mov dword [ebp - 0x18], 4
call edi
test eax, eax
jne 0x4a18d1
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x88]
mov dword [eax + 0x18], edx
push ebx
push ebx
mov eax, dword [ebp - 0x5c]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x9c]
push ebx
lea edx, [ebp - 0x94]
push ecx
push edx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x4a18fc
mov dword [ebp - 0x94], ebx
mov eax, dword [0x6ca27c]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x4a23fa
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x88]
push ecx
push edx
push ebx
push ebx
push 0x6a801c
push eax
mov dword [ebp - 0x18], 4
call edi
test eax, eax
jne 0x4a198c
cmp dword [ebp - 0x88], esi
jne 0x4a198c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.005e118c
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.005e118c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.005e118c
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.005e118c
jmp 0x4a1888
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x64], bx
lea edx, [ebp - 0x68]
mov byte [ebp - 4], 8
push edx
call fcn.00441860
add esp, 4
test al, al
jne 0x4a19de
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.005e118c
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.005e118c
mov byte [ebp - 4], 9
jmp 0x4a1973
lea ecx, [ebp - 0x90]
lea edx, [ebp - 0x6c]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x6ce7c8
push ebx
push str.SoftwareDownloadManagermaxID
push reloc.WS2_32.dll_accept
mov byte [ebp - 0x11], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x88]
push eax
push ecx
push ebx
push ebx
push str.maxID
push edx
mov dword [ebp - 0x18], 4
call edi
test eax, eax
jne 0x4a1a60
cmp dword [ebp - 0x88], 5
jbe 0x4a1a60
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push 4
push ecx
push 4
push ebx
push str.QAUWA
push edx
mov byte [ebp - 0x11], 1
mov byte [eax + 0x14], 1
mov dword [ebp - 0x58], 0xa
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x4a1a75
mov esi, eax
jmp 0x4a1a7b
lea esi, [ebp - 0x64]
lea eax, [ebp - 0x64]
push eax
call fcn.005c4b4a
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
je 0x4a1b22
mov ecx, 0x6a0054
test ecx, ecx
je 0x4a1b22
push ecx
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x4a1b22
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x4a1abe
push eax
call fcn.005c4b4a
add esp, 4
mov esi, eax
jmp 0x4a1ac0
xor esi, esi
push 0x6a0054
call fcn.005c4b4a
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005dd58d
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4a1b22
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x4a1afd
push eax
push esi
call fcn.005c4cea
push 0x6a0054
push esi
call fcn.005c4cc0
add esp, 0x10
jmp 0x4a1b0b
push 0x6a0054
push esi
call fcn.005c4cea
add esp, 8
lea ecx, [ebp - 0x68]
call fcn.00401070
push esi
mov dword [ebp - 0x68], esi
call fcn.005c4b4a
add esp, 4
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x20], bx
push 0x6cfaa8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x40], 7
call fcn.005e12c5
push str.Compressed
lea ecx, [ebp - 0x38]
call fcn.005e1315
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2b], 0
call fcn.005e1117
push str.zip_rar_r0_r1_arj_gz_sit_sitx_sea_ace_bz2_7z
lea ecx, [ebp - 0x34]
call fcn.005e1315
mov al, byte [ebp - 0x11]
mov edi, 0x6ce7cc
test al, al
jne 0x4a1b7f
mov edi, 0x6a7e8c
mov esi, dword [ebp - 0x68]
cmp esi, ebx
jne 0x4a1b89
lea esi, [ebp - 0x64]
mov eax, 0x6a0048
test eax, eax
je 0x4a1c99
cmp esi, ebx
je 0x4a1c99
cmp edi, ebx
je 0x4a1c99
push ebx
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x50], bx
call fcn.00402890
push esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xe
call fcn.0040d680
mov bl, 0xf
push edi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.0040d680
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call fcn.00401070
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x84]
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [ebp - 0x78]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005dd58d
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x24], edx
je 0x4a1c71
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 - 0x84]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x78]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x54]
call fcn.00401f50
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.005c4b4a
add esp, 0x18
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xe
call fcn.00401070
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xd
call fcn.00401070
xor ebx, ebx
mov esi, dword [ebp - 0x24]
cmp esi, ebx
jne 0x4a1ca3
lea esi, [ebp - 0x20]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x4a1cc1
lea eax, [ebp - 0x20]
push eax
call fcn.005c6bfe
mov edi, dword [ebp - 0x48]
add esp, 4
mov ecx, edi
mov esi, dword [edi + 8]
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
call fcn.0043cec0
mov eax, dword [edi + 4]
lea edx, [esi*8]
lea ecx, [ebp - 0x40]
sub edx, esi
push ecx
lea ecx, [eax + edx*4]
call fcn.0043d070
push 0x6cfd74
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 5
call fcn.005e12c5
push str.Documents
lea ecx, [ebp - 0x38]
call fcn.005e1315
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2b], 0
call fcn.005e1117
push str.doc_pdf_ppt_pps
lea ecx, [ebp - 0x34]
call fcn.005e1315
mov al, byte [ebp - 0x11]
mov edi, 0x6ce7cc
test al, al
jne 0x4a1d44
mov edi, 0x6a7e78
mov esi, dword [ebp - 0x68]
cmp esi, ebx
jne 0x4a1d4e
lea esi, [ebp - 0x64]
mov ecx, 0x6a0048
test ecx, ecx
je 0x4a1e5e
test esi, esi
je 0x4a1e5e
test edi, edi
je 0x4a1e5e
xor eax, eax
push eax
push ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x50], ax
call fcn.00402890
push esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x11
call fcn.0040d680
mov bl, 0x12
push edi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.0040d680
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x13
call fcn.00401070
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x78]
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [ebp - 0x84]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005dd58d
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x24], edx
je 0x4a1e38
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 - 0x78]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x84]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x54]
call fcn.00401f50
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.005c4b4a
add esp, 0x18
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x11
call fcn.00401070
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xd
call fcn.00401070
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x4a1e68
lea esi, [ebp - 0x20]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4a1e86
lea eax, [ebp - 0x20]
push eax
call fcn.005c6bfe
mov edi, dword [ebp - 0x48]
add esp, 4
mov ecx, edi
mov esi, dword [edi + 8]
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
call fcn.0043cec0
mov eax, dword [edi + 4]
lea edx, [esi*8]
lea ecx, [ebp - 0x40]
sub edx, esi
push ecx
lea ecx, [eax + edx*4]
call fcn.0043d070
push 0x6cfd80
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 2
call fcn.005e12c5
push str.Music
lea ecx, [ebp - 0x38]
call fcn.005e1315
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2b], 0
call fcn.005e1117
push str.mp3_wav_wma_mpa_ram_ra_aac_aif_m4a
lea ecx, [ebp - 0x34]
call fcn.005e1315
mov al, byte [ebp - 0x11]
mov edi, 0x6ce7cc
test al, al
jne 0x4a1f09
mov edi, 0x6a7e6c
mov esi, dword [ebp - 0x68]
test esi, esi
jne 0x4a1f13
lea esi, [ebp - 0x64]
mov ecx, 0x6a0048
test ecx, ecx
je 0x4a2023
test esi, esi
je 0x4a2023
test edi, edi
je 0x4a2023
xor eax, eax
push eax
push ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x50], ax
call fcn.00402890
push esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x14
call fcn.0040d680
mov bl, 0x15
push edi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.0040d680
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x16
call fcn.00401070
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x78]
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [ebp - 0x84]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005dd58d
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x24], edx
je 0x4a1ffd
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 - 0x78]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x84]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x54]
call fcn.00401f50
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.005c4b4a
add esp, 0x18
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x14
call fcn.00401070
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xd
call fcn.00401070
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x4a202d
lea esi, [ebp - 0x20]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4a204b
lea eax, [ebp - 0x20]
push eax
call fcn.005c6bfe
mov ebx, dword [ebp - 0x48]
add esp, 4
lea ecx, [ebp - 0x40]
mov eax, dword [ebx + 8]
push ecx
push eax
mov ecx, ebx
call fcn.004a3cc0
push 0x6cfd84
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 1
call fcn.005e12c5
push str.Programs
lea ecx, [ebp - 0x38]
call fcn.005e1315
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2b], 0
call fcn.005e1117
push str.exe_msi
lea ecx, [ebp - 0x34]
call fcn.005e1315
mov al, byte [ebp - 0x11]
mov edi, 0x6ce7cc
test al, al
jne 0x4a20b5
mov edi, 0x6a7e58
mov esi, dword [ebp - 0x68]
test esi, esi
jne 0x4a20bf
lea esi, [ebp - 0x64]
mov edx, 0x6a0048
test edx, edx
je 0x4a21c7
test esi, esi
je 0x4a21c7
test edi, edi
je 0x4a21c7
push edx
lea ecx, [ebp - 0x84]
call fcn.00401ed0
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x17
call fcn.0040d680
mov bl, 0x18
push edi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.0040d680
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x19
call fcn.00401070
mov edi, dword [ebp - 0x54]
test edi, edi
jne 0x4a2119
lea edi, [ebp - 0x50]
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x78]
call fcn.00401f50
push eax
call fcn.005c4b4a
mov edx, eax
push edi
mov dword [ebp - 0x58], edx
call fcn.005c4b4a
mov ecx, dword [ebp - 0x58]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005dd58d
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x4a219e
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 - 0x78]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x54]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x84]
call fcn.00401f50
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.005c4b4a
add esp, 0x18
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x17
call fcn.00401070
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.00401070
mov ebx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x4a21d1
lea esi, [ebp - 0x20]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4a21ef
lea eax, [ebp - 0x20]
push eax
call fcn.005c6bfe
mov eax, dword [ebx + 8]
add esp, 4
lea ecx, [ebp - 0x40]
push ecx
push eax
mov ecx, ebx
call fcn.004a3cc0
push 0x6cfd7c
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 3
call fcn.005e12c5
push str.Video
lea ecx, [ebp - 0x38]
call fcn.005e1315
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2b], 0
call fcn.005e1117
push str.avi_mpg_mpe_mpeg_asf_wmv_mov_qt_rm_mp4_flv_m4v_webm_ogv_ogg_mkv
lea ecx, [ebp - 0x34]
call fcn.005e1315
mov al, byte [ebp - 0x11]
mov edi, 0x6ce7cc
test al, al
jne 0x4a2256
mov edi, 0x6a7e4c
mov esi, dword [ebp - 0x68]
test esi, esi
jne 0x4a2260
lea esi, [ebp - 0x64]
mov edx, 0x6a0048
test edx, edx
je 0x4a2365
test esi, esi
je 0x4a2365
test edi, edi
je 0x4a2365
push edx
lea ecx, [ebp - 0x84]
call fcn.00401ed0
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1a
call fcn.0040d680
mov bl, 0x1b
push edi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.0040d680
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1c
call fcn.00401070
mov edi, dword [ebp - 0x54]
test edi, edi
jne 0x4a22ba
lea edi, [ebp - 0x50]
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x78]
call fcn.00401f50
push eax
call fcn.005c4b4a
mov edx, eax
push edi
mov dword [ebp - 0x58], edx
call fcn.005c4b4a
mov ecx, dword [ebp - 0x58]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005dd58d
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x24], edx
je 0x4a233f
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 - 0x78]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x54]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x84]
call fcn.00401f50
push eax
mov eax, dword [ebp - 0x24]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.005c4b4a
add esp, 0x18
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1a
call fcn.00401070
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.00401070
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x4a236f
lea esi, [ebp - 0x20]
mov edx, dword [ebp - 0x30]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call edi
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4a238f
lea eax, [ebp - 0x20]
push eax
call fcn.005c6bfe
mov esi, dword [ebp - 0x48]
add esp, 4
lea ecx, [ebp - 0x40]
mov eax, dword [esi + 8]
push ecx
push eax
mov ecx, esi
call fcn.004a3cc0
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
call fcn.004a2a10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00401070
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x20
call fcn.005e118c
mov eax, dword [ebp - 0x30]
push eax
call edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1e
call fcn.005e118c
mov byte [ebp - 4], 0x1d
jmp 0x4a1973
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x6c], ebx
xor eax, eax
cmp eax, ebx
jne 0x4a2839
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x1a0]
push 0x104
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, ebx
mov dword [ebp - 0x98], eax
jne 0x4a2827
lea ecx, [ebp - 0x90]
lea edx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x5c]
push edx
push ebx
push 0xf003f
push ebx
push 0x6ce7c8
lea eax, [ebp - 0x1a0]
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4a2827
lea edx, [ebp - 0x1a0]
lea ecx, [ebp - 0x3c]
push edx
call fcn.005e1315
lea eax, [ebp - 0x1a0]
lea ecx, [ebp - 0x38]
push eax
call fcn.005e1315
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x2b], 0
call fcn.005e1117
cmp dword [0x6ced6c], ebx
je 0x4a253a
lea ecx, [ebp - 0x1a0]
push str.Compressed
push ecx
call fcn.005c6000
add esp, 8
test eax, eax
jne 0x4a24b8
push 0x6cfaa8
jmp 0x4a2532
lea edx, [ebp - 0x1a0]
push str.Documents
push edx
call fcn.005c6000
add esp, 8
test eax, eax
jne 0x4a24d7
push 0x6cfd74
jmp 0x4a2532
lea eax, [ebp - 0x1a0]
push str.Music
push eax
call fcn.005c6000
add esp, 8
test eax, eax
jne 0x4a24f6
push 0x6cfd80
jmp 0x4a2532
lea ecx, [ebp - 0x1a0]
push str.Programs
push ecx
call fcn.005c6000
add esp, 8
test eax, eax
jne 0x4a2515
push 0x6cfd84
jmp 0x4a2532
lea edx, [ebp - 0x1a0]
push str.Video
push edx
call fcn.005c6000
add esp, 8
test eax, eax
jne 0x4a253a
push 0x6cfd7c
lea ecx, [ebp - 0x3c]
call fcn.005e12c5
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push str.mask
push ecx
call edi
test eax, eax
jne 0x4a2572
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4a2572
push eax
lea ecx, [ebp - 0x34]
call fcn.005e1559
lea edx, [ebp - 0x18]
push edx
push eax
mov eax, dword [ebp - 0x44]
push ebx
push ebx
push str.mask
push eax
call edi
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x6ce7cc
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
push edx
push ebx
push ebx
push ebx
push str.pathW
push eax
call edi
test eax, eax
jne 0x4a25ee
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
lea ecx, [eax + eax]
push ecx
call fcn.005dd58d
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4a25ee
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x18]
push edx
push esi
push ebx
push ebx
push str.pathW
push eax
call edi
test eax, eax
jne 0x4a25e5
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x30], eax
push esi
call fcn.005dd5b6
add esp, 4
mov edx, dword [ebp - 0x30]
push edx
call fcn.005c4b4a
add esp, 4
test eax, eax
jne 0x4a2677
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push str.path
push ecx
call edi
test eax, eax
jne 0x4a2677
mov edx, dword [0x6ca27c]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x8c]
inc eax
mov byte [ebp - 4], 0x21
push eax
call fcn.005e1559
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x18]
push ecx
push eax
push ebx
push ebx
push str.path
push edx
call edi
test eax, eax
jne 0x4a2668
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x8c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
push esi
call fcn.004a28d0
add esp, 8
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.005e118c
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005c4b4a
add esp, 4
test eax, eax
jne 0x4a26cf
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x50], bx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 0x22
push edx
push eax
call fcn.004a1420
mov esi, dword [ebp - 0x54]
cmp esi, ebx
jne 0x4a26af
lea esi, [ebp - 0x50]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
call fcn.00401070
mov edx, dword [ebp - 0x30]
push edx
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x4a2827
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x40]
push eax
push ecx
push ebx
push ebx
mov esi, 4
push 0x6a7f00
push edx
mov dword [ebp - 0x18], esi
call edi
test eax, eax
jne 0x4a2827
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x58]
push eax
push ecx
push ebx
push ebx
push str.rememberLastPath
push edx
mov dword [ebp - 0x18], esi
call edi
test eax, eax
jne 0x4a272f
cmp dword [ebp - 0x58], ebx
setne al
mov byte [ebp - 0x2c], al
jmp 0x4a2733
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x58]
push ecx
push edx
push ebx
push ebx
push str.forSiteOnly
push eax
mov dword [ebp - 0x18], esi
call edi
test eax, eax
jne 0x4a275a
cmp dword [ebp - 0x58], ebx
setne cl
mov byte [ebp - 0x2b], cl
jmp 0x4a275e
mov byte [ebp - 0x2b], 0
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x18]
push edx
push ebx
push ebx
push ebx
push str.sites
push eax
call edi
test eax, eax
jne 0x4a2796
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4a2796
push eax
lea ecx, [ebp - 0x28]
call fcn.005e1559
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x18]
push ecx
push eax
push ebx
push ebx
push str.sites
push edx
call edi
mov ecx, dword [ebp - 0x48]
push 0xffffffffffffffff
mov esi, dword [ecx + 8]
lea eax, [esi + 1]
push eax
call fcn.0043cec0
mov edx, dword [ebp - 0x48]
lea ecx, [esi*8]
sub ecx, esi
mov eax, dword [edx + 4]
lea edx, [ebp - 0x3c]
push edx
lea esi, [eax + ecx*4]
mov ecx, dword [ebp - 0x40]
mov dword [esi], ecx
lea ecx, [esi + 4]
call fcn.005e12c5
lea eax, [ebp - 0x38]
lea ecx, [esi + 8]
push eax
call fcn.005e12c5
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [esi + 0xc]
call fcn.005e12c5
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
je 0x4a280f
cmp eax, ebx
je 0x4a27f7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [esi + 0x10], eax
mov cl, byte [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov byte [esi + 0x14], cl
mov dl, byte [ebp - 0x2b]
push eax
lea ecx, [esi + 0x18]
mov byte [esi + 0x15], dl
call fcn.005e12c5
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x98]
jmp 0x4a2402
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x4a2847
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x48]
mov ecx, esi
call fcn.004a3810
test al, al
je 0x4a2863
mov byte [esi + 0x14], 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x26
call fcn.005e118c
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x24
call fcn.005e118c
mov byte [ebp - 4], 0x23
jmp 0x4a1973