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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x17c
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x188], 0
call sub.COMCTL32.DLL_InitCommonControls
push 0x8001
call sub.KERNEL32.dll_SetErrorMode
mov edi, str.Error_writing_temporary_file._Make_sure_your_temp_folder_is_valid.
mov bl, 0x20
push 0
call sub.OLE32.dll_OleInitialize
mov dword [0x42f920], eax
push 8
call fcn.00406105
mov dword [0x42f9d0], eax
lea eax, [ebp - 0x16c]
push 0
push 0x160
push eax
push 0
push 0x40a303
call sub.SHELL32.DLL_SHGetFileInfoA
push str.NSIS_Error
push 0x42fa00
call fcn.00405d1f
call sub.KERNEL32.dll_GetCommandLineA
push eax
push 0x438000
call fcn.00405d1f
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov edx, 0x438000
mov dword [0x42f9f0], eax
cmp byte [0x438000], 0x22
jne 0x4036ab
mov edx, 0x438001
mov bl, 0x22
movsx eax, bl
push eax
push edx
call fcn.004059c9
push eax
call fcn.00407f20
mov esi, eax
mov edx, eax
cmp byte [eax], 0
je 0x403733
cmp byte [edx], 0x20
jne 0x4036cc
inc edx
jmp 0x4036c4
mov bl, 0x20
cmp byte [edx], 0x22
jne 0x4036d6
inc edx
mov bl, 0x22
cmp byte [edx], 0x2f
jne 0x403718
inc edx
cmp byte [edx], 0x53
jne 0x4036f2
mov al, byte [edx + 1]
or eax, 0x20
cmp al, 0x20
jne 0x4036f2
or dword [ebp - 0x188], 2
cmp dword [edx], 0x4352434e
jne 0x40370b
mov al, byte [edx + 4]
or eax, 0x20
cmp al, 0x20
jne 0x40370b
or dword [ebp - 0x188], 4
cmp dword [edx - 2], 0x3d442f20
je 0x403801
movsx eax, bl
push eax
push edx
call fcn.004059c9
mov edx, eax
xor eax, eax
cmp byte [edx], 0x22
sete al
add edx, eax
cmp byte [edx], 0
jmp 0x4036c2
push 0x439400
push 0x400
call sub.KERNEL32.dll_GetTempPathA
call fcn.00403590
test eax, eax
jne 0x403776
push 0x3fb
push 0x439400
call sub.KERNEL32.dll_GetWindowsDirectoryA
push str.Temp
push 0x439400
call fcn.00405dc4
call fcn.00403590
test eax, eax
je 0x403923
push 0x439000
call sub.KERNEL32.dll_DeleteFileA
push dword [ebp - 0x188]
call fcn.00403317
mov edi, eax
test eax, eax
jne 0x403923
cmp dword [0x42f9b0], 0
je 0x40390e
push 0
push 0x438000
call fcn.004059c9
mov ebx, eax
jmp 0x4037bb
cmp dword [ebx], 0x3d3f5f20
je 0x4037c3
dec ebx
cmp ebx, 0x438000
jae 0x4037b2
mov edi, str.Error_launching_installer
cmp ebx, 0x438000
jb 0x40381b
mov byte [ebx], 0
add ebx, 4
push ebx
call fcn.00405dfd
test eax, eax
je 0x403923
push ebx
push 0x438400
call fcn.00405d1f
xor edi, edi
push ebx
push 0x438800
call fcn.00405d1f
jmp 0x40390e
mov dword [edx - 2], 0
lea eax, [edx + 2]
push eax
push 0x438400
call fcn.00405d1f
jmp 0x403733
push str.nsu.tmp
push 0x439400
call fcn.00405dc4
push 0x438c00
push 0x439400
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x403923
push 0
push 0x439400
call sub.KERNEL32.dll_CreateDirectoryA
push 0x439400
call sub.KERNEL32.dll_SetCurrentDirectoryA
cmp byte [0x438400], 0
jne 0x40386f
push 0x438c00
push 0x438400
call fcn.00405d1f
push esi
mov ebx, 0x19
push section..ndata
call fcn.00405d1f
mov word [0x433400], 0x41
mov eax, dword [0x42f940]
push dword [eax + 0x120]
push 0x42a850
call fcn.00405ea5
push 0x42a850
call sub.KERNEL32.dll_DeleteFileA
test edi, edi
je 0x4038f7
push 1
push 0x42a850
push 0x439c00
call sub.KERNEL32.dll_CopyFileA
test eax, eax
je 0x4038f7
push 0
push 0x42a850
call fcn.00406144
mov eax, dword [0x42f940]
push dword [eax + 0x124]
push 0x42a850
call fcn.00405ea5
push 0x42a850
call fcn.004058d0
test eax, eax
je 0x4038f7
push eax
call sub.KERNEL32.dll_CloseHandle
xor edi, edi
inc byte [0x433400]
dec ebx
jns 0x403888
push 0
push 0x439400
call fcn.00406144
jmp 0x403923
mov dword [0x42f90c], 0xffffffff
call fcn.00405205
mov dword [ebp - 0x184], eax
call fcn.004035d8
call sub.OLE32.dll_OleUninitialize
test edi, edi
je 0x403943
push 0x200010
push edi
call fcn.0040593c
push 2
jmp 0x4039f9
cmp dword [0x42f8f4], 0
je 0x4039e3
push 3
call fcn.00406105
mov ebx, eax
push 4
call fcn.00406105
mov esi, eax
push 5
call fcn.00406105
test ebx, ebx
mov edi, eax
setne dl
xor eax, eax
test esi, esi
setne al
test edx, eax
je 0x4039cf
test edi, edi
je 0x4039cf
lea eax, [ebp - 0x180]
push eax
push 0x28
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call ebx
test eax, eax
je 0x4039cf
lea eax, [ebp - 0x178]
lea ebx, [ebp - 0x17c]
push eax
push str.SeShutdownPrivilege
push 0
call esi
mov dword [ebp - 0x17c], 1
mov dword [ebp - 0x170], 2
push 0
push 0
push 0
push ebx
push 0
push dword [ebp - 0x180]
call edi
push 0
push 2
call sub.USER32.dll_ExitWindowsEx
test eax, eax
jne 0x4039e3
push 9
call fcn.00402f71
mov eax, dword [0x42f90c]
cmp eax, 0xffffffff
je 0x4039f3
mov dword [ebp - 0x184], eax
push dword [ebp - 0x184]
call sub.KERNEL32.dll_ExitProcess
nop
nop