Function at 0x414510
Capabilities:
Delete file
Get common file path
Get disk information
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1d90
call fcn.00413890
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
cmp esi, 0x1c434
jge 0x41453e
call ebp
cmp esi, 0x1ea0cd05
jle 0x414556
cmp edi, 0xad2606
je 0x414556
cmp ebx, 0x8c80ad0
jne 0x41455f
inc esi
cmp esi, 0x8c797252
jb 0x414534
cmp dword [0x46b17c], 0x12
jne 0x41459b
push 0
call fcn.004081a2
add esp, 4
push 0
push 0
call fcn.00407f15
push 0
call fcn.004081d2
add esp, 0xc
lea eax, [esp + 0x60]
push eax
call fcn.00405ed0
call fcn.00407ec1
push 0
call fcn.004086d7
mov eax, 0x38d6
add dword [0x46b17c], eax
mov ecx, dword [0x46b17c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edi, dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [0x4681dc], eax
mov dword [esp + 0x10], 0x963510
lea ebx, [ebx]
cmp dword [0x46b17c], 3
jne 0x4145f7
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp dword [0x46b17c], 0xbc5
jne 0x414701
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call ebx
push 0
lea edx, [esp + 0x1a4]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0x404054
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push 0
push 0
push 0
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumberOfConsoleInputEvents]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnfix]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
xor eax, eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push 0x404060
call ebp
push 0x404088
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0x40414c
push 0x404174
call dword [sym.imp.KERNEL32.dll_GetProfileIntW]
push 0x404198
call ebp
lea eax, [esp + 0x14]
push eax
push 0
push 0x4041a8
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
dec dword [esp + 0x10]
jne 0x4145e0
mov eax, dword [0x46b17c]
xor esi, esi
test eax, eax
je 0x41474a
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea esp, [esp]
call fcn.00414200
cmp dword [0x46b17c], 0x29
jne 0x414740
push 0
push 0
push 0
push 0x4041f8
push 0x404260
call edi
mov eax, dword [0x46b17c]
inc esi
cmp esi, eax
jb 0x414720
mov ebx, dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
cmp eax, 0x19c
jne 0x4147b5
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x404278
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
push 0
call ebx
push 0x404310
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
push 0x40439c
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov edi, 0x250b3
cmp dword [0x46b17c], 0x92
jne 0x4147d5
push 0x4043b4
push 0
call esi
dec edi
jne 0x4147c0
mov byte [0x439ef8], 0
call fcn.00413d10
call fcn.004144e0
call fcn.004141e0
call fcn.004142b0
cmp dword [0x46b17c], 0xd5c
mov byte [0x439ef9], 0x73
jne 0x4148a4
lea edx, [esp + 0x60]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
lea ecx, [esp + 0x5a4]
push ecx
push 0x4043d4
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
push edi
lea edx, [esp + 0x1a4]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
push 0x4043fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_PrepareTape]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
push edi
call ebx
push 0x404408
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
lea eax, [esp + 0xda4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VerLanguageNameW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push edi
call dword [sym.imp.KERNEL32.dll_AddRefActCtx]
push edi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea ecx, [esp + 0x15a0]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
call fcn.004141f0
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret