Function at 0x41ebe0
Capabilities:
Delete file
Enumerate gui resources
Get disk information
Get file attributes
Move file
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42421b
push eax
mov dword fs:[0], esp
sub esp, 0xf7c
cmp dword [0x7e9e10], 0x12
push ebx
push ebp
push esi
push edi
jne 0x41ec42
xor ebx, ebx
push ebx
push ebx
call fcn.00408b6e
push ebx
call fcn.0041e3da
add esp, 0xc
lea eax, [esp + 0x80]
push eax
call fcn.004063a0
push ebx
mov dword [esp + 0xf98], ebx
call fcn.00409081
add esp, 4
call fcn.004090a3
mov eax, 0x38d6
add dword [0x7e9e10], eax
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
xor esi, esi
lea esp, [esp]
cmp esi, 0x1c428
jge 0x41ec74
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0x1ea07db9
jle 0x41ec8c
cmp edi, 0xad121a
je 0x41ec8c
cmp ebp, 0x8c67878
jne 0x41ec95
inc esi
cmp esi, 0x8c70231e
jb 0x41ec60
mov ecx, dword [0x7e9e10]
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_EnumDateFormatsW]
mov dword [0x7e6280], eax
mov eax, dword [0x7e9e10]
mov dword [esp + 0x10], 0x963510
cmp eax, 3
jne 0x41ecd8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x7e9e10]
cmp eax, 0xbc5
jne 0x41ee01
push ebx
push ebx
push ebx
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
call ebp
push ebx
push ebx
lea edx, [esp + 0xb90]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push ebx
lea eax, [esp + 0x38c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
push ecx
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 edx, [esp + 0x68]
push edx
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
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
push ecx
push ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push 0x404440
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x404448
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobSet]
push 0x4044ec
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x40450c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
lea edx, [esp + 0x14]
push edx
push ebx
push 0x404520
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push ebx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
mov eax, dword [0x7e9e10]
dec dword [esp + 0x10]
jne 0x41ecc7
xor esi, esi
cmp eax, ebx
jbe 0x41ee32
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call fcn.0041e8d0
mov eax, dword [0x7e9e10]
cmp eax, 0x29
jne 0x41ee2d
call edi
mov eax, dword [0x7e9e10]
inc esi
cmp esi, eax
jb 0x41ee17
cmp eax, 0x19c
jne 0x41ee78
push 0x404568
call dword [sym.imp.KERNEL32.dll_FindAtomA]
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0x404588
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x4045e0
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push ebx
push 0x4045ec
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov edi, dword [sym.imp.USER32.dll_GetMenuBarInfo]
mov esi, 0x8dc
push ebx
push ebx
push ebx
push ebx
call edi
dec esi
jne 0x41ee83
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
mov edi, 0x250a9
mov ebp, 0x92
lea esp, [esp]
cmp dword [0x7e9e10], ebp
jne 0x41eeb0
push 0x4045f4
push ebx
call esi
dec edi
jne 0x41eea0
mov byte [0x449118], bl
call fcn.0041e410
call fcn.0041ebb0
call fcn.0041e8b0
mov esi, dword [sym.imp.USER32.dll_DefDlgProcA]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 0x10], 0xf2b8b
cmp dword [0x7e9e10], 0x21
jne 0x41ef05
push ebx
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
lea edx, [esp + 0x390]
push edx
push ebx
call edi
push 0x404634
call ebp
dec dword [esp + 0x10]
jne 0x41eee2
call fcn.0041ea00
cmp dword [0x7e9e10], 0xd5c
mov byte [0x449119], 0x73
jne 0x41efcb
lea eax, [esp + 0x128]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
lea edx, [esp + 0x38c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
push 0x404690
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 0x404654
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
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 + 0x268]
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 0x4046d4
push 0x404704
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
call fcn.0041e8c0
mov ecx, dword [esp + 0xf8c]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret