Function at 0x403ade
Capabilities:
Check if file exists
Check mutex on windows
Create process on windows
Delete file
Read .ini file
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43fff9
mov eax, dword fs:[0]
push eax
sub esp, 0x5ec
mov eax, dword [0x450bf0]
xor eax, esp
mov dword [esp + 0x5e4], eax
push esi
push edi
mov eax, dword [0x450bf0]
xor eax, esp
push eax
lea eax, [esp + 0x5f8]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x10], edi
test byte [0x45745c], 1
mov esi, 0x457458
jne 0x403b5f
or dword [0x45745c], 1
mov dword [esp + 0x600], edi
call fcn.0043d560
push eax
mov ecx, esi
call fcn.00402597
push 0x440433
call fcn.004208dd
or dword [esp + 0x604], 0xffffffff
pop ecx
mov eax, dword [ebx + 0x78]
cmp eax, 8
jg 0x40434f
je 0x404327
sub eax, edi
je 0x4042e7
dec eax
je 0x404210
dec eax
je 0x4041d6
dec eax
je 0x403f0f
dec eax
dec eax
je 0x403cf8
dec eax
je 0x403bee
dec eax
jne 0x40437c
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.00405458
lea esi, [ebx + 0x90]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x403bd1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
call fcn.00402647
push edi
push 0x1f4
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x78], 8
jmp 0x404fa8
push 0x91
mov ecx, ebx
call fcn.00403154
push 0x70
pop esi
push esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [ebx + 0x74]
push eax
call fcn.00406ee0
test eax, eax
jne 0x403cdc
cmp dword [0x455c10], 1
mov eax, 0x4528c0
jne 0x403c2b
mov eax, str.Warning:_n_nParameters_will_be_not_reserved_after_Canceling_installation___n_nClick_OK_to_cancel_installation.
push edi
push 0x31
push eax
call fcn.00417ed4
cmp eax, 2
jne 0x403c5c
push edi
push 0x1f4
push esi
push dword [ebx + 0x20]
mov dword [ebx + 0x78], 5
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [0x455fa0], 0
jmp 0x404fa8
call fcn.0043d560
lea edx, [esp + 0xc4]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x403c68
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
cmp byte [esp + 0xc4], 0
je 0x403cb9
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x403cb9
push edi
lea eax, [esp + 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0xc4]
push eax
call fcn.0043d000
pop ecx
push edi
push 0x1f4
push esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x78], 0x14
mov byte [0x455fa0], 1
jmp 0x404fa8
push edi
push 0x1f4
push esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x78], 7
jmp 0x404fa8
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.0043d980
mov esi, eax
cmp esi, edi
je 0x403d28
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x403d28
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call fcn.0043d000
pop ecx
call fcn.0043d560
lea edx, [esp + 0xc4]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x403d34
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
cmp byte [esp + 0xc4], 0
je 0x403d85
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x403d85
push edi
lea eax, [esp + 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0xc4]
push eax
call fcn.0043d000
pop ecx
call fcn.0043d800
cmp byte [eax], 0
je 0x403dab
call fcn.0043dae0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x403dab
call fcn.0043dae0
push eax
call fcn.0043d000
pop ecx
push str.D:NcFilesWizards_
call fcn.0043d000
pop ecx
call fcn.0043d550
test al, al
je 0x403dca
push str.C:Naiky_
call fcn.0043d000
pop ecx
call fcn.00404fcb
push eax
lea ecx, [esp + 0x18]
call fcn.00402597
push str.Nc_studio.lnk
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x60c], 4
call fcn.00407878
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
push dword [eax]
call esi
mov ecx, dword [esp + 0x68]
add ecx, 0xfffffff0
call fcn.00401c0b
mov edi, str.Ncstudio.lnk
push edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00407878
add esp, 0xc
push dword [eax]
call esi
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.00401c0b
call fcn.00402896
push eax
lea ecx, [esp + 0x18]
call fcn.00402715
push str.Nc_studio.lnk
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00407878
add esp, 0xc
push dword [eax]
call esi
mov ecx, dword [esp + 0x7c]
add ecx, 0xfffffff0
call fcn.00401c0b
push edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00407878
add esp, 0xc
push dword [eax]
call esi
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffff0
call fcn.00401c0b
call fcn.00405086
push eax
lea ecx, [esp + 0x18]
call fcn.00402715
push str.Nc_studio.lnk
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00407878
add esp, 0xc
push dword [eax]
call esi
mov ecx, dword [esp + 0x78]
add ecx, 0xfffffff0
call fcn.00401c0b
push edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00407878
add esp, 0xc
push dword [eax]
call esi
mov ecx, dword [esp + 0x54]
add ecx, 0xfffffff0
call fcn.00401c0b
push 0
push 0x1f4
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x78], 6
jmp 0x404f9c
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
mov esi, 0x446a78
push esi
call fcn.0043d980
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineA]
push eax
lea eax, [esp + 0x1d4]
push eax
call edi
lea eax, [esp + 0x1cc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
lea eax, [esp + 0x1cc]
push eax
lea ecx, [esp + 0x18]
call fcn.00402597
lea ecx, [esp + 0x14]
mov dword [esp + 0x600], 2
call fcn.00407958
lea ecx, [esp + 0xc4]
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x403f70
mov eax, dword [esp + 0x14]
push dword [eax - 0xc]
lea ecx, [esp + 0x18]
call fcn.00408d89
push esi
call fcn.004028e9
push eax
lea eax, [esp + 0x2dc]
push eax
call edi
lea eax, [esp + 0x2d4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4041b8
lea eax, [esp + 0x2d4]
push eax
call fcn.004062fc
lea eax, [esp + 0x2d8]
mov dword [esp], 0x215
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0043d200
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
call fcn.004079c4
mov byte [esp + 0x600], 3
and dword [esp + 0x10], 0
lea eax, [esp + 0x1c]
call fcn.00407a75
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 0x45272c]
lea eax, [esp + 0x2dc]
push eax
call fcn.00402dcf
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
add esp, 0xc
sar eax, 2
xor edi, edi
test eax, eax
jbe 0x40405c
lea esi, [esp + 0x1c]
call fcn.004079fd
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
inc edi
sar eax, 2
cmp edi, eax
jb 0x40403b
add dword [esp + 0x10], 4
cmp dword [esp + 0x10], 0x20
jb 0x404002
and dword [esp + 0x10], 0
lea eax, [esp + 0x1c]
call fcn.00407a75
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 0x45274c]
lea eax, [esp + 0x2dc]
push eax
call fcn.00402edd
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
add esp, 0xc
sar eax, 2
xor edi, edi
test eax, eax
jbe 0x4040c7
lea esi, [esp + 0x1c]
call fcn.004079fd
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
inc edi
sar eax, 2
cmp edi, eax
jb 0x4040a6
add dword [esp + 0x10], 4
cmp dword [esp + 0x10], 8
jb 0x40406d
and dword [esp + 0x10], 0
lea eax, [esp + 0x1c]
call fcn.00407a75
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 0x452758]
push dword [eax + 0x452754]
lea eax, [esp + 0x2e0]
push eax
call fcn.0040300b
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
add esp, 0x10
sar eax, 2
xor edi, edi
test eax, eax
jbe 0x404138
lea esi, [esp + 0x1c]
call fcn.004079fd
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
inc edi
sar eax, 2
cmp edi, eax
jb 0x404117
add dword [esp + 0x10], 8
cmp dword [esp + 0x10], 0x28
jb 0x4040d8
and dword [esp + 0x10], 0
lea eax, [esp + 0x1c]
call fcn.00407a75
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 0x45277c]
lea eax, [esp + 0x2dc]
push eax
call fcn.00402dcf
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
add esp, 0xc
sar eax, 2
xor edi, edi
test eax, eax
jbe 0x4041a3
lea esi, [esp + 0x1c]
call fcn.004079fd
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
inc edi
sar eax, 2
cmp edi, eax
jb 0x404182
add dword [esp + 0x10], 4
cmp dword [esp + 0x10], 0xc
jb 0x404149
lea esi, [esp + 0x1c]
call fcn.00402331
push 0
push 0x1f4
push 0x70
push dword [ebx + 0x20]
mov dword [ebx + 0x78], 5
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x404f9c
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, ebx
call fcn.00403190
xor eax, eax
cmp dword [ebx + 0xa4], edi
push edi
sete al
lea eax, [eax + eax + 3]
mov dword [ebx + 0x78], eax
push 0x1f4
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x404fa8
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x8d
mov ecx, ebx
call fcn.00403154
call fcn.0041822d
push eax
lea ecx, [esp + 0x18]
call fcn.00401bc3
mov esi, 0x104
push esi
lea eax, [esp + 0x1d0]
push edi
push eax
mov dword [esp + 0x60c], 1
call fcn.00424b60
add esp, 0xc
lea eax, [esp + 0x1cc]
push esi
push eax
call fcn.0043d560
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov eax, 0x452788
cmp dword [0x455c10], edi
je 0x40427f
mov eax, str.Warning:_n_nSetup_program_will_delete_all_files_in_directory__s___nPlease_save_parameters_for_recover_later.__nClick_OK_to_continue.
lea ecx, [esp + 0x1cc]
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00401dda
mov esi, dword [esp + 0x20]
add esp, 0xc
cmp byte [esp + 0x1cc], 0
je 0x4042c7
push edi
push 0x31
push esi
call fcn.00417ed4
cmp eax, 2
jne 0x4042c7
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebx + 0x94], 1
call dword [eax + 0x15c]
jmp 0x4042ce
mov dword [ebx + 0x78], 2
push edi
push 0x1f4
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esi - 0x10]
jmp 0x404fa3
push 0x8c
mov ecx, ebx
call fcn.00403154
push str.zzk_NCSTUDIO_7000F87C04A0_D4EA_11d4_88B8_0050FC09F3B0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40431b
mov dword [ebx + 0x78], 1
jmp 0x404fa8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404fa8
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
push 0x1f4
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x78], 0xa
jmp 0x404fa8
sub eax, 9
je 0x404e90
dec eax
je 0x404d6d
dec eax
dec eax
je 0x404cb4
sub eax, 3
je 0x404973
dec eax
je 0x404663
sub eax, 4
je 0x4043b3
push 0x70
push dword [ebx + 0x20]
mov dword [ebx + 0x78], 0x14
call dword [sym.imp.USER32.dll_KillTimer]
push edi
push edi
push str.Invalid_state_
call fcn.00417ed4
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebx + 0x94], 1
call dword [eax + 0x15c]
jmp 0x404fa8
call fcn.0043d6f0
lea edx, [esp + 0x4e4]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4043bf
cmp dword [0x455fa4], edi
jne 0x4045ca
call fcn.0043d560
lea edx, [esp + 0x3dc]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4043e1
lea eax, [esp + 0x3dc]
push eax
mov ecx, ebx
call fcn.004071f3
call fcn.00404fcb
push eax
lea ecx, [esp + 0x14]
call fcn.00402597
push str.Nc_studio.lnk
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x60c], 0x17
call fcn.00407878
add esp, 0xc
mov byte [esp + 0x600], 0x18
mov esi, dword [eax]
call fcn.004073ba
mov byte [esp + 0x600], 0x17
mov ecx, dword [esp + 0x70]
add ecx, 0xfffffff0
call fcn.00401c0b
mov edi, str.Ncstudio.lnk
push edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00407878
add esp, 0xc
mov byte [esp + 0x600], 0x19
mov esi, dword [eax]
call fcn.004073ba
mov byte [esp + 0x600], 0x17
mov ecx, dword [esp + 0x5c]
add ecx, 0xfffffff0
call fcn.00401c0b
call fcn.00402896
push eax
lea ecx, [esp + 0x14]
call fcn.00402715
push str.Nc_studio.lnk
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00407878
add esp, 0xc
mov byte [esp + 0x600], 0x1a
mov esi, dword [eax]
call fcn.004073ba
mov byte [esp + 0x600], 0x17
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
call fcn.00401c0b
push edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00407878
add esp, 0xc
mov byte [esp + 0x600], 0x1b
mov esi, dword [eax]
call fcn.004073ba
mov byte [esp + 0x600], 0x17
mov ecx, dword [esp + 0x64]
add ecx, 0xfffffff0
call fcn.00401c0b
call fcn.00405086
push eax
lea ecx, [esp + 0x14]
call fcn.00402715
push str.Nc_studio.lnk
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00407878
add esp, 0xc
mov byte [esp + 0x600], 0x1c
mov esi, dword [eax]
call fcn.004073ba
mov byte [esp + 0x600], 0x17
mov ecx, dword [esp + 0x74]
add ecx, 0xfffffff0
call fcn.00401c0b
push edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.00407878
add esp, 0xc
mov byte [esp + 0x600], 0x1d
mov esi, dword [eax]
call fcn.004073ba
mov byte [esp + 0x600], 0x17
mov ecx, dword [esp + 0x6c]
add ecx, 0xfffffff0
call fcn.00401c0b
lea eax, [esp + 0x4e4]
push eax
mov ecx, ebx
call fcn.004071f3
mov esi, str..C:
call fcn.004073ba
mov esi, str..D:
call fcn.004073ba
or dword [esp + 0x600], 0xffffffff
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
mov dword [0x455fa4], 1
call fcn.00401c0b
xor edi, edi
call fcn.0043d550
test al, al
je 0x4045e3
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x40439a
push str.InstallDrv.naiky.com
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40431b
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x96
mov ecx, ebx
call fcn.00403154
mov esi, str..C:
call fcn.004073ba
mov esi, str..D:
call fcn.004073ba
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
cmp byte [0x455fa0], 0
mov eax, dword [0x455c10]
push 0
push 0
jne 0x404657
push dword [eax*4 + 0x452a48]
jmp 0x404395
push dword [eax*4 + 0x452a58]
jmp 0x404395
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
push str.netshinstall.bat
call fcn.0043d560
push eax
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push 0x3c
mov esi, 0x446a78
pop edi
test eax, eax
je 0x4046f5
push edi
lea eax, [esp + 0x84]
push 0
push eax
call fcn.00424b60
lea eax, [esp + 0xd0]
mov dword [esp + 0x9c], eax
add esp, 0xc
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x98], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x4046f5
push eax
push eax
mov eax, dword [0x455c10]
push dword [eax*4 + 0x452894]
call fcn.00417ed4
call fcn.0043d550
test al, al
je 0x40486a
call fcn.0043dc00
push eax
push 0
push str.Packup
mov esi, str.Operation
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x40474d
push 0x95
mov ecx, ebx
call fcn.00403154
call fcn.0043da60
push eax
push 0x4466c0
push str.InstallDriver
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x4466d4
call fcn.0040230c
pop ecx
call fcn.0043da60
push eax
push 0x4466c0
push str.Commit
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str._FirstRun
call fcn.0040230c
pop ecx
push edi
lea eax, [esp + 0x84]
push 0
push eax
call fcn.00424b60
and dword [esp + 0xa8], 0
add esp, 0xc
lea eax, [esp + 0x80]
mov esi, 0x400
push eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x94], str.ewfmgr
mov dword [esp + 0x98], str.c:__commit
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x4047e4
push eax
push eax
mov eax, dword [0x455c10]
push dword [eax*4 + 0x45289c]
call fcn.00417ed4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
jmp 0x4047ef
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x96
mov ecx, ebx
call fcn.00403154
push edi
lea eax, [esp + 0x84]
push 0
push eax
call fcn.00424b60
add esp, 0xc
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], esi
call fcn.0043d940
mov dword [esp + 0x90], eax
lea eax, [esp + 0x80]
xor esi, esi
push eax
mov dword [esp + 0xa0], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x404965
mov eax, dword [0x455c10]
push esi
push esi
push dword [eax*4 + 0x4528a4]
call fcn.00417ed4
push 0x446720
call fcn.0040230c
pop ecx
jmp 0x404965
and dword [esp + 0x14], 0
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0xbc], eax
test eax, eax
je 0x4048a4
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [esp + 0xc4]
cmp dword [esp + 0x14], 0
je 0x4048b2
push str.InstallDrv_x64.exe
jmp 0x4048b7
push str.InstallDrv_x86.exe
call fcn.0043d560
push eax
lea eax, [esp + 0x1d4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [esp + 0x1cc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40494e
push edi
lea eax, [esp + 0x84]
push 0
push eax
call fcn.00424b60
add esp, 0xc
cmp dword [0x455c10], 0
lea eax, [esp + 0x1cc]
mov dword [esp + 0x80], edi
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], esi
je 0x404920
mov dword [esp + 0x94], str._eng
lea eax, [esp + 0x80]
xor esi, esi
push eax
mov dword [esp + 0xa0], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x40494e
mov eax, dword [0x455c10]
push esi
push esi
push dword [eax*4 + 0x4528ac]
call fcn.00417ed4
push 0x95
mov ecx, ebx
call fcn.00403154
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebx + 0x78], 0x14
push 0
jmp 0x4041fb
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, ebx
call fcn.004037f9
cmp dword [ebx + 0xa4], 0
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineA]
je 0x4049b4
call fcn.0043dc00
push eax
push 0
push str.Packup
push str.Operation
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x404c23
push str.User
call fcn.0043d560
push eax
lea eax, [esp + 0x1d4]
push eax
call edi
call fcn.0043d800
push eax
lea eax, [esp + 0x1d0]
push eax
lea eax, [esp + 0x2dc]
push eax
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [esp + 0x2d4]
push eax
mov byte [esp + 0x1f], 0
call esi
test eax, eax
jne 0x404a57
mov esi, 0x104
push esi
push eax
lea eax, [esp + 0x1d4]
push eax
call fcn.00424b60
add esp, 0xc
push esi
lea eax, [esp + 0x2d8]
push 0
push eax
call fcn.00424b60
add esp, 0xc
push str.User_
call fcn.0043d560
push eax
lea eax, [esp + 0x1d4]
push eax
call edi
push 0x44655c
lea eax, [esp + 0x1d0]
push eax
lea eax, [esp + 0x2dc]
push eax
call edi
mov byte [esp + 0x1b], 1
jmp 0x404a8b
lea eax, [esp + 0x2d4]
push eax
call esi
test eax, eax
je 0x404a8b
cmp byte [ebx + 0x9d], 0
je 0x404a8b
lea edi, [esp + 0x2d4]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404a76
mov esi, str.config
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [esp + 0x2d4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x404c23
mov esi, 0x44655c
lea edi, [esp + 0xbc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.0043d980
lea edx, [esp + 0xc4]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x404abd
cmp byte [ebx + 0x9d], cl
je 0x404b00
lea eax, [esp + 0xbc]
push eax
lea eax, [ebx + 0xa0]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00407878
add esp, 0xc
mov dword [esp + 0x600], 0x11
mov dword [esp + 0x10], 1
jmp 0x404b49
cmp byte [esp + 0x1b], 0
je 0x404b25
lea edi, [esp + 0xc4]
dec edi
lea ecx, [edi + 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404b12
mov esi, str.config
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, ecx
jmp 0x404b2c
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x44]
call fcn.00402597
mov dword [esp + 0x600], 0x12
mov dword [esp + 0x10], 2
push eax
lea ecx, [esp + 0x18]
call fcn.00408cb1
mov dword [esp + 0x600], 0x13
test byte [esp + 0x10], 2
je 0x404b76
mov ecx, dword [esp + 0x40]
and dword [esp + 0x10], 0xfffffffd
add ecx, 0xfffffff0
call fcn.00401c0b
mov byte [esp + 0x600], 0x15
test byte [esp + 0x10], 1
je 0x404b91
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.00401c0b
mov eax, dword [esp + 0x14]
push dword [eax - 0xc]
lea ecx, [esp + 0x18]
call fcn.00401d13
lea edx, [esp + 0xc4]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x404ba8
mov esi, dword [esp + 0x14]
push dword [esi - 0xc]
lea ecx, [esp + 0x18]
call fcn.00408d89
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x404be2
lea eax, [esp + 0xc4]
push eax
call fcn.004062fc
pop ecx
push 0x215
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x2dc]
push eax
call fcn.0043d200
lea eax, [esp + 0x1d8]
add esp, 0xc
push eax
call fcn.0043d000
or dword [esp + 0x604], 0xffffffff
pop ecx
lea ecx, [esi - 0x10]
call fcn.00401c0b
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineA]
xor esi, esi
cmp dword [ebx + 0xa4], esi
je 0x404c77
mov eax, dword [0x455c10]
mov eax, dword [eax*4 + 0x452700]
add eax, 0x94
push eax
mov ecx, ebx
call fcn.00403154
mov ecx, ebx
call fcn.0040337e
mov ecx, ebx
call fcn.004037f9
push str.User
call fcn.0043d560
push eax
lea eax, [esp + 0x1d4]
push eax
call edi
lea eax, [esp + 0x1cc]
push eax
call fcn.0043d000
pop ecx
call fcn.0043dc00
push eax
push esi
push str.Packup
push str.Operation
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x404c9b
mov dword [ebx + 0x78], 0x14
jmp 0x404cae
mov eax, dword [ebx + 0xa4]
neg eax
sbb eax, eax
and eax, 0xfffffff9
add eax, 0x10
mov dword [ebx + 0x78], eax
push esi
jmp 0x4041fb
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x103
lea eax, [esp + 0x1d1]
push edi
push eax
mov byte [esp + 0x1d8], 0
call fcn.00424b60
add esp, 0xc
call fcn.0043d800
lea ecx, [esp + 0x1cc]
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x404ce9
lea eax, [esp + 0x1cc]
push eax
lea eax, [esp + 0x54]
push esi
push eax
call fcn.00407878
add esp, 0xc
push 0x446690
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x60c], 0xe
call fcn.00407878
add esp, 0xc
mov byte [esp + 0x600], 0x10
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffff0
call fcn.00401c0b
lea ecx, [esp + 0x14]
call fcn.00405921
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401c0b
push edi
push 0x1f4
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x78], 0xf
jmp 0x404fa8
push 0x92
mov ecx, ebx
call fcn.00403154
call fcn.0041822d
push eax
lea ecx, [esp + 0x18]
call fcn.00401bc3
mov dword [esp + 0x600], 8
mov eax, 0x44666c
cmp dword [0x455c10], edi
je 0x404da5
mov eax, 0x446670
push eax
lea ecx, [esp + 0xc0]
call fcn.00402597
mov byte [esp + 0x600], 9
call fcn.0043d800
push eax
lea ecx, [esp + 0x3c]
call fcn.00402597
mov byte [esp + 0x600], 0xa
call fcn.0043d560
push eax
lea ecx, [esp + 0x38]
call fcn.00402597
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x60c], 0xb
call fcn.00407821
add esp, 0xc
push str.LangLang.ini
push eax
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x60c], 0xc
call fcn.00407878
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x604], 0xd
call fcn.00408d3c
mov ecx, dword [esp + 0x58]
add ecx, 0xfffffff0
call fcn.00401c0b
mov ecx, dword [esp + 0x60]
add ecx, 0xfffffff0
call fcn.00401c0b
mov esi, dword [esp + 0x14]
push esi
push dword [esp + 0xc0]
mov eax, str.ActiveLang
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
mov dword [ebx + 0x78], 0xc
call fcn.00401c0b
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.00401c0b
mov ecx, dword [esp + 0xbc]
add ecx, 0xfffffff0
call fcn.00401c0b
jmp 0x4042df
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
mov esi, 0x446a78
push esi
call fcn.0043d980
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineA]
push eax
lea eax, [esp + 0x2dc]
push eax
call edi
lea eax, [esp + 0x2d4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
lea eax, [esp + 0x2d4]
push eax
lea ecx, [esp + 0x18]
call fcn.00402597
lea ecx, [esp + 0x14]
mov dword [esp + 0x600], 0x16
call fcn.00407958
lea ecx, [esp + 0x1cc]
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x404ef1
mov eax, dword [esp + 0x14]
push dword [eax - 0xc]
lea ecx, [esp + 0x18]
call fcn.00408d89
push esi
call fcn.004028e9
push eax
lea eax, [esp + 0xcc]
push eax
call edi
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [esp + 0xc4]
push eax
call esi
test eax, eax
je 0x404f83
lea eax, [esp + 0x1cc]
push eax
call esi
test eax, eax
jne 0x404f5a
lea eax, [esp + 0x1cc]
push eax
call fcn.004062fc
pop ecx
push 0x215
lea eax, [esp + 0x1d0]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0043d200
add esp, 0xc
call fcn.004028e9
push eax
call fcn.0043d000
pop ecx
push 0
push 0x1f4
push 0x70
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x78], 0x10
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401c0b
mov ecx, dword [esp + 0x5f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5e4]
xor ecx, esp
call fcn.00420391
mov esp, ebp
pop ebp
ret