Function at 0x4011d4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b14
push ebx
push esi
push edi
call fcn.004010eb
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x1c], eax
jne 0x4016e0
push 6
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str._bootstrap
mov edi, eax
mov dword [esp + 0x1c], 0x4020a8
call fcn.00614000
cmp eax, ebx
je 0x401283
mov byte [esp + 0x13], 1
add eax, 0x14
jmp 0x40122f
cmp cx, 0x20
jne 0x401237
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, bx
jne 0x401227
movzx ecx, word [eax]
xor esi, esi
cmp cx, bx
je 0x401261
xor edx, edx
movzx ecx, cx
cmp cx, 0x20
je 0x401261
inc esi
mov word [esp + edx + 0xae0], cx
lea edx, [esi + esi]
movzx ecx, word [edx + eax]
cmp cx, bx
jne 0x401246
push str._bseldlg
mov eax, edi
mov word [esp + esi*2 + 0xae4], bx
call fcn.004016e7
test eax, eax
je 0x40128f
mov dword [esp + 0x18], str.__bseldlg
jmp 0x40128f
mov byte [esp + 0x13], bl
mov word [esp + 0xae0], bx
push str._LQUIET
mov eax, edi
call fcn.004016e7
test eax, eax
je 0x4012af
push 0x4024c4
push 0x4024c8
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push str._instby
mov eax, edi
call fcn.004016e7
cmp eax, ebx
je 0x401308
add eax, 0xe
jmp 0x4012cc
cmp cx, 0x20
jne 0x4012d4
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, bx
jne 0x4012c4
movzx ecx, word [eax]
xor esi, esi
cmp cx, bx
je 0x4012fe
xor edx, edx
movzx ecx, cx
cmp cx, 0x20
je 0x4012fe
inc esi
mov word [esp + edx + 0x4c8], cx
lea edx, [esi + esi]
movzx ecx, word [edx + eax]
cmp cx, bx
jne 0x4012e3
mov word [esp + esi*2 + 0x4c8], bx
jmp 0x401310
mov word [esp + 0x4c8], bx
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [esp + 0x9c], 1
jne 0x40132f
mov word [esp + 0xa0], 1
lea eax, [esp + 0x10f8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x63
lea esi, [esp + 0x2c]
call fcn.00401000
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x14], ebx
inc dword [esp + 0x14]
push dword [esp + 0x14]
lea eax, [esp + 0x1304]
push str.n_ds
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x1300]
lea ecx, [esp + 0x10f8]
lea edx, [esp + 0x2c0]
call fcn.00401040
push ebx
lea eax, [esp + 0x2c4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, str.nchsetup.cab
lea ecx, [esp + 0x2c0]
lea edx, [esp + 0xce8]
call fcn.00401040
mov eax, str.nchsetup.exe
lea ecx, [esp + 0x2c0]
lea edx, [esp + 0x6d0]
call fcn.00401040
push ebx
push 0x80
push 1
push ebx
push ebx
push 0xc0000000
lea eax, [esp + 0xd00]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x401357
push ebx
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x34]
push dword [esp + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x40000000
lea eax, [esp + 0x6e8]
push eax
call edi
cmp eax, 0xffffffff
jne 0x401451
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
sete al
cmp al, bl
je 0x401454
lea eax, [esp + 0xce8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x401357
push eax
call esi
lea eax, [esp + 0x6d0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x6d0]
push eax
push 0x4010ca
push ebx
lea eax, [esp + 0xcf4]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
push 0x5f
lea esi, [esp + 0x24]
call fcn.00401000
mov eax, str.nchdata.cab
lea ecx, [esp + 0x2c0]
lea edx, [esp + 0xef0]
call fcn.00401040
mov eax, str.nchdata.dat
lea ecx, [esp + 0x2c0]
lea edx, [esp + 0xb8]
call fcn.00401040
push ebx
push 0x80
xor esi, esi
inc esi
push esi
push ebx
push ebx
push 0xc0000000
lea eax, [esp + 0xf08]
push eax
call edi
push ebx
mov edi, eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp edi, 0xffffffff
je 0x4014f7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0xb8]
push eax
call edi
lea eax, [esp + 0xb8]
push eax
push 0x4010ca
push ebx
lea eax, [esp + 0xefc]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
lea eax, [esp + 0xef0]
push eax
call edi
push 0x103
lea eax, [esp + 0x8dc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp byte [esp + 0x13], bl
je 0x4015c4
cmp word [esp + 0x4c8], bx
je 0x401590
lea eax, [esp + 0x4c8]
push eax
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x8e0]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0xaf0]
push eax
lea eax, [esp + 0x151c]
push str._bootstrap__s_s__installer___s___instdata___s___instby__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
jmp 0x401624
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x8dc]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0xaec]
push eax
lea eax, [esp + 0x1518]
push str._bootstrap__s_s__installer___s___instdata___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
jmp 0x401624
cmp word [esp + 0x4c8], bx
je 0x4015fe
lea eax, [esp + 0x4c8]
push eax
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x8e0]
push eax
lea eax, [esp + 0x1514]
push str._installer___s___instdata___s___instby__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
jmp 0x401624
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x8dc]
push eax
lea eax, [esp + 0x1510]
push str._installer___s___instdata___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0x3c
pop edx
mov ecx, edx
lea eax, [esp + 0x34]
mov byte [eax], bl
inc eax
dec ecx
jne 0x40162d
lea eax, [esp + 0x6d0]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c0]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x1508]
mov dword [esp + 0x48], eax
movzx eax, word [esp + 0xa0]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0x140
mov dword [esp + 0x20], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4016a4
push 0xffffffffffffffff
push dword [esp + 0x70]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x70]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [esp + 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x6d0]
push eax
call edi
lea eax, [esp + 0xb8]
push eax
call edi
lea eax, [esp + 0xce8]
push eax
call edi
lea eax, [esp + 0x2c0]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret