Function at 0x10002780
Capabilities:
Check if file exists
Delete file
Enumerate files on windows
Get common file path
Get file attributes
Get program files directory
Persist via default file association registry key
Persist via run registry key
Set file attributes
Set registry value

Disassembly:
mov eax, 0x1394
call fcn.10006b00
push ebx
push ebp
push esi
push edi
xor edx, edx
mov eax, dword [str..exe]
mov dword [esp + 0x86], edx
mov cx, word [0x10017cc0]
mov dword [esp + 0x8a], edx
mov dword [esp + 0x80], eax
mov byte [esp + 0x8e], dl
mov dword [esp + 0x46], edx
mov dword [esp + 0x4a], edx
mov eax, dword [str..ico]
mov byte [esp + 0x4e], dl
mov dword [esp + 0x76], edx
mov dword [esp + 0x7a], edx
mov word [esp + 0x84], cx
mov cx, word [0x10017cb8]
mov byte [esp + 0x7e], dl
mov dword [esp + 0x66], edx
mov dword [esp + 0x40], eax
mov eax, dword [str..wav]
mov dword [esp + 0x6a], edx
mov byte [esp + 0x6e], dl
mov dword [esp + 0x26], edx
mov dword [esp + 0x2a], edx
mov word [esp + 0x44], cx
mov cx, word [0x10017cb0]
mov byte [esp + 0x2e], dl
mov dword [esp + 0x96], edx
mov dword [esp + 0x70], eax
mov eax, dword [str..bmp]
mov word [esp + 0x74], cx
mov cx, word [0x10017ca8]
mov dword [esp + 0x9a], edx
mov byte [esp + 0x9e], dl
mov dword [esp + 0x60], eax
mov eax, dword [str..ini]
mov word [esp + 0x64], cx
mov cx, word [0x10017ca0]
mov dword [esp + 0x36], edx
mov dword [esp + 0x3a], edx
mov dword [esp + 0x20], eax
mov eax, dword [str..lib]
mov word [esp + 0x24], cx
mov cx, word [0x10017c98]
mov byte [esp + 0x3e], dl
mov dword [esp + 0x56], edx
mov dword [esp + 0x90], eax
mov eax, dword [str..via]
mov word [esp + 0x94], cx
mov cx, word [0x10017c90]
mov dword [esp + 0x5a], edx
mov dword [esp + 0x30], eax
mov eax, dword [str..dll]
mov word [esp + 0x34], cx
mov cx, word [0x10017c88]
mov byte [esp + 0x5e], dl
mov edx, dword [0x10017c78]
mov dword [esp + 0x50], eax
mov eax, dword [str.HDUpDrVista64.exe]
mov word [esp + 0x54], cx
mov ecx, dword [0x10017c74]
mov dword [esp + 0xcc], edx
xor edx, edx
mov dword [esp + 0xc4], eax
mov eax, dword [0x10017c7c]
mov dword [esp + 0xc8], ecx
mov cx, word [0x10017c80]
mov dword [esp + 0xd6], edx
mov dword [esp + 0xda], edx
mov dword [esp + 0xd0], eax
mov word [esp + 0xd4], cx
mov dword [esp + 0xde], edx
mov dword [esp + 0xa0], edx
mov ecx, 8
xor eax, eax
lea edi, [esp + 0xa4]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x904]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0xe90]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x3f0]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x6fc]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x119c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0xd8c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0xf94]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0xe4]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x2ec]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0xa08]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x1098]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x1e8]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x4f4]
mov ebx, dword [esp + 0x13a8]
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x5f8]
mov byte [esp + 0x13], al
push edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xe8]
push 0x26
push eax
push ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], edx
call ebp
test eax, eax
jne 0x10002a2a
lea ecx, [esp + 0xe4]
push ecx
push 0x26
call fcn.100059f0
add esp, 8
or ecx, 0xffffffff
lea edi, [esp + 0xe4]
xor eax, eax
lea edx, [esp + 0xe90]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0xe90]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.VIAHDASetup
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x3f0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xe4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x3f0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.VIAVIAudioi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0xe4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.VIAVIAudioi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0xe4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x13b4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x25
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x41
lea edi, [esp + 0x808]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x12a8]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x12a8]
push eax
push ebx
call ebp
test eax, eax
je 0x10002c17
lea edi, [esp + 0x12a0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x800]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x800]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._viahdcpl.cpl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x800]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10002c17
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 0x800]
push ecx
call ebx
test al, 1
je 0x10002c07
lea edx, [esp + 0x800]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x10002c1d
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebp, dword [esp + 0x13b8]
push ebp
call fcn.10003ed0
push ebp
push str.ShowIconInTheControlPanelOnVistaOS
mov dword [0x10018e0c], eax
call fcn.10004070
add esp, 0xc
cmp eax, 1
jne 0x10002da1
push ebp
push str.InstallAudioDeckOnVistaOS
call fcn.10004070
add esp, 8
cmp eax, 1
jne 0x10002da1
mov eax, dword [0x1000f030]
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edx, [ecx*4 + str.Audio_Deck]
push edx
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerControlPanelNameSpace15D83527_0176_46bb_85BD_2C86CA096945
call fcn.10001030
mov eax, dword [0x1000f030]
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edx, [ecx*4 + str.Audio_Deck]
push edx
push 0
push 1
push str.CLSID15D83527_0176_46bb_85BD_2C86CA096945
call fcn.10001030
push 0x10017b88
push str.System.ControlPanel.Category
push 1
push str.CLSID15D83527_0176_46bb_85BD_2C86CA096945
call fcn.10001030
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x72c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x72c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ADeckIcon.ico
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x72c]
mov ecx, edx
push eax
and ecx, 3
push 0
push 1
rep movsb byte es:[edi], byte [esi]
push str.CLSID15D83527_0176_46bb_85BD_2C86CA096945DefaultIcon
call fcn.10001030
lea edi, [esp + 0x124]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x40
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x6fc]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.VDECK.exe
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x6fc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x6fc]
mov ecx, edx
push eax
and ecx, 3
push 0
push 1
rep movsb byte es:[edi], byte [esi]
push str.CLSID15D83527_0176_46bb_85BD_2C86CA096945ShellOpenCommand
call fcn.10001030
add esp, 0x10
push ebp
push str.InstallAudioDeckOnVistaOS
call fcn.10004070
add esp, 8
cmp eax, 1
jne 0x100039b1
lea ecx, [esp + 0x3f0]
push ecx
push 0
call fcn.100064e0
add esp, 8
test eax, eax
je 0x10002deb
lea edx, [esp + 0xe4]
push edx
call fcn.100056a0
lea eax, [esp + 0x3f4]
push eax
call fcn.100056a0
add esp, 8
or ecx, 0xffffffff
mov edi, 0x10018c04
xor eax, eax
lea edx, [esp + 0x3f0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x3f4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x1000f030]
and ecx, 3
mov dword [esp + 0xc4], 0
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
shl ecx, 6
add ecx, eax
xor eax, eax
lea edi, [ecx*4 + str.Legacy]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x3f4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x13b8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x84]
and ecx, 3
mov dword [esp + 0xa4], eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x44]
lea edx, [esp + 0x74]
mov dword [esp + 0xa8], ecx
lea eax, [esp + 0x64]
mov dword [esp + 0xac], edx
lea ecx, [esp + 0x24]
mov dword [esp + 0xb0], eax
lea edx, [esp + 0x94]
mov dword [esp + 0xb4], ecx
lea eax, [esp + 0x34]
mov dword [esp + 0xb8], edx
lea ecx, [esp + 0x54]
mov dword [esp + 0xbc], eax
lea edx, [esp + 0xa4]
mov dword [esp + 0xc0], ecx
lea eax, [esp + 0x3f4]
push edx
lea ecx, [esp + 0xec]
push eax
push ecx
push 0
call fcn.10005d40
mov eax, dword [0x1000f030]
add esp, 0x14
test eax, eax
je 0x1000376b
push ebp
push str.ChangeVDeckToVDeckIni
call fcn.10004070
add esp, 8
cmp eax, 1
jne 0x1000376b
or ecx, 0xffffffff
mov edi, 0x100178dc
xor eax, eax
lea edx, [esp + 0x3f0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0xa08]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0x3f0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0xa08]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.VDeckIni
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0xa08]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10017aa4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x5f8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0xa08]
and ecx, 3
mov al, 0x30
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc4c]
mov byte [esp + 0x5ff], al
push ecx
push edx
mov byte [esp + 0x606], al
mov byte [esp + 0x605], al
mov byte [esp + 0x604], al
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x100033c5
lea eax, [esp + 0x3f0]
push str.VDeckIni_
push eax
lea ecx, [esp + 0x2f4]
push 0x10017a90
push ecx
call fcn.100065c0
lea edi, [esp + 0xc88]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2fc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x608]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x300]
push ecx
call fcn.1000691a
add esp, 0x18
test eax, eax
je 0x100031e9
or ecx, 0xffffffff
lea edi, [esp + 0xe4]
xor eax, eax
lea edx, [esp + 0x1e8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x4f4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0xe4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x4f4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x100178dc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x4f4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x1e8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.VDeck.via
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x1e8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
test al, 1
je 0x100031cc
lea ecx, [esp + 0x1e8]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x2ec]
lea eax, [esp + 0x1e8]
push edx
push eax
call fcn.10002540
add esp, 8
mov byte [esp + 0x13], 1
lea ecx, [esp + 0xc4c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x100033c5
mov al, byte [esp + 0x13]
test al, al
jne 0x100033c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x100033c5
lea edx, [esp + 0x3f0]
push str.VDeckIni_
push edx
lea eax, [esp + 0x2f4]
push 0x10017a90
push eax
call fcn.100065c0
lea edi, [esp + 0xc88]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2fc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x608]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x300]
push ecx
call fcn.1000691a
add esp, 0x18
test eax, eax
jne 0x100032a5
lea edx, [esp + 0xc4c]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10003200
jmp 0x100033c5
or ecx, 0xffffffff
lea edi, [esp + 0xe4]
xor eax, eax
lea edx, [esp + 0x1e8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x4f4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0xe4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x4f4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x100178dc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x4f4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x1e8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.VDeck.via
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x1e8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
test al, 1
je 0x100033ad
lea ecx, [esp + 0x1e8]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x2ec]
lea eax, [esp + 0x1e8]
push edx
push eax
call fcn.10002540
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esp + 0xb0c]
lea edx, [esp + 0xa08]
push ecx
push edx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10003764
lea eax, [esp + 0x3f0]
push str.VDeckIni_
push eax
lea ecx, [esp + 0x2f4]
push 0x10017a90
push ecx
call fcn.100065c0
lea edi, [esp + 0xb48]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2fc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x13c8]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x300]
push ecx
call fcn.1000691a
add esp, 0x18
test eax, eax
je 0x10003588
or ecx, 0xffffffff
lea edi, [esp + 0xe4]
xor eax, eax
lea edx, [esp + 0x1e8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x4f4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0xe4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x4f4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x100178dc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x4f4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb38]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1e8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.VDeck.via
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1e8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x1000356e
lea ecx, [esp + 0x1e8]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x2ec]
lea eax, [esp + 0x1e8]
push edx
push eax
call fcn.10002540
add esp, 8
mov bl, 1
lea ecx, [esp + 0xb0c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x10003764
test bl, bl
jne 0x10003764
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10003764
lea edx, [esp + 0x3f0]
push str.VDeckIni_
push edx
lea eax, [esp + 0x2f4]
push 0x10017a90
push eax
call fcn.100065c0
lea edi, [esp + 0xb48]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2fc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x13c8]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x300]
push ecx
call fcn.1000691a
add esp, 0x18
test eax, eax
jne 0x10003640
lea edx, [esp + 0xb0c]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000359f
jmp 0x10003764
or ecx, 0xffffffff
lea edi, [esp + 0xe4]
xor eax, eax
lea edx, [esp + 0x1e8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x4f4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0xe4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x4f4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x100178dc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x4f4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb38]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1e8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.VDeck.via
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1e8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x1000374c
lea ecx, [esp + 0x1e8]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x2ec]
lea eax, [esp + 0x1e8]
push edx
push eax
call fcn.10002540
add esp, 8
mov ebp, dword [esp + 0x13b8]
push ebp
push str.AudioDeckOnStartMenu
call fcn.10004070
add esp, 8
cmp eax, 1
jne 0x100037e6
mov edx, dword [esp + 0x13a8]
push 0
lea ecx, [esp + 0xd90]
push 0x17
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x100037ae
lea eax, [esp + 0xd8c]
push eax
push 0x17
call fcn.100059f0
add esp, 8
mov ecx, dword [0x1000f030]
mov eax, ecx
shl eax, 6
add eax, ecx
shl eax, 2
lea ecx, [eax + str.HD_ADeck]
lea edx, [eax + 0x100120f4]
push ecx
lea eax, [esp + 0xe8]
push edx
lea ecx, [esp + 0xd94]
push eax
push ecx
push 0
call fcn.100062c0
add esp, 0x14
push ebp
push str.CPLOnDesktop
call fcn.10004070
add esp, 8
cmp eax, 1
jne 0x10003861
mov eax, dword [esp + 0x13a8]
push 0
lea edx, [esp + 0x109c]
push 0x19
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x10003829
lea ecx, [esp + 0x1098]
push ecx
push 0x19
call fcn.100059f0
add esp, 8
mov ecx, dword [0x1000f030]
mov eax, ecx
shl eax, 6
add eax, ecx
lea ecx, [esp + 0xe4]
shl eax, 2
lea edx, [eax + str.HD_ADeck]
lea eax, [eax + 0x100120f4]
push edx
push eax
lea edx, [esp + 0x10a0]
push ecx
push edx
push 0
call fcn.100062c0
add esp, 0x14
push ebp
push str.RunAudioDeck
call fcn.10004070
add esp, 8
cmp eax, 1
jne 0x100039b1
or ecx, 0xffffffff
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionRun
xor eax, eax
lea edx, [esp + 0x119c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x904]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0xe4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x904]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x100178dc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x1000f030]
mov ecx, ebx
and ecx, 3
lea edx, [esp + 0x904]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
shl ecx, 6
add ecx, eax
xor eax, eax
lea edi, [ecx*4 + str.HDAudioCPL.exe]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0xf003f
lea ecx, [esp + 0x11a4]
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000396f
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1394
ret 0x14
lea edx, [esp + 0x904]
push edx
call fcn.10006ab3
add esp, 4
mov ecx, dword [esp + 0x14]
shl eax, 1
push eax
lea eax, [esp + 0x908]
push eax
push 1
push 0
push str.HDAudDeck
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
mov edi, 0x10018b00
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xf94]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xf98]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x20], 0
rep movsb byte es:[edi], byte [esi]
mov edi, str.VIAHDAud
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc8]
and ecx, 3
mov dword [esp + 0x1c], eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0xf98]
push ecx
lea eax, [esp + 0xe98]
push edx
push eax
push 0
call fcn.10005d40
push 0x3e8
call fcn.100064c0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1394
ret 0x14