Function at 0x10001ea0
Capabilities:
Create process on windows
Create process suspended
Delete registry key

Disassembly:
sub esp, 0x708
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x371]
mov byte [esp + 0x370], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
mov ecx, 0x27
mov dword [esp + 0x14], eax
lea edi, [esp + 0x578]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x44
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x578]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x57c], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push str.Wow64EnableWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
push 0
call ebp
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x64]
push str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_Default
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x270]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x16c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x618]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x478]
rep stosd dword es:[edi], eax
push 0x80000002
call fcn.10005180
add esp, 8
test eax, eax
jle 0x10001f9b
push str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_Default
push 0x80000002
call fcn.10005150
add esp, 8
push str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_Default
push 0x80000001
call fcn.10005180
add esp, 8
test eax, eax
jle 0x10001fc3
push str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_Default
push 0x80000001
call fcn.10005150
add esp, 8
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallVIA_High_Definition_Audio_Driver
push 0x80000002
call fcn.10005180
add esp, 8
test eax, eax
jle 0x10001fe9
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallVIA_High_Definition_Audio_Driver
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, str.HDAUDIOFUNC_01VEN_1106
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x64]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
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]
lea ecx, [esp + 0x68]
push ecx
push str.HDAUDIO
push 6
call fcn.10004e60
add esp, 0x10
test eax, eax
je 0x1000204f
push 0x10000
push 0
push str.We_cant_find_HD_audio_device
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x708
ret 0xc
lea edx, [esp + 0x64]
push edx
call fcn.10001310
mov edx, eax
mov edi, 0x10018c04
or ecx, 0xffffffff
xor eax, eax
add esp, 4
lea ebx, [esp + 0x168]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [0x1000f030], edx
mov eax, ecx
mov esi, edi
mov edi, ebx
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 ecx, edx
shl ecx, 6
add ecx, edx
lea edx, [esp + 0x168]
lea edi, [ecx*4 + str.Legacy]
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 edx, dword [esp + 0x724]
mov ecx, ebx
and ecx, 3
lea ebx, [esp + 0x168]
cmp byte [edx], 0x5c
rep movsb byte es:[edi], byte [esi]
je 0x1000210b
mov edi, 0x100178dc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
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 ebx, [esp + 0x168]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
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]
call fcn.10004240
push 0xbb8
call fcn.100064c0
add esp, 4
call fcn.10003a60
push 1
call ebp
lea edi, [esp + 0x64]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x614]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.SUBSYS_
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x16c]
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]
lea edi, [esp + 0x68]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x649], 0
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]
lea ecx, [esp + 0x618]
push ecx
call fcn.1000691a
mov ebp, eax
mov edi, 0x10018c04
or ecx, 0xffffffff
xor eax, eax
add ebp, 7
lea edx, [esp + 0x47c]
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
mov eax, dword [0x1000f030]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edi, [ecx*4 + str.Legacy]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x47c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultDriverCaps
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 + 0x480]
and ecx, 3
push str.DrvCaps.ini
rep movsb byte es:[edi], byte [esi]
mov edi, str.VistaIniFiles
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 + 0x484]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
push ecx
call fcn.10004280
push str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultInitVerbs
lea edx, [esp + 0x490]
push str.IniVerbs.ini
lea eax, [esp + 0x84]
push edx
push eax
call fcn.10004280
push ebp
call fcn.10001260
mov edi, 0x10017734
or ecx, 0xffffffff
xor eax, eax
add esp, 0x2c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x26c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x26c]
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, 0x10018b00
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 + 0x26c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.VIAHDAudHDUpDrVista64.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 edx, [esp + 0x26c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x100178ec
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 + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x270]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1000238c
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x708
ret 0xc
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
mov ecx, dword [0x1000f030]
push ebp
mov eax, ecx
shl eax, 6
add eax, ecx
shl eax, 2
lea ecx, [eax + str.VistaADeck]
lea edx, [eax + 0x10013134]
mov eax, dword [esp + 0x724]
push ecx
mov ecx, dword [esp + 0x724]
push edx
push eax
push ecx
call fcn.10002780
push ebp
call fcn.10003cd0
push 0x3e8
call fcn.100064c0
mov edx, dword [0x1000f030]
add esp, 8
test edx, edx
je 0x100024a4
or ecx, 0xffffffff
mov edi, 0x10018c04
xor eax, eax
lea ebx, [esp + 0x370]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
shl ecx, 6
add ecx, edx
lea edx, [esp + 0x370]
lea edi, [ecx*4 + str.Legacy]
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 + 0x370]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.VDeck32
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 + 0x370]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.10001160
add esp, 4
call fcn.10001000
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x708
ret 0xc