Function at 0x402ec8
Capabilities:
Accept command line arguments
Copy file
Move file
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10d4
call fcn.004034d0
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp esi, 0xc18
jne 0x402eee
mov eax, 0x38d6
add dword [0xadc964], eax
cmp dword [0xadc964], 0xbc4
jne 0x402f05
push 0x401464
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
inc esi
cmp esi, 0x319c8e
jl 0x402edb
call fcn.00402eb4
xor esi, esi
cmp dword [0xadc964], ebx
jbe 0x402f5f
push esi
call fcn.00402c1c
cmp dword [0xadc964], 0x1af
jne 0x402f56
push ebx
lea eax, [ebp - 0x4d4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
inc esi
cmp esi, dword [0xadc964]
jb 0x402f1d
mov esi, 0x91973f
cmp dword [0xadc964], 0x465
jne 0x402fb4
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push ebx
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push ebx
call dword [sym.imp.KERNEL32.dll_HeapLock]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTapeParameters]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalWire]
call dword [sym.imp.KERNEL32.dll_GetACP]
dec esi
jne 0x402f64
cmp esi, 0x1c86b
jge 0x402fe6
push ebx
call dword [sym.imp.USER32.dll_GetListBoxInfo]
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetComboBoxInfo]
push ebx
push ebx
call dword [sym.imp.USER32.dll_CharUpperBuffA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharABCWidthsA]
cmp esi, 0x1e9d5c97
jle 0x403000
cmp dword [ebp - 4], 0xace7c8
je 0x403000
cmp dword [ebp - 0x2c], 0xad642ec
jne 0x403009
inc esi
cmp esi, 0x8e2a3b3f
jb 0x402fb7
xor esi, esi
cmp dword [0xadc964], 0x92
jne 0x40301e
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp esi, 0xa9a9
jne 0x403036
push 0x800e68
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0xadc960], eax
inc esi
cmp esi, 0x25563
jl 0x40300b
mov byte [0x800e68], bl
xor esi, esi
cmp esi, 0x148
jne 0x403054
call fcn.00402db6
inc esi
cmp esi, 0x427fa7
jl 0x403047
push edi
push 0x416010
push dword [0xadc964]
push dword [0xacf220]
call fcn.00402b6f
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor edi, edi
cmp dword [0xadc964], 0x10
jne 0x403088
push ebx
call esi
cmp edi, 0x1e674
jne 0x403095
call fcn.00402da8
inc edi
cmp edi, 0x3e4e2
jl 0x40307c
mov edi, 0xdd7b3
cmp dword [0xadc964], 0x21
jne 0x4030bd
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebx
call dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
dec edi
jne 0x4030a3
call fcn.0040296b
cmp dword [0xadc964], 0x58c
pop edi
jne 0x40317f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
push ebx
lea eax, [ebp - 0x8d4]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueue]
push ebx
push ebx
push ebx
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
lea eax, [ebp - 8]
push eax
call esi
push ebx
call esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10d4]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
call fcn.00402da2
pop esi
xor eax, eax
pop ebx
leave
ret