Function at 0x40352d
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
Terminate process

Disassembly:
sub esp, 0x2d8
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x20
pop esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0x409388
mov dword [esp + 0x14], ebp
call fcn.00406153
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push ebp
call dword [sym.imp.ole32.dll_OleInitialize]
push 8
mov dword [0x42b938], eax
call fcn.00405a91
push ebp
push 0x2b4
mov dword [0x42b840], eax
lea eax, [esp + 0x3c]
push eax
push ebp
mov ebx, 0x409314
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push ebx
push 0x42a840
call fcn.00405a3b
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov edi, 0x44c000
push edi
call fcn.00405a3b
call fcn.00406111
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp word [0x44c000], 0x22
mov dword [0x42b848], eax
mov eax, edi
jne 0x4035d4
push 0x22
pop esi
mov eax, 0x44c002
push esi
push eax
call fcn.00405833
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x403682
push 0x20
pop ecx
cmp ax, cx
jne 0x4035fc
inc esi
inc esi
cmp word [esi], cx
je 0x4035f5
push 0x22
pop eax
mov dword [esp + 0x20], ecx
cmp word [esi], ax
jne 0x40360e
inc esi
inc esi
mov dword [esp + 0x20], eax
cmp word [esi], 0x2f
jne 0x40366e
inc esi
inc esi
cmp word [esi], 0x53
jne 0x40362f
movzx eax, word [esi + 2]
cmp ax, cx
je 0x40362a
cmp ax, bp
jne 0x40362f
or dword [esp + 0x14], 2
push 4
push str.NCRC
push esi
call fcn.004034a1
add esp, 0xc
test eax, eax
jne 0x403657
movzx eax, word [esi + 8]
cmp ax, 0x20
je 0x403652
cmp ax, bp
jne 0x403657
or dword [esp + 0x14], 4
push 4
lea eax, [esi - 4]
push str.__D
push eax
call fcn.004034a1
add esp, 0xc
test eax, eax
je 0x403690
push dword [esp + 0x20]
push esi
call fcn.00405833
mov esi, eax
cmp word [esi], 0x22
jne 0x403682
inc esi
inc esi
movzx eax, word [esi]
cmp ax, bp
jne 0x4035ed
jmp 0x4036ad
push 8
lea eax, [esi - 4]
push ebp
push eax
call fcn.00407a10
add esp, 0xc
add esi, 4
push esi
push 0x44c800
call fcn.00405a3b
mov ebp, 0x44e800
push ebp
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.0040346d
test eax, eax
jne 0x4036eb
push 0x3fb
push ebp
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Temp
push ebp
call sub.KERNEL32.dll_lstrcatW
call fcn.0040346d
test eax, eax
je 0x403779
push 0x44e000
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esp + 0x14]
call fcn.00403228
mov dword [esp + 0x10], eax
test eax, eax
jne 0x403779
cmp dword [0x42b8a4], eax
je 0x403769
push eax
push edi
call fcn.00405833
mov esi, eax
jmp 0x403730
push 4
push str.___
push esi
call fcn.004034a1
add esp, 0xc
test eax, eax
je 0x403734
dec esi
dec esi
cmp esi, edi
jae 0x40371a
mov dword [esp + 0x10], ebx
cmp esi, edi
jb 0x4037a5
xor eax, eax
mov word [esi], ax
add esi, 8
push esi
call fcn.0040645d
test eax, eax
je 0x403779
push esi
push 0x44c800
call fcn.00405a3b
push esi
push 0x44d000
call fcn.00405a3b
and dword [esp + 0x10], 0
or dword [0x42b92c], 0xffffffff
call fcn.0040551d
mov dword [esp + 0x18], eax
call fcn.00403503
call dword [sym.imp.ole32.dll_OleUninitialize]
cmp dword [esp + 0x10], 0
je 0x40387e
push 0x200010
push dword [esp + 0x14]
call fcn.004061c1
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x409344
push ebp
call sub.KERNEL32.dll_lstrcatW
mov esi, 0x44d800
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x403779
xor edi, edi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebp
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp word [0x44c800], di
jne 0x4037e6
push esi
push 0x44c800
call fcn.00405a3b
push dword [esp + 0x1c]
push section..soy3o
call fcn.00405a3b
push 0x409340
push 0x442800
call fcn.00405a3b
push 0x1a
pop ebx
mov esi, 0x4219c0
mov eax, dword [0x42b84c]
push dword [eax + 0x120]
push esi
call fcn.004064e7
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x10], edi
je 0x403868
push 1
push esi
push 0x44f800
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x403868
push edi
push esi
call fcn.00406945
mov eax, dword [0x42b84c]
push dword [eax + 0x124]
push esi
call fcn.004064e7
push esi
call fcn.0040617d
cmp eax, edi
je 0x403868
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], edi
inc word [0x442800]
dec ebx
jne 0x40380b
push edi
push ebp
call fcn.00406945
jmp 0x403779
cmp dword [0x42b914], 0
je 0x403904
push 3
call fcn.00405a91
push 4
mov ebp, eax
call fcn.00405a91
push 5
mov esi, eax
call fcn.00405a91
xor ebx, ebx
mov edi, eax
cmp ebp, ebx
je 0x4038f0
cmp esi, ebx
je 0x4038f0
cmp edi, ebx
je 0x4038f0
lea eax, [esp + 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
test eax, eax
je 0x4038f0
lea eax, [esp + 0x28]
push eax
push str.SeShutdownPrivilege
push ebx
call esi
push ebx
push ebx
push ebx
lea eax, [esp + 0x30]
push eax
push ebx
push dword [esp + 0x30]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x48], 2
call edi
push ebx
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x403904
push 9
call fcn.00401419
mov eax, dword [0x42b92c]
cmp eax, 0xffffffff
je 0x403912
mov dword [esp + 0x18], eax
push dword [esp + 0x18]
jmp 0x40379f