Function at 0x401700
Capabilities:
Check for time delay via gettickcount
Check if file exists
Create directory
Create process on windows
Get common file path
Set current directory

Disassembly:
sub esp, 0x228
push ebx
push ebp
push esi
lea eax, [esp + 0x130]
push edi
xor edi, edi
push eax
push 0x104
xor ebx, ebx
mov dword [esp + 0x18], edi
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x30]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx eax, byte [esp + 0x30]
add eax, 0xffffffbd
cmp eax, 0x24
ja case.0x401756.72
xor edx, edx
mov dl, byte [eax + 0x401a04]
jmp dword [edx*4 + 0x4019ec]
mov esi, 0x407644
mov ebp, str.c:Program_FilesPhilipsGoGear_Mix_Device_Manager
mov dword [esp + 0x10], str.c:Program_FilesInstallShield_Installation_Information0B26A979_EC68_4624_A647_98A506CEE048
mov ebx, str.c:Program_FilesPhilipsGoGear_Mix_Device_Managermain.exe
jmp case.0x401756.72
mov esi, 0x407570
mov ebp, str.d:Program_FilesPhilipsGoGear_Mix_Device_Manager
mov dword [esp + 0x10], str.d:Program_FilesInstallShield_Installation_Information0B26A979_EC68_4624_A647_98A506CEE048
mov ebx, str.d:Program_FilesPhilipsGoGear_Mix_Device_Managermain.exe
jmp case.0x401756.72
mov esi, 0x40749c
mov ebp, str.e:Program_FilesPhilipsGoGear_Mix_Device_Manager
mov dword [esp + 0x10], str.e:Program_FilesInstallShield_Installation_Information0B26A979_EC68_4624_A647_98A506CEE048
mov ebx, str.e:Program_FilesPhilipsGoGear_Mix_Device_Managermain.exe
jmp case.0x401756.72
mov esi, 0x4073c8
mov ebp, str.f:Program_FilesPhilipsGoGear_Mix_Device_Manager
mov dword [esp + 0x10], str.f:Program_FilesInstallShield_Installation_Information0B26A979_EC68_4624_A647_98A506CEE048
mov ebx, str.f:Program_FilesPhilipsGoGear_Mix_Device_Managermain.exe
jmp case.0x401756.72
mov esi, 0x4072f4
mov ebp, str.g:Program_FilesPhilipsGoGear_Mix_Device_Manager
mov dword [esp + 0x10], str.g:Program_FilesInstallShield_Installation_Information0B26A979_EC68_4624_A647_98A506CEE048
mov ebx, str.g:Program_FilesPhilipsGoGear_Mix_Device_Managermain.exe
push edi
push str.c:_temp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x407218
push str.c:_temp_sa29setup.log
call fcn.00401c50
mov edi, eax
push esi
mov dword [esp + 0x24], edi
call fcn.00401000
add esp, 0xc
test eax, eax
jne 0x40185b
mov eax, dword [str.disk_full]
mov ecx, dword [0x4071f8]
mov dx, word [0x4071fc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
push edi
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov word [esp + 0x28], dx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x20]
push ecx
push 1
push eax
call fcn.00401b26
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00401ad0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x228
ret
push 0x407218
push str.c:_tempDM_percent.log
call fcn.00401c50
mov esi, eax
mov edi, 0x4071d8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
push ecx
push 1
push 0x4071d8
call fcn.00401b26
push esi
call fcn.00401ad0
add esp, 0x1c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40190a
lea edx, [esp + 0x14]
push edx
push str.main.exe
call fcn.00401540
add esp, 8
test eax, eax
je 0x40190a
mov eax, dword [esp + 0x14]
push eax
call fcn.00401600
add esp, 4
test eax, eax
je 0x40190a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
lea ecx, [esp + 0x14]
mov edi, eax
push ecx
push str.main.exe
call fcn.00401540
add esp, 8
test eax, eax
je 0x401905
call esi
sub eax, edi
cmp eax, 0x1388
ja 0x401905
lea edx, [esp + 0x14]
push edx
push str.main.exe
call fcn.00401540
add esp, 8
test eax, eax
jne 0x4018e4
call fcn.00401660
call fcn.00401340
call fcn.00401420
call fcn.00401260
mov eax, dword [esp + 0x10]
push eax
call fcn.00401200
push ebp
call fcn.00401200
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall0B26A979_EC68_4624_A647_98A506CEE048_
push 0x80000002
call fcn.004011d0
push str.SOFTWAREPhilipsGoGear_Mix
push 0x80000002
call fcn.004011d0
add esp, 0x18
lea ecx, [esp + 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0
push 0
push str._L0019__s
push str.setup.exe
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4019d0
mov eax, dword [0x407124]
mov ecx, dword [0x407128]
mov edx, dword [str.cannot_install__r]
mov dword [esp + 0x20], eax
mov al, byte [0x407130]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov edx, dword [0x40712c]
mov byte [esp + 0x2c], al
push ecx
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push edx
call fcn.00401b26
add esp, 0x10
mov eax, dword [esp + 0x18]
push eax
call fcn.00401ad0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x228
ret