Function at 0x4144d0
Capabilities:
Delete file
Get disk information
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x417c6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1258
call fcn.00413870
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x1c428
jge 0x414520
call ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0x1ea07db9
jle 0x414538
cmp edi, 0xad121a
je 0x414538
cmp ebx, 0x8c67878
jne 0x414541
inc esi
cmp esi, 0x8c70231e
jb 0x414510
cmp dword [0x4a4150], 0x12
jne 0x414585
push 0
call fcn.0040809b
add esp, 4
push 0
call fcn.004080cb
add esp, 4
lea eax, [esp + 0x80]
push eax
call fcn.00405e50
push 0
mov dword [esp + 0x1278], 0
call fcn.004081f9
add esp, 4
call fcn.0040821b
mov eax, 0x38d6
add dword [0x4a4150], eax
mov ecx, dword [0x4a4150]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
mov edi, dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
mov dword [0x4a3834], eax
mov eax, dword [0x4a4150]
mov dword [esp + 0x18], 0x963510
lea esp, [esp]
cmp eax, 3
jne 0x4145e2
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x4a4150]
cmp eax, 0xbc5
jne 0x414700
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 ebp
push 0
lea edx, [esp + 0x26c]
push edx
call ebx
push 0x403fc8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0
push 0
push 0
call edi
lea eax, [esp + 0x68]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
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 + 0x44]
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_BuildCommDCBAndTimeoutsA]
push 0x404030
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x404048
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobSet]
push 0x404140
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x404184
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea eax, [esp + 0x14]
push eax
push 0
push 0x404194
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
xor eax, eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
mov eax, dword [0x4a4150]
dec dword [esp + 0x18]
jne 0x4145d0
xor esi, esi
test eax, eax
je 0x414731
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call fcn.00414210
mov eax, dword [0x4a4150]
cmp eax, 0x29
jne 0x41472c
call edi
mov eax, dword [0x4a4150]
inc esi
cmp esi, eax
jb 0x414716
cmp eax, 0x19c
jne 0x41479d
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0x4041d0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x404200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x404270
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
push 0x404290
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edi, dword [sym.imp.USER32.dll_GetMenu]
mov esi, 0x8dc
push 0
call edi
dec esi
jne 0x4147a8
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov edi, 0x250a9
mov ebx, 0x92
nop
cmp dword [0x4a4150], ebx
jne 0x4147d1
push 0x4042b4
push 0
call esi
dec edi
jne 0x4147c0
mov byte [0x43e8c0], 0
call fcn.00413d20
call fcn.004144a0
call fcn.004141f0
mov edi, dword [sym.imp.USER32.dll_DefDlgProcW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, 0xf2b8b
mov ebp, 0x21
cmp dword [0x4a4150], ebp
jne 0x414816
push 0
push 0
push 0
push 0
call edi
push 0
call esi
dec ebx
jne 0x414800
call fcn.004142d0
cmp dword [0x4a4150], 0xd5c
mov byte [0x43e8c1], 0x73
jne 0x4148cd
lea edx, [esp + 0x128]
push edx
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push edi
lea ecx, [esp + 0xa6c]
push ecx
push 0x4042d0
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
push edi
lea edx, [esp + 0x26c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
push 0x404328
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push edi
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0x404344
call esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
push edi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
call fcn.00414200
mov ecx, dword [esp + 0x126c]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret