Function at 0x40395c
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
mov edi, 0x4038d0
push ebx
mov bl, 0x20
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
push 0
call sub.OLE32.dll_OleInitialize
mov dword [0x424c70], eax
push 8
call fcn.00406c80
mov dword [0x424d10], eax
lea eax, [ebp - 0x16c]
push 0
push 0x160
push eax
push 0
push 0x403913
call sub.SHELL32.DLL_SHGetFileInfoA
push 0x403914
push 0x424d40
call fcn.0040678e
call sub.KERNEL32.dll_GetCommandLineA
push eax
push 0x42d000
call fcn.0040678e
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov edx, 0x42d000
mov dword [0x424d30], eax
cmp byte [0x42d000], 0x22
je 0x403d76
movsx eax, bl
push eax
push edx
call fcn.004061d9
push eax
call fcn.00407ff0
mov esi, eax
mov edx, eax
cmp byte [eax], 0
je 0x403a51
cmp byte [edx], 0x20
je 0x403d6b
mov bl, 0x20
cmp byte [edx], 0x22
je 0x403d63
cmp byte [edx], 0x2f
je 0x403d08
movsx eax, bl
push eax
push edx
call fcn.004061d9
mov edx, eax
cmp byte [eax], 0x22
je 0x403d02
cmp byte [edx], 0
jne 0x403a1a
push 0x42e400
push 0x400
call sub.KERNEL32.dll_GetTempPathA
call fcn.00403870
test eax, eax
jne 0x403a90
push 0x3fb
push 0x42e400
call sub.KERNEL32.dll_GetWindowsDirectoryA
push 0x40391f
push 0x42e400
call fcn.004067ae
call fcn.00403870
test eax, eax
je 0x403aaf
push 0x42e000
call sub.KERNEL32.dll_DeleteFileA
push dword [ebp - 0x188]
call fcn.0040314d
mov edi, eax
test eax, eax
je 0x403b82
call fcn.00403d82
call sub.OLE32.dll_OleUninitialize
test edi, edi
je 0x403acf
push 0x200010
push edi
call fcn.00405f1e
push 2
jmp 0x403b7d
cmp dword [0x424c44], 0
je 0x403b67
push 3
call fcn.00406c80
mov ebx, eax
push 4
call fcn.00406c80
mov esi, eax
push 5
call fcn.00406c80
test ebx, ebx
mov edi, eax
je 0x403b53
test esi, esi
je 0x403b53
test eax, eax
je 0x403b53
lea eax, [ebp - 0x180]
push eax
push 0x28
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call ebx
test eax, eax
je 0x403b53
lea eax, [ebp - 0x178]
lea ebx, [ebp - 0x17c]
push eax
push 0x403925
push 0
call esi
mov dword [ebp - 0x17c], 1
push 0
push 0
push 0
push ebx
push 0
mov dword [ebp - 0x170], 2
push dword [ebp - 0x180]
call edi
push 0
push 2
call sub.USER32.dll_ExitWindowsEx
test eax, eax
jne 0x403b67
push 9
call fcn.00401494
mov eax, dword [0x424c5c]
cmp eax, 0xffffffff
je 0x403b77
mov dword [ebp - 0x184], eax
push dword [ebp - 0x184]
call sub.KERNEL32.dll_ExitProcess
cmp dword [0x424cf0], 0
je 0x403bf2
push 0
push 0x42d000
call fcn.004061d9
mov ebx, eax
cmp eax, 0x42d000
jb 0x403bb9
cmp dword [eax], 0x3d3f5f20
je 0x403bb9
dec ebx
cmp ebx, 0x42d000
jb 0x403bb9
cmp dword [ebx], 0x3d3f5f20
jne 0x403ba8
mov edi, 0x403939
cmp ebx, 0x42d000
jb 0x403c0c
mov byte [ebx], 0
add ebx, 4
push ebx
call fcn.004062c0
test eax, eax
je 0x403aaf
push ebx
xor edi, edi
push 0x42d400
call fcn.0040678e
push ebx
push 0x42d800
call fcn.0040678e
mov dword [0x424c5c], 0xffffffff
call fcn.00405ba1
mov dword [ebp - 0x184], eax
jmp 0x403aaf
push 0x403953
push 0x42e400
call fcn.004067ae
push 0x42dc00
push 0x42e400
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x403aaf
push 0
push 0x42e400
call sub.KERNEL32.dll_CreateDirectoryA
push 0x42e400
call sub.KERNEL32.dll_SetCurrentDirectoryA
cmp byte [0x42d400], 0
jne 0x403c60
push 0x42dc00
push 0x42d400
call fcn.0040678e
push esi
mov ebx, 0x19
push section..ndata
call fcn.0040678e
mov word [0x428400], 0x41
mov eax, dword [0x424c90]
push dword [eax + 0x120]
push 0x420da0
call fcn.0040683a
push 0x420da0
call sub.KERNEL32.dll_DeleteFileA
test edi, edi
je 0x403ce8
push 1
push 0x420da0
push 0x42ec00
call sub.KERNEL32.dll_CopyFileA
test eax, eax
je 0x403ce8
push 0
push 0x420da0
call fcn.00406496
mov eax, dword [0x424c90]
push dword [eax + 0x124]
push 0x420da0
call fcn.0040683a
push 0x420da0
call fcn.00405eb0
test eax, eax
je 0x403ce8
push eax
xor edi, edi
call sub.KERNEL32.dll_CloseHandle
inc byte [0x428400]
dec ebx
jns 0x403c79
push 0
push 0x42e400
call fcn.00406496
jmp 0x403aaf
inc edx
jmp 0x403a4c
inc edx
cmp byte [edx], 0x53
je 0x403d50
cmp dword [edx], 0x4352434e
je 0x403d3d
cmp dword [edx - 2], 0x3d442f20
jne 0x403a37
lea eax, [edx + 2]
mov dword [edx - 2], 0
push eax
push 0x42d400
call fcn.0040678e
jmp 0x403a51
mov al, byte [edx + 4]
or eax, 0x20
cmp al, 0x20
jne 0x403d16
or dword [ebp - 0x188], 4
jmp 0x403d16
mov al, byte [edx + 1]
or eax, 0x20
cmp al, 0x20
jne 0x403d0e
or dword [ebp - 0x188], 2
jmp 0x403d0e
inc edx
mov bl, 0x22
jmp 0x403a2e
inc edx
cmp byte [edx], 0x20
je 0x403d6b
jmp 0x403a23
mov bl, 0x22
mov edx, 0x42d001
jmp 0x403a01