Function at 0x401930
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x4184d0]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
xor esi, esi
call dword [sym.imp.CheckHardware.dll_public:_static_int___cdecl_CheckHardware::CheckMyHardware::isExistQslafGenC_void_]
mov bl, 6
cmp eax, 1
je 0x4019f2
call dword [sym.imp.CheckHardware.dll_public:_static_int___cdecl_CheckHardware::CheckMyHardware::isExistArtcam300MIWOM_void_]
cmp eax, 1
je 0x4019f2
call dword [sym.imp.CheckHardware.dll_public:_static_int___cdecl_CheckHardware::CheckMyHardware::isExistQvmcBd_void_]
cmp eax, 1
je 0x401989
call dword [sym.imp.CheckHardware.dll_public:_static_int___cdecl_CheckHardware::CheckMyHardware::isExistPC2Comp_void_]
cmp eax, 1
jne 0x401a59
push str.PCI_device_is_found.
push 0x419408
call fcn.00402220
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401dd0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], bl
jne 0x4019ca
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x4019ca
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x4019eb
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x4019e3
or eax, 4
push 0
push eax
call fcn.00401790
mov esi, 1
jmp 0x401a59
push str.USB_device_is_found.
push 0x419408
call fcn.00402220
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401dd0
mov edx, dword [esi]
mov eax, dword [edx + 4]
xor edi, edi
test byte [eax + esi + 0xc], bl
jne 0x401a33
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x401a33
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x401a54
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x401a4c
or eax, 4
push 0
push eax
call fcn.00401790
mov esi, 2
lea edx, [esp + 0x10]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
sub esi, 0
je 0x401d16
dec esi
je 0x401c04
dec esi
je 0x401aef
push str.Unknown_error.
push 0x419408
call fcn.00402220
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401dd0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], bl
jne 0x401abd
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x401abd
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x401ade
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x401ad6
or eax, 4
push 0
push eax
call fcn.00401790
push 0x10
push str.QSPAK_Installer
push str.Unknown_error.
jmp 0x401d84
push str.QSPAK_USBQSPAK_setup.exe
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.System_Type__USB
push 0x419408
call fcn.00402220
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401dd0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], bl
jne 0x401b40
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x401b40
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x401b61
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x401b59
or eax, 4
push 0
push eax
call fcn.00401790
lea edx, [esp + 0x10]
push edx
push ecx
push str.Path_of_Setup.exe_:
push 0x419408
call fcn.00402220
add esp, 0xc
push eax
call fcn.00402220
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401dd0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], bl
jne 0x401bb1
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x401bb1
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x401bd2
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x401bca
or eax, 4
push 0
push eax
call fcn.00401790
push 1
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jge 0x401d8c
push 0x30
push str.QSPAK_Installer
push str.Setup.exe_for_USB_could_not_be_executed.
jmp 0x401d84
push str.QSPAK_PCIQSPAK_setup.exe
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.System_Type__PCI
push 0x419408
call fcn.00402220
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401dd0
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
xor edi, edi
test byte [eax + esi + 0xc], bl
jne 0x401c55
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x401c55
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x401c76
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x401c6e
or eax, 4
push 0
push eax
call fcn.00401790
lea edx, [esp + 0x10]
push edx
push ecx
push str.Path_of_Setup.exe_:
push 0x419408
call fcn.00402220
add esp, 0xc
push eax
call fcn.00402220
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401dd0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], bl
jne 0x401cc6
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x401cc6
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x401ce7
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x401cdf
or eax, 4
push 0
push eax
call fcn.00401790
push 1
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jge 0x401d8c
push 0x30
push str.QSPAK_Installer
push str.Setup.exe_for_PCI_could_not_be_executed.
jmp 0x401d84
push str.Hardware_is_not_found.
push 0x419408
call fcn.00402220
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401dd0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], bl
jne 0x401d57
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x401d57
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x401d78
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x401d70
or eax, 4
push 0
push eax
call fcn.00401790
push 0x30
push str.QSPAK_Installer
push str.Hardware_is_not_found.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00404973
mov esp, ebp
pop ebp
ret