Function at 0x402c00
Capabilities:
Accept command line arguments
Copy file
Create directory
Get disk information
Get disk size
Move file
Read .ini file
Shutdown system
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x890
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp esi, 0x1ef75
jge 0x402c26
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetBrushOrgEx]
cmp esi, 0x1e9741c7
jle 0x402c40
cmp dword [ebp - 4], 0xace7c8
je 0x402c40
cmp dword [ebp - 0x68], 0xad642ec
jne 0x402c49
inc esi
cmp esi, 0x8dfcaf18
jb 0x402c0f
xor esi, esi
cmp esi, 0x13e6
jne 0x402c5e
mov eax, 0x38d6
add dword [0x4413c4], eax
cmp dword [0x4413c4], 0xbd8
jne 0x402c71
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
inc esi
cmp esi, 0x31a652
jl 0x402c4b
call fcn.00402bec
xor esi, esi
cmp dword [0x4413c4], ebx
jbe 0x402caf
push esi
call fcn.004029ca
cmp dword [0x4413c4], 0x29
jne 0x402ca6
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
inc esi
cmp esi, dword [0x4413c4]
jb 0x402c89
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov dword [ebp - 4], 0x962be2
cmp dword [0x4413c4], 0x481
jne 0x402ce5
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
push ebx
call edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp dword [0x4413c4], 0x721
jne 0x402d96
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
call esi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea eax, [ebp - 0x490]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0x40132c
push 0x401348
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x4013f0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
dec dword [ebp - 4]
jne 0x402cc3
cmp dword [0x4413c4], 0x19c
jne 0x402e58
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LoadModule]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push ebx
call edi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll__lread]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x401430
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
xor eax, eax
mov dword [ebp - 0x30], ebx
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x90]
push eax
push 0x401478
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push ebx
lea eax, [ebp - 0x890]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor edi, edi
cmp edi, 0xab9d
jne 0x402e72
push 0x420c48
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4413c0], eax
inc edi
cmp edi, 0x2594b
jl 0x402e5a
mov byte [0x420c48], bl
xor edi, edi
cmp edi, 0x148
jne 0x402e90
call fcn.00402af0
inc edi
cmp edi, 0x427fa7
jl 0x402e83
push 0x40e010
push dword [0x4413c4]
push dword [0x440f70]
call fcn.0040296c
xor edi, edi
cmp dword [0x4413c4], 0xba
jne 0x402ec4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFlags]
cmp edi, 0x2f7e4
jne 0x402ed8
call fcn.00402ae2
inc edi
cmp edi, 0x48122
jl 0x402eb1
mov edi, 0xdd7b3
cmp dword [0x4413c4], 0x21
jne 0x402efa
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
dec edi
jne 0x402ee6
call fcn.004027fa
cmp dword [0x4413c4], 0x58c
pop edi
jne 0x402f5c
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
lea eax, [ebp - 0x890]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push ebx
push ebx
lea eax, [ebp - 8]
push eax
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call fcn.00402adc
pop esi
xor eax, eax
pop ebx
leave
ret