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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4155f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1e48
call fcn.004142c0
push ebx
mov ebx, dword [esp + 0x48]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x1c434
jge 0x414faa
call ebp
cmp esi, 0x1ea0cd05
jle 0x414fc2
cmp edi, 0xad2606
je 0x414fc2
cmp ebx, 0x8c80ad0
jne 0x414fcb
inc esi
cmp esi, 0x8c797252
jb 0x414fa0
cmp dword [0x46b1dc], 0x12
jne 0x41504b
push 0
call fcn.00408f3f
add esp, 4
push 0
push 0
call fcn.00408944
push 0
call fcn.00408f6f
add esp, 0xc
lea eax, [esp + 0x70]
push eax
call fcn.00406100
lea esi, [esp + 0x18]
mov dword [esp + 0x1e64], 0
call fcn.004069c0
push 0x4040e4
lea ecx, [esp + 0x30]
mov byte [esp + 0x1e68], 1
call fcn.00405c80
lea ebx, [esp + 0x2c]
mov eax, esi
mov byte [esp + 0x1e64], 2
call fcn.004069f0
mov ecx, ebx
call fcn.00405d10
call fcn.004088f0
push 0
call fcn.00409474
mov eax, 0x38d6
add dword [0x46b1dc], eax
mov ecx, dword [0x46b1dc]
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 [0x46823c], eax
mov dword [esp + 0x10], 0x963510
lea ebx, [ebx]
cmp dword [0x46b1dc], 3
jne 0x4150a7
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp dword [0x46b1dc], 0xbc5
jne 0x4151c0
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 + 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0x4040e8
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 + 0x2c]
push ecx
lea edx, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push 0x4040f4
call ebp
push 0x404118
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0x4041dc
push 0x404204
call dword [sym.imp.KERNEL32.dll_GetProfileIntW]
push 0x404228
call ebp
push 0x404238
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
lea eax, [esp + 0x14]
push eax
push 0
push 0x4042a8
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 0x415090
mov eax, dword [0x46b1dc]
xor esi, esi
test eax, eax
je 0x41520a
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
jmp 0x4151e0
call fcn.00414c30
cmp dword [0x46b1dc], 0x29
jne 0x415200
push 0
push 0
push 0
push 0x4042f8
push 0x404284
call edi
mov eax, dword [0x46b1dc]
inc esi
cmp esi, eax
jb 0x4151e0
mov ebx, dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
cmp eax, 0x19c
jne 0x415275
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 0x404360
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
push 0
call ebx
push 0x404410
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
push 0x4043f4
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov edi, 0x250b3
cmp dword [0x46b1dc], 0x92
jne 0x415295
push 0x40449c
push 0
call esi
dec edi
jne 0x415280
mov byte [0x439f58], 0
call fcn.00414740
call fcn.00414f30
call fcn.00414c10
call fcn.00414ce0
cmp dword [0x46b1dc], 0xd5c
mov byte [0x439f59], 0x73
jne 0x415367
lea edx, [esp + 0x118]
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 + 0x65c]
push ecx
push 0x4044bc
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
push edi
lea edx, [esp + 0x25c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
push 0x40429c
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 0x4044e4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
lea eax, [esp + 0xe5c]
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 + 0x1658]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
call fcn.00414c20
mov ecx, dword [esp + 0x1e5c]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret