Function at 0x41ebc0
Capabilities:
Delete file
Enumerate gui resources
Get disk information
Get file attributes
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4241db
push eax
mov dword fs:[0], esp
sub esp, 0xb7c
cmp dword [0x8093d0], 0x12
push ebx
push ebp
push esi
push edi
jne 0x41ec24
xor ebx, ebx
push ebx
call fcn.00408f09
add esp, 4
push ebx
call fcn.00408f39
add esp, 4
lea eax, [esp + 0x80]
push eax
call fcn.00406390
push ebx
mov dword [esp + 0xb98], ebx
call fcn.00409067
add esp, 4
call fcn.00409089
mov eax, 0x38d6
add dword [0x8093d0], eax
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
xor esi, esi
jmp 0x41ec40
cmp esi, 0x1c428
jge 0x41ec54
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0x1ea07db9
jle 0x41ec6c
cmp edi, 0xad121a
je 0x41ec6c
cmp ebp, 0x8c67878
jne 0x41ec75
inc esi
cmp esi, 0x8c70231e
jb 0x41ec40
mov ecx, dword [0x8093d0]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov ebp, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov esi, dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
mov dword [0x805840], eax
mov eax, dword [0x8093d0]
mov dword [esp + 0x10], 0x963510
cmp eax, 3
jne 0x41ecb8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x8093d0]
cmp eax, 0xbc5
jne 0x41edc7
push ebx
push ebx
push ebx
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
call ebp
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push ebx
lea edx, [esp + 0x38c]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_QueryDepthSList]
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push ebx
push ebx
push ebx
call esi
lea ecx, [esp + 0x68]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommState]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnfix]
push ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
xor eax, eax
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
push edx
lea eax, [esp + 0x44]
push eax
push ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push 0x404450
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x404458
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobSet]
push 0x4044fc
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x40451c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0x404528
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
mov eax, dword [0x8093d0]
dec dword [esp + 0x10]
jne 0x41eca7
xor esi, esi
cmp eax, ebx
jbe 0x41edfb
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
lea ecx, [ecx]
call fcn.0041e890
mov eax, dword [0x8093d0]
cmp eax, 0x29
jne 0x41edf6
call edi
mov eax, dword [0x8093d0]
inc esi
cmp esi, eax
jb 0x41ede0
cmp eax, 0x19c
jne 0x41ee64
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push ebx
push 0x404570
lea ecx, [esp + 0x390]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x4045c0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea edx, [esp + 0x14]
push edx
push ebx
push 0x4045f8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x404650
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push ebx
push 0x40465c
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov edi, dword [sym.imp.USER32.dll_GetMenu]
mov esi, 0x8dc
nop
push ebx
call edi
dec esi
jne 0x41ee70
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov edi, 0x250a9
mov ebp, 0x92
cmp dword [0x8093d0], ebp
jne 0x41ee96
push 0x404664
push ebx
call esi
dec edi
jne 0x41ee86
mov byte [0x4686d8], bl
call fcn.0041e3d0
call fcn.0041eb90
call fcn.0041e870
mov edi, dword [sym.imp.USER32.dll_DefDlgProcA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebp, 0xf2b8b
nop
cmp dword [0x8093d0], 0x21
jne 0x41eed2
push ebx
push ebx
push ebx
push ebx
call edi
push ebx
call esi
dec ebp
jne 0x41eec0
call fcn.0041e9c0
cmp dword [0x8093d0], 0xd5c
mov byte [0x4686d9], 0x73
jne 0x41ef91
lea eax, [esp + 0x248]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
lea edx, [esp + 0x38c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
push 0x404688
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push ebx
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0x4046cc
call esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
lea eax, [esp + 0x128]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push ebx
call dword [sym.imp.KERNEL32.dll_ZombifyActCtx]
lea ecx, [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
push ebx
push ebx
push ebx
push 0x404704
push 0x40471c
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
call fcn.0041e880
mov ecx, dword [esp + 0xb8c]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret