Function at 0x4030fa
Capabilities:
Accept command line arguments
Copy file
Create directory
Delete file
Get common file path
Get file system object information
Set current directory

Disassembly:
sub esp, 0x180
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], str.Error_writing_temporary_file._Make_sure_your_temp_folder_is_valid.
xor esi, esi
mov byte [esp + 0x14], 0x20
call dword [0x407030]
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push ebx
call dword [0x40727c]
push 8
mov dword [0x42ec18], eax
call 0x408267
mov dword [0x42eb64], eax
push ebx
lea eax, [esp + 0x34]
push 0x160
push eax
push ebx
push 0x428f98
call dword [0x407158]
push str.NSIS_Error
push 0x42e360
call 0x407f70
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, 0x434000
push eax
push edi
call 0x407f82
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [0x434000], 0x22
mov dword [0x42eb60], eax
mov eax, edi
jne 0x40319b
mov byte [esp + 0x14], 0x22
mov eax, 0x434001
push dword [esp + 0x14]
push eax
call 0x407acb
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [esp + 0x1c], eax
jmp 0x403215
cmp cl, 0x20
jne 0x4031bd
inc eax
cmp byte [eax], 0x20
je 0x4031b7
cmp byte [eax], 0x22
mov byte [esp + 0x14], 0x20
jne 0x4031cd
inc eax
mov byte [esp + 0x14], 0x22
cmp byte [eax], 0x2f
jne 0x403205
inc eax
cmp byte [eax], 0x53
jne 0x4031e6
mov cl, byte [eax + 1]
or cl, 0x20
cmp cl, 0x20
jne 0x4031e6
or esi, 2
cmp dword [eax], 0x4352434e
jne 0x4031fc
mov cl, byte [eax + 4]
or cl, 0x20
cmp cl, 0x20
jne 0x4031fc
or esi, 4
cmp dword [eax - 2], 0x3d442f20
je 0x40321d
push dword [esp + 0x14]
push eax
call 0x407b35
cmp byte [eax], 0x22
jne 0x403215
inc eax
mov cl, byte [eax]
cmp cl, bl
jne 0x4031b2
jmp 0x40322e
mov dword [eax - 2], ebx
add eax, 2
push eax
push 0x434400
call 0x408036
mov ebp, 0x435400
push ebp
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call fcn.00405706
test eax, eax
jne 0x403268
push 0x3fb
push ebp
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.Temp
push ebp
call 0x408083
call fcn.00405726
test eax, eax
je 0x4032e6
push 0x435000
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.00405297
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4032e6
cmp dword [0x42eb7c], ebx
je 0x4032d6
push ebx
push edi
call 0x407bb6
mov esi, eax
jmp 0x40329d
cmp dword [esi], 0x3d3f5f20
je 0x4032a1
dec esi
cmp esi, edi
jae 0x403294
cmp esi, edi
mov dword [esp + 0x10], str.Error_launching_installer
jb 0x403311
mov byte [esi], bl
add esi, 4
add al, 0x56
call 0x407c94
test eax, eax
je 0x4032e6
push esi
push 0x434400
call 0x4080cf
push esi
push 0x434800
call 0x4080da
mov dword [esp + 0x10], ebx
or dword [0x42ec0c], 0xffffffff
call fcn.00405c33
mov dword [esp + 0x18], eax
push str.nsu.tmp
push ebp
call 0x408140
mov esi, 0x434c00
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4032e6
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebp
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp byte [0x434400], bl
jne 0x40334f
push esi
push 0x434400
call 0x408157
push dword [esp + 0x1c]
push section..ndata
call 0x408165
push 0x1a
mov word [0x42f400], 0x41
pop edi
mov esi, 0x428b98